FWeindel commited on
Commit
f1b4114
·
verified ·
1 Parent(s): 099a9f3

Publish EndlessTerminals v2 with pass@4 selection and complete traces

Browse files
endlessterminals_v2/README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EndlessTerminals v2
2
+
3
+ ## Dataset statistics
4
+
5
+ - **2,492 original tasks → 2,144 repaired v1 tasks → 1,323 retained in v2.** All retained tasks were patched in v1; v2 changes no task payloads.
6
+ - **821 v1 tasks excluded for now:** 818 had no successful attempt; three have no recorded results. Excluded payloads remain in [v1](../EndlessTerminals_environment-reliable).
7
+ - **2,492 original build contexts → 1,834 cached Apptainer environments in v1.** V2 reuses **1,159** of those environments; no duplicate image upload.
8
+
9
+ ## Dataset characteristics
10
+
11
+ <details><summary>Domains</summary>
12
+
13
+ **System Administration:** shell scripts, services and configuration. **File Operations:** exact placement, links, backups and compression. **Data Processing:** parse CSV, INI and network summaries into precise reports.
14
+
15
+ </details>
16
+ <details><summary>Capabilities</summary>
17
+
18
+ **Exploration, Specification Adherence and Constraint Satisfaction:** inspect supplied files and produce exact content, paths, permissions and formats. Labels follow [CLI-Universe](https://arxiv.org/abs/2606.22883v1).
19
+
20
+ </details>
21
+
22
+ Intended benchmark transfer: **Terminal-Bench 2.0 and OpenThoughts-TBLite 2.0**, through terminal inspection, shell scripting and filesystem tasks.
23
+
24
+ ## Validation and filtering
25
+
26
+ - **Environment reliability and rule-based task quality:** keeps all [v1 repairs](../EndlessTerminals_environment-reliable), including build/setup, reference-solution and no-op verification, and static-check repairs.
27
+ - **Pass@4 filtering:** retain tasks solved at least once by **Qwen3-30B-A3B-Instruct-2507**, using Terminus 2. Evaluated content hashes match every retained task.
28
+ - **15 October 2026 results:** 2,141 tasks completed four attempts each; none are partial; three have no recorded attempts. Terminal execution failures count as unsuccessful attempts. Five attempts have no raw verifier reward and receive a filtering score of zero.
29
+
30
+ ### Successful attempts among retained tasks
31
+
32
+ | Successful attempts | Tasks |
33
+ | --- | ---: |
34
+ | 1/4 | 288 |
35
+ | 2/4 | 254 |
36
+ | 3/4 | 261 |
37
+ | 4/4 | 520 |
38
+
39
+ ### Select by successful attempts
40
+
41
+ ```python
42
+ from huggingface_hub import hf_hub_download
43
+ import pyarrow.parquet as pq
44
+
45
+ path = hf_hub_download("FWeindel/validated-tasks", "endlessterminals_v2/tasks.parquet", repo_type="dataset")
46
+ tasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])
47
+ ```
48
+
49
+ `assets/selection.json` records all v1 task decisions and counts. `patch.py` reproduces the task Parquet from pinned v1 data. `instruct_graded_attempts` counts attempts assigned a filtering score, including terminal failures.
50
+
51
+ ## Traces
52
+
53
+ [Compressed traces](traces/attempts.parquet) include **all 8,564 attempts**, successful and failed, across retained and excluded tasks. No conversations are missing. Each row contains the task ID, model, attempt ID, filtering reward, raw verifier reward, retention flag and full trajectory and result JSON.
54
+
55
+ ## Resources
56
+
57
+ Historical teacher runs used **one H200, 32 CPUs per job and concurrency 10**. Fifteen jobs each took approximately **55 to 79 minutes**. Environment and image versions are inherited from [v1](../EndlessTerminals_environment-reliable).
endlessterminals_v2/assets/selection.json ADDED
The diff for this file is too large to render. See raw diff
 
endlessterminals_v2/patch.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reproduce the frozen v2 selection from the unchanged, pinned v1 payloads."""
2
+ import argparse,json,hashlib
3
+ from pathlib import Path
4
+ import pyarrow as pa,pyarrow.parquet as pq
5
+ from huggingface_hub import hf_hub_download
6
+ p=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args();a.out.mkdir(parents=True,exist_ok=True)
7
+ assert not (a.out/'tasks.parquet').exists()
8
+ m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());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']
9
+ src=pq.ParquetFile(f);schema=src.schema_arrow.remove_metadata();columns=[model+'_'+metric for model in m['models'] for metric in ['successes','graded_attempts','missing_attempts']]
10
+ for name in columns+['target_attempts_per_model']:schema=schema.append(pa.field(name,pa.int64()))
11
+ rows=[]
12
+ for batch in src.iter_batches(batch_size=32):
13
+ for r in batch.to_pylist():
14
+ t=m['tasks'][r['path']];assert r['content_sha256']==t['content_sha256']
15
+ if not t['kept']:continue
16
+ for k in columns:r[k]=t[k]
17
+ r['target_attempts_per_model']=4;rows.append(r)
18
+ assert len(rows)==m['summary']['solved'];names={r['path'] for r in rows};im=json.loads(src.schema_arrow.metadata[b'ot.images.v1']);im['tasks']={k:v for k,v in im['tasks'].items() if k in names};bundles={e['bundle'] for v in im['tasks'].values() for e in v['environments']};im['bundles']={k:v for k,v in im['bundles'].items() if k in bundles}
19
+ if 'uncached_task_ids' in im:im['uncached_task_ids']=sorted(names-set(im['tasks']));im['coverage']={'cached_tasks':len(im['tasks']),'total_tasks':len(names)}
20
+ else:assert set(im['tasks'])==names
21
+ meta={b'ot.images.v1':json.dumps(im).encode(),b'ot.release.v2':json.dumps({k:v for k,v in m.items() if k!='tasks'}).encode()};pq.write_table(pa.Table.from_pylist(rows,schema=schema).replace_schema_metadata(meta),a.out/'tasks.parquet',compression='zstd');print('Retained',len(rows),'cached tasks',len(im['tasks']),'bundles',len(bundles))
endlessterminals_v2/tasks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977e0ea5376dd03d056c539eed124034d2cfa634d9d8b04e35c3189e751af413
3
+ size 17100121
endlessterminals_v2/traces/attempts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6b6e98e5deaeba08f957e15196d692aa001277e27282f143a10fc53aee8df70
3
+ size 17362864
endlessterminals_v2/traces/manifest.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attempts": 8564,
3
+ "tasks": 2141,
4
+ "successful_attempts": 3659,
5
+ "missing_conversations": 0,
6
+ "missing_raw_verifier_rewards": 5,
7
+ "results_revision": "b23edb5a7b3e2989bb16dd5bc337e02399aee7d5"
8
+ }