ScarfBench
Agents migrate enterprise Java applications from one framework to another while keeping behavior the same. Build config, dependency injection, persistence and deployment all change.
Kaggle board published October 26th, 2026 with no models yet.
- Made by
- IBM Research
- Released
- May 2026
- Kind
- Fixing real repositories
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Items from
- Real work and use
- Refresh
- One fixed set
- Run by
- Anyone
- In views
- Agents
- Updated automatically
- Yes, daily
In the authors’ words
Java remains central to enterprise software, and many applications outlive their original architecture. Migrating them across frameworks is a behavior-preserving refactoring spanning build configuration, dependency injection, persistence, request handling, and deployment. Existing software-engineering benchmarks cover bug fixing, feature implementation, and language or version modernization, but leave cross-framework refactoring largely unmeasured. We introduce ScarfBench, a benchmark for behavior-preserving cross-framework refactoring of enterprise Java applications. It is built from expert-written implementation triples across Spring, Jakarta EE, and Quarkus: 34 applications (29 focused single-layer, 5 whole) yielding 102 variants (~151K lines across 1946 source and test files) and 204 directed refactoring tasks. Each task gives an agent a working source application and a target framework; the agent must synthesize a target implementation preserving the source behavior. Correctness is evaluated by an application-specific executable oracle: the candidate must compile, deploy in a containerized target runtime, and pass behavioral tests over the application's observable interface. We evaluate five state-of-the-art coding agents on ScarfBench. The strongest achieves only 15.3% aggregate test pass on focused-layer migrations and 12.2% on whole applications, and only one of the 204 tasks yields a fully behaviorally equivalent target. Difficulty is asymmetric across framework directions and architectural layers: Spring<->Quarkus is the most tractable pair, and Jakarta-targeted migrations are hardest. From LLM-as-a-judge and expert adjudication of failed-task traces, we derive a taxonomy of recurring failure categories spanning build, deploy, and test stages. We release the benchmark, harness, and agent traces at https://scarfbench.info.
Antigravity CLI 1.3.4 (Gemini 4 Argon High Reasoning), Antigravity CLI + Gemini 4 Argon tops the leaderboard with 75.2% No scores yet
Best score per entry from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran on its own with several settings, we keep its best. Agents other companies built around a model get a pale shade of that model's lab color. Gray marks blends and entries not in our model list, such as fine-tunes and older models. None of these count toward leaders. Agents built around a model, such as Antigravity CLI 1.3.4 (Gemini 4 Argon High Reasoning), Antigravity CLI + Gemini 4 Argon, are their own entries. We don't count them as the model's score. This view shows only models we track, each at its best.
- 75.2 Antigravity CLI 1.3.4 (Gemini 4 Argon High Reasoning), Antigravity CLI + Gemini 4 Argon
- 70.5 Claude Code 2.1.280 (Claude Opus 5.5 Max Reasoning), Claude Code + Claude Opus 5.5
- 69.8 Claude Code 2.1.273 (Claude Opus 5 Xhigh Reasoning), Claude Code + Claude Opus 5
- 69.0 Pi 1.1.0 (Deepseek V4.1 Flash Max Reasoning), Pi + DeepSeek V4.1 Flash
- 68.4 GPT-6.1 Sol (Max Reasoning, Codex 0.159.0), Codex + GPT-6.1 Sol
- 66.0 mini-swe-agent 2.4.6 (Gemini 3.8 Flash Medium Reasoning), mini-SWE-agent + Gemini 3.8 Flash
- 65.4 Codex 0.146.1 (GPT-6 Astra High Reasoning), Codex + GPT-6 Astra
- 63.7 Qwen Code 0.24.7 (Qwen 3.8 Max Xhigh Reasoning), Qwen Code + Qwen 3.8 Max
- 61.3 Kimi Code 2.0.2 (Kimi K3 Max Reasoning), Kimi Code + Kimi K3
- 37.6 mini-swe-agent 2.4.6 (Gemini 3.1 Pro Preview High Reasoning), mini-SWE-agent + Gemini 3.1 Pro
- 24.4 mini-swe-agent 2.4.6 (Gemma 4 26B A4B High Reasoning), mini-SWE-agent + Gemma 4 26B A4B
- 1 Antigravity CLI 1.3.4 (Gemini 4 Argon High Reasoning), Antigravity CLI + Gemini 4 Argon Gemini 4 Argon High Reasoning 75.2%
- 2 Claude Code 2.1.280 (Claude Opus 5.5 Max Reasoning), Claude Code + Claude Opus 5.5 Claude Opus 5.5 Max Reasoning 70.5%
- 3 Claude Code 2.1.273 (Claude Opus 5 Xhigh Reasoning), Claude Code + Claude Opus 5 Claude Opus 5 Xhigh Reasoning 69.8%
- 4 Pi 1.1.0 (Deepseek V4.1 Flash Max Reasoning), Pi + DeepSeek V4.1 Flash Deepseek V4.1 Flash Max Reasoning 69%
- 5 GPT-6.1 Sol (Max Reasoning, Codex 0.159.0), Codex + GPT-6.1 Sol GPT-6.1 Sol Max Reasoning 68.4%
- 6 mini-swe-agent 2.4.6 (Gemini 3.8 Flash Medium Reasoning), mini-SWE-agent + Gemini 3.8 Flash Gemini 3.8 Flash Medium Reasoning 66%
- 7 Codex 0.146.1 (GPT-6 Astra High Reasoning), Codex + GPT-6 Astra GPT-6 Astra High Reasoning 65.4%
- 8 Qwen Code 0.24.7 (Qwen 3.8 Max Xhigh Reasoning), Qwen Code + Qwen 3.8 Max Qwen 3.8 Max Xhigh Reasoning 63.7%
- 9 Kimi Code 2.0.2 (Kimi K3 Max Reasoning), Kimi Code + Kimi K3 Kimi K3 Max Reasoning 61.3%
- 10 mini-swe-agent 2.4.6 (Gemini 3.1 Pro Preview High Reasoning), mini-SWE-agent + Gemini 3.1 Pro Gemini 3.1 Pro Preview High Reasoning 37.6%
- 11 mini-swe-agent 2.4.6 (Gemma 4 26B A4B High Reasoning), mini-SWE-agent + Gemma 4 26B A4B Gemma 4 26B A4B High Reasoning 24.4%
Source: Official ScarfBench leaderboard
| # | Entry | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | Antigravity CLI 1.3.4 (Gemini 4 Argon High Reasoning), Antigravity CLI + Gemini 4 Argon | 75.2% | Gemini 4 Argon High Reasoning | Sep 2026 | Oct 2026 | Official leaderboard |
| 2 | Claude Code 2.1.280 (Claude Opus 5.5 Max Reasoning), Claude Code + Claude Opus 5.5 | 70.5% | Claude Opus 5.5 Max Reasoning | Sep 2026 | Oct 2026 | Official leaderboard |
| 3 | Claude Code 2.1.273 (Claude Opus 5 Xhigh Reasoning), Claude Code + Claude Opus 5 | 69.8% | Claude Opus 5 Xhigh Reasoning | Jul 2026 | Oct 2026 | Official leaderboard |
| 4 | Pi 1.1.0 (Deepseek V4.1 Flash Max Reasoning), Pi + DeepSeek V4.1 Flash | 69% | Deepseek V4.1 Flash Max Reasoning | Sep 2026 | Oct 2026 | Official leaderboard |
| 5 | GPT-6.1 Sol (Max Reasoning, Codex 0.159.0), Codex + GPT-6.1 Sol | 68.4% | GPT-6.1 Sol Max Reasoning | Sep 2026 | Oct 2026 | Official leaderboard |
| 6 | mini-swe-agent 2.4.6 (Gemini 3.8 Flash Medium Reasoning), mini-SWE-agent + Gemini 3.8 Flash | 66% | Gemini 3.8 Flash Medium Reasoning | Sep 2026 | Oct 2026 | Official leaderboard |
| 7 | Codex 0.146.1 (GPT-6 Astra High Reasoning), Codex + GPT-6 Astra | 65.4% | GPT-6 Astra High Reasoning | Sep 2026 | Oct 2026 | Official leaderboard |
| 8 | Qwen Code 0.24.7 (Qwen 3.8 Max Xhigh Reasoning), Qwen Code + Qwen 3.8 Max | 63.7% | Qwen 3.8 Max Xhigh Reasoning | Aug 2026 | Oct 2026 | Official leaderboard |
| 9 | Kimi Code 2.0.2 (Kimi K3 Max Reasoning), Kimi Code + Kimi K3 | 61.3% | Kimi K3 Max Reasoning | Jul 2026 | Oct 2026 | Official leaderboard |
| 10 | mini-swe-agent 2.4.6 (Gemini 3.1 Pro Preview High Reasoning), mini-SWE-agent + Gemini 3.1 Pro | 37.6% | Gemini 3.1 Pro Preview High Reasoning | Feb 2026 | Oct 2026 | Official leaderboard |
| 11 | mini-swe-agent 2.4.6 (Gemma 4 26B A4B High Reasoning), mini-SWE-agent + Gemma 4 26B A4B | 24.4% | Gemma 4 26B A4B High Reasoning | Apr 2026 | Oct 2026 | Official leaderboard |
| # | Model | Score | Setting | Released | Run on | Source |
|---|
Everything the board measures
The benchmark’s own leaderboard publishes 3 numbers for each entry: the headline score and 2 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Other measures
- Compile pass rate
- Deploy pass rate
- Headline
- Headline score
- Other measures
- Compile pass rate
- Deploy pass rate
- Headline
- Headline score
- Other measures
- Compile pass rate
- Deploy pass rate
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More 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%
- 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%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- 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
Data audit
All 8 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 2 pass 3 notes
- Pass Independent runs Scores from the official leaderboard (11 entries).
- Pass Models scored 11 entries on its leaderboard, none a model we track.
- Note Newest score No scores yet.
- Note Frontier models No models scored yet.
- Note Headroom No scores yet.
Leaderboard import 3 pass
- Pass Importer We read the board on kaggle.com: 11 rows for models we track at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.