mlsanityData to 7 Oct 2026

NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents

arXiv 2512.12730 ↗First posted 14 Dec 2025cs.CLcited by 56

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Recent advances in coding agents suggest rapid progress toward autonomous software development, yet existing benchmarks fail to rigorously evaluate the long-horizon capabilities required to build complete software systems. Most prior evaluations focus on localized code generation, scaffolded completion, or short-term repair tasks, leaving open the question of whether agents can sustain coherent reasoning, planning, and execution over the extended horizons demanded by real-world repository construction. To address this gap, we present NL2Repo Bench, a benchmark explicitly designed to evaluate the long-horizon repository generation ability of coding agents. Given only a single natural-language requirements document and an empty workspace, agents must autonomously design the architecture, manage dependencies, implement multi-module logic, and produce a fully installable Python library. Our experiments across state-of-the-art open- and closed-source models reveal that long-horizon repository generation remains largely unsolved: even the strongest agents achieve below 40% average test pass rates and rarely complete an entire repository correctly. Detailed analysis uncovers fundamental long-horizon failure modes, including premature termination, loss of global coherence, fragile cross-file dependencies, and inadequate planning over hundreds of interaction steps. NL2Repo Bench establishes a rigorous, verifiable testbed for measuring sustained agentic competence and highlights long-horizon reasoning as a central bottleneck for the next generation of autonomous coding agents.

Key facts. Cited by 56 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. Builds on 25 of its 31 references that are in the map. First posted on arXiv 14 Dec 2025.

Builds on

25 of 31 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models7 Nov
  2. 2025ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Coding13 Oct
  3. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 21

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  6. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  7. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
  8. 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
  9. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  10. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
  11. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
  12. 2025GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Taskscited by 142
9 more
  1. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
  2. 2025SWE-Lancer: Can Frontier LLMs Earn 1 Million from Real-World Freelance Software Engineering?cited by 99
  3. 2024Commit0: Library Generation from Scratchcited by 50
  4. 2025Seed-Coder: Let the Code Model Curate Data for Itselfcited by 46
  5. 2025ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluationcited by 35
  6. 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
  7. 2025AutoCodeBench: Large Language Models are Automatic Code Benchmark Generatorscited by 24
  8. 2024M2rc-Eval: Massively Multilingual Repository-level Code Completion Evaluationcited by 21
  9. 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Modelscited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 56.

56 papers.

Sort:

By area:

  1. 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
  2. 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agentscited by 25
  3. 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 24
  4. 2026Immersion in the GitHub Universe: Scaling Coding Agents to Masterycited by 20
  5. 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?cited by 20
  6. 2026ProjDevBench: Benchmarking AI Coding Agents on End-to-End Project Developmentcited by 9
  7. 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Taskscited by 9
  8. 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
  9. 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolutioncited by 6
  10. 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgradescited by 6
  11. 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 6
  12. 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewardscited by 6
38 more
  1. 2026Do Agent Benchmarks Measure Capability? Protocol Validity in the Age of Agentic AIcited by 6
  2. 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarioscited by 5
  3. 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agentscited by 5
  4. 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
  5. 2026SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Taskscited by 4
  6. 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cyclecited by 4
  7. 2026RoadmapBench: Evaluating Long-Horizon Agentic Software Development Across Version Upgradescited by 4
  8. 2026Workflow-GYM: Towards Long-Horizon Evaluation of Computer-use Agentic tasks in Real-World Professional Fieldscited by 4
  9. 2026Constraint Decay: The Fragility of LLM Agents in Backend Code Generationcited by 3
  10. 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineeringcited by 3
  11. 2026ATM: CID-Brokered Pre-Write Admission for Multi-Agent Code Co-Synthesiscited by 3
  12. 2026"What Did It Actually Do?": Understanding Risk Awareness and Traceability for Computer-Use Agentscited by 2
  13. 2026RealClawBench: Live OpenClaw Benchmarks from Real Developer-Agent Sessionscited by 2
  14. 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generationcited by 2
  15. 2026ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenancecited by 2
  16. 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluationcited by 2
  17. 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 2
  18. 2026Qwen3.8-Omni: Towards Native Omni-Modal Agentscited by 2
  19. 2026DV-World: Benchmarking Data Visualization Agents in Real-World Scenarioscited by 1
  20. 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesiscited by 1
  21. 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproductioncited by 1
  22. 2026Specification-Driven Generation and Evaluation of Discrete-Event World Models via the DEVS Formalismcited by 0
  23. 2026Alipay-PIBench: A Realistic Payment Integration Benchmark for Coding Agentscited by 0
  24. 2026Benchmarking the Residual: What Long-Horizon Evaluations Add Beyond Matched Short-Task Performancecited by 0
  25. 2026SWE-NFI: Studying and Benchmarking Coding Agents for Non-Functional Improvementscited by 0
  26. 2026Persistent Recursive Worlds Enable Autonomous Software Evolutioncited by 0
  27. 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 0
  28. 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOpscited by 0
  29. 2026What Does an Agentic Software Engineering Benchmark Measure? Profiling Task Demands and Agent Behaviour Beyond What Category Labels Revealcited by 0
  30. 2026Shortcutting the Fix: Identifying and Categorizing Agentic Exploits in Software Engineering Benchmarkscited by 0
  31. 2026xDailyBench: Benchmarking LLMs on Professional Consultation for Real-Life Problemscited by 0
  32. 2026Rethinking Multi-Agent Collaboration: When More Is Lesscited by 0
  33. 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agentscited by 0
  34. 2026Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfercited by 0
  35. 2026SWE-MILE: Asynchronous Potential-Induced Milestone Credit Assignment for Long-Horizon Software Engineering Agentscited by 0
  36. 2026AsynCodeBench: Benchmarking Collaboration of Asynchronous Multi-Agent Systems in Software Engineeringcited by 0
  37. 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agentscited by 0
  38. 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligencecited by 0

50 most cited of 56 All 56 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
  2. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
  3. 2026ABC-Bench: Benchmarking Agentic Backend Coding in Real-World Development
  4. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
  5. 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
  6. 2026Learning to Commit: Generating Organic Pull Requests via Online Repository Memory
  7. 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging
  8. 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents