SWE-Refactor (Java): 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 all instances refactored successfully (%); higher is better.

Metric: Successful refactorings (%) of all 1,099 instances (the refactoring compiles, passes the project's test suite and is confirmed by RefactoringMiner as the requested refactoring; 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)41.58
2GPT-4o Mini (2024-07-18)39.85#1535
3GPT-3.5 Turbo (0125)7.46#3784
4Qwen 2.5 Coder 14B (SWE-Refactor checkpoint unspecified)0.6369
5SWE-Refactor DeepSeek-Coder-6.7B (checkpoint unspecified)0.6369
6Qwen 2.5 Coder 7B (SWE-Refactor checkpoint unspecified)0.546
7SWE-Refactor DeepSeek-Coder-16B (checkpoint unspecified)0.273
8CodeLlama-13B (SWE-Refactor checkpoint unspecified)0.09099

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