跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2612.03336 · v1

ProgramGen: Scalable Environment Construction for Long-Horizon Coding Agents

首次提交 2026-12-02 15:43
版本更新 2026-12-02 15:43
雷达观测 2026-12-03 11:48
arXiv ↗PDF ↗

摘要

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%→46.6%39.3\% \rightarrow 46.6\% on NL2Repo and 48.0%→61.0%48.0\% \rightarrow 61.0\% on ProgramBench, respectively. The model also exhibits good generalization on SWE-related benchmarks, e.g., 41.6%→60.2%41.6\% \rightarrow 60.2\% on DeepSWE, 60.7%→70.8%60.7\% \rightarrow 70.8\% on Terminal-Bench 2.1, and 76.5%→84.3%76.5\% \rightarrow 84.3\% on SWE-bench Pro V2 Hard. We open source the tasks, trajectories, model, and code for community research.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-02 15:43 · 最新观测版本

ProgramGen: Scalable Environment Construction for Long-Horizon Coding Agents

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%→46.6%39.3\% \rightarrow 46.6\% on NL2Repo and 48.0%→61.0%48.0\% \rightarrow 61.0\% on ProgramBench, respectively. The model also exhibits good generalization on SWE-related benchmarks, e.g., 41.6%→60.2%41.6\% \rightarrow 60.2\% on DeepSWE, 60.7%→70.8%60.7\% \rightarrow 70.8\% on Terminal-Bench 2.1, and 76.5%→84.3%76.5\% \rightarrow 84.3\% on SWE-bench Pro V2 Hard. We open source the tasks, trajectories, model, and code for community research.

查看此版本解读 →查看此版本原文 ↗