FWeindel commited on
Commit
48d0c6d
·
verified ·
1 Parent(s): 3acc729

Include SWE LEGO rerun: 1245 kept tasks, 96 new traces and refreshed statistics

Browse files
swelego_v2/README.md CHANGED
@@ -1,34 +1,39 @@
1
  # SWE-Lego v2
2
 
3
- Results snapshot: **2026-10-18T21:28:57.295598+00:00**.
4
-
5
- ## Published dataset stats
6
 
7
  - **v1 tasks:** 4,277
8
- - **Kept:** 1,240 (solved at least once)
9
- - **Excluded:** 3,037 (no recorded success in this published snapshot)
10
- - **Tasks with recorded attempts:** 4,265 / 4,277
11
- - **Recorded attempts:** 34,120
12
- - **Available conversations:** 18,582
 
13
  - **Missing conversations:** 15,538
14
  - **Unknown attempt outcomes:** 1,331 across 450 tasks
15
- - **Tasks with all eight classified outcomes:** 3,815 / 4,277
 
 
 
 
16
 
17
  ## Pass@8 collection
18
 
19
- | Model | Tasks attempted | Recorded attempts | Tasks with all 8 outcomes | Tasks solved |
20
  | --- | ---: | ---: | ---: | ---: |
21
- | Qwen3-30B Instruct | 4,265 / 4,277 | 34,120 | 3,815 / 4,277 | 1,240 |
22
 
23
- The table describes the files currently published in this folder. It does not yet provide complete dataset-wide pass@8 results.
24
 
25
- **Rerun update (2026-10-20):** The remaining 12 tasks finished on Helma on October 19. All 96 attempts have saved trajectories; five tasks were solved at least once. One attempt ended with `TmuxSessionEndedError`, has no verifier grade, and scores zero under the recorded terminal-error policy. These rerun results are verified locally but are **not yet included in the published task table, traces, or plots**. Incorporating them would bring the kept count to **1,245** and recorded attempts to **34,216**.
 
 
26
 
27
  ### Successful attempts among kept tasks
28
 
29
  | Successful attempts | Instruct |
30
  | --- | ---: |
31
- | 1/8 | 463 |
32
  | 2/8 | 221 |
33
  | 3/8 | 144 |
34
  | 4/8 | 133 |
@@ -37,34 +42,35 @@ The table describes the files currently published in this folder. It does not ye
37
  | 7/8 | 58 |
38
  | 8/8 | 72 |
39
 
40
- ## Reproduce and select tasks
41
 
42
- `patch.py` rebuilds `tasks.parquet` from v1 at revision `819fe8c3809d9a393502017055c21057b21f02fd` and the accompanying `metadata/selection.json`. The pinned source SHA-256 is verified. Task payloads are current v1 payloads; traces retain the version hashes on which each attempt was evaluated.
43
 
44
- 31 kept tasks have traces from earlier task versions. The downloadable Parquet contains the current v1 instructions.
45
 
46
- ```python
47
- import pyarrow.parquet as pq
48
- subset = pq.read_table("tasks.parquet", filters=[("instruct_successes", "=", 1)])
49
- ```
50
 
51
- ## Evidence and trajectories
 
 
52
 
53
- The combined `traces/` files contain **34,120 unique attempts** from kept and excluded tasks, including the newer recovery results. Saved conversations are available for **18,582** attempts. Original result JSON is preserved where available, alongside the raw verifier reward, outcome reward, and current `retained_v2` flag.
54
 
55
- ### Missing evidence in the current HF files
 
 
56
 
57
- - **15,538 attempt rows lack a saved conversation.** Their attempt records are present; a missing conversation does not by itself mean that the verifier outcome is unknown.
58
- - **1,579 attempts lack a raw verifier grade.** Of these, **248** already have recorded terminal-error evidence and count as reward zero. The other **1,331** have unknown outcomes and no original result JSON in the published trace rows. They remain unknown, rather than being assigned zero without evidence.
59
- - **12 tasks have no attempt rows in this published snapshot.** Their completed rerun results are described above and await incorporation.
60
 
