Capital & Compute

SWE-bench

Benchmark· Coding & software-engineering agents· Checked 2026-06-29

Also known as SWE-bench Full

SWE-bench is a software-engineering benchmark that gives an AI system a real bug report from a real open-source repository and asks it to produce a patch. The patch is judged by running the repository’s own hidden tests: they pass or they do not. It is the benchmark that turned "coding model" into "coding agent," because solving a task requires navigating a codebase rather than writing one function.

Key facts about the SWE-bench benchmark
What it measuresWhether a system can resolve a real GitHub issue by generating a patch that passes the repository's hidden tests.
Built byPrinceton and Stanford (Jimenez, Yang, Yao et al.), 2023
Format2,294 real GitHub issue and merged-PR pairs across 12 popular Python repos (also subsetted into Lite: 300, Verified: 500)
Scoring metric% resolved (pass@1)
StatusSaturated
Representative top scoreNot independently confirmed; see the leaderboard
Official leaderboardwww.swebench.com

How SWE-bench works

Each task pairs a genuine GitHub issue with the pull request that actually fixed it. The agent sees the issue text and the repository at the commit before the fix, and must produce a patch. Grading is fully automatic and binary: the harness applies the patch and runs two test sets, the tests that the real fix made pass, and the tests that already passed and must not break. The headline number is the percentage of tasks resolved on a single attempt.

History and current status

The benchmark was introduced in a 2023 paper by researchers at Princeton and Stanford, when the best systems resolved a low single-digit percentage of tasks. Two derivative sets quickly became more important than the original: Lite, a 300-task subset, and Verified, a 500-task human-validated subset released by OpenAI in 2024. By 2026 the full 2,294-task set is rarely reported at all, and attention has moved on again to SWE-bench Pro and to continuously refreshed variants such as SWE-bench-Live and SWE-rebench.

What the score does not tell you

Three problems compound. The tasks are drawn from public repositories that are certainly in every frontier training corpus, so a model may have seen the actual fix. A large share of the original tasks turned out to have broken or underspecified tests, which is exactly why Verified exists. And a reported score depends heavily on the agent scaffolding wrapped around the model, so two numbers for the same model can differ by many points without either being wrong.

This is the general case, not a quirk of one benchmark. For the four failure modes that decide whether any benchmark number means anything, read are AI benchmarks reliable, and for this row in particular, why benchmark saturation makes a high score meaningless.

SWE-bench is not one of the 15 benchmarks scored in the benchmark trust ranking, which rates the most-quoted tests on those same four axes and sorts them most trustworthy first.

What SWE-bench scores actually mean

Read the Full-set number as a floor, not a grade. When SWE-bench launched, the best system resolved under 2% of the 2,294 tasks, and for the next two years single-digit to low-double-digit scores were the state of the art. A model at 20% on the Full set is not weak; it is operating on a distribution that includes issues no competent engineer could close from the text given. That is precisely why the number stopped being reported: once labs realised a meaningful share of the set was unsolvable as written, the ceiling of the Full set was somewhere well below 100%, and nobody could say where. Comparisons across papers are also unsafe unless both used the same retrieval setup, because the version that hands the model the right files scores far above the version that makes it find them.

Who reports SWE-bench, and how to read it

Almost every frontier lab quotes a SWE-bench figure at launch, but nearly always the Verified subset rather than the full set, and usually under its own scaffolding. Read any such number as a model-plus-harness result. OpenAI said in early 2026 that it had stopped reporting Verified after finding broken tests and training exposure, and now points to SWE-bench Pro instead.

When to weight SWE-bench in a model choice

Treat SWE-bench Full as history rather than as a purchasing input. If a vendor quotes a plain SWE-bench number in 2026 without saying Verified, Pro, Lite or Full, that ambiguity is itself the finding: the four differ by tens of points and the label is doing the work. For an actual model choice on repository work, read SWE-bench Pro or Terminal-Bench, both of which run under standardized scaffolding and still have headroom. Keep the Full set for one purpose: it is the reference point that shows how fast the field moved, from under 2% to near-ceiling on its cleaned subset in roughly two years, which is the context that makes any single current score legible.

2023
First released
Princeton and Stanford (Jimenez, Yang, Yao et al.)
Saturated
Status today
As of September 12, 2026
See board
Representative top score
Not independently confirmed

Benchmarks to read alongside this one

SWE-bench: frequently asked questions

What is SWE-bench?
SWE-bench is a benchmark of 2,294 real GitHub issue and pull-request pairs from 12 popular Python repositories. An AI system is given the issue and the repository as it stood before the fix, and must generate a patch that makes the repository hidden tests pass. The score is the percentage of issues resolved on one attempt.
Is SWE-bench still a good benchmark in 2026?
Not on its own. The full set is effectively retired in favour of subsets and successors, top scores on the Verified subset sit near the ceiling, and the tasks come from public repositories that models have almost certainly trained on. Use it as history and read SWE-bench Pro, SWE-bench-Live or SWE-rebench for a current signal.
What is a good SWE-bench score?
There is no fixed threshold, because the number depends on which subset and which agent scaffolding produced it. What matters is comparability: only compare scores measured on the same subset under the same scaffolding, and treat a vendor-reported figure as a model-plus-harness result rather than a property of the model.
Who created SWE-bench?
It was introduced in a 2023 paper by researchers at Princeton and Stanford (Jimenez, Yang, Yao and colleagues). The same authors later collaborated with OpenAI on the human-validated SWE-bench Verified subset.

Sources

Get each breakdown before it makes the rounds

You get one email when a new source-backed analysis goes live: what AI agents actually cost, which models are worth running, and what the benchmarks really mean. No hype.

No spam. Unsubscribe anytime.

← All 116 benchmarks in the directoryWhich benchmarks are worth trusting →