Coding

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.

Page last updated 2026-10-18 · Evals Review

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

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

  • 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

  1. Install the harness from the official repository (it builds a Docker image per task).
  2. Generate a predictions file with your model or agent.
  3. 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

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 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.

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 (1)

  1. @Siddharth8603 ·

    Very informative. In today's worlds evals will play a key role in safeguarding the security of data.

Sign in with GitHub to comment

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

Related reading