SWE-Refactor (Java) - Extract and Move 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 142 compound Extract and Move Method instances; higher is better.

Metric: Successful refactorings (%) of the 142 compound Extract and Move 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/142); 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 September 2027. 8 models tracked. Updated 10 Oct 2026.

Top models

#ModelScoreOverall rank
1GPT-4o Mini (2024-07-18)23.24#1526
2SWE-Refactor DeepSeek-V3 (checkpoint unspecified)21.13
3GPT-3.5 Turbo (0125)1.41#3613
4SWE-Refactor DeepSeek-Coder-16B (checkpoint unspecified)0.7042
5Qwen 2.5 Coder 14B (SWE-Refactor checkpoint unspecified)0
6SWE-Refactor DeepSeek-Coder-6.7B (checkpoint unspecified)0
7Qwen 2.5 Coder 7B (SWE-Refactor checkpoint unspecified)0
8CodeLlama-13B (SWE-Refactor checkpoint unspecified)0

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-and-move-method · How It Works · Data refreshed daily, snapshot 2026-11-25.