Coding

SWE-Bench Pro

by Scale AI

As of 16 Oct 2026, the current version is SWE-Bench Pro V2 (642 public tasks, plus HARD-51); Claude Opus 5 resolves 638/642 public V2 tasks and 222/272 private ones on Scale's leaderboard.

What is SWE-Bench Pro? SWE-Bench Pro is Scale AI's coding-agent benchmark of long, multi-file software tasks from 41 actively maintained repositories, built to be harder and less contaminated than SWE-bench Verified. An agent gets a codebase, an issue rewritten with explicit requirements and the expected interface, and must produce a patch that passes human-reviewed tests.

Page last updated 2026-10-17 · Evals Review

Editor note

Long, multi-file software tasks from 41 maintained repositories (Python, JavaScript, TypeScript, Go). An agent must produce a patch that passes human-reviewed tests. Public set of 731 tasks (v1) or 642 re-validated tasks (V2); commercial and held-out sets stay private.

What it tests
Coding agents implementing larger, well-specified changes in real codebases.
Original source
github.com/scaleapi/SWE-bench_Pro-os
Last updated
Repo last commit 2026-09-22
License
MIT

Facts come only from the linked source (checked 15–16 Oct 2026). Credit belongs to the creators. We don't score or rank evals: how we review.

SWE-bench Verified and SWE-Bench Pro: one model family, different leaderboards

SourceBenchmark / versionScoreSetting, date
SWE-bench official (swebench.com)Verified, bash-onlyClaude 4.5 Opus 76.80% (top entry)mini-SWE-agent; latest entries Feb 2026
Vals AIVerifiedClaude Opus 5 97.00%Mini-SWE-agent; archived 1 Sep 2026
Scale LabsPro V2 public (642)Claude Opus 5 638/642 (99.4%)Network-locked; Sep 2026
Scale LabsPro private (272)Claude Opus 5 222/272 (81.6%)Held-out; Sep 2026
Anthropic system card (via BenchmarkList)Pro public, version not statedClaude Opus 5 79.2; Claude Opus 5.5 89.9%Self-reported; Sep 2026

Source: swebench.com; vals.ai/benchmarks/swebench; labs.scale.com/blog/swe-bench-pro-v2; benchmarklist.com/benchmarks/swe_bench_pro

When to use SWE-Bench Pro

  • You want an issue-resolution benchmark with larger changes than SWE-bench Verified: reference fixes average 107.4 lines across 4.1 files, and every task changes at least 10 lines.
  • You care about contamination: the public and held-out sets use GPL and other copyleft repositories, and the commercial set uses private startup code.
  • You need languages beyond Python: tasks cover Python, JavaScript, TypeScript and Go.

Limitations

  • OpenAI's July 2026 audit estimated about 30% of the 731 public v1 tasks are broken (overly strict tests, underspecified prompts, low-coverage tests) and withdrew its recommendation to adopt the benchmark.
  • There are several versions. v1 has 731 public tasks; V2 (22 Sep 2026) has 642 re-validated tasks plus a HARD-51 subset; third parties also publish SWE-Bench Pro Verified. Scores across versions are not comparable.
  • Tasks include written requirements and an interface spec, so it measures implementing a well-specified change more than resolving ambiguity. In the paper, removing them cut GPT-5's score from 25.9% to 8.4%.
  • Java, C++ and Rust are underrepresented, by the authors' own account.

