llincke commited on
Commit
930d0cb
·
verified ·
1 Parent(s): e0ebc20

Endless Terminals v2: retain 1,958 tasks using both teachers

Browse files

Endless Terminals v2 keeps 1,958 tasks and archives 186 of the 2,144 validated v1 tasks. Retain a task when either Instruct succeeds in four attempts or Coder succeeds in eight. This restores 635 tasks while retaining the 34 solved only by Instruct. Exclusions are 183 tasks with zero successes in both models and three unmeasured tasks; the 348 earlier v1 exclusions remain.

| Model | Measured tasks | Attempts per task | pass@1 | pass@4 | pass@8 |
| --- | ---: | ---: | ---: | ---: | ---: |
| Qwen3-30B-A3B-Instruct-2507 | 2,141 | 4 | 42.73% | 61.79% | unavailable |
| Qwen3-Coder-30B-A3B-Instruct | 2,141 | 8 | 66.39% | 85.43% | 89.86% |

Rates cover all measured tasks before teacher-based filtering. Coder pass@4 uses the unbiased estimate from all eight attempts; its first four-attempt result was 86.27%.

Includes all 25,692 attempt records and preserves raw verifier/error evidence. One Coder conversation is missing; 15 attempts have no raw verifier reward. Updated retention flags, per-model success counts, reproducible selection, exclusion reasons and README are included. Task payloads are unchanged and all images are reused.

endless_v2/README.md CHANGED
@@ -2,9 +2,9 @@
2
 
3
  ## Dataset statistics
4
 
5
- - **2,492 original tasks → 2,144 repaired v1 tasks → 1,323 kept in v2.** All kept 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](../endless_v1).
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
 
@@ -23,18 +23,37 @@ Intended benchmark transfer: **Terminal-Bench 2.0 and OpenThoughts-TBLite 2.0**,
23
 
24
  ## Validation and filtering
25
 
26
- - **Environment reliability and rule-based task quality:** keeps all [v1 repairs](../endless_v1), 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 kept 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 kept 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
 
@@ -44,14 +63,18 @@ import pyarrow.parquet as pq
44
 
45
  path = hf_hub_download("FWeindel/validated-tasks", "endless_v2/tasks.parquet", repo_type="dataset")
46
  tasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])
 
 
47
  ```
48
 
49
- `metadata/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 kept 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](../endless_v1).
 
2
 
3
  ## Dataset statistics
4
 
5
+ - **2,492 original tasks → 2,144 repaired v1 tasks → 1,958 kept in v2.** All kept tasks were patched in v1; v2 changes no task payloads. This update restores **635 tasks** using the additional Coder results.
6
+ - **186 v1 tasks excluded:** 183 had zero successful attempts in both models; three have no recorded attempts. Their payloads and reasons are in [archive.parquet](archive.parquet). The **348 original exclusions inherited from v1 remain excluded**.
7
+ - **2,492 original build contexts → 1,834 cached Apptainer environments in v1.** V2 reuses **1,676** of those environments; no duplicate image upload.
8
 
9
  ## Dataset characteristics
10
 
 
23
 
24
  ## Validation and filtering
25
 
26
+ - **Environment reliability and rule-based task quality:** keeps all [v1 repairs](../endless_v1), including build/setup, reference-solution and no-op verification, and static-check repairs. Inherited validation limitations remain: the conversion review had no Docker reference run, and one HTTP task has an unresolved possible shared-port collision.
27
+ - **Either-model success filtering:** retain tasks solved at least once by **Qwen3-30B-A3B-Instruct-2507** in four attempts or **Qwen3-Coder-30B-A3B-Instruct** in eight attempts, using Terminus 2. Evaluated content hashes match every kept task. This retains **34 tasks solved by Instruct but not Coder**.
28
+ - **15–16 October 2026 results:** each model evaluated the same **2,141 tasks**. Instruct completed **8,564 attempts**; Coder completed **17,128 attempts** in two four-attempt collections. No measured tasks have partial attempt coverage. Three v1 tasks remain unmeasured and excluded.
29
+ - Recorded terminal execution failures count as unsuccessful attempts. **15 attempts** have no raw verifier reward—five Instruct and ten Coder—and receive a filtering score of zero. Their original verifier/error records are preserved.
30
 
31
+ ### Teacher results: pass@k
32
 
