Benchmark Almanac

SWT-bench

Devstral 2 89.1% leads since December 2025
Devstral 2 89.1% leads since December 2025
Fading

The official leaderboard hasn’t scored a model released after Devstral 2 (December 2025). Labs report their own numbers for one newer model: MiniMax-M2.1 at 69.3%.

Agents write tests that reproduce real GitHub issues from SWE-bench repositories. Scored by the share of tests that fail before and pass after the fix.

Reported on Lite and Verified splits, so check which one a card uses.

Made by
ETH Zurich and LogicStar.ai
Released
June 2024
Kind
Fixing real repositories
Level
Expert
Scored
Checked automatically
Answers
Code
Tasks
All public
Measures
Capability
Language
English
In and out
Text, Code → Code, Actions
Interaction
Agentic
Environment
Terminal
Refresh
One fixed set
Run by
Anyone
Based on
SWE-bench
In views
Agents
Strongest model tested
GPT-5 mini #93 on the capability index
Last in a launch post
December 2025, dropped after it saturated
Last model added
December 2025
Updated automatically
Yes, daily
Scores refreshed
November 24th, 2026

In the authors’ words

Rigorous software testing is crucial for developing and maintaining high-quality code, making automated test generation a promising avenue for both improving software quality and boosting the effectiveness of code generation methods. However, while code generation with Large Language Models (LLMs) is an extraordinarily active research area, test generation remains relatively unexplored. We address this gap and investigate the capability of LLM-based Code Agents to formalize user issues into test cases. To this end, we propose a novel benchmark based on popular GitHub repositories, containing real-world issues, ground-truth bug-fixes, and golden tests. We find that LLMs generally perform surprisingly well at generating relevant test cases, with Code Agents designed for code repair exceeding the performance of systems designed specifically for test generation. Further, as test generation is a similar but more structured task than code generation, it allows for a more fine-grained analysis using issue reproduction rate and coverage changes, providing a dual metric for analyzing systems designed for code repair. Finally, we find that generated tests are an effective filter for proposed code fixes, doubling the precision of SWE-Agent. We release all data and code at https://github.com/logic-star-ai/SWT-Bench

Abstract of SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents (arXiv:2406.12952, CC0)
13
Entries on its own leaderboard, 8 models we track
1
Launch post lists it, from 1 lab

Devstral 2 leads with 89.1% among models released by December 2025 Devstral 2 leads with 89.1% among models released by December 2025

Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.

Devstral 2 leads with 89.1%, claims included

Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model. Striped bars are claims, and dotted bars are reruns by Epoch AI or another board.

The newest model with a score here came out in December 2025, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 Devstral 2 Script Mode 89.1%
  2. 2 GPT-5 mini Unit Test Mode 56.2%
  3. 3 Claude 3.7 Sonnet Unit Test Mode 52.5%
  4. 4 AEGIS Script Mode 47.8%
  5. 5 v20250405-dev Unit Test Mode 39.9%
  6. 6 GPT-4o [snapshot unspecified] Unit Test Mode 38%
  7. 7 Claude 3.5 Sonnet Unit Test Mode 28.3%
  8. 8 GPT-4 [snapshot unspecified] Unit Test Mode 18.5%
  9. 9 Mistral Large 2 Jul 2024, Unit Test Mode 16.3%
  10. 10 Claude 3.5 Sonnet [snapshot unspecified] Unit Test Mode 12.3%
  11. 11 GPT-4o mini Unit Test Mode 9.80%
  12. 12 Claude 3 Haiku Unit Test Mode 2.50%
  13. 13 Mixtral 8x22B Unit Test Mode 0.70%

Source: Official SWT-bench leaderboard

