FWeindel commited on
Commit
f6e4967
·
verified ·
1 Parent(s): a7b7465

Clarify dataset and trace documentation; improve plots and add command distributions

Browse files
README.md CHANGED
@@ -29,31 +29,29 @@ configs:
29
  Datasets repaired and filtered using the [OT-next-data validation protocol](https://github.com/MLI-lab/OT-next-data/blob/main/validation/PROTOCOL.md).
30
 
31
  - **V1:** environment reliability and rule-based task-quality repairs. Build/setup, no-op and reference checks where reference solutions exist.
32
- - **V2:** retain tasks solved at least once by an evaluated model. Includes partial results where a success is already recorded; each README lists models, attempt counts and coverage.
33
 
34
  ## Dataset sizes and composition
35
 
36
  **V1: 42,166 kept, patched tasks across 8 data sources.**
37
 
38
- **V2: 7,629 tasks solved at least once across the same 8 data sources.** V2 is a subset of V1, not additional tasks.
39
 
40
  Percentages are each source's share of that version's total in the current published snapshots.
41
 
42
  | Dataset | V1 tasks | Share of V1 | V2 tasks | Share of V2 |
43
  | --- | ---: | ---: | ---: | ---: |
44
  | BugsInPy | [489](bugsinpy_v1) | 1.16% | [65](bugsinpy_v2) | 0.85% |
45
- | CrossCodeEval | [6,710](crosscodeeval_v1) | 15.91% | [863](crosscodeeval_v2) | 11.31% |
46
- | TermiGen | [3,336](termigen_v1) | 7.91% | [2,277](termigen_v2) | 29.85% |
47
- | SETA | [3,107](seta_v1) | 7.37% | [2,150](seta_v2) | 28.18% |
48
- | CalibForge | [5,317](calibforge_v1) | 12.61% | [84](calibforge_v2) | 1.10% |
49
- | ScaleSWE | [16,786](scaleswe_v1) | 39.81% | [292](scaleswe_v2) | 3.83% |
50
- | SWE-Lego | [4,277](swelego_v1) | 10.14% | [575](swelego_v2) | 7.54% |
51
- | EndlessTerminals | [2,144](endless_v1) | 5.08% | [1,323](endless_v2) | 17.34% |
52
- | **Total** | **42,166** | **100%** | **7,629** | **100%** |
53
 
54
- Percentages may not sum to exactly 100% due to rounding.
55
-
56
- `tasks.parquet` contains kept tasks. V1 includes `archive.parquet`; V2 exclusions can be recovered from V1 using the selection manifest. V2 reuses V1 images. ScaleSWE uses its original Docker Hub images, with optional Apptainer caches.
57
 
58
  ## Download tasks and images
59
 
@@ -68,6 +66,21 @@ snapshot_download(
68
  )
69
  ```
70
 
71
- Image metadata and reproduction scripts pin immutable source revisions. Their historical paths remain valid at those revisions despite the folder renames on main.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
- CalibForge's pilot LLM-review results are in [the GitHub review JSON](https://github.com/MLI-lab/OT-next-data/blob/main/data/calibforge/stage2-review-171/reviews.json). LLM-judge filtering has not been applied across the full release.
 
29
  Datasets repaired and filtered using the [OT-next-data validation protocol](https://github.com/MLI-lab/OT-next-data/blob/main/validation/PROTOCOL.md).
30
 
31
  - **V1:** environment reliability and rule-based task-quality repairs. Build/setup, no-op and reference checks where reference solutions exist.
32
+ - **V2:** keep tasks solved at least once by an evaluated model. Includes partial results where a success is already recorded; each README lists models, attempt counts and coverage.
33
 
34
  ## Dataset sizes and composition
35
 
36
  **V1: 42,166 kept, patched tasks across 8 data sources.**
37
 
38
+ **V2: 7,684 tasks solved at least once across the same 8 data sources.** V2 is a subset of V1, not additional tasks.
39
 
40
  Percentages are each source's share of that version's total in the current published snapshots.
41
 
42
  | Dataset | V1 tasks | Share of V1 | V2 tasks | Share of V2 |
43
  | --- | ---: | ---: | ---: | ---: |
44
  | BugsInPy | [489](bugsinpy_v1) | 1.16% | [65](bugsinpy_v2) | 0.85% |
45
+ | CrossCodeEval | [6,710](crosscodeeval_v1) | 15.91% | [863](crosscodeeval_v2) | 11.23% |
46
+ | TermiGen | [3,336](termigen_v1) | 7.91% | [2,277](termigen_v2) | 29.63% |
47
+ | SETA | [3,107](seta_v1) | 7.37% | [2,205](seta_v2) | 28.70% |
48
+ | CalibForge | [5,317](calibforge_v1) | 12.61% | [84](calibforge_v2) | 1.09% |
49
+ | ScaleSWE | [16,786](scaleswe_v1) | 39.81% | [292](scaleswe_v2) | 3.80% |
50
+ | SWE-Lego | [4,277](swelego_v1) | 10.14% | [575](swelego_v2) | 7.48% |
51
+ | EndlessTerminals | [2,144](endless_v1) | 5.08% | [1,323](endless_v2) | 17.22% |
52
+ | **Total** | **42,166** | **100%** | **7,684** | **100%** |
53
 
54
+ `tasks.parquet` contains kept tasks. V1 includes `archive.parquet`. Tasks left out of V2 remain in V1; `metadata/selection.json` lists which tasks were kept. V2 reuses V1 images. ScaleSWE uses its original Docker Hub images, with optional Apptainer caches.
 
 
55
 
56
  ## Download tasks and images
57
 
 
66
  )
67
  ```
68
 
69
+ ## Trace stats
70
+
71
+ [SETA trajectory statistics and plots](seta_v2/trace_stats/README.md) cover turns, tokens, elapsed time, commands and termination outcomes.
72
+
73
+ Each attempt gets one termination label automatically from the harness stop reason and recorded exception type. No LLM judge assigns these labels. Termination describes why the agent stopped; the verifier reward records whether its work passed.
74
+
75
+ | Outcome | Meaning |
76
+ | --- | --- |
77
+ | Task complete | The agent declared and confirmed completion; verification can still fail. |
78
+ | tmux session closed | The terminal session disappeared before normal completion confirmation. |
79
+ | Task timeout | The agent exceeded its allowed runtime. |
80
+ | Repeated output truncation | Three consecutive truncated responses could not be recovered into usable responses. |
81
+ | Context recovery failure | The harness failed to recover usable context for another model request. |
82
+ | Other limits | A recorded turn, context, output or task-memory limit stopped the agent. |
83
+ | Error | An exception stopped the run without a more specific termination label. |
84
+ | Not recorded | No termination reason was recorded. |
85
 
86
+ Errors are also grouped by component: **environment/terminal** (container or tmux errors, which may be agent-caused), **verifier** (checking failed to run or finish normally, not a normal reward of 0), **model server** (model API or serving failures), and **other** (unmapped exceptions). An attempt can have multiple exceptions and appear in several error groups; this panel covers all attempts, not just the “Error” termination bar.
seta_v2/trace_stats/README.md CHANGED
@@ -15,16 +15,30 @@ Medians use recorded measurements only.
15
 
16
  ## Plots
17
 
18
- Combined distributions of turns, tokens, context use and runtime:
19
 
20
  ![Trace measurements](plots/all-models-trace-distributions.png)
21
 
 
 
 
 
 
 
22
  Termination reasons and recorded error categories:
23
 
24
  ![Trace outcomes](plots/all-models-trace-outcomes.png)
25
 
26
  Model-specific plots: [Instruct measurements](plots/qwen3-30b-instruct-2507-trace-distributions.png), [Instruct outcomes](plots/qwen3-30b-instruct-2507-trace-outcomes.png), [Thinking measurements](plots/qwen3-30b-thinking-trace-distributions.png), [Thinking outcomes](plots/qwen3-30b-thinking-trace-outcomes.png).
27
 
 
 
 
 
 
 
 
 
28
  ## Data
29
 
30
  - [Summary](data/summary.json): overall and per-model statistics.
@@ -38,3 +52,9 @@ The statistics include the published traces and completed recovery evidence. The
38
  The two `context_recovery_failure` attempts hit a harness recovery bug: repeated truncated-response retries exhausted the remaining context and requested zero output tokens. They are not normal context-limit stops.
39
 
40
  “tmux session closed” means the agent terminal disappeared before normal completion confirmation. The raw stop reason remains `session_ended`. All 649 attempts were verified: 53 passed and 596 failed. The [closure audit](data/tmux_session_audit.json) records the command evidence and unresolved cases.
 
 
 
 
 
 
 
15
 
16
  ## Plots
17
 
18
+ Turns, token totals and elapsed time per attempt:
19
 
20
  ![Trace measurements](plots/all-models-trace-distributions.png)
21
 
22
+ Token axes use scientific notation (for example, `1e5` means 100,000). Agent elapsed time covers the whole agent phase, including model calls, terminal work and waits; verifier elapsed time covers the checking phase.
23
+
24
+ The largest-turn panel shows the largest recorded input-plus-output token total for a turn. A turn can include several model calls during recovery. The older `peak_context_tokens` and `peak_context_fraction` fields therefore do not measure actual context occupancy: a ratio of 2 means a recorded turn totaled twice the configured context size, not that one request used twice the context window.
25
+
26
+ For samples of at least 100 attempts, a panel zooms to the 99th percentile when the maximum is more than 1.5 times that percentile. Its title reports how many values lie beyond the displayed range; full values remain in the data. Otherwise it shows the full range.
27
+
28
  Termination reasons and recorded error categories:
29
 
30
  ![Trace outcomes](plots/all-models-trace-outcomes.png)
31
 
32
  Model-specific plots: [Instruct measurements](plots/qwen3-30b-instruct-2507-trace-distributions.png), [Instruct outcomes](plots/qwen3-30b-instruct-2507-trace-outcomes.png), [Thinking measurements](plots/qwen3-30b-thinking-trace-distributions.png), [Thinking outcomes](plots/qwen3-30b-thinking-trace-outcomes.png).
33
 
34
+ ## Command distribution
35
+
36
+ ![Top 100 commands](plots/all-models-trace-commands.png)
37
+
38
+ Frequency of recognized submitted command/tool labels across all attempts; these are not counts of successful executions. Unclassified and assignment-only labels are excluded and counted in the figure title. Complex shell syntax is not fully parsed. Each occurrence has equal weight, so longer attempts contribute more commands.
39
+
40
+ Model-specific command plots: [Instruct](plots/qwen3-30b-instruct-2507-trace-commands.png), [Thinking](plots/qwen3-30b-thinking-trace-commands.png).
41
+
42
  ## Data
43
 
44
  - [Summary](data/summary.json): overall and per-model statistics.
 
52
  The two `context_recovery_failure` attempts hit a harness recovery bug: repeated truncated-response retries exhausted the remaining context and requested zero output tokens. They are not normal context-limit stops.
53
 
54
  “tmux session closed” means the agent terminal disappeared before normal completion confirmation. The raw stop reason remains `session_ended`. All 649 attempts were verified: 53 passed and 596 failed. The [closure audit](data/tmux_session_audit.json) records the command evidence and unresolved cases.
55
+
56
+ ## Generation and resource accounting
57
+
58
+ Stage 7 computes trajectory metrics, and the report exporter generates plots automatically. This dataset overview is rendered and published by a separate export script; it does not refresh itself when new jobs finish.
59
+
60
+ Per-trajectory CPU and GPU hours were not measured. Agent elapsed time is wall time, not CPU usage or exclusive GPU time: concurrent attempts share the model server. Scheduler allocation-hours could be reported per job, but assigning them to individual trajectories would require an explicit estimation method.
seta_v2/trace_stats/data/provenance.json CHANGED
@@ -2878,10 +2878,13 @@
2878
  "figures": [
2879
  "../plots/qwen3-30b-instruct-2507-trace-distributions.png",
2880
  "../plots/qwen3-30b-instruct-2507-trace-outcomes.png",
 
2881
  "../plots/qwen3-30b-thinking-trace-distributions.png",
2882
  "../plots/qwen3-30b-thinking-trace-outcomes.png",
 
2883
  "../plots/all-models-trace-distributions.png",
2884
- "../plots/all-models-trace-outcomes.png"
 
2885
  ],
2886
  "metric_implementation_sha256": "b12538bef1f15032164d4655b65b24080cdad119ebd6df025fe172a43eb32adf",
2887
  "termination_corrections": [
@@ -2899,5 +2902,12 @@
2899
  "display_labels": {
2900
  "session_ended": "tmux session closed"
2901
  },
2902
- "session_closure_audit": "tmux_session_audit.json"
 
 
 
 
 
 
 
2903
  }
 
2878
  "figures": [
2879
  "../plots/qwen3-30b-instruct-2507-trace-distributions.png",
2880
  "../plots/qwen3-30b-instruct-2507-trace-outcomes.png",
2881
+ "../plots/qwen3-30b-instruct-2507-trace-commands.png",
2882
  "../plots/qwen3-30b-thinking-trace-distributions.png",
2883
  "../plots/qwen3-30b-thinking-trace-outcomes.png",
2884
+ "../plots/qwen3-30b-thinking-trace-commands.png",
2885
  "../plots/all-models-trace-distributions.png",
2886
+ "../plots/all-models-trace-outcomes.png",
2887
+ "../plots/all-models-trace-commands.png"
2888
  ],
2889
  "metric_implementation_sha256": "b12538bef1f15032164d4655b65b24080cdad119ebd6df025fe172a43eb32adf",
2890
  "termination_corrections": [
 
2902
  "display_labels": {
2903
  "session_ended": "tmux session closed"
2904
  },
2905
+ "session_closure_audit": "tmux_session_audit.json",
2906
+ "plotting": {
2907
+ "implementation_sha256": "8c29f3b4116c34aac0adba654144f505d283fb4ee751eb1139d99575ec902ceb",
2908
+ "histogram_range": "For n >= 100 and max > 1.5*p99, display 0..p99 with an explicit omitted-tail count; otherwise 0..max.",
2909
+ "command_weights": "Raw recognized command/tool occurrence counts; unclassified/assignment labels excluded.",
2910
+ "context_note": "Legacy peak_context_* fields derive from per-turn token totals, which may aggregate multiple requests; not actual context occupancy.",
2911
+ "per_trajectory_resource_hours": "Not measured; elapsed time must not be interpreted as exclusive GPU time or CPU usage."
2912
+ }
2913
  }
seta_v2/trace_stats/plots/all-models-trace-commands.png ADDED

Git LFS Details

  • SHA256: 527e329db55f6644a77feaf86af844a21beba42b12a55c944a664fd247b51706
  • Pointer size: 131 Bytes
  • Size of remote file: 259 kB
seta_v2/trace_stats/plots/all-models-trace-distributions.png CHANGED

Git LFS Details

  • SHA256: 3db6931cf244701f52464e2b4c41d4673173e859128c276c018899c45ac509e8
  • Pointer size: 131 Bytes
  • Size of remote file: 190 kB

Git LFS Details

  • SHA256: 7a99628c7a76ab9ece0fcbc7f042f5f980709519a3e27b510f5e054d325805e6
  • Pointer size: 131 Bytes
  • Size of remote file: 231 kB
seta_v2/trace_stats/plots/qwen3-30b-instruct-2507-trace-commands.png ADDED

Git LFS Details

  • SHA256: 17fc4a45b6eaaa1b1f93cdbf757d6b170811a9db4c736421194e6cd1963db908
  • Pointer size: 131 Bytes
  • Size of remote file: 261 kB
seta_v2/trace_stats/plots/qwen3-30b-instruct-2507-trace-distributions.png CHANGED

Git LFS Details

  • SHA256: ebe87680cd479e3a4f3c12f22757d4e7694ea9c66e2af3068b23ad3e3740af59
  • Pointer size: 131 Bytes
  • Size of remote file: 183 kB

Git LFS Details

  • SHA256: f53574dcf6670d8a31659ed3b5fa41d82d7f0f274be25488f1ee5b1dabccc523
  • Pointer size: 131 Bytes
  • Size of remote file: 237 kB
seta_v2/trace_stats/plots/qwen3-30b-thinking-trace-commands.png ADDED

Git LFS Details

  • SHA256: cdf566342459b5163051ae8fcb8ad62b98ba76ad44b38e6a8fa0741464446bd5
  • Pointer size: 131 Bytes
  • Size of remote file: 261 kB
seta_v2/trace_stats/plots/qwen3-30b-thinking-trace-distributions.png CHANGED

Git LFS Details

  • SHA256: 9dfd453f21edefe88a1ea3b626dac6a22c2a25d6196d29f6c782211f54a6325d
  • Pointer size: 131 Bytes
  • Size of remote file: 175 kB

Git LFS Details

  • SHA256: 0d6a4d72279fec15403aae0978e074585afb64ed48126d6dff0774b5d5bd3728
  • Pointer size: 131 Bytes
  • Size of remote file: 238 kB