61
- The 1,331 unknown outcomes affect 450 tasks. Together with the 12 rerun tasks not yet incorporated, this leaves 462 tasks without eight classified outcomes in the published snapshot. The historical evidence gaps overlap and should not be added together. Recovery from the original run archives remains pending; the empty fields are not proof that those original traces were lost.
 
 
 
62
 
63
- [Trace statistics](trace_stats/README.md) and plots describe the existing published traces, including their missing evidence. They have not yet been regenerated with the 96 rerun attempts.
64
 
65
  ## Runtime
66
 
67
- - **Versions:** Apptainer **1.5.4**, Python **3.12.14**, Harbor **0.8.1**.
68
- - **Implementation:** [Marin Harbor `7faf878c14b6`](https://github.com/marin-community/harbor/tree/7faf878c14b6d72737579ec936ebf5f74ba3194d) + [our runtime patches](https://github.com/MLI-lab/OT-next-data/tree/main/harbor_patches).
69
 
70
  Not yet checked with the repository-leak checks added on 2026-10-17 (leftover git history and file timestamps that could reveal the solution).
 
1
  # SWE-Lego v2
2
 
3
+ ## Dataset stats
 
 
4
 
5
  - **v1 tasks:** 4,277
6
+ - **Kept:** 1,245 (solved at least once)
7
+ - **Not selected:** 3,032 (no recorded success)
8
+ - **Newly kept in this update:** 5
9
+ - **Tasks with recorded attempts:** 4,277 / 4,277
10
+ - **Recorded attempts:** 34,216
11
+ - **Available conversations:** 18,678
12
  - **Missing conversations:** 15,538
13
  - **Unknown attempt outcomes:** 1,331 across 450 tasks
14
+ - **Tasks with all eight classified outcomes:** 3,827 / 4,277
15
+ - **Task payload changes:** 0
16
+ - **v1 base revision:** `819fe8c3809d9a393502017055c21057b21f02fd`
17
+
18
+ Results snapshot: **2026-10-20T19:39:53.280360+00:00**. This release selects tasks with at least one observed teacher success and preserves the pinned v1 task payloads.
19
 
20
  ## Pass@8 collection
21
 
22
+ | Model | Tasks attempted | Recorded attempts | Tasks with all 8 classified outcomes | Tasks solved |
23
  | --- | ---: | ---: | ---: | ---: |
24
+ | Qwen3-30B Instruct | 4,277 / 4,277 | 34,216 | 3,827 / 4,277 | 1,245 |
25
 
26
+ The teacher is `Qwen/Qwen3-30B-A3B-Instruct-2507`, using Terminus-2 and eight attempts per task. The completed 12-task Helma rerun is now included: **96 attempts with saved trajectories and five newly solved tasks**. One rerun attempt ended with `TmuxSessionEndedError`; its raw verifier grade remains missing and its outcome reward is zero under the terminal-error policy. [Rerun selection](metadata/rerun-selection-20261020.json) and [stage-6/7 reports and contract](metadata/rerun-reports-20261020.tar.gz) preserve the evidence.
27
 
28
+ The rerun preserves temperature 0.7, top-p 0.8, top-k 20, a 32,768-token context and an 8,192-token maximum response. Stage-6 and stage-7 reports are complete for all 12 rerun tasks. These teacher stages do not establish a new full datasource-validation result.
29
+
30
+ Dataset-wide pass@k estimates remain unavailable because 1,331 historical outcomes are unknown. They are not counted as failures.
31
 
32
  ### Successful attempts among kept tasks
33
 
34
  | Successful attempts | Instruct |
35
  | --- | ---: |
36
+ | 1/8 | 468 |
37
  | 2/8 | 221 |
38
  | 3/8 | 144 |
39
  | 4/8 | 133 |
 
42
  | 7/8 | 58 |
43
  | 8/8 | 72 |
44
 
45
+ Counts reflect recorded successes; unknown historical outcomes remain unknown.
46
 
47
+ ## Evidence and trajectories
48
 
49
+ The combined `traces/` files contain **34,216 unique attempt records**, including kept and unselected tasks. **18,678** have saved conversations. Original result JSON is preserved where available, together with raw verifier rewards, outcome rewards, task-version hashes and the current selection flag.
50
 
51
+ ### Missing historical evidence in the HF files
 
 
 
52
 
53
+ - **15,538 attempt rows lack a saved conversation.** Their attempt records are present. A missing conversation does not by itself mean that the verifier outcome is unknown.
54
+ - **1,580 attempts lack a raw verifier grade.** Of these, **249** have classified terminal-error outcomes and count as reward zero. The other **1,331** have unknown outcomes and no original result JSON in the trace rows; they remain unknown.
55
+ - **450 tasks lack eight classified outcomes** because of these historical unknowns. All 4,277 tasks now have eight attempt records; the 12-task rerun is no longer pending.
56
 
57
+ These gaps overlap and should not be added together. Recovery from original run archives remains pending; empty fields do not establish that the original traces were lost.
58
 
59
+ [Trace statistics](trace_stats/README.md) and plots have been regenerated from this published snapshot, including the 96 rerun attempts. Missing measurements are kept separate from measured outcomes.
60
+
61
+ ## Reproduce and select tasks
62
 
63
+ `patch.py` rebuilds `tasks.parquet` from v1 at revision `819fe8c3809d9a393502017055c21057b21f02fd` and `metadata/selection.json`, verifying the pinned source SHA-256. Task payloads are unchanged. Traces identify the version evaluated; **31 kept tasks** have traces from earlier task versions.
 
 
64
 
65
+ ```python
66
+ import pyarrow.parquet as pq
67
+ subset = pq.read_table("tasks.parquet", filters=[("instruct_successes", "=", 1)])
68
+ ```
69
 
70
+ The `instruct_graded_attempts` column counts classified outcomes, including recorded terminal errors scored zero. `instruct_verifier_graded_attempts` counts actual verifier grades, and `instruct_missing_attempts` counts unknown outcomes out of eight.
71
 
72
  ## Runtime
73
 
74
+ The Helma rerun used Apptainer **1.5.4**, Python **3.12.14** and Harbor **0.8.1**, with [Marin Harbor `7faf878c14b6`](https://github.com/marin-community/harbor/tree/7faf878c14b6d72737579ec936ebf5f74ba3194d) and [our runtime patches](https://github.com/MLI-lab/OT-next-data/tree/main/harbor_patches). Measured token usage, commands and runtime distributions are in the trace statistics.
 
75
 
76
  Not yet checked with the repository-leak checks added on 2026-10-17 (leftover git history and file timestamps that could reveal the solution).
swelego_v2/metadata/partial-refresh-20261020.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "baseline_revision": "31605242e5cfb104b8c28c7b28521297db65e291",
3
+ "snapshot_utc": "2026-10-20T19:39:53.280360+00:00",
4
+ "summary": {
5
+ "instruct": {
6
+ "attempts": 34216,
7
+ "graded": 32885,
8
+ "raw_graded": 32636,
9
+ "complete": 3827,
10
+ "evaluated": 4277,
11
+ "solved": 1245
12
+ },
13
+ "tasks": 4277,
14
+ "kept": 1245,
15
+ "previous_kept": 1240
16
+ },
17
+ "policy": "Recorded terminal errors score zero; raw verifier rewards are preserved. Historical unknown outcomes remain unknown.",
18
+ "trace_policy": "All previous selected attempt IDs plus the 96 attempts from the completed 12-task rerun. No failed submissions or duplicate race copies are added."
19
+ }
swelego_v2/metadata/rerun-reports-20261020.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18de9568b31fc4d58e3214e0dd22a4cd915231d4b8e0d6a30fbad1ae050a8231
3
+ size 114927
swelego_v2/metadata/rerun-selection-20261020.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "shard": 18,
4
+ "stage6": "/hnvme/workspace/y500bb12-optiagent/runs/swelego-helma-20261016/full/array/shards/0018/report/stage-6-36e9fdf426ba.json",
5
+ "stage7": "/hnvme/workspace/y500bb12-optiagent/runs/swelego-helma-20261016/full/array/shards/0018/report/stage-7-c94ab0464002.json",
6
+ "contract_sha256": "927e4ea958217477f482306d6d69e1de24712fa3670ea5b685fbf22a22628937",
7
+ "tasks": [
8
+ "DigitalSlideArchive__tifftools-69",
9
+ "deshima-dev__deshima-sensitivity-76",
10
+ "matplotlib__matplotlib-18446",
11
+ "scrapy__scrapy-5384"
12
+ ],
13
+ "attempts": 32
14
+ },
15
+ {
16
+ "shard": 19,
17
+ "stage6": "/hnvme/workspace/y500bb12-optiagent/runs/swelego-helma-20261016/full/array/shards/0019/report/stage-6-cfc5fe5620d2.json",
18
+ "stage7": "/hnvme/workspace/y500bb12-optiagent/runs/swelego-helma-20261016/full/array/shards/0019/report/stage-7-3c5dadc2ae00.json",
19
+ "contract_sha256": "927e4ea958217477f482306d6d69e1de24712fa3670ea5b685fbf22a22628937",
20
+ "tasks": [
21
+ "Dorthu__openapi3-30",
22
+ "deshima-dev__deshima-sensitivity-81",
23
+ "matplotlib__matplotlib-18540",
24
+ "scrapy__scrapy-5482"
25
+ ],
26
+ "attempts": 32
27
+ },
28
+ {
29
+ "shard": 96,
30
+ "stage6": "/hnvme/workspace/y500bb12-optiagent/runs/swelego-helma-20261016/full/array/shards/0096/report/stage-6-0b92535552c2.json",
31
+ "stage7": "/hnvme/workspace/y500bb12-optiagent/runs/swelego-helma-20261016/full/array/shards/0096/report/stage-7-52d7d70f5ecb.json",
32
+ "contract_sha256": "927e4ea958217477f482306d6d69e1de24712fa3670ea5b685fbf22a22628937",
33
+ "tasks": [
34
+ "audeering__auglib-24",
35
+ "iterative__dvc-4075",
36
+ "pymor__pymor-1296",
37
+ "tornadoweb__tornado-2075"
38
+ ],
39
+ "attempts": 32
40
+ }
41
+ ]
swelego_v2/metadata/selection.json CHANGED
The diff for this file is too large to render. See raw diff
 
