SWE-bench
Models resolve 2,294 real GitHub issues from 12 Python repositories. A patch counts as resolved when the hidden repository tests pass.
The original set behind SWE-bench Lite (March 2024) and SWE-bench Verified (August 2024).
- Released
- October 2023
- Kind
- Fixing real repositories
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Items from
- Real work and use
- Refresh
- One fixed set
- Run by
- Anyone
- In views
- Agents
- Updated automatically
- Yes, daily
In the authors’ words
Language models have outpaced our ability to evaluate them effectively, but for their future development it is essential to study the frontier of their capabilities. We find real-world software engineering to be a rich, sustainable, and challenging testbed for evaluating the next generation of language models. To this end, we introduce SWE-bench, an evaluation framework consisting of 2,294 software engineering problems drawn from real GitHub issues and corresponding pull requests across 12 popular Python repositories. Given a codebase along with a description of an issue to be resolved, a language model is tasked with editing the codebase to address the issue. Resolving issues in SWE-bench frequently requires understanding and coordinating changes across multiple functions, classes, and even files simultaneously, calling for models to interact with execution environments, process extremely long contexts and perform complex reasoning that goes far beyond traditional code generation tasks. Our evaluations show that both state-of-the-art proprietary models and our fine-tuned model SWE-Llama can resolve only the simplest issues. The best-performing model, Claude 2, is able to solve a mere 1.96% of the issues. Advances on SWE-bench represent steps towards LMs that are more practical, intelligent, and autonomous.
Known issues
A published audit found a problem in SWE-bench. We summarize each finding in our words and link its source. The scores on this page don't include any fixes. See all audits
- Unclear tasks Broken grader Replaced by a new version
OpenAI reports that its annotators flagged many SWE-bench test samples for underspecified problem statements and for unit tests that may reject valid solutions. OpenAI and the SWE-bench authors released the 500 samples that passed review as SWE-bench Verified.
93 software developers annotated 1,699 random samples. 38.3% were flagged for underspecified problem statements, 61.1% for unfair unit tests, and 68.3% were filtered out.
We see that 38.3% of samples were flagged for underspecified problem statements, and 61.1% were flagged for unit tests that may unfairly mark valid solutions as incorrect.
Response. The SWE-bench team published the 500-task SWE-bench Verified set under its princeton-nlp Hugging Face organization on the day of the post. Source
Introducing SWE-bench Verified by OpenAI, August 13th, 2024
Sonar Foundation Agent + Claude Opus 4.5 tops the leaderboard with 52.6% No scores yet
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran on its own with several settings, we keep its best. Agents other companies built around a model get a pale shade of that model's lab color. Gray marks blends and entries not in our model list, such as fine-tunes and older models. None of these count toward leaders. Agents built around a model, such as Sonar Foundation Agent + Claude Opus 4.5, are their own entries. We don't count them as the model's score. This view shows only models we track, each at its best.
- 52.6 Sonar Foundation Agent + Claude Opus 4.5
- 44.3 Salesforce AI Research SAGE (Claude Sonnet 4.5 + GPT-5)
- 42.0 Undisclosed
- 33.8 SWE-agent 1.0 + Claude 3.7 Sonnet
- 29.4 CodeAct v2.1 (claude-3-5-sonnet-20241022)
- 24.9 AutoCodeRover-v2.0 + Claude 3.5 Sonnet
- 18.8 AutoCodeRover + GPT-4o
- 18.1 SWE-agent + Claude 3.5 Sonnet
- 14.6 AppMap Navie + GPT-4o
- 12.5 SWE-agent + GPT-4 Turbo
- 12.0 SWE-agent + GPT-4o
- 10.5 SWE-agent + Claude 3 Opus
- 3.79 RAG baseline + Claude 3 Opus
- 1.96 RAG baseline + Claude 2
- 1.31 RAG baseline + GPT-4 Turbo
- 0.70 RAG baseline + SWE-Llama 13B
- 0.70 RAG baseline + SWE-Llama 7B
- 0.17 GPT-3.5
- 1 Sonar Foundation Agent + Claude Opus 4.5 52.6%
- 2 Salesforce AI Research SAGE (Claude Sonnet 4.5 + GPT-5) 44.3%
- 3 Undisclosed 42%
- 4 SWE-agent 1.0 + Claude 3.7 Sonnet ✓ 33.8%
- 5 CodeAct v2.1 (claude-3-5-sonnet-20241022) ✓ 29.4%
- 6 AutoCodeRover-v2.0 + Claude 3.5 Sonnet 24.9%
- 7 AutoCodeRover + GPT-4o May 2024 18.8%
- 8 SWE-agent + Claude 3.5 Sonnet ✓ 18.1%
- 9 AppMap Navie + GPT-4o May 2024 ✓ 14.6%
- 10 SWE-agent + GPT-4 Turbo Nov 2023 ✓ 12.5%
- 11 SWE-agent + GPT-4o May 2024 ✓ 12%
- 12 SWE-agent + Claude 3 Opus ✓ 10.5%
- 13 RAG baseline + Claude 3 Opus ✓ 3.79%
- 14 RAG baseline + Claude 2 ✓ 1.96%
- 15 RAG baseline + GPT-4 Turbo Nov 2023 ✓ 1.31%
- 16 RAG baseline + SWE-Llama 13B ✓ 0.70%
- 17 RAG baseline + SWE-Llama 7B ✓ 0.70%
- 18 GPT-3.5 ✓ 0.17%
Source: Official SWE-bench leaderboard
| # | Entry | Score | Setting | Agent by | Released | Run on | Link | Source |
|---|---|---|---|---|---|---|---|---|
| 1 | Sonar Foundation Agent + Claude Opus 4.5 | 52.6% | Sonar | Nov 2025 | Dec 2025 | github.com | Official leaderboard | |
| 2 | Salesforce AI Research SAGE (Claude Sonnet 4.5 + GPT-5) | 44.3% | Salesforce AI Research | Sep 2025 | Oct 2025 | github.com | Official leaderboard | |
| 3 | Undisclosed closed weights | 42% | Atlassian Rovo Dev | Atlassian | Jun 2025 | github.com | Official leaderboard | |
| 4 | SWE-agent 1.0 + Claude 3.7 Sonnet ✓ | 33.8% | SWE-agent | Feb 2025 | Feb 2025 | github.com | Official leaderboard | |
| 5 | CodeAct v2.1 (claude-3-5-sonnet-20241022) ✓ closed weights | 29.4% | OpenHands | OpenHands | Nov 2024 | github.com | Official leaderboard | |
| 6 | AutoCodeRover-v2.0 + Claude 3.5 Sonnet | 24.9% | Jun 2024 | Nov 2024 | github.com | Official leaderboard | ||
| 7 | AutoCodeRover + GPT-4o May 2024 | 18.8% | May 2024 | Jun 2024 | github.com | Official leaderboard | ||
| 8 | SWE-agent + Claude 3.5 Sonnet ✓ | 18.1% | SWE-agent | Jun 2024 | Jun 2024 | github.com | Official leaderboard | |
| 9 | AppMap Navie + GPT-4o May 2024 ✓ | 14.6% | May 2024 | Jun 2024 | github.com | Official leaderboard | ||
| 10 | SWE-agent + GPT-4 Turbo Nov 2023 ✓ | 12.5% | SWE-agent | Nov 2023 | Apr 2024 | github.com | Official leaderboard | |
| 11 | SWE-agent + GPT-4o May 2024 ✓ | 12% | SWE-agent | May 2024 | Jul 2024 | github.com | Official leaderboard | |
| 12 | SWE-agent + Claude 3 Opus ✓ | 10.5% | SWE-agent | Feb 2024 | Apr 2024 | github.com | Official leaderboard | |
| 13 | RAG baseline + Claude 3 Opus ✓ | 3.79% | Feb 2024 | Apr 2024 | github.com | Official leaderboard | ||
| 14 | RAG baseline + Claude 2 ✓ | 1.96% | Jul 2023 | Oct 2023 | github.com | Official leaderboard | ||
| 15 | RAG baseline + GPT-4 Turbo Nov 2023 ✓ | 1.31% | Nov 2023 | Apr 2024 | github.com | Official leaderboard | ||
| 16 | RAG baseline + SWE-Llama 13B ✓ | 0.70% | SWE-agent | Oct 2023 | Oct 2023 | github.com | Official leaderboard | |
| 17 | RAG baseline + SWE-Llama 7B ✓ | 0.70% | SWE-agent | Oct 2023 | Oct 2023 | github.com | Official leaderboard | |
| 18 | GPT-3.5 ✓ closed weights | 0.17% | RAG baseline | SWE-agent | Oct 2023 | github.com | Official leaderboard |
| # | Model | Score | Setting | Agent by | Released | Run on | Link | Source |
|---|
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471
Data audit
All 8 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 2 pass 3 notes
- Pass Independent runs Scores from the official leaderboard (18 entries).
- Pass Models scored 18 entries on its leaderboard, none a model we track.
- Note Newest score No scores yet.
- Note Frontier models No models scored yet.
- Note Headroom No scores yet.
Leaderboard import 3 pass
- Pass Importer We read the board on swebench.com: 15 rows for models we track and 3 other entries at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues 1 finding, all fixed.
- Note Epoch AI review Epoch AI hasn’t reviewed it.