33
+ Rates cover **all 2,141 measured tasks before teacher-based filtering**, including tasks excluded from v2. Each model is evaluated separately using its own attempt budget.
34
+
35
+ | Model | Attempts per task | Correct attempts | Tasks solved at least once | Pass@1 | Pass@4 | Pass@8 |
36
+ | --- | ---: | ---: | ---: | ---: | ---: | ---: |
37
+ | Qwen3-30B-A3B-Instruct-2507 | 4 | 3,659 / 8,564 | 1,323 / 2,141 | 42.73% | 61.79% | — |
38
+ | Qwen3-Coder-30B-A3B-Instruct | 8 | 11,371 / 17,128 | 1,924 / 2,141 | 66.39% | 85.43% | 89.86% |
39
+
40
+ Pass@k uses the unbiased estimator from each task's recorded success and attempt counts. Coder's pass@4 above uses all eight attempts; its first four-attempt collection had **86.27% pass@4**. Instruct has no pass@8 measurement. Per-model rates and evaluation scope are saved in [metadata/pass_at_k.json](metadata/pass_at_k.json); [pass_counts.parquet](pass_counts.parquet) contains one row per measured task and model.
41
+
42
+ ### Successful attempts among the 1,958 kept tasks
43
+
44
+ | Successful attempts | Instruct: four attempts | Coder: eight attempts |
45
+ | --- | ---: | ---: |
46
+ | 0 | 635 | 34 |
47
+ | 1 | 288 | 121 |
48
+ | 2 | 254 | 109 |
49
+ | 3 | 261 | 127 |
50
+ | 4 | 520 | 138 |
51
+ | 5 | — | 171 |
52
+ | 6 | — | 239 |
53
+ | 7 | — | 342 |
54
+ | 8 | — | 677 |
55
+
56
+ A zero in one model's column is compatible with retention because the other model succeeded.
57
 
58
  ### Select by successful attempts
59
 
 
63
 
64
  path = hf_hub_download("FWeindel/validated-tasks", "endless_v2/tasks.parquet", repo_type="dataset")
65
  tasks = pq.read_table(path, filters=[("instruct_successes", ">=", 1), ("instruct_successes", "<=", 2)])
