ProgramGym builds 1,648 verifiable training environments for coding agents
The October 9 arXiv preprint describes environments for reproducing programs from scratch and a staged agent workflow.
Event / data period: 2026-10-09
Published: · Updated:

Researchers from Xiamen University and other institutions introduced ProgramGym, a framework for training coding agents to inspect a program’s behavior and reproduce it from scratch. In the preprint submitted to arXiv on October 9, Program-Env creates training environments with executable reference programs, isolated sandboxes, usage documentation and black-box tests. The authors report building 1,648 environments in C, C++, Go and Rust. Program-Agent then separates analysis, implementation and review into distinct roles, with compilation checks and recovery checkpoints between iterations.
On ProgramBench, the authors report that fine-tuning Qwen3.8-27B on trajectories from the generated environments raised its test-pass result from 34.87% to 42.84%. With Program-Agent, the base model scored 55.71% and the fine-tuned version 56.25%. The paper defines test pass as a macro-average of task-level pass rates, so these figures do not mean every task was solved. The results concern the authors’ program-reproduction tasks and stated tool setup; they are not a measure of general coding ability.
Data
ProgramGym training environment count
Program-reproduction environments reported in the paper.
| Program-Env training environments | 1648 |
Methodology
Authors count environments built for C, C++, Go and Rust.
Updated:
r
Test-pass rates reported for the authors’ model and agent-scaffold pairings.
| Qwen3.8-27B + Claude Code, before fine-tuning on Program-Env trajectories | 34.87 |
| Qwen3.8-27B-SFT + Claude Code, after fine-tuning on Program-Env trajectories | 42.84 |
| Qwen3.8-27B + Program-Agent, same base model | 55.71 |
| Qwen3.8-27B-SFT + Program-Agent, same fine-tuned model | 56.25 |
Methodology
ProgramBench defines this metric as the macro-average of task-level test-pass rates. The Program-Env comparison holds Claude Code fixed; the Program-Agent comparison pairs the same model with Claude Code or Program-Agent. The tasks are not thereby fully solved.
Updated:
Subjects and places
Subject proposals
- Science and technologySuggested
- Preserved editorial category/topic; broad candidate onlyarxiv.org ↗
Geographic references
Only source-provided geographic references are shown. Opening an external map is optional. Optional story maps use OpenStreetMap. Opening a map sends your IP address and this site’s address to the map provider; location data remains readable as text without loading the map.
- China · Place role: Coverage · Place type: Country or area · Location precision: RegionalEvidence
- Explicit preserved editorial country/region; no city or national centroid inferredarxiv.org ↗