Skip to content
English

Switch theme

arXiv 2610.13395 · cs.SE · 2026-10-09

ProgramGym: Scaling Training Environments for Long-Horizon Program Reproduction Agents

Chengyi Yang, Renxu Bao, Jue Hou, Zongpei Teng, Ziheng Wang, Yujie Lin, Chengsong Huang, Junnan Zhu and 5 more

ProgramGym

Archived · 2026-10 Added on 2026-11-01

One-line takeaway

ProgramGym targets long-horizon coding agents that build programs from scratch, where agents must discover requirements and decide system design, yet scalable verifiable training environments are scarce and existing workflows cannot sustain long-horizon development that explores a reference program before implementation. It consists of Program-Env and Program-Agent; Program-Env builds verifiable training environments from repositories through a feedback-driven loop that repairs runtime sandbox builds and improves the quality of black-box tests.

ProgramGym 面向从零构建程序的长程编程智能体:这类任务要求智能体自己弄清需求并决定系统设计,而可扩展、可验证的训练环境稀缺,现有工作流也难以支撑先探索参考程序再实现的长程开发。ProgramGym 由 Program-Env 和 Program-Agent 组成,其中 Program-Env 通过反馈驱动的循环从代码仓库构建可验证训练环境,修复运行时沙箱构建并提升黑盒测试质量。

Key points

ProgramGym introduces a scalable framework for training long-horizon program reproduction agents through verifiable environments and structured agent workflows. It constructs training scenarios from code repositories via feedback-driven environment refinement, generating 1,648 environments across multiple languages. The agent employs role-isolated stages with failure recovery, achieving significant performance gains on program reproduction benchmarks.

  • ProgramGym builds verifiable training environments from code repositories using a feedback-driven refinement loop.
  • It generates 1,648 training environments across C, C++, Go, and Rust through automated build and test repair.
  • The Program-Agent uses role-isolated workflows with revision management to improve program reproduction accuracy.
  • Performance on ProgramBench improves from 34.87% to 42.84% for Qwen3.8-27B, reaching 55.71% and 56.25% for base and SFT models respectively.

Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.

53HF upvotes
13GitHub stars
0Citations (Semantic Scholar)
48.1Buzz score

Read on arXiv PDF Hugging Face discussion Code Project page

Related papers

About this data

Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-10.

The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.

Data updated: Latest AI papers(UTC+8)