Dataset Viewer
Auto-converted to Parquet Duplicate
name
stringlengths
35
86
instruction
stringlengths
1.3k
703k
description
stringlengths
0
108
keywords
listlengths
3
4
schema_version
stringclasses
1 value
config
unknown
metadata
unknown
files
listlengths
21
25.4k
location
stringlengths
35
86
programgen-forward/0-k__netto.1b47785
# 0-k/netto ## Project Overview netto is a Python library that models the German payroll burden: it turns a gross yearly salary (Bruttogehalt) into the corresponding net income (Nettogehalt) by applying income tax (Einkommensteuer), the solidarity surcharge (Solidaritätszuschlag), optional church tax (Kirchensteuer),...
[ "programgen", "forward", "from-scratch" ]
{ "version": "1.0", "task": { "name": "programgen-forward/0-k__netto.1b47785", "authors": [], "keywords": [ "programgen", "forward", "from-scratch" ] }, "metadata": { "repository": "0-k/netto", "commit": "1b47785f008485d737a20c4ad7776f3d0499801b", "language": "pytho...
{ "repository": "0-k/netto", "commit": "1b47785f008485d737a20c4ad7776f3d0499801b", "language": "python", "category": "forward", "programgen_mode": "forward", "runtime": "python", "runtime_version": "3.10", "difficulty": "easy" }
[ "environment/Dockerfile", "environment/Dockerfile.inference", "environment/build_env.sh", "environment/pre_cleanup.sh", "environment/repo/.gitignore", "environment/repo/.pre-commit-config.yaml", "environment/repo/.readthedocs.yml", "environment/repo/CHANGELOG.md", "environment/repo/CLAUDE.md", "en...
tasks/data/forward/0-k__netto.1b47785
programgen-forward/0dminnimda__pynalyser.1bda9f2
"# 0dminnimda/pynalyser\n\n## Project Overview\n\nPynalyser is a static Python code analyzer that ai(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/0dminnimda__pynalyser.1bda9f2","authors":[],"key(...TRUNCATED)
{"repository":"0dminnimda/pynalyser","commit":"1bda9f2dd5cdd1eae54dd5a2c561a8ef0c10636e","language":(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/0dminnimda__pynalyser.1bda9f2
programgen-forward/0x7d7b__flask-oauth2-validation.bcc8d83
"# 0x7d7b/flask-oauth2-validation\n\n## Project Overview\n\nflask-oauth2-validation is a Python pack(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/0x7d7b__flask-oauth2-validation.bcc8d83","author(...TRUNCATED)
{"repository":"0x7d7b/flask-oauth2-validation","commit":"bcc8d8312a9fc65bed10a11dee789273fd2ad5f9","(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/0x7d7b__flask-oauth2-validation.bcc8d83
programgen-forward/0xacb__recollapse.090d711
"# 0xacb/recollapse\n\n## Project Overview\n\nREcollapse is a Python security-testing utility that a(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/0xacb__recollapse.090d711","authors":[],"keyword(...TRUNCATED)
{"repository":"0xacb/recollapse","commit":"090d71193cb2fd0557c38547604210ce45d2ccbd","language":"pyt(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/0xacb__recollapse.090d711
programgen-forward/20tab__bvh-python.b7e0058
"# 20tab/bvh-python\n\n## Project Overview\n\nbvh-python is a small, focused Python library for pars(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/20tab__bvh-python.b7e0058","authors":[],"keyword(...TRUNCATED)
{"repository":"20tab/bvh-python","commit":"b7e00585aef1c9577831ee08aa5e33553b329cc0","language":"pyt(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/20tab__bvh-python.b7e0058
programgen-forward/23andme__seqseek.24c15a6
"# 23andme/seqseek\n\n## Project Overview\n\nSeqSeek is a Python package from 23andMe that provides (...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/23andme__seqseek.24c15a6","authors":[],"keywords(...TRUNCATED)
{"repository":"23andme/seqseek","commit":"24c15a6eb410f500c352d578e8448d83a0047f26","language":"pyth(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/23andme__seqseek.24c15a6
programgen-forward/3d-beacons__3d-beacons-hub-api.489ca02
"# 3d-beacons/3d-beacons-hub-api\n\n## Project Overview\n\nThe 3D-Beacons Hub API is the central agg(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/3d-beacons__3d-beacons-hub-api.489ca02","authors(...TRUNCATED)
{"repository":"3d-beacons/3d-beacons-hub-api","commit":"489ca02424f2a0db837a4b79e3ee31e613730d76","l(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/3d-beacons__3d-beacons-hub-api.489ca02
programgen-forward/4subsea__evapy.4baf6a9
"# 4subsea/evapy\n\n## Project Overview\n\nevapy_4s (published from the 4Subsea/evapy repository) is(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/4subsea__evapy.4baf6a9","authors":[],"keywords":(...TRUNCATED)
{"repository":"4subsea/evapy","commit":"4baf6a9bb08e7587d336896820fbfc1903e2f242","language":"python(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/4subsea__evapy.4baf6a9
programgen-forward/7sdream__torrent_parser.23b9e11
"# 7sdream/torrent_parser\n\n## Project Overview\n\ntorrent_parser is a lightweight, single-module P(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/7sdream__torrent_parser.23b9e11","authors":[],"k(...TRUNCATED)
{"repository":"7sdream/torrent_parser","commit":"23b9e110beb5b91c5498b286bd9d8cce83cfc076","language(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/7sdream__torrent_parser.23b9e11
programgen-forward/a360-starpack__starpack.087159c
"# a360-starpack/starpack\n\n## Project Overview\n\nStarpack is a tool for packaging and deploying p(...TRUNCATED)
[ "programgen", "forward", "from-scratch" ]
{"version":"1.0","task":{"name":"programgen-forward/a360-starpack__starpack.087159c","authors":[],"k(...TRUNCATED)
{"repository":"a360-starpack/starpack","commit":"087159cfefb29f0a53af9eebafeb120e52a591a8","language(...TRUNCATED)
["environment/Dockerfile","environment/Dockerfile.inference","environment/build_env.sh","environment(...TRUNCATED)
tasks/data/forward/a360-starpack__starpack.087159c
End of preview. Expand in Data Studio
ProgramGen

ProgramGen

Scalable Environment Construction for Long-Horizon Coding Agents

Paper · Code · Documentation · Model

Tasks and trajectories from the paper ProgramGen: Scalable Environment Construction for Long-Horizon Coding Agents. Each task asks an agent to rebuild a real open-source project from scratch, in a container without network access, and scores the result with hidden executable tests.

Tasks are Harbor task directories. The model fine-tuned on the trajectories is Lego-X/ProgramGen-27B.

  • Forward mode: the agent gets a specification and reconstructs the Python package; the repository's own tests are the hidden verifier.
  • Reverse mode: the agent gets usage documentation and can query the original command-line program, which runs in a separate container; hidden black-box tests compare the rebuilt program with it.
ForwardReverseTotal
Tasks2,1423,9806,122
Verified tasks2,0263,9055,931
Training trajectories1,2901,2952,585
LanguagesPythonRust, Go, C, C++
Hidden tests per task (median)48291
Assistant turns per trajectory (median)74207104
Trajectory length in tokens (median)177K260K208K

Results

Fine-tuning Qwen3.8-27B on these 2,585 trajectories:

Qwen3.8-27BProgramGen-27BChange
Building software from scratch
Repository generation
NL2Repo-Bench
Pass
39.3
Full
4.8
Pass
46.6
Full
4.8
Pass
+7.3
Full
0.0
Program reconstruction
ProgramBench
Avg.
48.0
Almost
4.0
Avg.
61.0
Almost
10.0
Avg.
+13.0
Almost
+6.0
Software repair
DeepSWE
resolved, %
41.660.2+18.6
SWE-bench Pro HARD
resolved, %
76.584.3+7.8
SWE-bench Pro V2
resolved, %
92.594.4+1.9
SWE-bench Multilingual
resolved, %
78.079.7+1.7
Terminal tasks
Terminal-Bench 2.1
resolved, %
60.770.8+10.1
Scores in %. Both models run in the same adapted OpenHands SDK 1.33 scaffold. The better result in each row is shown in bold.

Usage

Tested with Harbor v0.27.0 and its Docker environment. Every index row has a path, so one task or one trajectory can be downloaded on its own.

# <mode> is forward or reverse; the environment class is shipped in programgen_harbor/
PYTHONPATH=ProgramGen harbor run -p ProgramGen/tasks/data/<mode>/<task_id> \
    -e programgen_harbor:ProgramGenDockerEnvironment -a <agent> -m <model>

In reverse mode the reference program stays out of the agent's container: the agent only gets an execute-only socket client at /reference/executable, and the class above starts the program in a second container.

Do not copy environment/oracle/ into the agent's container.

Results obtained that way are not comparable with ours. Details are in the paper.

Structure

tasks/
  index_verified.jsonl            verified tasks
  index_1.3k+1.3k.jsonl           tasks behind the training trajectories
  data/{forward,reverse}/<task_id>/   one Harbor task directory
trajectories/
  index_1.3k+1.3k.jsonl           training trajectories
  data/{forward,reverse}/<trial>/     one trajectory
programgen_harbor/                Harbor environment class used to run the tasks
  • Verified tasks passed our checks and have a working reference solution: tier A scores 1.0, tier B between 0.95 and 1.0. oracle_reward is the highest score reachable on the task.
  • Training tasks are the tasks behind the trajectories; 2,382 of them are also verified.
  • Trajectories were produced by DeepSeek-V4.1-Flash-1017 through OpenHands SDK 1.33, and each scored above 0.9 on its task. A trajectory is the final request (system prompt, full message history, tool definitions) plus the last response, in OpenAI chat format.
  • The task indexes and the trajectory index are independent lists, so a few trajectories have no matching task directory.
  • Internal host names, paths and credentials printed by tools were replaced with placeholders such as <INTERNAL_IP>.
Index fields
FieldMeaning
task_id, repotask identifier and source repository on GitHub
modeforward or reverse
pathdirectory in this repository
tier, oracle_rewardsee above (verified index only)
empty_rewardscore of an empty submission (verified index only)
n_testsnumber of scored tests (verified index only)
evidence_rewardscore of an audited agent run on the task, at least 0.9 (verified index only)
in_1300the task is also a training task (verified index only)
trial, reward, n_messagestrajectory identifier, its score and its number of messages (trajectory index only)
n_files, bytessize

Licence

The material written for this release (instructions, generated tests, graders, indexes, trajectories and the programgen_harbor/ code) is under Apache-2.0. Files that come from a task's source repository, including the reference program built from it, remain under that repository's licence (MIT, Apache-2.0, BSD, MPL-2.0 or ISC), whose file is kept in the task.

Citation

@misc{xiong2026programgen,
      title={ProgramGen: Scalable Environment Construction for Long-Horizon Coding Agents},
      author={Conghao Xiong and Chaofan Tao and Jierun Chen and Yuxin Jiang and Ruoyu Wang and Sidi Yang and Xiao-Hui Li and Lifeng Shang and Hao Chen and Joseph J. Y. Sung and Haoli Bai and Irwin King},
      year={2026},
      eprint={2612.03336},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2612.03336},
}
Downloads last month
239

Models trained or fine-tuned on Lego-X/ProgramGen

Collection including Lego-X/ProgramGen

Paper for Lego-X/ProgramGen