66
+ # Coder counts are out of eight attempts:
67
+ coder_tasks = pq.read_table(path, filters=[("coder_successes", ">=", 1), ("coder_successes", "<=", 2)])
68
  ```
69
 
70
+ [metadata/selection.json](metadata/selection.json) records decisions and per-model counts for all 2,144 v1 tasks. [patch.py](patch.py) reproduces the task, archive and pass-count Parquets from pinned v1 data. The `*_graded_attempts` columns count attempts assigned a filtering score, including terminal failures. `instruct_target_attempts` is four and `coder_target_attempts` is eight. The legacy `target_attempts_per_model` column remains four for compatibility with the original Instruct-only schema; it is not Coder's attempt budget.
71
 
72
  ## Traces
73
 
74
+ [Compressed traces](traces/attempts.parquet) include **all 25,692 attempt records**: 8,564 Instruct and 17,128 Coder, successful and failed, across kept and excluded measured tasks. Each row contains the task ID, model, attempt ID, filtering reward, raw verifier reward, current retention flag, result JSON and saved trajectory JSON when available.
75
+
76
+ **One Coder attempt has no saved conversation**; its result/error record remains included and `trajectory_found` is false. All Instruct conversations are present. Missing raw verifier rewards remain null rather than being overwritten with the filtering score. [traces/manifest.json](traces/manifest.json) records counts, per-model results, missing-data counts and the trace Parquet checksum.
77
 
78
  ## Resources
79
 
80
+ Teacher runs used **one H200, 32 CPUs per job and concurrency 10**. Each collection used fifteen jobs, with elapsed allocation times of approximately **55 to 79 minutes**. Coder's second collection started after its first completed successfully. Environment and image versions are inherited from [v1](../endless_v1).
endless_v2/archive.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab1f6de887c5670c84061e31c3ea3c0fce1ac6219490afad23fe4567df9d41a5
3
+ size 3590866
endless_v2/metadata/pass_at_k.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "scope": "All 2,141 measured v1 tasks before teacher-based selection; each model uses its own attempt budget.",
3
+ "models": {
4
+ "instruct": {
5
+ "model": "Qwen/Qwen3-30B-A3B-Instruct-2507",
6
+ "tasks": 2141,
7
+ "attempts_per_task": 4,
8
+ "attempts": 8564,
9
+ "successful_attempts": 3659,
10
+ "solved_tasks": 1323,
11
+ "zero_success_tasks": 818,
12
+ "pass_rates": {
13
+ "pass@1": 0.42725361980383,
14
+ "pass@2": 0.5309045617312782,
15
+ "pass@3": 0.5843063988790285,
16
+ "pass@4": 0.6179355441382531
17
+ }
18
+ },
19
+ "coder": {
20
+ "model": "Qwen/Qwen3-Coder-30B-A3B-Instruct",
21
+ "tasks": 2141,
22
+ "attempts_per_task": 8,
23
+ "attempts": 17128,
24
+ "successful_attempts": 11371,
25
+ "solved_tasks": 1924,
26
+ "zero_success_tasks": 217,
27
+ "pass_rates": {
28
+ "pass@1": 0.6638836992059786,
29
+ "pass@2": 0.7814439180623207,
30
+ "pass@3": 0.8285180489757791,
31
+ "pass@4": 0.8543204110228865,
32
+ "pass@8": 0.8986454927603923
33
+ }
34
+ }
35
+ },
36
+ "selection_summary": {
37
+ "tasks": 2144,
38
+ "solved": 1958,
39
+ "complete": 2141,
40
+ "incomplete": 0,
41
+ "zero_success_both_models": 183,
42
+ "no_recorded_attempt": 3,
43
+ "excluded": 186,
44
+ "previously_kept": 1323,
45
+ "restored": 635,
46
+ "instruct_only_solved_retained": 34
47
+ }
48
+ }
endless_v2/metadata/selection.json CHANGED
The diff for this file is too large to render. See raw diff
 
endless_v2/pass_counts.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a582d131d83d66ae8126f02ede5148cdd06aa1b8d4ace43eb2331a286bcc7e2e
3
+ size 99197
endless_v2/patch.py CHANGED
@@ -1,21 +1,66 @@
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/'metadata/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))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reproduce v2 selection from pinned, unchanged v1 payloads and measured pass counts."""
2
+ import argparse
3
+ import hashlib
4
+ import json
5
  from pathlib import Path
6
+ import pyarrow as pa
7
+ import pyarrow.parquet as pq
8
  from huggingface_hub import hf_hub_download
9
+
10
+ def main():
11
+ ap=argparse.ArgumentParser(description=__doc__)
12
+ ap.add_argument('--out',type=Path,required=True)
13
+ ap.add_argument('--source',type=Path)
14
+ args=ap.parse_args()
15
+ args.out.mkdir(parents=True,exist_ok=True)
16
+ assert not any((args.out/name).exists() for name in ['tasks.parquet','archive.parquet','pass_counts.parquet'])
17
+ selection=json.loads((Path(__file__).parent/'metadata/selection.json').read_text())
18
+ source=args.source or Path(hf_hub_download(selection['repo_id'],selection['source_folder']+'/tasks.parquet',
19
+ revision=selection['source_revision'],repo_type='dataset',cache_dir=args.out/'.source-cache'))
20
+ assert hashlib.sha256(source.read_bytes()).hexdigest()==selection['source_sha256']
21
+ pf=pq.ParquetFile(source)
22
+ fields=['instruct_successes','instruct_graded_attempts','instruct_missing_attempts',
23
+ 'coder_successes','coder_graded_attempts','coder_missing_attempts',
24
+ 'target_attempts_per_model','instruct_target_attempts','coder_target_attempts']
25
+ schema=pf.schema_arrow.remove_metadata()
26
+ for field in fields:schema=schema.append(pa.field(field,pa.int64()))
27
+ kept=[];excluded=[];counts=[];seen=set()
28
+ for batch in pf.iter_batches(batch_size=32):
29
+ for row in batch.to_pylist():
30
+ task=row['path'];v=selection['tasks'][task]
31
+ assert task not in seen and row['content_sha256']==v['content_sha256']
32
+ seen.add(task)
33
+ retain=v['instruct_successes']>0 or v['coder_successes']>0
34
+ assert retain==v['kept']
35
+ row.update({field:v[field] for field in fields})
36
+ if retain:kept.append(row)
37
+ else:
38
+ row.update(archive_stage=6,archive_reason=v['exclusion_reason'],archive_labels=[v['exclusion_reason']])
39
+ excluded.append(row)
40
+ for model,budget in selection['target_attempts'].items():
41
+ if v[model+'_graded_attempts']==budget:
42
+ counts.append({'path':task,'content_sha256':v['content_sha256'],'model':selection['models'][model],
43
+ 'attempts':budget,'graded':budget,'solved':v[model+'_successes'],'retained_v2':retain})
44
+ assert seen==set(selection['tasks'])
45
+ assert len(kept)==selection['summary']['solved'] and len(excluded)==selection['summary']['excluded']
46
+ def metadata(rows):
47
+ image=json.loads(pf.schema_arrow.metadata[b'ot.images.v1']);names={r['path'] for r in rows}
48
+ image['tasks']={k:v for k,v in image['tasks'].items() if k in names}
49
+ bundles={e['bundle'] for task in image['tasks'].values() for e in task['environments']}
50
+ image['bundles']={k:v for k,v in image['bundles'].items() if k in bundles}
51
+ if 'uncached_task_ids' in image:image['uncached_task_ids']=sorted(names-set(image['tasks']))
52
+ image['coverage']={'cached_tasks':len(image['tasks']),'total_tasks':len(names)}
53
+ assert len(image['tasks'])==len(names)
54
+ return {b'ot.images.v1':json.dumps(image).encode(),
55
+ b'ot.release.v2':json.dumps({k:v for k,v in selection.items() if k!='tasks'}).encode()}
56
+ pq.write_table(pa.Table.from_pylist(kept,schema=schema).replace_schema_metadata(metadata(kept)),args.out/'tasks.parquet',compression='zstd')
57
+ archive_schema=schema
58
+ for name,kind in [('archive_stage',pa.int64()),('archive_reason',pa.string()),('archive_labels',pa.list_(pa.string()))]:
59
+ archive_schema=archive_schema.set(archive_schema.get_field_index(name),pa.field(name,kind))
60
+ pq.write_table(pa.Table.from_pylist(excluded,schema=archive_schema).replace_schema_metadata(metadata(excluded)),args.out/'archive.parquet',compression='zstd')
61
+ # Preserve model-first order used in the release pass-count table.
62
+ counts.sort(key=lambda r:(list(selection['models'].values()).index(r['model']),r['path']))
63
+ pq.write_table(pa.Table.from_pylist(counts),args.out/'pass_counts.parquet',compression='zstd')
64
+ print(json.dumps({'kept':len(kept),'excluded':len(excluded),'pass_count_rows':len(counts)}))
65
+
66
+ if __name__=='__main__':main()
endless_v2/tasks.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:977e0ea5376dd03d056c539eed124034d2cfa634d9d8b04e35c3189e751af413
3
- size 17100121
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bd559ec4d60290cf09cda5604b232bc144b20d3734a8621efa031153f99a792
3
+ size 28311796
endless_v2/traces/attempts.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6b6e98e5deaeba08f957e15196d692aa001277e27282f143a10fc53aee8df70
3
- size 17362864
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63dd8ab34fb39a9c0b50ca4f1246b4c21568564cb31c5e7b356d661213847544
3
+ size 76829713
endless_v2/traces/manifest.json CHANGED
@@ -1,8 +1,47 @@
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
  }
 
1
  {
2
+ "attempts": 25692,
3
  "tasks": 2141,
4
+ "models": {
5
+ "instruct": {
6
+ "model": "Qwen/Qwen3-30B-A3B-Instruct-2507",
7
+ "tasks": 2141,
8
+ "attempts_per_task": 4,
9
+ "attempts": 8564,
10
+ "successful_attempts": 3659,
11
+ "solved_tasks": 1323,
12
+ "zero_success_tasks": 818,
13
+ "pass_rates": {
14
+ "pass@1": 0.42725361980383,
15
+ "pass@2": 0.5309045617312782,
16
+ "pass@3": 0.5843063988790285,
17
+ "pass@4": 0.6179355441382531
18
+ },
19
+ "missing_conversations": 0,
20
+ "missing_raw_verifier_rewards": 5
21
+ },
22
+ "coder": {
23
+ "model": "Qwen/Qwen3-Coder-30B-A3B-Instruct",
24
+ "tasks": 2141,
25
+ "attempts_per_task": 8,
26
+ "attempts": 17128,
27
+ "successful_attempts": 11371,
28
+ "solved_tasks": 1924,
29
+ "zero_success_tasks": 217,
30
+ "pass_rates": {
31
+ "pass@1": 0.6638836992059786,
32
+ "pass@2": 0.7814439180623207,
33
+ "pass@3": 0.8285180489757791,
34
+ "pass@4": 0.8543204110228865,
35
+ "pass@8": 0.8986454927603923
36
+ },
37
+ "missing_conversations": 1,
38
+ "missing_raw_verifier_rewards": 10
39
+ }
40
+ },
41
+ "successful_attempts": 15030,
42
+ "missing_conversations": 1,
43
+ "missing_raw_verifier_rewards": 15,
44
+ "scope": "All successful and failed attempts for kept and excluded measured tasks; result records and raw verifier rewards are preserved.",
45
+ "bytes": 76829713,
46
+ "sha256": "63dd8ab34fb39a9c0b50ca4f1246b4c21568564cb31c5e7b356d661213847544"
47
  }