Benchmarks · Coding & software engineering
SWE-bench
also: SWE-bench Verified, SWE-bench Multilingual
Can a model resolve a real, unseen GitHub issue by editing a codebase so that the project's own hidden tests pass?
Princeton & StanfordReleased 10 October 2023
SWE-bench asks the question that a coding demo cannot: not whether a model can write plausible code, but whether it can fix a real problem in a real, large codebase that it has never seen. Each task is an actual issue filed against a popular open-source Python project, paired with the pull request that eventually resolved it. The model is handed the whole repository and the issue text, and must produce a patch — the patch counts only if the project’s own test suite, hidden from the model, passes afterwards.
When Princeton and Stanford researchers released it in 2023, the best available system solved under 2% of tasks, and the benchmark looked almost hopeless. What followed became one of the clearest illustrations of how fast agentic coding advanced: Cognition’s Devin cleared 13.86% in early 2024, and by late 2025 frontier models were resolving more than three-quarters of the human-screened “Verified” subset that OpenAI introduced to clean up the original set’s ambiguous tasks. By mid-2026 the independent Vals AI leaderboard measured Claude Opus 4.8 at 88.6%, and Anthropic reported Claude Opus 5 at 96.0%.
That progress is also the benchmark’s problem. As scores approached saturation, attention shifted to harder measures — Scale AI’s SWE-bench Pro, built from unseen commercial code, dropped the same top models to around 23% — and researchers cautioned that a passing patch is not the same as a mergeable one: METR found many SWE-bench-passing pull requests would be rejected by human reviewers. Even so, SWE-bench remains the single most-cited yardstick for whether an AI system can do software engineering rather than merely talk about it.
The set
2,294 issue–pull-request pairs drawn from 12 popular Python repositories; a submission is scored only if the repo's real unit tests pass after the model's patch is applied. OpenAI's 2024 'Verified' subset of 500 human-screened tasks became the version everyone reports.
Example
Instance astropy__astropy-12907 from SWE-bench Verified, verbatim: 'Modeling's separability_matrix does not compute separability correctly for nested CompoundModels. Consider the following model: ... If I make the model more complex ... Suddenly the inputs and outputs are no longer separable? This feels like a bug to me, but I might be missing something?' The model gets the full astropy repository and must produce a patch that makes the issue's hidden regression tests pass.huggingface.co
Where it stands
Top models are now in the high 80s to 90s on Verified: Claude Opus 4.8 was independently measured at 88.6% by Vals AI, and Anthropic reported Claude Opus 5 at 96.0%. Harder successors (SWE-bench Pro, SWE-bench Multilingual) now carry the signal, and in early 2026 OpenAI said it would stop reporting on Verified.
How the top score changed hands
Best reported score at each point the lead changed hands. Tap a marker for the entry.
- October 2023Claude 21.96%Best model at launch — the benchmark was built to be nearly impossible.
- March 2024Devin (Cognition)13.86%First agent to clear 10% unassisted, a jump from roughly 2%.
- August 2024GPT-4o33.2%On the new human-screened 'Verified' subset OpenAI introduced.
- October 2024Claude 3.5 Sonnet49.0%
- March 2025Gemini 2.5 Pro63.8%
- May 2025Claude Opus 4 / Sonnet 472.5% / 72.7%
- September 2025Claude Sonnet 4.577.2%
- November 2025Claude Opus 4.580.9%Anthropic-reported at release; the first past 80% on Verified.
- May 2026Claude Opus 4.888.6%Independently measured by Vals AI.
- July 2026Claude Opus 596.0%Anthropic's own system-card figure (extended thinking); not yet independently confirmed.
Current best: Claude Opus 4.8 — 88.6% SWE-bench Verified, resolved %, independently measured by Vals AI. Anthropic separately reported Claude Opus 5 at 96.0% (its own system-card figure, extended thinking).
In the timeline · 44 entries · showing 16 most notable
Anthropic releases Claude Opus 5.5
Anthropic said Opus 5.5 matches Fable 5.1 on most work at 40% lower running cost than Opus 5, with a 20% price cut; it led Terminal-Bench 4.0 and Artificial Analysis's GDPval-AA board.
Models & capabilities · Benchmarks & progress
A new benchmark targets flaws in SWE-bench, the standard coding-agent test
Researchers cited an audit finding roughly 60% of unsolved SWE-bench Verified instances have flawed tests, and built a 170-task multilingual refactoring benchmark instead.
Benchmarks & progress
METR: many SWE-bench-passing pull requests would not actually be merged
Four maintainers reviewing 296 AI-generated pull requests for scikit-learn, Sphinx and pytest found roughly half of automated-grader 'passes' would be rejected in real review.
Benchmarks & progress
OpenAI stops evaluating models on SWE-bench Verified
An OpenAI audit found most frontier models, including its own, could reproduce gold-patch fixes from memory, and that a majority of remaining unsolved tasks were themselves flawed.
Benchmarks & progress
Zhipu (Z.ai) releases GLM-5, trained entirely on Huawei Ascend chips
Released under the MIT licence, the 744-billion-parameter model scored 77.8% on SWE-bench Verified, days ahead of new Alibaba and ByteDance model launches.
Models & capabilities · Open weights & ecosystem · Compute & infrastructure
OpenAI ships GPT-5.2-Codex
OpenAI reported an 'unmatched' 56.4% on the SWE-Bench Pro benchmark and 64% on Terminal-Bench 2.0, alongside new defensive-cybersecurity capabilities.
Models & capabilities
OpenAI releases GPT-5.2
Released three weeks after Google's Gemini 3 and following a reported internal OpenAI 'code red,' with a claimed 70.9% win rate against professionals on the GDPval benchmark, up from 38.8% for GPT-5.1.
Models & capabilities
Google ships Gemini 3
Gemini 3 Pro reported a 1501 Elo score on LMArena and 91.9% on GPQA Diamond, prompting OpenAI to reportedly declare an internal 'code red' days later.
Models & capabilities · Benchmarks & progress
Scale AI launches SWE-bench Pro
The leading models scored around 23%, against over 70% on the older SWE-bench Verified, a gap Scale AI attributed to unseen, real-world commercial codebases.
Benchmarks & progress
Anthropic ships Claude Opus 4.1
Anthropic reported 74.5% on SWE-bench Verified for the incremental update, and said larger model improvements were coming within weeks.
Models & capabilities
Anthropic launches Claude Opus 4 and Claude Sonnet 4
Anthropic reported Opus 4 scoring 72.5% on SWE-bench and Sonnet 4 72.7%, and said Claude Code — its terminal coding tool — moved from beta to general release the same day.
Models & capabilities · Safety & alignment
Gemini 2.5 Pro takes the lead on reasoning benchmarks
Google's thinking model topped LMArena and several reasoning evaluations, its strongest competitive position of the period.
Models & capabilities · Benchmarks & progress
Andy Konwinski launches $1M Konwinski Prize for contamination-free SWE benchmark
Entrants would be scored on GitHub issues collected only after a submission deadline, closing off the possibility of training on the test set in advance.
Benchmarks & progress · Open weights & ecosystem
OpenAI introduces SWE-bench Verified
500 of the original benchmark's tasks, screened by 93 professional developers after OpenAI found 68% of samples had unfair tests or underspecified problems.
Benchmarks & progress
Cognition demos Devin, billed as the first AI software engineer
Cognition said Devin resolved 13.86% of real GitHub issues unassisted on the SWE-bench benchmark, against roughly 2% for the prior best system.
Models & capabilities · Culture & impact
SWE-bench paper published
Built from 2,294 real GitHub issues across 12 Python repositories, the benchmark proved so hard that the best model of the day, Claude 2, solved under 2%.
Benchmarks & progress