FWeindel commited on
Commit
8eb75cd
·
verified ·
1 Parent(s): a4df902

Publish SETA v2 using verified partial teacher results

Browse files
seta_v2/README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SETA v2
2
+
3
+ ## Dataset stats
4
+
5
+ - **Tasks:** 4,567 native tasks; 1,414 omitted upstream, 46 excluded in v1. **3,107 v1 tasks → 2,150 retained**, all previously patched; **957 temporarily excluded** in v2.
6
+ - **Images:** reuse **10 of v1's 11 cached Apptainer environments**. No additional images or task repairs in v2; original unique image count was not recorded.
7
+
8
+ ## Dataset characteristics
9
+
10
+ <details><summary>Domains</summary>
11
+
12
+ **Data Science and Machine Learning:** data cleaning, analysis, scikit-learn models and reports. **Debugging:** Python/pandas repairs. **System Administration:** shell and system configuration. **Data Processing:** file inventories, policy checks and structured outputs.
13
+
14
+ </details>
15
+ <details><summary>Capabilities</summary>
16
+
17
+ **Specification Adherence:** exact paths, schemas, metrics and constraints. **Exploration:** inspect data, policies and broken scripts. **Error Recovery:** reproduce failures and verify repairs. Labels follow [CLI-Universe](https://arxiv.org/abs/2606.22883v1).
18
+
19
+ </details>
20
+
21
+ Intended benchmark transfer: **Terminal-Bench 2.0, OpenThoughts-TBLite 2.0, DS-1000 mini-200 and BixBench CLI corrections @ Pi**, through terminal workflows, Python data analysis and executable verification.
22
+
23
+ ## Partial-result selection
24
+
25
+ Snapshot: **15 October 2026, 20:57 UTC**. Keep a task as soon as either model records a successful attempt, even if other attempts are unfinished. **811 retained tasks have incomplete results; 1,339 have all 16 graded attempts per model.**
26
+
27
+ | Model | Tasks solved at least once |
28
+ | --- | ---: |
29
+ | Qwen3-30B-A3B-Instruct-2507 | 1,991 |
30
+ | Qwen3-30B-A3B-Thinking | 1,356 |
31
+ | Either model | **2,150** |
32
+
33
+ | Temporary exclusion reason | Tasks |
34
+ | --- | ---: |
35
+ | Complete 16 attempts per model, no success | 364 |
36
+ | Incomplete results, no success recorded yet | 564 |
37
+ | No scored results yet | 29 |
38
+ | Total | **957** |
39
+
40
+ Missing results remain unknown, not failures. The 593 exclusions with missing/incomplete results can be reconsidered as runs finish. A lack of success does not establish a task defect.
41
+
42
+ Build, reference, no-op and rule-based checks carry over from [v1](../camel-ai__SETA-Env_environment-reliable/README.md). Evaluated hashes match v1; retained payloads are unchanged.
43
+
44
+ ## Successful attempts among retained tasks
45
+
46
+ These are observed success counts from up to 16 attempts per model, not complete pass@16 estimates. Zero for one model can include missing results; the other model solved the task.
47
+
48
+ | Successful attempts | Instruct tasks | Thinking tasks |
49
+ | --- | ---: | ---: |
50
+ | 0 | 159 | 794 |
51
+ | 1 | 240 | 271 |
52
+ | 2 | 187 | 145 |
53
+ | 3 | 117 | 91 |
54
+ | 4 | 112 | 91 |
55
+ | 5 | 119 | 74 |
56
+ | 6 | 95 | 59 |
57
+ | 7 | 94 | 71 |
58
+ | 8 | 86 | 46 |
59
+ | 9 | 70 | 57 |
60
+ | 10 | 93 | 61 |
61
+ | 11 | 103 | 63 |
62
+ | 12 | 79 | 56 |
63
+ | 13 | 118 | 63 |
64
+ | 14 | 102 | 61 |
65
+ | 15 | 136 | 73 |
66
+ | 16 | 240 | 74 |
67
+
68
+ ## Files and selecting tasks
69
+
70
+ `tasks.parquet` contains retained payloads and each model's successes, graded attempts and missing attempts. `assets/selection.json` records every v1 task's results, selection reason and the pinned v1 revision. Excluded payloads remain in v1; no duplicate archive Parquet is uploaded. `patch.py` reproduces this snapshot.
71
+
72
+ ```python
73
+ import pyarrow.parquet as pq
74
+ # Observed exactly one Instruct success, including incomplete runs.
75
+ subset = pq.read_table("tasks.parquet", filters=[("instruct_successes", "=", 1)])
76
+ # Add ("instruct_graded_attempts", "=", 16) to require a complete Instruct run.
77
+ pq.write_table(subset, "selected.parquet", compression="zstd")
78
+ ```
79
+
80
+ Traces are not included in this snapshot.
81
+
82
+ ## Runtime
83
+
84
+ Apptainer **1.5.4**, Python **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).
seta_v2/assets/selection.json ADDED
The diff for this file is too large to render. See raw diff
 
