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

#ModelSettingScoreOverall rank
1O4 Mini (2025-04-16)High53.8#378
2O3 Mini (2025-01-31)High48.8#518
3Claude 3.7 Sonnet47.8#482
4DeepSeek R147.5#507
5GPT-4.145.2#539
6Claude 3.5 Sonnet (20241022)44.1#697
7Gemini 2.5 Flash (Preview 05-20)43.4#436
8DeepSeek V3 (0324)43#757
9Claude 3.5 Sonnet (20240620)41.5#712
10Gemini 2.5 Pro (Preview 03-25)41.4#247
11DeepSeek V339.9#773
12Gemini 1.5 Pro (002)36.4#881
13GPT-4o (2024-11-20)35#910
14Mistral Medium 334.9#1117
15GPT-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.