swelego_v2/metadata/verification-20261020.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "unique_attempts": 34216,
3
+ "kept": 1245,
4
+ "source_payloads_unchanged": true,
5
+ "prior_outcomes_unchanged": true,
6
+ "reproduction_identical": true,
7
+ "missing_trajectories": 15538,
8
+ "raw_missing": 1580,
9
+ "unknown": 1331
10
+ }
swelego_v2/tasks.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:48190112ae7d847b16ece3b180d78e4ce074bc6aee6c2cd6f690a1bb97b691bf
3
- size 5595470
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095268bf849c864428e9fa3922f6243051cbb7e490e8a369a3d8b5394f51364a
3
+ size 5621360
swelego_v2/trace_stats/README.md CHANGED
@@ -1,13 +1,13 @@
1
  # Trajectory statistics
2
 
3
- 34,120 attempts across 4,265 tasks of SWE LEGO v2, kept and excluded, each counted once. Task success counts are in the [dataset overview](../README.md).
4
 
5
  | Metric | instruct |
6
  | --- | ---: |
7
- | Recorded attempts | 34,120 |
8
  | Median agent turns | 15 |
9
- | Median input tokens per attempt | 96,305 |
10
- | Median output tokens per attempt | 4,806 |
11
  | Median agent runtime (seconds) | 101 |
