Defects4J: leaderboard
Each task is a real bug from Defects4J, a collection of reproducible Java bugs from open-source projects, and the model must patch the buggy function in a single call. This board comes from RepairBench, which uses the 484 single-function bugs of Defects4J v2 and reports Plausible@1, the probability that the first generated patch passes all test cases. Defects4J was built by René Just, Darioush Jalali and Michael Ernst (ISSTA 2014); RepairBench by André Silva and Martin Monperrus in 2024.
Metric: Defects4J Plausible @1 (imported). Source: github.com. Source: benchmarklist.com. Saturation forecast: Estimated already saturated. 35 models tracked. Updated 13 Aug 2026.
Top models
| # | Model | Setting | Score | Overall rank |
|---|---|---|---|---|
| 1 | O4 Mini (2025-04-16) | High | 53.8 | #378 |
| 2 | O3 Mini (2025-01-31) | High | 48.8 | #518 |
| 3 | Claude 3.7 Sonnet | 47.8 | #482 | |
| 4 | DeepSeek R1 | 47.5 | #507 | |
| 5 | GPT-4.1 | 45.2 | #539 | |
| 6 | Claude 3.5 Sonnet (20241022) | 44.1 | #697 | |
| 7 | Gemini 2.5 Flash (Preview 05-20) | 43.4 | #436 | |
| 8 | DeepSeek V3 (0324) | 43 | #757 | |
| 9 | Claude 3.5 Sonnet (20240620) | 41.5 | #712 | |
| 10 | Gemini 2.5 Pro (Preview 03-25) | 41.4 | #247 | |
| 11 | DeepSeek V3 | 39.9 | #773 | |
| 12 | Gemini 1.5 Pro (002) | 36.4 | #881 | |
| 13 | GPT-4o (2024-11-20) | 35 | #910 | |
| 14 | Mistral Medium 3 | 34.9 | #1117 | |
| 15 | GPT-4o (2024-08-06) | 34.1 | #795 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Interactive version: theaggregate.ai/benchmark?slug=defects4j · How It Works · Data refreshed daily, snapshot 2026-12-04.