Datasets:
Publish TermiGen v2 and reuse v1 excluded task payloads
Browse filesFiles changed (9)
- busginpy_v2/README.md+1-1
- busginpy_v2/archive.parquetDeleted-3
- busginpy_v2/patch.py+4
- crosscodeeval_v2/README.md+1-1
- crosscodeeval_v2/patch.py+4
- termigen_v2/README.mdAdded+65
- termigen_v2/assets/selection.jsonAdded
- termigen_v2/patch.pyAdded+22
- crosscodeeval_v2/archive.parquet → termigen_v2/tasks.parquetRenamed+2-2
57 unmodified lines585960616162636457 unmodified lines
## Select tasks by successful-attempt count
`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](assets/selection.json). Earlier v1 archives have null teacher counts because they were not evaluated.`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](assets/selection.json). Excluded payloads remain in the pinned v1 source recorded in `selection.json`; no duplicate archive Parquet is uploaded.
```pythonimport pyarrow.parquet as pq123version https://git-lfs.github.com/spec/v1oid sha256:d34b33d152810a6c549359644b920d24a0707c6e4d35164099fea04860e85ea9size 4293620818116 unmodified lines117118119120121122123124125116 unmodified lines parser.add_argument('--source-dir', type=Path) parser.add_argument('--out', type=Path, required=True) parser.add_argument('--selection', type=Path, default=Path(__file__).parent / 'assets' / 'selection.json') parser.add_argument('--include-archive', action='store_true', help='Also reconstruct excluded payloads locally') args = parser.parse_args() build(args.source_dir, args.out, args.selection)
if not args.include_archive: (args.out / 'archive.parquet').unlink()59 unmodified lines606162636364656659 unmodified lines
## Select tasks by successful-attempt count
`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](assets/selection.json). Earlier v1 archives have null teacher counts because they were not evaluated.`tasks.parquet` includes `instruct_successes`, `thinking_successes` and `attempts_per_model` (16). Counts are also available in [selection.json](assets/selection.json). Excluded payloads remain in the pinned v1 source recorded in `selection.json`; no duplicate archive Parquet is uploaded.
```pythonimport pyarrow.parquet as pq131 unmodified lines132133134135136137138139140131 unmodified lines parser.add_argument('--source-dir', type=Path) parser.add_argument('--out', type=Path, required=True) parser.add_argument('--selection', type=Path, default=Path(__file__).parent / 'assets' / 'selection.json') parser.add_argument('--include-archive', action='store_true', help='Also reconstruct excluded payloads locally') args = parser.parse_args() build(args.source_dir, args.out, args.selection)
if not args.include_archive: (args.out / 'archive.parquet').unlink()1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465# TermiGen v2
## Dataset stats
- **Tasks:** 3,566 original; 3,336 in v1; **2,277 retained in v2**, all previously patched. 1,059 v1 tasks have no recorded successful attempt; 230 earlier exclusions remain in v1.- **Images:** reuse v1 environments and its cached images as they become available. No additional images or task repairs in v2.
## Dataset characteristics
[TermiGen](https://github.com/ucsb-mlsec/terminal-bench-env/tree/03bddac74ada2fa344df0e93b4a3ace2034294d1) supplies terminal tasks with prepared files and executable verifiers.
<details><summary>Domains</summary>
Software Engineering, Debugging, System Administration, Security, Data Processing, Scientific Computing and Machine Learning: repair code, diagnose services, inspect artifacts and configure computational workflows.
</details><details><summary>Capabilities</summary>
Exploration, Error Recovery and Specification Adherence; specialized tasks also involve Reverse Engineering and Adversarial Reasoning. Labels follow [CLI-Universe](https://arxiv.org/abs/2606.22883v1).
</details>
**Intended benchmark transfer:** terminal problem solving for Terminal-Bench; debugging and environment diagnosis for repository-based software engineering.
## Selection
Keep tasks with at least one recorded reward of 1 from either model, with four attempts per task and model.
| Model | Tasks solved at least once || --- | ---: || Qwen3-Coder-30B-A3B-Instruct | 2,123 / 3,336 || Qwen3-30B-A3B-Instruct-2507 | 1,850 / 3,336 || Either model | 2,277 / 3,336 |
All 3,336 evaluated task hashes match v1. V2 preserves task payloads exactly. Build, no-op and rule-based checks carry over from [v1](../TermiGen_environment-reliable/README.md); no reference solutions are provided.
Missing rewards remain unknown, not failures (142 Coder attempts and 179 Instruct attempts). Excluded tasks are those without a recorded success, not confirmed defective tasks.
### Successful attempts among retained tasks
| Instruct successes out of 4 | Tasks || --- | ---: || 0 | 427 || 1 | 417 || 2 | 359 || 3 | 421 || 4 | 653 |
Per-task Coder evidence establishes whether a task was solved; exact per-task success counts are not available in the published report, so they are not inferred.
## Files and selecting tasks
`tasks.parquet` contains retained tasks, `coder_solved`, `instruct_successes`, `instruct_missing_rewards` and `attempts_per_model`. `assets/selection.json` records every v1 task's selection and pins the source revision. Excluded payloads remain in that v1 revision; no duplicate archive Parquet is uploaded. `patch.py` reproduces this selection.
```pythonimport pyarrow.parquet as pqsubset = pq.read_table("tasks.parquet", filters=[("instruct_successes", "=", 1)])pq.write_table(subset, "selected.parquet", compression="zstd")```
Traces will be uploaded.
## Runtime
Apptainer 1.5.4, Python 3.12.7 / 3.12.14, Harbor 0.8.1; [Marin Harbor bridge](https://github.com/marin-community/harbor/tree/7faf878c14b6d72737579ec936ebf5f74ba3194d) and [runtime patches](https://github.com/MLI-lab/OT-next-data/tree/main/harbor_patches). Teacher runs used Terminus 2; [recorded model results](https://huggingface.co/datasets/FWeindel/validated-tasks/discussions/11).12345678910111213141516171819202122"""Reproduce TermiGen v2. Requires pyarrow and huggingface_hub."""import argparse,hashlib,jsonfrom pathlib import Pathimport pyarrow as paimport pyarrow.parquet as pqfrom huggingface_hub import hf_hub_downloadp=argparse.ArgumentParser(description=__doc__)p.add_argument('--out',type=Path,required=True)p.add_argument('--source',type=Path)a=p.parse_args()m=json.loads((Path(__file__).parent/'assets/selection.json').read_text())a.out.mkdir(parents=True,exist_ok=True)f=a.source or Path(hf_hub_download(m['repo_id'],m['source_folder']+'/tasks.parquet',revision=m['source_revision'],repo_type='dataset',cache_dir=a.out/'.source-cache'))assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']t=pq.read_table(f);rows=[]for r in t.to_pylist(): s=m['tasks'][r['path']];assert r['content_sha256']==s['content_sha256'] if s['kept']:rows.append(dict(r,coder_solved=s['coder_solved'],instruct_successes=s['instruct_successes'],instruct_missing_rewards=s['instruct_missing_rewards'],attempts_per_model=4))assert len(rows)==2277schema=t.schema.append(pa.field('coder_solved',pa.bool_())).append(pa.field('instruct_successes',pa.int64())).append(pa.field('instruct_missing_rewards',pa.int64())).append(pa.field('attempts_per_model',pa.int64()))out=pa.Table.from_pylist(rows,schema=schema).replace_schema_metadata({b'ot.release.v2':json.dumps({k:v for k,v in m.items() if k!='tasks'}).encode()})pq.write_table(out,a.out/'tasks.parquet',compression='zstd')12323version https://git-lfs.github.com/spec/v1oid sha256:cbfd98d499cb56d9c85c8ab2faf7ec97a30c8ed2699f487350ba4ae27c0b953asize 92382213oid sha256:c80fa56b1e2dc7e5f293c4fda90cb265ccb231f9272be214d48089cea82d9019size 111908336busginpy_v2/README.md+1-1
busginpy_v2/archive.parquetDeleted-3
busginpy_v2/patch.py+4
crosscodeeval_v2/README.md+1-1
crosscodeeval_v2/patch.py+4
termigen_v2/README.mdAdded+65
termigen_v2/assets/selection.jsonAdded
termigen_v2/patch.pyAdded+22
crosscodeeval_v2/archive.parquet → termigen_v2/tasks.parquetRenamed+2-2