RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
The evolution of AI coding agents has shifted the frontier from simple snippet completion to autonomous repository-level engineering. However, evaluating these agents remains ill-posed in general code repository generation, where the lack of deterministic ground truth leads to ambiguous metrics. Code modernization via automated translation offers a more rigorous alternative by providing a fixed ground truth -- the source repository; yet existing benchmarks are limited to small-scale repositories and rely on language-specific unit tests visible to the agent, allowing test-driven overfitting. We address these limitations by introducing a benchmarking framework for repository-level code modernization built on an implementation-agnostic evaluation paradigm. This framework is instantiated through RepoMod-Bench: a benchmark of 21 real-world repositories with standardized interfaces, spanning 8 programming languages. The benchmark contains 1.6M lines of code (LOC) and 11,616 tests, with repository sizes ranging from 14 to 211K LOC. By targeting repositories with standardized interfaces, we utilize an implementation-agnostic test suite to verify functional equivalence between source and target implementations. This black-box approach ensures verification remains consistent across languages, and our environment hides all test suites from agents to prevent test-driven shortcuts. Evaluating four state-of-the-art agent configurations reveals a sharp scaling collapse: average pass rates drop from 91.3% on projects under 10K LOC to 15.3% on projects exceeding 50K LOC. These results demonstrate that autonomous modernization at scale remains a significant open challenge. Our benchmark and code are available at https://github.com/Modelcode-ai/mcode-benchmark.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. First posted on arXiv 26 Feb 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026BankerToolBench: Evaluating AI Agents in End-to-End Investment Banking Workflowscited by 2
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 0
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skillscited by 0
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skills10 Sep 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026BankerToolBench: Evaluating AI Agents in End-to-End Investment Banking Workflows13 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
- 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
- 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
- 2026Needle in the Repo: A Benchmark for Maintainability in AI-Generated Repository Edits
- 2026RuBench: A Repository-Level Agentic Coding Benchmark with Natively Authored Russian Task Specifications