SWT-Bench: leaderboard
Test generation from real GitHub issues: given a codebase and an issue, the model writes a reproducing test that fails on the original code and passes once the reference fix is applied. Instances are drawn from SWE-bench, and results are reported as success rate together with coverage of the changed code. Built at ETH Zurich with LogicStar.ai in 2024, it inverts SWE-bench by asking for the test instead of the fix.
Metric: Success rate S (%, issues reproduced, unit test mode). Source: swtbench.com. 16 models tracked.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | ReProAgent + GPT-5-mini | 56.2 | |
| 2 | e-Otter++ + Claude 3.7 Sonnet | 52.5 | |
| 3 | AssertFlip + GPT-4o | 38 | |
| 4 | Claude 3.5 Sonnet (OpenHands, CI setup) | 28.3 | |
| 5 | Claude 3.5 Sonnet (OpenHands, vanilla) | 22.8 | |
| 6 | SWE-Agent+ + gpt-4-1106-preview | 18.5 | |
| 7 | Mistral Large 2 (Jul) | 16.3 | #1206 |
| 8 | GPT-4 Preview (1106) | 15.9 | #924 |
| 9 | LIBRO + gpt-4-1106-preview | 14.1 | |
| 10 | Claude 3.5 Sonnet | 12.3 | #792 |
| 11 | GPT-4o Mini (2024-07-18) | 9.8 | #1514 |
| 12 | Zero-Shot Plus (BM25) + gpt-4-1106-preview | 9.4 | |
| 13 | AutoCodeRover + gpt-4-1106-preview | 9.1 | |
| 14 | Zero-Shot Base (BM25) + gpt-4-1106-preview | 3.6 | |
| 15 | Claude 3 Haiku | 2.5 | #2641 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Interactive version: theaggregate.ai/benchmark?slug=swt-bench · How It Works · Data refreshed daily, snapshot 2026-12-04.