SWE-Refactor (Java) - Extract Method: 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. Successful refactorings (%) of the 441 Extract Method instances; higher is better.
Metric: Successful refactorings (%) of the 441 Extract Method instances (the refactoring compiles, passes the project's test suite and is confirmed by RefactoringMiner as the requested refactoring; the printed count times 100/441); 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) | 68.25 | |
| 2 | GPT-4o Mini (2024-07-18) | 58.73 | #1526 |
| 3 | GPT-3.5 Turbo (0125) | 10.88 | #3613 |
| 4 | SWE-Refactor DeepSeek-Coder-6.7B (checkpoint unspecified) | 1.36 | |
| 5 | Qwen 2.5 Coder 7B (SWE-Refactor checkpoint unspecified) | 1.13 | |
| 6 | Qwen 2.5 Coder 14B (SWE-Refactor checkpoint unspecified) | 0.4535 | |
| 7 | SWE-Refactor DeepSeek-Coder-16B (checkpoint unspecified) | 0.2268 | |
| 8 | CodeLlama-13B (SWE-Refactor checkpoint unspecified) | 0.2268 |
No result here: #1 Claude Fable 5.2, #3 Gemini 4 Neon, #4 GPT-6.2 Astra.
Interactive version: theaggregate.ai/benchmark?slug=swe-refactor-java-extract-method · How It Works · Data refreshed daily, snapshot 2026-11-25.