mlsanityData to 7 Oct 2026

MigrationBench: Repository-Level Code Migration Benchmark from Java 8

arXiv 2505.09569 ↗First posted 14 May 2025cs.SEcited by 11

Not on the map. Why?

Abstract (arXiv)

With the rapid advancement of powerful large language models (LLMs) in recent years, a wide range of software engineering tasks can now be addressed using LLMs, significantly enhancing productivity and scalability. Numerous benchmark datasets have been developed to evaluate the coding capabilities of these models, while they primarily focus on code generation and issue-resolution tasks. In contrast, we introduce a new coding benchmark MigrationBench with a distinct focus: code migration. MigrationBench aims to serve as a comprehensive benchmark for migration from Java 8 to the latest long-term support (LTS) versions (Java 17, 21), including a full dataset and its subset selected with 5,102 and 300 repositories respectively. selected is a representative subset curated for complexity and difficulty, offering a versatile resource to support research in the field of code migration. Additionally, we provide a comprehensive evaluation framework to facilitate rigorous and standardized assessment of LLMs on this challenging task. We further propose an agentic framework and demonstrate that LLMs can effectively tackle repository-level code migration to Java 17. For the selected subset with Claude-4.5-Sonnet, our agentic framework achieves 71.67% and 53.33% success rate (pass@1) for minimal and maximal migration respectively. The dataset and evaluation source code are available at: https://huggingface.co/collections/AmazonScience/migrationbench and https://github.com/amazon-science/MigrationBench respectively.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 May 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 9.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositories
  2. 2025FreshBrew: A Benchmark for Evaluating AI Agents on Java Code Migration
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
  4. 2025MRG-Bench: Evaluating and Exploring the Requirements of Context for Repository-Level Code Generation
  5. 2026Environment-in-the-Loop: Rethinking Code Migration with LLM-based Agents
  6. 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation
  7. 2026Narrowing the Complexity Gap in the Evaluation of Large Language Models ↗
  8. 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories