SWE-Refactor (Java) - Compile and Test Success: leaderboard
SWE-Refactor (2026) asks models to perform real developer refactorings of Java methods (1,099 pure refactorings from 18 projects) given repository context; the result must compile, pass the project's tests and be confirmed by RefactoringMiner as the requested refactoring. Share of instances whose generated code compiles and passes the tests (%); higher is better.
Metric: Compile-and-test success rate (%) over the 1,099 instances (the project compiles and its tests pass with the generated code; the printed count times 100/1099); SWE-Refactor: 1,099 pure developer-written method-level refactorings (Extract, Inline, Move, Extract and Move, Move and Rename, Move and Inline Method) mined from 18 Java projects; the model receives the target method, the refactoring type, class and repository context and caller-callee relations; its refactored code is integrated into the project at the original commit; higher is better. Source: arxiv.org. Saturation forecast: Around February 2027. 8 models tracked. Updated 10 Oct 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | SWE-Refactor DeepSeek-V3 (checkpoint unspecified) | 50.41 | |
| 2 | GPT-4o Mini (2024-07-18) | 48.86 | #1535 |
| 3 | GPT-3.5 Turbo (0125) | 18.11 | #3784 |
| 4 | SWE-Refactor DeepSeek-Coder-6.7B (checkpoint unspecified) | 2.82 | |
| 5 | SWE-Refactor DeepSeek-Coder-16B (checkpoint unspecified) | 2.09 | |
| 6 | Qwen 2.5 Coder 14B (SWE-Refactor checkpoint unspecified) | 2 | |
| 7 | Qwen 2.5 Coder 7B (SWE-Refactor checkpoint unspecified) | 1.82 | |
| 8 | CodeLlama-13B (SWE-Refactor checkpoint unspecified) | 1.27 |
No result here: #2 Claude Fable 5.2, #3 Gemini 4 Neon, #4 GPT-6.2 Astra.
Interactive version: theaggregate.ai/benchmark?slug=swe-refactor-java-compile-and-test-success · How It Works · Data refreshed daily, snapshot 2026-11-26.