SWE-bench
by Princeton NLP & collaborators
As of 16 Oct 2026, SWE-bench Verified is saturated: Vals AI archived it with Claude Opus 5 at 97.00% (1 Sep 2026), and OpenAI stopped reporting it in Feb 2026.
What is SWE-bench? SWE-bench is a benchmark that gives a model or coding agent a real GitHub issue and the repository it belongs to, and counts the issue as resolved only if the agent's patch makes the repository's hidden tests pass. The original set has 2,294 issues from 12 Python repositories; SWE-bench Verified is a 500-problem subset checked by software engineers.
Editor note
Gives a model a real GitHub issue from an open-source Python project and checks whether its code change makes the project's tests pass.
- What it tests
- Fixing real bugs in real repositories, judged by unit tests.
- Original source
- www.swebench.com/
- Last updated
- Not checked yet
- License
- Not checked yet — see source
SWE-bench Verified and SWE-Bench Pro: one model family, different leaderboards
| Source | Benchmark / version | Score | Setting, date |
|---|---|---|---|
| SWE-bench official (swebench.com) | Verified, bash-only | Claude 4.5 Opus 76.80% (top entry) | mini-SWE-agent; latest entries Feb 2026 |
| Vals AI | Verified | Claude Opus 5 97.00% | Mini-SWE-agent; archived 1 Sep 2026 |
| Scale Labs | Pro V2 public (642) | Claude Opus 5 638/642 (99.4%) | Network-locked; Sep 2026 |
| Scale Labs | Pro private (272) | Claude Opus 5 222/272 (81.6%) | Held-out; Sep 2026 |
| Anthropic system card (via BenchmarkList) | Pro public, version not stated | Claude Opus 5 79.2; Claude Opus 5.5 89.9% | Self-reported; Sep 2026 |
When to use SWE-bench
- You want to know whether a model or coding agent can resolve real GitHub issues end to end, not just write isolated functions.
- You want a cleaner subset: SWE-bench Verified has 500 problems that software engineers confirmed, made with OpenAI Preparedness.
- You work on visual front-end code: SWE-bench Multimodal adds tasks from visual software domains.
Limitations
- The original set is 2,294 problems from 12 Python repositories, so it says little about other languages unless you use the multilingual or multimodal variants.
- Evaluation is heavy. The maintainers recommend an x86_64 machine with at least 120GB free storage, 16GB RAM and 8 CPU cores.
- The task set is static, so newer models may have seen these public repositories and issues during training. SWE-bench-Live was created partly to address this.
How to run it
- Install the harness from the official repository (it builds a Docker image per task).
- Generate a predictions file with your model or agent.
- Run the evaluation on a dataset alias such as verified, full, multimodal or multilingual.
git clone https://github.com/SWE-bench/SWE-bench.git
cd SWE-bench && pip install -e .
swebench eval verified -p <predictions> --run-id <run_id> -j <workers>Notable results
- In the original paper, the best model tested (Claude 2) resolved 1.96% of issues. [Paper (arXiv)]
- 1 Sep 2026: Vals AI archived SWE-bench Verified as saturated; 7 of 86 models scored 95% or more, led by Claude Opus 5 at 97.00%. [Vals AI: SWE-bench Verified (archived, 1 Sep 2026)]
Sources
- Paper (arXiv)
- Official repository
- SWE-bench website
- OpenAI: Introducing SWE-bench Verified (2024)
- OpenAI: Why we no longer evaluate SWE-bench Verified (23 Feb 2026)
- OpenAI: Separating signal from noise in coding evaluations (8 Jul 2026)
- Vals AI: SWE-bench Verified (archived, 1 Sep 2026)
- SWE-bench leaderboards (official)
FAQ
What is a SWE-bench score?
The percentage of tasks resolved: the agent's patch must make the tests that failed before the fix pass, without breaking the tests that already passed. Always say which split (full, Lite, Verified, Multimodal, Multilingual) and which agent scaffold produced the number.
What is the difference between SWE-bench and SWE-bench Verified?
Verified is a 500-problem subset. OpenAI had experts review 1,699 SWE-bench problems, three reviewers each, and kept the ones without broken tests or unclear descriptions.
Is SWE-bench Verified still a good benchmark?
OpenAI stopped reporting it on 23 Feb 2026. It found flawed tests in 59.4% of 138 hard problems it audited, and found that frontier models could reproduce some gold patches from memory, a sign of training-data contamination.
What should I use instead of SWE-bench Verified?
There is no settled replacement. OpenAI first recommended SWE-Bench Pro, then withdrew that advice on 8 Jul 2026 after estimating ~30% of Pro's public tasks are broken. Options include SWE-bench-Live (fresh issues) and SWE-Bench Pro V2 (642 re-validated tasks); report exactly which one you used.
How much hardware does SWE-bench need?
The maintainers recommend an x86_64 machine with at least 120GB free storage, 16GB RAM and 8 CPU cores, because the harness builds a Docker image per task.
Compare SWE-bench
Related coding evals
- HumanEval — Writing a short correct function from a docstring.
- LiveCodeBench — Code generation, self-repair and test prediction on fresh problems.
- Aider leaderboards (Polyglot) — Practical multi-language code editing.
- BigCodeBench — Library-heavy, practical Python tasks.
Discussion
Very informative. In today's worlds evals will play a key role in safeguarding the security of data.
Related reading
- Which coding agent harness posts which score, with pricing and limits: best agent harness for coding