12
  | Median verifier runtime (seconds) | 9 |
13
 
@@ -31,4 +31,4 @@ Per-model plots: [instruct](plots/instruct-trace-commands.png), [instruct](plots
31
  - [Per-task metrics](data/per_task.parquet) and [per-attempt metrics](data/per_attempt.parquet), with nested metrics stored as JSON.
32
  - [Provenance](data/provenance.json): source files and deduplication.
33
 
34
- Attempts without a saved conversation: 15,538; without a verifier reward: 1,579. Their missing measurements stay empty.
 
1
  # Trajectory statistics
2
 
3
+ 34,216 attempts across 4,277 tasks of SWE LEGO v2, kept and excluded, each counted once. Task success counts are in the [dataset overview](../README.md).
4
 
5
  | Metric | instruct |
6
  | --- | ---: |
7
+ | Recorded attempts | 34,216 |
8
  | Median agent turns | 15 |
9
+ | Median input tokens per attempt | 96,423 |
10
+ | Median output tokens per attempt | 4,814 |
11
  | Median agent runtime (seconds) | 101 |
12
  | Median verifier runtime (seconds) | 9 |
13
 
 
31
  - [Per-task metrics](data/per_task.parquet) and [per-attempt metrics](data/per_attempt.parquet), with nested metrics stored as JSON.
32
  - [Provenance](data/provenance.json): source files and deduplication.
33
 
34
+ Attempts without a saved conversation: 15,538; without a verifier reward: 1,580. Their missing measurements stay empty.
swelego_v2/trace_stats/data/per_attempt.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:501077608a522cecfb0448321437e50341f543845976cbfaffd6d035d1bc8060
3
- size 3966497
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4811265ee47cf5dd1f4ef74fd1eec482452d4d8d9b1fa5b7e95799744c073103
3
+ size 3982459
swelego_v2/trace_stats/data/per_task.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb398eb642a2b8969a1d2ea19a9835fc50e864ef0e75f4e857335d08c4637695
3
- size 1360470
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16296906f68af06b4b4a2802e051321dd4abfbb8fddbd4c8b0b3dcc888fd9fcd
3
+ size 1368772
swelego_v2/trace_stats/data/provenance.json CHANGED
@@ -1607,6 +1607,12 @@
1607
  "rows": 72,
1608
  "unique_rows_added": 72,
1609
  "sha256": "dcfbd54a353f70966448b9cac5f4f110f9820d6d77e918e0ecfb3ba6c6678e16"
 
 
 
 
 
 
1610
  }