seta_v2/patch.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reproduce the frozen SETA v2 partial-result selection. Requires pyarrow and huggingface_hub."""
2
+ import argparse,copy,hashlib,json
3
+ from pathlib import Path
4
+ import pyarrow as pa
5
+ import pyarrow.parquet as pq
6
+ from huggingface_hub import hf_hub_download
7
+ p=argparse.ArgumentParser(description=__doc__);p.add_argument('--out',type=Path,required=True);p.add_argument('--source',type=Path);a=p.parse_args()
8
+ m=json.loads((Path(__file__).parent/'assets/selection.json').read_text());a.out.mkdir(parents=True,exist_ok=True)
9
+ assert not (a.out/'tasks.parquet').exists(),'Choose an empty output directory'
10
+ 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'))
11
+ assert hashlib.sha256(f.read_bytes()).hexdigest()==m['source_sha256']
12
+ t=pq.read_table(f);rows=[];schema=t.schema.remove_metadata()
13
+ for prefix in ['instruct','thinking']:
14
+ for suffix in ['successes','graded_attempts','missing_attempts']:
15
+ schema=schema.append(pa.field(prefix+'_'+suffix,pa.int64()))
16
+ schema=schema.append(pa.field('target_attempts_per_model',pa.int64()))
17
+ for r in t.to_pylist():
18
+ s=m['tasks'][r['path']];assert r['content_sha256']==s['content_sha256']
19
+ if not s['kept']:continue
20
+ for prefix,model in [('instruct','qwen3-30b-instruct-2507'),('thinking','qwen3-30b-thinking')]:
21
+ v=s['models'][model];assert v['successful_attempts']==sum(x==1 for x in v['rewards'])
22
+ assert v['graded_attempts']==sum(x is not None for x in v['rewards'])
23
+ assert v['missing_attempts']==16-v['graded_attempts']
24
+ for suffix,key in [('successes','successful_attempts'),('graded_attempts','graded_attempts'),('missing_attempts','missing_attempts')]:r[prefix+'_'+suffix]=v[key]
25
+ assert r['instruct_successes'] or r['thinking_successes']
26
+ r['target_attempts_per_model']=16;rows.append(r)
27
+ assert len(rows)==2150
28
+ names={r['path'] for r in rows};images=json.loads(t.schema.metadata[b'ot.images.v1']);images['tasks']={k:v for k,v in images['tasks'].items() if k in names};assert set(images['tasks'])==names
29
+ bundles={e['bundle'] for v in images['tasks'].values() for e in v['environments']};images['bundles']={k:v for k,v in images['bundles'].items() if k in bundles};images['missing']=[]
30
+ meta={b'ot.images.v1':json.dumps(images).encode(),b'ot.release.v2':json.dumps({k:v for k,v in m.items() if k!='tasks'}).encode()}
31
+ pq.write_table(pa.Table.from_pylist(rows,schema=schema).replace_schema_metadata(meta),a.out/'tasks.parquet',compression='zstd')
32
+ print(json.dumps({'retained':len(rows),'images_reused':len(bundles)}))
seta_v2/tasks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d447ca273c69e00b92abb677e6ae710d8e13bf345808b96f44c849ace5aa505
3
+ size 224982161