Benchmark Almanac

SWT-bench

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

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
Strongest model tested
GPT-5 mini #91 on the capability index
Last in a launch post
December 2025, dropped after it saturated
Last model added
December 2025
Scores refreshed
November 12th, 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)
12
Entries on its own leaderboard, 7 models we track
1
Launch post lists it, from 1 lab

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 12th, 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.

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.

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 v20250405-dev Unit Test Mode 39.9%
  5. 5 GPT-4o [snapshot unspecified] Unit Test Mode 38%
  6. 6 Claude Sonnet 3.5 Unit Test Mode 28.3%
  7. 7 GPT-4 [snapshot unspecified] Unit Test Mode 18.5%
  8. 8 Mistral Large 2 Jul 2024, Unit Test Mode 16.3%
  9. 9 Claude 3.5 Sonnet [snapshot unspecified] Unit Test Mode 12.3%
  10. 10 GPT-4o mini Unit Test Mode 9.80%
  11. 11 Claude 3 Haiku Unit Test Mode 2.50%
  12. 12 Mixtral 8x22B Unit Test Mode 0.70%

Source: Official SWT-bench leaderboard

#EntryScoreSettingDateSource
1 Devstral 2 89.1% Script Mode, DevstralTestGen Dec 2025 Official leaderboard
2 GPT-5 mini 56.2% Unit Test Mode, ReProAgent Aug 2025 Official leaderboard
3 Claude 3.7 Sonnet 52.5% Unit Test Mode, e-Otter++ Feb 2025 Official leaderboard
4 v20250405-dev 39.9% Unit Test Mode, Amazon Q Developer Agent Apr 2025 Official leaderboard
5 GPT-4o [snapshot unspecified] 38% Unit Test Mode, AssertFlip Jul 2025 Official leaderboard
6 Claude Sonnet 3.5 28.3% Unit Test Mode, OpenHands, CI setup Feb 2025 Official leaderboard
7 GPT-4 [snapshot unspecified] 18.5% Unit Test Mode, SWE-Agent+ May 2024 Official leaderboard
8 Mistral Large 2 Jul 2024 16.3% Unit Test Mode, SWE-Agent Jul 2024 Official leaderboard
9 Claude 3.5 Sonnet [snapshot unspecified] 12.3% Unit Test Mode, SWE-Agent May 2024 Official leaderboard
10 GPT-4o mini 9.80% Unit Test Mode, SWE-Agent Jul 2024 Official leaderboard
11 Claude 3 Haiku 2.50% Unit Test Mode, SWE-Agent Mar 2024 Official leaderboard
12 Mixtral 8x22B 0.70% Unit Test Mode, SWE-Agent Apr 2024 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 Mistral Large 2 Jul 2024 16.3% Unit Test Mode, SWE-Agent Jul 2024 Official leaderboard
6 GPT-4o mini 9.80% Unit Test Mode, SWE-Agent Jul 2024 Official leaderboard
7 Claude 3 Haiku 2.50% Unit Test Mode, SWE-Agent Mar 2024 Official leaderboard
8 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.

6 models have held number one on the official leaderboard since its release in June 2024 6 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

All the scores we have, one dot each, so a model tested at several settings appears more than once.

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 Mistral Large 2 GPT-4o mini 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 282 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