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.


翻译:暂无翻译

0
下载
关闭预览

相关内容

代码(Code)是专知网的一个重要知识资料文档板块,旨在整理收录论文源代码、复现代码,经典工程代码等,便于用户查阅下载使用。
综述 | Self-Evolving Coding Agents:自进化编程智能体
Agent Harness综述:大模型智能体执行器工程全景
专知会员服务
31+阅读 · 5月28日
智能体工程的发展现状
专知会员服务
27+阅读 · 1月4日
智能体工程(Agent Engineering)
专知会员服务
40+阅读 · 2025年12月31日
最全的智慧工地解决方案
智能交通技术
11+阅读 · 2019年8月30日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
【数字工程】美国国防部数字工程战略解读(全文)
产业智能官
39+阅读 · 2019年4月15日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
中国工程院:《全球工程前沿2018》(附PDF下载)
走向智能论坛
10+阅读 · 2018年12月5日
Focal Loss for Dense Object Detection
统计学习与视觉计算组
12+阅读 · 2018年3月15日
国家自然科学基金
3+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
7+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
15+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
12+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
7+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
9+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
18+阅读 · 11月25日
相关基金
国家自然科学基金
3+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
7+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
19+阅读 · 2012年12月31日
Top
微信扫码咨询专知VIP会员