ScarfBench: Benchmarking AI Agents for Enterprise Java Framework Migration

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Frontier coding agents that ace bug-fix benchmarks fail almost entirely (<10%) at real enterprise Java framework migration, so teams can't yet trust AI for modernization.

Read this as

IBM researchers released ScarfBench, a public test that measures how well AI coding agents migrate enterprise Java applications between frameworks like Spring, Jakarta EE, and Quarkus. Unlike typical coding tests, it checks that migrated apps actually build, deploy, and behave correctly. The best agents succeeded less than 10% of the time, so AI still can't reliably handle this expensive, common modernization work.

AI-assisted enterprise modernization remains far from deployable: on ScarfBench, even frontier agents achieved under 10% behavioral success on whole-application Java framework migrations, and Jakarta EE proved hardest. Agents also misjudge their own work, Claude Code claimed 29 of 30 builds succeeded when only 22 did. Companies should treat agent self-reports skeptically and budget for independent validation and human architectural oversight.

ScarfBench (Self-Contained Application Refactoring Benchmark) from IBM Research evaluates agents on cross-framework Java migrations across Spring, Jakarta EE, and Quarkus, using expert-verified migrations from a JSR-based taxonomy. Scoring requires compile, deploy, and behavioral test success; top agents achieve <10% behavioral success. Claude Code self-reported 29/30 successful builds but only 22 built. Analysis shows iterative configuration-dominated effort, heavy environmental friction, and unreliable self-assessment.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

ScarfBench Spring Jakarta EE Quarkus Claude Code IBM Research Hugging Face

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading