SWE-bench
SWE-bench is a coding benchmark that tests whether a language model can resolve real software issues. Introduced in October 2023, it contains 2,294 tasks built from real GitHub issues and the pull requests that fixed them in 12 popular Python repositories. The model receives the issue text and the codebase, edits the code, and is scored as resolved when the benchmark’s required tests pass.[1][6] The paper was published at ICLR 2024.[2]
What does SWE-bench mean in simple terms?
SWE-bench is a practical exam for AI coding tools. Instead of asking for a short function, it hands the model a real bug report from an open-source project and says "fix this in the actual codebase." Hidden tests then check whether the bug is fixed without breaking anything else.[3] It is a bit like a hiring test where a developer candidate gets a real ticket from your backlog instead of a quiz. Model makers have widely reported scores on it, especially on the human-checked SWE-bench Verified subset, so the name comes up often when comparing AI coding tools.[7] A score tells you how a model did on these specific tasks under specific settings, not how it will perform on your own code.
How can SWE-bench be explained with an analogy?
A shared scorecard that ranks how well AI can fix real code, like a standard road test that every driver takes on the same course.
Where is SWE-bench used?
Anthropic — Headline coding metric at the Claude Sonnet 4.5 launch
When Anthropic announced Claude Sonnet 4.5 in September 2025, it called the model state-of-the-art on SWE-bench Verified and led with that result.[4] It reported 77.2%, averaged over 10 trials with a simple setup of two tools (bash and file editing). With parallel attempts and a scoring model choosing the best patch, the score rose to 82.0%.[4] The footnotes show that the setup, prompt, and compute budget all affect the number.
Result: 77.2% on SWE-bench Verified (standard setting), 82.0% with parallel test-time compute (company-reported).[4]
OpenAI Preparedness team — A human-checked subset
In August 2024 OpenAI, working with the original SWE-bench authors, released SWE-bench Verified.[3] Its review found that some tasks had vague issue descriptions or tests that rejected valid fixes, so the benchmark underestimated models. 93 Python developers screened 1,699 randomly sampled tasks, each task was labeled by three annotators, and 500 tasks that passed became the Verified set.[3] OpenAI used SWE-bench as one of its Preparedness Framework evaluations for model autonomy.[3]
Result: 500 human-checked tasks; 68.3% of the screened sample was filtered out for vague descriptions, unfair tests, or other issues.[3]
Scale AI — SWE-Bench Pro for harder, enterprise-style work
In September 2025 Scale AI researchers published SWE-Bench Pro.[5] It has 1,865 problems from 41 actively maintained repositories, including business applications and B2B services, and many tasks need changes across several files. It is split into a public set, a held-out set, and a commercial set from 18 proprietary startup repositories.[5] In the paper's capped run (50 turns, USD 2 cost limit) on the public set, GPT-5 (medium) scored 23.3% and Claude Opus 4.1 22.7%; in the main evaluation, all models stayed below 45%.[5]
Result: Top models stayed below 45% on the public set and below 18% on the commercial set (paper v2).[5]
The SWE-bench team — From one paper to a family of benchmarks
After the original paper was published at ICLR 2024, the team kept extending the benchmark.[2][6] As checked on October 13, 2026, the official site listed leaderboards for the full set (2,294 tasks), Lite (300), Verified (500), Multilingual (300 tasks from 42 repositories in 9 languages), and Multimodal (480 tasks with visual elements).[6] SWE-bench Multimodal was introduced in October 2024 and updated to a v2 set of 480 reproducible tasks in September 2026.[6][8] SWE-Bench Pro is run by Scale AI, not on this site.[5][6]
Result: Five official leaderboards on swebench.com covering Python, multiple languages, and visual tasks.[6]
Try it today
- Open the swebench.com leaderboards and look at the Verified, Lite, Multilingual, and Multimodal views to see what each one measures.[6]
- Read the original paper's abstract to understand the setup: real issues, 12 Python repositories, and test-based grading.[1]
- Pick one model you are considering and note its SWE-bench Verified and SWE-Bench Pro scores, together with the setup used for each.[4][5]
- Read OpenAI's 2024 post on why human review was needed and its 2026 post on why it stopped reporting Verified.[3][7]
- When you compare AI coding tools in a report, record the subset, the date, and the agent setup next to every score, and add a trial on your own code.
Limits and direction
SWE-bench has known limits. The original set uses only Python open-source projects, so it does not show performance in other languages or on private company code.[1] Because the tasks come from public GitHub repositories, models may have seen them during training; OpenAI noted this contamination risk in 2024.[3] Some tasks also had vague descriptions or overly strict tests, which led to SWE-bench Verified.[3]
In February 2026 OpenAI said it had stopped reporting SWE-bench Verified scores. In an audit of 138 tasks that a strong model often failed, at least 59.4% had flawed tests or descriptions, and every frontier model it tested could reproduce some original fixes or task text, a sign of training exposure. OpenAI recommended reporting SWE-Bench Pro instead.[7] The benchmarks have grown in three directions: more reliable grading (Verified, 2024), more languages and visual input (Multilingual and Multimodal), and harder, less exposed tasks (SWE-Bench Pro, 2025).[3][5][6] Scores on different subsets or setups are not directly comparable, so always note which benchmark, which setup, and when it was measured.[4][5]
Which concepts are related to SWE-bench?
- Related conceptThroughputAnother basic metric that often appears alongside benchmark scores when comparing models.
- Related conceptLatencyResponse speed, often weighed together with benchmark accuracy when choosing a model.
- Related conceptBenchmarkThe general idea of a standard test; SWE-bench is one for software engineering.[1]
Which sources explain SWE-bench?
- arXiv — SWE-bench: Can Language Models Resolve Real-World GitHub Issues? (Jimenez et al., 2023-10-10; v3 2024-11-11) — https://arxiv.org/abs/2310.06770
- ICLR Proceedings — SWE-bench: Can Language Models Resolve Real-world Github Issues? (ICLR 2024) — https://proceedings.iclr.cc/paper_files/paper/2024/hash/edac78c3e300629acfe6cbe9ca88fb84-Abstract-Conference.html
- OpenAI — Introducing SWE-bench Verified (2024-08-13, updated 2025-02-24) — https://openai.com/index/introducing-swe-bench-verified/
- Anthropic — Introducing Claude Sonnet 4.5 (2025-09-29) — https://www.anthropic.com/news/claude-sonnet-4-5
- arXiv — SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks? (Scale AI, 2025-09-21; v2 2025-11-14) — https://arxiv.org/abs/2509.16941
- SWE-bench Team — SWE-bench Leaderboards (accessed 2026-10-13) — https://www.swebench.com/
- OpenAI — Why SWE-bench Verified no longer measures frontier coding capabilities (2026-02-23) — https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
- SWE-bench Team — SWE-bench Multimodal (v2 update 2026-09-01) — https://www.swebench.com/multimodal.html
Tell us what you think
Your feedback helps us improve the content.