#EntryScoreSettingAgent byReleasedRun onLinkSource
1 Devstral 2 89.1% Script Mode, DevstralTestGen Mistral AI Dec 2025 Mar 2026 github.com Official leaderboard
2 GPT-5 mini 56.2% Unit Test Mode, ReProAgent Nanjing University Aug 2025 Apr 2026 github.com Official leaderboard
3 Claude 3.7 Sonnet 52.5% Unit Test Mode, e-Otter++ IBM Feb 2025 Aug 2025 files.sri.inf.ethz.ch Official leaderboard
4 AEGIS 47.8% Script Mode Bytedance (SE Lab) Feb 2025 files.sri.inf.ethz.ch Official leaderboard
5 v20250405-dev 39.9% Unit Test Mode, Amazon Q Developer Agent Amazon Web Services Apr 2025 files.sri.inf.ethz.ch Official leaderboard
6 GPT-4o [snapshot unspecified] 38% Unit Test Mode, AssertFlip University of Waterloo (SWAG Lab) Jul 2025 files.sri.inf.ethz.ch Official leaderboard
7 Claude 3.5 Sonnet 28.3% Unit Test Mode, OpenHands, CI setup All Hands AI Jun 2024 Feb 2025 github.com Official leaderboard
8 GPT-4 [snapshot unspecified] 18.5% Unit Test Mode, SWE-Agent+ LogicStar May 2024 github.com Official leaderboard
9 Mistral Large 2 Jul 2024 16.3% Unit Test Mode, SWE-Agent SWE-agent Jul 2024 May 2024 github.com Official leaderboard
10 Claude 3.5 Sonnet [snapshot unspecified] 12.3% Unit Test Mode, SWE-Agent SWE-agent May 2024 github.com Official leaderboard
11 GPT-4o mini 9.80% Unit Test Mode, SWE-Agent SWE-agent Jul 2024 May 2024 github.com Official leaderboard
12 Claude 3 Haiku 2.50% Unit Test Mode, SWE-Agent SWE-agent Mar 2024 May 2024 github.com Official leaderboard
13 Mixtral 8x22B 0.70% Unit Test Mode, SWE-Agent SWE-agent Apr 2024 May 2024 github.com Official leaderboard
#ModelScoreSettingAgent byReleasedRun onLinkSource
1 Devstral 2 89.1% Script Mode, DevstralTestGen Mistral AI Dec 2025 Mar 2026 github.com Official leaderboard
2 GPT-5 mini 56.2% Unit Test Mode, ReProAgent Nanjing University Aug 2025 Apr 2026 github.com Official leaderboard
3 Claude 3.7 Sonnet 52.5% Unit Test Mode, e-Otter++ IBM Feb 2025 Aug 2025 files.sri.inf.ethz.ch Official leaderboard
4 Claude 3.5 Sonnet 28.3% Unit Test Mode, OpenHands, CI setup All Hands AI Jun 2024 Feb 2025 github.com Official leaderboard
5 Mistral Large 2 Jul 2024 16.3% Unit Test Mode, SWE-Agent SWE-agent Jul 2024 May 2024 github.com Official leaderboard
6 GPT-4o mini 9.80% Unit Test Mode, SWE-Agent SWE-agent Jul 2024 May 2024 github.com Official leaderboard
7 Claude 3 Haiku 2.50% Unit Test Mode, SWE-Agent SWE-agent Mar 2024 May 2024 github.com Official leaderboard
8 Mixtral 8x22B 0.70% Unit Test Mode, SWE-Agent SWE-agent Apr 2024 May 2024 github.com Official leaderboard
#ModelScoreSettingDateSource
1 Devstral 2 89.1% Script Mode, DevstralTestGen Dec 2025 Official leaderboard
2 MiniMax-M2.1 69.3% Dec 2025 Lab model card
3 GPT-5 mini 56.2% Unit Test Mode, ReProAgent Aug 2025 Official leaderboard
4 Claude 3.7 Sonnet 52.5% Unit Test Mode, e-Otter++ Feb 2025 Official leaderboard
5 Claude 3.5 Sonnet 28.3% Unit Test Mode, OpenHands, CI setup Jun 2024 Official leaderboard
6 Mistral Large 2 Jul 2024 16.3% Unit Test Mode, SWE-Agent Jul 2024 Official leaderboard
7 GPT-4o mini 9.80% Unit Test Mode, SWE-Agent Jul 2024 Official leaderboard
8 Claude 3 Haiku 2.50% Unit Test Mode, SWE-Agent Mar 2024 Official leaderboard
9 Mixtral 8x22B 0.70% Unit Test Mode, SWE-Agent Apr 2024 Official leaderboard

Labs report scores for 1 model in their cards. Switch the scores above to rank them together.

5 models have held number one on the official leaderboard since its release in June 2024 5 models have held number one with claims included since its release in June 2024

Lab claims count from the day the card came out, independent runs from the model’s release.

Anthropic OpenAI Mistral AI
Own leaderboard Passed 85% in Dec 2025, by Devstral 2
Devstral 2 89.1%

Source: Official SWT-bench leaderboard

Devstral 2 on the official leaderboard passed 85% in December 2025

That was 18 months after its release. By the same age, 31% of the benchmarks from 2024 had passed 85%. All the scores we have, one dot each, so a model tested at several settings appears more than once.

Plot with other benchmarks
On the benchmark’s own leaderboard Reported by the lab in its model card Best so far
0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) Devstral 2 GPT-5 mini Claude 3.7 Sonnet Claude 3.5 Sonnet Claude 3 Haiku 0% 20% 40% 60% 80% 100% 2024 2025 2026 Near the ceiling (85%) Devstral 2 GPT-5 mini

Sources: Official SWT-bench leaderboard and labs’ model cards

Labs headline it less often now, last in December 2025

Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.

MiniMax
DateLaunch postScoreAs the post writes it
Dec 23, 2025 MiniMax-M2.1 69.3 SWT-bench

More in Coding

All 523 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 (13 entries) and launch posts (1 score).
  • Pass Models scored 9 models we track, plus 5 other entries on its leaderboard.
  • Note Newest score The newest came 11 months ago, in December 2025, for MiniMax-M2.1. That’s expected for a saturated test.
  • Note Frontier models None of the top 10 has a score, which is fine for a retired test. The strongest tested is GPT-5 mini (#93).
  • Note Headroom Saturated. The best is 89.1%, past 85% since December 2025.
Leaderboard import 3 pass
  • Pass Importer We read the board on swtbench.com: 9 rows for models we track and 5 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 No published audit found problems.
  • Note Epoch AI review Epoch AI hasn’t reviewed it.

How we check