Repo0: Design-Driven Zero-to-All Code Generation

📅 2026-08-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
针对从零开始的代码生成问题,提出Repo0框架,通过自然语言需求迭代演化组件边界,并使用GPT-5 mini和DeepSeek V3.2进行评估,提高了功能覆盖率和通过率。
📝 Abstract
Large language model agents have made substantial progress in code generation, yet most existing systems assume a predefined repository architecture. This assumption does not hold in zero-to-all code generation, where an agent must construct an entire software project directly from natural-language requirements while maintaining a modular repository architecture throughout development. We present Repo0, a continuous structural evolution framework for zero-to-all code generation. Repo0 maintains an explicit architectural state instantiated as a Dual-Directed-Acyclic-Graph (Dual-DAG), consisting of a requirement-level DAG, a component-level DAG, and their alignment relation. Starting from natural-language requirements, it iteratively evolves component boundaries through structural actions guided by modularity metrics until structural convergence, after which the converged architecture guides test-driven development code generation. We evaluate Repo0 on six real-world repositories from RepoCraft using GPT-5 mini and DeepSeek V3.2. Repo0 achieves the highest Functionality Coverage and Pass Rate across all settings. Compared with RPG, the strongest repository-planning baseline, Repo0 improves Functionality Coverage by up to 20.08 percentage points and Pass Rate by up to 29.74 percentage points. Ablation and structural-evolution analyses further demonstrate the importance of the Dual-DAG architectural state, modularity-guided structural evolution, and explicit structural convergence.
Problem

Research questions and friction points this paper is trying to address.

zero-to-all code generation
modular repository architecture
natural-language requirements
Innovation

Methods, ideas, or system contributions that make the work stand out.

Zero-to-All Code Generation
Dual-DAG
Modularity Metrics
Structural Evolution
Test-Driven Development
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
Silin Chen
Silin Chen
Nanjing University
AI for Remote SensingAI for ChipsDeep Learning
H
Haoyi Teng
Shanghai Jiao Tong University
Xiaodong Gu
Xiaodong Gu
Associate Professor, Shanghai Jiao Tong University
Software EngineeringLarge Language Models
Y
Yuling Shi
Shanghai Jiao Tong University
J
Jiale Huang
Shanghai Jiao Tong University
Y
Yongpan Wang
Shanghai Jiao Tong University
Hongyu Zhang
Hongyu Zhang
Chongqing University
Software EngineeringMining Software RepositoriesData-driven Software EngineeringSoftware Analytics
H
Haibing Guan
Shanghai Jiao Tong University