Repository-Level Code Generation

Overview

Repository-level code generation studies how AI systems can implement features, fix issues, or build projects while respecting the code, interfaces, and conventions already present. Common approaches retrieve relevant files with semantic search or dependency graphs, organize requirements into specifications or contracts, and coordinate specialized agents; testing and static analysis provide feedback for refinement. Benchmarks evaluate both repository repair and projects built from scratch, often using hidden tests and real execution environments. A central challenge is that passing tests does not guarantee sound architecture or maintainability, while agents must also find useful, current context without spending excessive time or tokens exploring a codebase.

Latest papers

CardsList

43 papers7 papers in the last four weeks, up 40% on the four weeks before. 0.0% of all new papers.

  1. Leveraging LLMs for Multi-File DSL Code Generation: An Industrial Case Study

    Apr 27, 2026Sivajeet Chand, Kevin Nguyen, Peter Kuntz +1LLM Fine-TuningCode Generation

  2. Contract-Coding: Towards Repo-Level Generation via Structured Symbolic Paradigm

    Apr 10, 2026Yi Lin, Lujin Zhao, Yijie ShiCode GenerationRepository-Level Code Generation

  3. Beyond Functional Correctness: Design Issues in AI IDE-Generated Large-Scale Projects

    Apr 7, 2026Syed Mohammad Kashif, Ruiyin Li, Peng Liang +4Software EngineeringAI Coding Agents

  4. Persistent Cross-Attempt State Optimization for Repository-Level Code Generation

    Apr 4, 2026Ruwei Pan, Jiangshuai Wang, Qisheng Zhang +6Repository-Level Code GenerationPersistent Memory for Language Models

  5. Toward Executable Repository-Level Code Generation via Environment Alignment

    Apr 4, 2026Ruwei Pan, Junlei Shen, Linhao Wu +5Code GenerationRepository-Level Code Generation

  6. Needle in the Repo: A Benchmark for Maintainability in AI-Generated Repository Edits

    Mar 29, 2026Haichao Zhu, Qian Zhang, Jiyuan Wang +2Software EngineeringAI Coding Agents

  7. ReCUBE: Evaluating Repository-Level Context Utilization in Code Generation

    Mar 26, 2026Jiseung Hong, Benjamin G. Ascoli, Jinho D. ChoiRepository-Level Code GenerationCode Generation Evaluation

  8. CodeTaste: Can LLMs Generate Human-Level Code Refactorings?

    Mar 4, 2026Alex Thillen, Niels Mündler, Veselin Raychev +1Automated Code RefactoringAutomated Software Engineering