SWE-Refactor (Java) - AST Refactoring Verification: 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 in which RefactoringMiner detects the requested refactoring with no other functional change (%); higher is better.

Metric: AST-based refactoring verification rate (%) over the 1,099 instances (RefactoringMiner detects the requested refactoring and no other functional change; 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

#ModelScoreOverall rank
1SWE-Refactor DeepSeek-V3 (checkpoint unspecified)61.33
2GPT-4o Mini (2024-07-18)57.87#1526
3GPT-3.5 Turbo (0125)12.92#3613
4Qwen 2.5 Coder 7B (SWE-Refactor checkpoint unspecified)12.92
5Qwen 2.5 Coder 14B (SWE-Refactor checkpoint unspecified)9.19
6SWE-Refactor DeepSeek-Coder-16B (checkpoint unspecified)9.19
7SWE-Refactor DeepSeek-Coder-6.7B (checkpoint unspecified)6.37
8CodeLlama-13B (SWE-Refactor checkpoint unspecified)1.36

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-ast-refactoring-verification · How It Works · Data refreshed daily, snapshot 2026-11-25.