1611
  ],
1612
  "figures": {
 
1607
  "rows": 72,
1608
  "unique_rows_added": 72,
1609
  "sha256": "dcfbd54a353f70966448b9cac5f4f110f9820d6d77e918e0ecfb3ba6c6678e16"
1610
+ },
1611
+ {
1612
+ "file": "traces/part-0267.parquet",
1613
+ "rows": 96,
1614
+ "unique_rows_added": 96,
1615
+ "sha256": "f67486acb73a42ba5a4961db60bf9905fd7a024d37d97f6f2117dfb6b3f9e82c"
1616
  }
1617
  ],
1618
  "figures": {
swelego_v2/trace_stats/data/summary.json CHANGED
The diff for this file is too large to render. See raw diff
 
swelego_v2/trace_stats/plots/all-models-trace-commands.png CHANGED

Git LFS Details

  • SHA256: 83b15066ad7d042d925548ad0a569debe2e5015f25f3c9a7d1747a339abd0338
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB

Git LFS Details

  • SHA256: f2175403c876e4f741d74c983599a2ac3770a0d23a20ac3bfc76361df99bdc7c
  • Pointer size: 131 Bytes
  • Size of remote file: 272 kB
swelego_v2/trace_stats/plots/all-models-trace-distributions.png CHANGED

Git LFS Details

  • SHA256: 47faaa5088f99766e4664f89065e44691dd9b6e284b8ac6046d974106603614a
  • Pointer size: 131 Bytes
  • Size of remote file: 224 kB

Git LFS Details

  • SHA256: 595b353c680c8d53cc6150285c01a25ec8b72de6f70604d306ed941307ae75b7
  • Pointer size: 131 Bytes
  • Size of remote file: 228 kB
swelego_v2/trace_stats/plots/all-models-trace-outcomes.png CHANGED

Git LFS Details

  • SHA256: afd6d54199d41a17a74317f9272e99de2a42939d3e9086c86738a8fc43d2f73b
  • Pointer size: 130 Bytes
  • Size of remote file: 63.4 kB

Git LFS Details

  • SHA256: 75d6fa4af1f784c1807e2b1f30119d33cff4a8cda27f6cdff82f0258e6d95da9
  • Pointer size: 130 Bytes
  • Size of remote file: 62.5 kB
swelego_v2/trace_stats/plots/instruct-trace-commands.png CHANGED

Git LFS Details

  • SHA256: 83b15066ad7d042d925548ad0a569debe2e5015f25f3c9a7d1747a339abd0338
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB

Git LFS Details

  • SHA256: f2175403c876e4f741d74c983599a2ac3770a0d23a20ac3bfc76361df99bdc7c
  • Pointer size: 131 Bytes
  • Size of remote file: 272 kB
swelego_v2/trace_stats/plots/instruct-trace-distributions.png CHANGED

Git LFS Details

  • SHA256: 47faaa5088f99766e4664f89065e44691dd9b6e284b8ac6046d974106603614a
  • Pointer size: 131 Bytes
  • Size of remote file: 224 kB

Git LFS Details

  • SHA256: 595b353c680c8d53cc6150285c01a25ec8b72de6f70604d306ed941307ae75b7
  • Pointer size: 131 Bytes
  • Size of remote file: 228 kB
swelego_v2/trace_stats/plots/instruct-trace-outcomes.png CHANGED

Git LFS Details

  • SHA256: afd6d54199d41a17a74317f9272e99de2a42939d3e9086c86738a8fc43d2f73b
  • Pointer size: 130 Bytes
  • Size of remote file: 63.4 kB

Git LFS Details

  • SHA256: 75d6fa4af1f784c1807e2b1f30119d33cff4a8cda27f6cdff82f0258e6d95da9
  • Pointer size: 130 Bytes
  • Size of remote file: 62.5 kB
swelego_v2/traces/manifest.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "snapshot_utc": "2026-10-18T21:28:57.295598+00:00",
3
  "counts": {
4
- "attempts": 34120,
5
  "missing_trajectories": 15538,
6
- "raw_missing": 1579,
7
- "terminal_errors_zero": 248,
8
  "unknown_outcomes": 1331
9
  },
10
  "reward_policy": "terminal-errors-zero-v2",
11
- "selection": "Combined unique attempts for the pass8 collection, including the recovered Capella attempts. Task version hashes identify the evaluated payloads."
12
  }
 
1
  {
2
+ "snapshot_utc": "2026-10-20T19:39:53.280360+00:00",
3
  "counts": {
4
+ "attempts": 34216,
5
  "missing_trajectories": 15538,
6
+ "raw_missing": 1580,
7
+ "terminal_errors_zero": 249,
8
  "unknown_outcomes": 1331
9
  },
10
  "reward_policy": "terminal-errors-zero-v2",
11
+ "selection": "All previous selected attempt IDs plus the 96 attempts from the completed 12-task rerun. No failed submissions or duplicate race copies are added."
12
  }
swelego_v2/traces/part-0267.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67486acb73a42ba5a4961db60bf9905fd7a024d37d97f6f2117dfb6b3f9e82c
3
+ size 1300209