arXiv cs.AI· Conghao Xiong, Chaofan Tao, Jierun Chen, Yuxin Jiang, Ruoyu Wang, Sidi Yang, Xiao-Hui Li, Lifeng Shang, Hao Chen, Joseph J. Y. Sung, Haoli Bai, Irwin King·· 3 天前AI 评分52
ProgramGen 提出可扩展流水线,把真实仓库转化为长程编码智能体训练环境
ProgramGen: Scalable Environment Construction for Long-Horizon Coding Agents
AI 导读
Conghao Xiong 等人在 arXiv:2612.03336 提出 ProgramGen,一条把真实仓库规模化转化为编码智能体训练环境的流水线,支持正向从规格实现仓库、反向不看源码重写参考程序两种模式,并通过三步构建、只重生成未通过验证的部分和控制成本。
正文 · 原文
Authors:Conghao Xiong, Chaofan Tao, Jierun Chen, Yuxin Jiang, Ruoyu Wang, Sidi Yang, Xiao-Hui Li, Lifeng Shang, Hao Chen, Joseph J. Y. Sung, Haoli Bai, Irwin King
Abstract:Coding agents are moving from issue-level fixes to long-horizon development, but training environments with real-project complexity, clear goals, runnable workspaces, and reliable evaluation remain scarce. We introduce ProgramGen, a scalable and efficient pipeline that turns real repositories into such environments, where coding agents learn forward and reverse engineering. In forward mode, the agent implements a repository from a specification, and the repository tests grade the result. In reverse mode, the agent reimplements a reference program without seeing the source code, and tests generated by the proposed pipeline grade the result. ProgramGen constructs both modes in three steps: building the repository, generating the task, and validating the result. To keep the cost low, ProgramGen regenerates only the parts of a task that fail validation and uses rule-based programs to install dependencies, extract interfaces, and run the checks. Empirically, we show that with merely 2,585 trajectories, the mean pass rates of Qwen3.8-27B can be effectively boosted, i.e., $39.3\% \rightarrow 46.6\%$ on NL2Repo and $48.0\% \rightarrow 61.0\%$ on ProgramBench, respectively. The model also exhibits good generalization on SWE-related benchmarks, e.g., $41.6\% \rightarrow 60.2\%$ on DeepSWE, $60.7\% \rightarrow 70.8\%$ on Terminal-Bench 2.1, and $76.5\% \rightarrow 84.3\%$ on SWE-bench Pro V2 Hard. We open source the tasks, trajectories, model, and code for community research.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (cs.LG) |
| Cite as: | arXiv:2612.03336 [cs.SE] |
| (or arXiv:2612.03336v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03336 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Conghao Xiong [view email]
[v1]
Wed, 2 Dec 2026 07:43:06 UTC (902 KB)
来源:arXiv cs.AI · arxiv.org