analiza aiqbench
The article introduces ScarfBench, an open benchmark specifically designed to evaluate the reliability of AI agents in migrating enterprise Java applications across different frameworks. Unlike standard code generation tests, this evaluation focuses on critical real-world constraints such as successful builds, correct deployment, and preserved behavioral semantics during complex cross-framework refactoring tasks. By addressing a significant gap between synthetic benchmarks and practical engineering challenges, ScarfBench offers essential insights into the current capabilities and limitations of AI tools for large-scale modernization efforts.
ScarfBench: Benchmarking AI Agents for Enterprise Java Framework Migration

Modernizing enterprise applications is one of the largest and most expensive software engineering activities organizations undertake. Teams migrate applications across frameworks to improve maintainability, cloud readiness, developer productivity, and access to modern capabilities.
Recent advances in coding agents have sparked excitement around AI-assisted modernization. But an important question remains:
Can AI agents reliably modernize real-world enterprise applications?
Existing software engineering benchmarks have demonstrated impressive progress in bug fixing and code generation, but framework migration presents a fundamentally different challenge. Success requires not only translating code, but also preserving behavior, adapting build systems, and navigating runtime dependencies.
To address this gap, we introduce ScarfBench (Self-Contained Application Refactoring Benchmark), an open benchmark for evaluating AI agents on cross-framework migration tasks in Enterprise Java.
Unlike traditional benchmarks that compare generated code against reference implementations, ScarfBench evaluates whether migrated applications actually build, deploy, and preserve behavior.
Framework migration is much more than replacing annotations.
A simple repository migration can require changes across dependency injection, persistence configuration, queries, and framework descriptors. Small mistakes in any of these pieces can prevent successful deployment.
Framework migration requires translating framework semantics, not just source code.
ScarfBench provides a systematic way to evaluate AI agents on enterprise Java framework migration tasks.
Build successfully.
Deploy correctly.
Pass behavioral validation.
This provides a much more realistic measure of modernization quality.
ScarfBench includes both focused migration tasks and whole-application migrations.
Starting from a JSR-based enterprise Java taxonomy, expert migrations create verified implementations across Spring, Jakarta EE, and Quarkus.
How Do Frontier Agents Perform?
We evaluated several state-of-the-art coding agents on ScarfBench.
Despite strong performance on traditional software engineering benchmarks, framework migration remains difficult. Success rates vary considerably across framework pairs and whole-application migrations remain particularly challenging.
Even the strongest current agents achieve less than 10% behavioral success, illustrating the gap between generating compilable code and preserving application behavior.
Compile success consistently exceeds deploy success, which in turn exceeds behavioral success. Build success alone significantly overestimates migration quality.
Migration difficulty depends strongly on the target framework, with Jakarta EE proving particularly challenging.
Beyond measuring success rates, ScarfBench helps us understand how agents behave during modernization.
Can Agents Reliably Tell When a Migration Is Complete?
A migrated application is only useful if it actually builds and runs.
We therefore compared agent-reported outcomes against independent build verification.
Claude Code reported successful builds for 29 out of 30 whole applications.
Only 22 of those applications actually built successfully.
Meanwhile, the single application classified as failed by the agent ultimately built correctly.
This suggests that agent self-assessment should not be treated as a reliable signal of migration completion.
Independent build and test validation remains essential.
How Do Agents Navigate Application Dependencies?
Framework migrations rarely affect a single file or layer.
Changes in configuration, services, databases, and web components often cascade across the application.
This suggests that migration is an iterative dependency-resolution process rather than a simple source-to-source transformation.
Where Do Agents Spend Most of Their Effort?
We used layer revisit frequency as a proxy for migration effort. Layers that required repeated visits typically involved debugging, dependency resolution, or framework adaptation.
Rather than proceeding linearly, agents repeatedly returned to configuration-related artifacts while resolving framework differences and dependency issues.
What Challenges Are Not About Code Transformation?
Not every migration issue originates from source code.
These operational concerns often delayed validation even when the source-code migration itself was largely complete.
Modernization failures span build systems, deployment environments, dependency injection, databases, endpoints, assertions, and infrastructure.
The biggest challenge in framework modernization is not translating Java code.
It is managing the web of dependencies across configuration, infrastructure, and runtime environments.
While frontier agents can automate substantial portions of the migration process, reliable validation and architectural reasoning remain critical for achieving successful outcomes.
ScarfBench helps expose these challenges and provides a standardized way to measure progress toward truly autonomous application modernization.
ScarfBench is designed as an open resource for researchers and practitioners.
Researchers can compare agent architectures and techniques. Practitioners can use ScarfBench to evaluate modernization solutions before deploying them in production environments.
https://scarfbench.info
https://huggingface.co/datasets/ibm-research/ScarfBench
https://huggingface.co/spaces/ibm-research/ScarfBench
https://github.com/scarfbench/scarfbench
https://scarfbench.info/leaderboard
https://arxiv.org/abs/2605.06754
Framework migration remains one of the largest unsolved problems in AI-assisted software engineering. We hope ScarfBench helps the community measure progress and accelerate the next generation of AI-assisted application modernization.
We invite researchers, practitioners, and framework communities to evaluate their agents, contribute new migration scenarios and help advance the state of the art.
Text integral sub licența deschisă a publicației · 729 cuvinte
Subiecte conexe

[AINews] Meta Muse Wonder & Wonder Full: MSL’s Claude 5.5-tier Frontier Model
Latent Space · 13 oct. 2026

Amazon Research Awards recipients announced
Amazon Science · 27 mai 2026

[AINews] Reality Checks on AI News (Yegge shuts down Gas Town, Databricks’ +60% Astra cost)
Latent Space · 17 sept. 2026
FreshBrew: A Benchmark for Evaluating AI Agents on Java Code Migration
arXiv · 7 oct. 2026