Benchmark Almanac

SWE Refactor Bench

Claude Opus 5 32.3% leads since Aug 2026 In use

Agents migrate 20 whole open-source repositories to a new language, framework, platform, or build system. Graded by migration audit, behavioral tests, and adversarial verifier models.

In the authors’ words

Modern software systems accumulate technical debt over decades of development, which makes migration expensive and largely manual. As coding agents become increasingly capable at bug fixing, can they autonomously perform such migrations? Existing benchmarks cannot answer this question because they evaluate only behavioural correctness, not whether the migration actually occurred. This leads an easy hack: agents copy the original implementation to make tests pass. We call this Blindness. To address this problem, we introduce SWE Refactor Bench, a benchmark comprising 20 whole-repository migrations, covering 4 kinds of technical debt. A three-stage evaluation protocol measures both migration completeness and behavioural correctness. (1) Migration Audit verifies that the migration occurred. (2) Behavioural Tests measure correctness with a fixed test suite. (3) Agentic Verification uses 6 independent coding agents to generate targeted tests for hidden behavioural differences. Across 520 runs from 8 frontier models and 26 model-effort configurations, only 28 of 520 runs (5.4%) pass all three stages, 13 of the 20 tasks receive no accepted solution, and the best model (claude-opus-5) scores 47.0/100. Migration completeness and behavioural correctness are distinct abilities: a few runs preserve behaviour by skipping the migration and are stopped at Migration Audit; most attempt it and break behaviour, and are stopped at Behavioural Tests. Agents cannot deliver a perfect migration: among the 340 runs that pass Migration Audit, 58% reach 99% of the fixed checks, yet only 26% reach 100%. Agent capability differs across migration categories: agents score 31.4 on build toolchain rewrites but only 5.6 on language rewrites. Together, these findings position SWE Refactor Bench as a rigorous testbed for developing coding agents for reliable whole-repository migrations.

Abstract of SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration? (arXiv:2608.23564, CC0)
Made by Einsia Released Aug 2026 Building whole projects All tasks public Last in a launch post Oct 2026 Last model added Oct 2026 Scores refreshed 2 Nov 2026
Level
Research frontier Researchers, on open problems or tasks that take days
Scored
Checked automatically A program checks the result against an answer key, unit tests or the expected final state.
Answers
Code A program or patch run against tests.
8
Models scored on its own leaderboard
1
Launch post lists it, from 1 lab

Claude Opus 5 leads with 32.3% among models released by Aug 2026

Best score per model from the benchmark's own leaderboard, read on 2 Nov 2026. Where a model ran with several settings or harnesses, we keep its best.

The newest model with a score here came out in Aug 2026, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 Claude Opus 5 32.3%
  2. 2 Kimi K3 19.5%
  3. 3 GPT-5.6 Sol 12.4%
  4. 4 Qwen 3.8 Max 10%
  5. 5 Claude Sonnet 5 8.50%
  6. 6 DeepSeek-V4-Flash 7.00%
  7. 7 GLM-5.2 6.50%
  8. 8 GPT-5.6 Luna 4.67%
#ModelScoreSettingDateSource
1 Claude Opus 5 32.3% Claude Code Jul 2026 Official leaderboard
2 Kimi K3 19.5% Claude Code Jul 2026 Official leaderboard
3 GPT-5.6 Sol 12.4% Codex CLI Jul 2026 Official leaderboard
4 Qwen 3.8 Max 10% Claude Code Aug 2026 Official leaderboard
5 Claude Sonnet 5 8.50% Claude Code Jun 2026 Official leaderboard
6 DeepSeek-V4-Flash 7.00% Claude Code Apr 2026 Official leaderboard
7 GLM-5.2 6.50% Claude Code Jun 2026 Official leaderboard
8 GPT-5.6 Luna 4.67% Codex CLI Jul 2026 Official leaderboard

Labs report scores for 1 model in their cards. We plot every source in the charts below.

Number one over time

Lab claims count from the day the card came out, independent runs from the model’s release.

Anthropic
Own leaderboard Not tested since Aug 2026

Scores over time

All the scores we have, one dot each, so a model tested at several settings appears more than once.

On the benchmark’s own leaderboard Reported by the lab in its model card Best so far
0% 20% 40% 60% 80% 100% 2026 Near the ceiling (85%) Claude Opus 5 Kimi K3 GPT-5.6 Sol DeepSeek-V4-Flash 0% 20% 40% 60% 80% 100% 2026 Near the ceiling (85%) Claude Opus 5 Kimi K3

One lab put it in a launch post in the last six months

Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.

MiniMax
DateLaunch postScoreAs the post writes it
19 Oct 2026 MiniMax-M3.1-Flash 23 SWE Refactor Bench

More in Coding

All 243 in Coding
  • SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
  • SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Opus 5.5 93.9%
  • LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests. DeepSeek-V4-Pro 93.5%
  • DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
  • SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases. Seed2.1 Pro 59.8%
  • Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance. DeepSeek V4.1 Flash 3,471