How to run it

  1. Choose the version before anything else. V2 (default, 642 tasks across 11 repositories) is the current public split; HARD-51 is its 51 hardest tasks; v1 (731 tasks) is only for reproducing older numbers. Scores from different versions are not comparable.
  2. Prerequisites for V2: a Modal account (version 1.5.1 or later, needed for the per-phase network policy), Harbor 0.22 or later with Modal support, git, and an API key for the model you test. Task images are linux/amd64 and pull from GitHub Container Registry without a login.
  3. Install and clone: uv tool install 'harbor[modal]>=0.22', run modal setup, then clone github.com/scaleapi/SWE-bench_Pro-os. Each task is a folder under v2/tasks/ with instruction.md (what the agent sees), task.toml, a Dockerfile, the reference solution and the verifier.
  4. Optional: load the task metadata from Hugging Face with load_dataset('ScaleAI/SWE-bench_Pro', split='test'). Config default = V2, hard = HARD-51, v1 = the original 731 tasks. The docker_image column gives each task's image (ghcr.io/scaleapi/swe-bench_pro-v2:<instance_id>).
  5. Sanity-check your setup: harbor run with -a oracle (the reference patch) should resolve 642/642, and with -a nop (empty patch) it should resolve none.
  6. Run your model under the locked protocol with one of the repo's locked agents: locked_claude_code (Claude Code), locked_mini_swe (mini-swe-agent) or locked_codex (Codex CLI); the last two take any OpenAI-compatible endpoint. The agent phase has no network except the model host you whitelist, web tools are disabled, and each task gets 50 minutes.
  7. Re-grade for the official number: the patch_replay agent applies every captured diff (model.patch) to a pristine image and runs the unchanged verifier. Scale asks you to report the re-graded score and publish both.
  8. For HARD-51, pass the IDs in v2/hard51_ids.txt with -i flags, or build a separate dataset folder with v2/tooling/make_subset.py.
  9. Only for v1 numbers: pip install -r requirements.txt, install Docker, then either configure Modal (recommended) or add --use_local_docker. Generate .pred files with your harness (the repo's SWE-agent submodule or mini-swe-agent), collect them with helper_code/gather_patches.py into a JSON list of {instance_id, patch, prefix}, and score with swe_bench_pro_eval.py using the jefzda Docker Hub images.
  10. Common pitfalls: mixing v1, V2 and HARD-51 scores; reporting the in-sandbox result instead of the re-graded one; leaving web search on during the agent phase; manually invoking bash inside the v1 images (they already start in bash); and using v1 scripts or Docker Hub images for V2, which does not use them.
# V2 (current): install Harbor with Modal, clone the official repo
uv tool install 'harbor[modal]>=0.22' && modal setup
git clone https://github.com/scaleapi/SWE-bench_Pro-os && cd SWE-bench_Pro-os

# sanity check: reference patch resolves 642/642, empty patch resolves 0
harbor run -p v2/tasks -e modal -n 50 -a oracle --job-name sbp-v2-oracle
harbor run -p v2/tasks -e modal -n 50 -a nop    --job-name sbp-v2-nop

# evaluate a model offline (example: Claude Code), then re-grade on clean images
PYTHONPATH=v2/tooling harbor run -p v2/tasks -e modal -n 50 \
  -a locked_claude_code:LockedClaudeCode -m anthropic/<model> \
  --ak disallowed_tools=WebFetch,WebSearch --allow-agent-host api.anthropic.com --job-name sbp-v2-<model>
PYTHONPATH=v2/tooling harbor run -p v2/tasks -e modal -n 50 \
  -a patch_replay:PatchReplayAgent -m replay --ak source_job=jobs/sbp-v2-<model> --job-name sbp-v2-<model>-regrade

# dataset (Python): default = V2, 'hard' = HARD-51, 'v1' = 731 tasks
from datasets import load_dataset
v2 = load_dataset('ScaleAI/SWE-bench_Pro', split='test')

# v1 only: gather predictions, then score
python helper_code/gather_patches.py --directory <pred_dir> --prefix <run> --output patches.json
python swe_bench_pro_eval.py --raw_sample_path=swe_bench_pro_full.csv --patch_path=patches.json \
  --output_dir=<out> --scripts_dir=run_scripts --num_workers=100 --dockerhub_username=jefzda

Notable results

  • Sep 2025 paper: 1,865 tasks in total, split into a public set (731 tasks, 11 repos), a commercial set (276, 18 private startup repos) and a held-out set (858, 12 repos). [Paper (arXiv)]
  • Sep 2025 paper, SWE-Agent scaffold: best public-set score 43.6% (Claude Sonnet 4.5); best commercial-set score 17.8% (Claude Opus 4.1). [Paper (arXiv)]
  • 8 Jul 2026: on the 731-task public split, frontier models went from 23.3% to 80.3% in eight months; OpenAI's audit flagged 27.4% (pipeline) to 34.1% (human reviewers) of tasks as broken. [OpenAI: Separating signal from noise in coding evaluations (8 Jul 2026)]
  • 22 Sep 2026: Scale released V2, 642 validated tasks across 11 repositories in Harbor format, plus the HARD-51 subset. [Official repository]
  • SWE-Bench Pro Verified (third-party, Sep 2026) adds anti-leakage controls and corrects 102 flawed tasks; the authors report some models score substantially lower than on the original. [SWE-Bench Pro Verified paper (arXiv)]
  • Scale's V2 leaderboard: frontier models score near the ceiling on the 642 public tasks (Claude Opus 5: 638/642, 99.4%) but lower on the private set (222/272); Scale attributes the gap mainly to training-time exposure of the public repositories. [Scale Labs: SWE-Bench Pro V2]

Sources

Everything above comes from the sources listed, read on 15–16 Oct 2026. Commands are copied from the official instructions; check the source for changes.

FAQ

What is SWE-Bench Pro?

A benchmark from Scale AI where coding agents must resolve long, multi-file issues in real repositories. It has 1,865 tasks across public, commercial and held-out sets; only the public set is downloadable.

Is SWE-Bench Pro harder than SWE-bench Verified?

It was designed to be. The paper notes 161 of Verified's 500 problems need only one- to two-line changes, while Pro excludes edits under 10 lines. When it launched, top models scored under 45% on Pro's public set versus over 70% on Verified.

Did OpenAI stop recommending SWE-Bench Pro?

Yes. On 8 Jul 2026 OpenAI estimated ~30% of the public tasks are broken and retracted its earlier recommendation, while advising developers to examine results carefully.

What is SWE-Bench Pro V2?

A re-validated public split Scale released on 22 Sep 2026: 642 tasks across 11 repositories, in Harbor format, with a HARD-51 subset. It is now the default Hugging Face config.

Which SWE-Bench Pro version should I report?

Name it exactly: v1 public (731), V2 (642), HARD-51, commercial, or the third-party Pro Verified. Their scores are not comparable.

What is SWE-Bench Pro HARD-51?

A 51-task subset of V2 that Scale picked as the hardest for current models (deep multi-file dependencies, subtle bugs, long-horizon changes). Use it when the full V2 public set is near the ceiling.

How do I run SWE-Bench Pro?

For the current V2 set: install Harbor with Modal support, clone scaleapi/SWE-bench_Pro-os, check the setup with the oracle and empty-patch agents, run your model with a locked agent (no network except the model API, 50 minutes per task), then re-grade every diff on a clean image with the patch_replay agent and report that number.

Do I need Modal to run SWE-Bench Pro?

The V2 instructions use Modal (1.5.1 or later) through Harbor. The older v1 pipeline recommends Modal but also has a beta local-Docker mode (--use_local_docker).

What format do SWE-Bench Pro predictions use?

In V2 the locked agents capture each agent's git diff as model.patch, which the re-grader applies. In v1, gather_patches.py turns .pred files into a JSON list of objects with instance_id, patch and prefix for swe_bench_pro_eval.py.

Reviews

No reviews yet.

Reviews are written by people who sign in with GitHub, one per account per eval. We can't confirm that each reviewer used the eval; we remove reviews that break our rules, never just for being negative, and we never add, buy or edit reviews. Averages, when shown, come only from these reviews.

Sign in with GitHub to review

Related coding evals

All Coding evals · Comparison table

Discussion

No one has discussed SWE-Bench Pro yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions