docs: publish consolidated SFT dataset overview
Browse files- README.md +219 -66
- docs/evaluation_protocol.md +115 -0
- docs/third_party_notices.md +33 -0
- docs/trajectory_schema.md +194 -0
- docs/trajectory_sources.md +242 -0
- registry/benchmarks.json +150 -0
README.md
CHANGED
|
@@ -14,50 +14,187 @@ size_categories:
|
|
| 14 |
|
| 15 |
# SFT Benchmark Trajectories
|
| 16 |
|
| 17 |
-
A
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
| 37 |
-
|
|
| 38 |
-
|
|
| 39 |
-
|
|
| 40 |
-
|
|
| 41 |
-
|
|
| 42 |
-
|
|
| 43 |
-
|
|
| 44 |
-
|
|
| 45 |
-
|
|
| 46 |
-
|
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
```bash
|
| 53 |
-
|
| 54 |
-
pip install
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
```
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
```python
|
| 60 |
-
from agent_trajectories import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
dataset = CanonicalDatasetAdapter("./sft-benchmark-trajectories")
|
| 63 |
query = DatasetQuery.for_training(
|
|
@@ -65,41 +202,57 @@ query = DatasetQuery.for_training(
|
|
| 65 |
content_availability=("hosted",),
|
| 66 |
training_permissions=("permitted", "permitted_with_conditions"),
|
| 67 |
training_verifications=("verified",),
|
|
|
|
| 68 |
)
|
| 69 |
-
for sample in dataset.iter_examples(query, view="full_trajectory"):
|
| 70 |
-
print(sample.trajectory_id, sample.events)
|
| 71 |
-
break
|
| 72 |
-
```
|
| 73 |
-
|
| 74 |
-
Normal iteration reads persisted canonical data and never contacts upstream sources. If a consumer is authorized to retrieve a metadata-only source, they can run the explicit pinned source adapter and combine the resulting canonical shard without changing the public snapshot:
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
)
|
|
|
|
|
|
|
|
|
|
| 81 |
```
|
| 82 |
|
| 83 |
-
|
|
|
|
|
|
|
| 84 |
|
| 85 |
-
##
|
| 86 |
|
| 87 |
-
|
| 88 |
-
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
-
|
|
|
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
-
-
|
| 103 |
-
- Some
|
| 104 |
-
-
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
# SFT Benchmark Trajectories
|
| 16 |
|
| 17 |
+
A model-agnostic collection of real expert demonstrations and recorded agent
|
| 18 |
+
completions, normalized into one interface for full-trajectory and causal
|
| 19 |
+
assistant-turn SFT.
|
| 20 |
+
|
| 21 |
+
## At a glance
|
| 22 |
+
|
| 23 |
+
- **155,278 trajectories** across **67,610 task keys**
|
| 24 |
+
- **10 benchmark families** and **13 trajectory sources**
|
| 25 |
+
- **136,373 hosted payloads** plus **18,905 metadata-only records**
|
| 26 |
+
- **54,296 successful**, **79,973 unsuccessful**, and **21,009 unknown-outcome attempts**
|
| 27 |
+
- Task-disjoint train, validation, test and protected-evaluation splits
|
| 28 |
+
- Source code commit: `2935d00f2c711affbbab226257b5b3ca39007951`
|
| 29 |
+
|
| 30 |
+
Historical outcomes below are the results attached by each source. This project
|
| 31 |
+
did not rerun the benchmark environments. A source score describes the imported
|
| 32 |
+
attempts, not the expected score of a newly trained model.
|
| 33 |
+
|
| 34 |
+
## Benchmarks
|
| 35 |
+
|
| 36 |
+
| Benchmark | What it tests | Native or published metric | Tasks | Traces |
|
| 37 |
+
|---|---|---|---:|---:|
|
| 38 |
+
| [BrowseComp](https://github.com/openai/simple-evals) | Research-style web browsing and answer synthesis. | answer correctness (llm judge) | 1,266 | 5,063 |
|
| 39 |
+
| [Mind2Web](https://osu-nlp-group.github.io/Mind2Web/) | Human demonstrations for completing tasks on real websites. | step and element accuracy (action match) | 1,009 | 1,009 |
|
| 40 |
+
| [SWE-bench](https://www.swebench.com/) | Resolve real software repository issues. | resolved (native binary) | 33,987 | 56,299 |
|
| 41 |
+
| [SWE-Gym](https://github.com/SWE-Gym/SWE-Gym) | Train and evaluate software-engineering agents on repository tasks. | execution-test success (native binary) | 2,731 | 5,993 |
|
| 42 |
+
| [SWE-smith](https://github.com/SWE-bench/SWE-smith) | Generated software-engineering tasks with executable validation. | resolved (native binary) | 10,637 | 24,100 |
|
| 43 |
+
| [τ2-bench](https://github.com/sierra-research/tau2-bench) | Tool-using agents interacting with simulated users in service domains. | evaluator correctness and reward (native reward) | 228 | 8,340 |
|
| 44 |
+
| [τ3-bench](https://github.com/sierra-research/tau2-bench) | Tool-using agents and simulated users with environment reward evidence. | environment/action/communication reward (native reward) | 50 | 200 |
|
| 45 |
+
| [Terminal-Bench](https://github.com/laude-institute/terminal-bench) | Complete practical tasks in sandboxed terminal environments. | task reward (native reward) | 89 | 34,263 |
|
| 46 |
+
| [TerminalTraj](https://huggingface.co/datasets/m-a-p/TerminalTraj) | A corpus of terminal command and observation trajectories. | not available (none) | 17,787 | 20,000 |
|
| 47 |
+
| [ToolBench](https://github.com/OpenBMB/ToolBench) | Tool-use planning and API-call trajectories. | valid-data/win generation status (source proxy) | 11 | 11 |
|
| 48 |
+
|
| 49 |
+
Benchmark rows are not additive: **185 task keys** appear in
|
| 50 |
+
more than one benchmark family.
|
| 51 |
+
|
| 52 |
+
Metrics are deliberately not combined into one global score. Binary repository
|
| 53 |
+
tests, scalar rewards, LLM judges and unscored human demonstrations are not
|
| 54 |
+
interchangeable.
|
| 55 |
+
|
| 56 |
+
## Trajectory sources and observed performance
|
| 57 |
+
|
| 58 |
+
| Benchmark | Trace source and origin | Tasks | Traces | Score in imported slice | Score context | Payload |
|
| 59 |
+
|---|---|---:|---:|---|---|---|
|
| 60 |
+
| BrowseComp | [BrowseComp GPT-OSS-120B Rollouts](https://huggingface.co/datasets/rl-rag/browsecomp-gpt-oss-120b-260222) | 1,266 | 5,063 | 23.92% success | 5,063 scored attempts; Source-reported GPT-4o answer judge; not independently reproduced | metadata_only |
|
| 61 |
+
| Mind2Web | [Mind2Web](https://huggingface.co/datasets/osunlp/Mind2Web) | 1,009 | 1,009 | not available | task outcome unavailable; Per-action DOM context and human annotation are present; no explicit binary execution-success field | hosted |
|
| 62 |
+
| SWE-bench | [NVIDIA Open-SWE-Traces](https://huggingface.co/datasets/nvidia/Open-SWE-Traces) | 33,444 | 51,626 | 47.93% success | 51,626 scored attempts; Published resolved field; not independently replayed here | hosted |
|
| 63 |
+
| SWE-bench | [SWE-bench Multilingual Trajectories](https://huggingface.co/datasets/AlienKevin/SWE-bench-Multilingual-trajectories) | 43 | 129 | 6.20% success | 129 scored attempts; Published resolved/completed/errored fields | hosted |
|
| 64 |
+
| SWE-bench | [SWE-bench Verified mini-swe-agent Trajectories](https://huggingface.co/datasets/tarsur385/swebench-verified-trajectories) | 500 | 4,544 | 74.65% success | 4,544 scored attempts; Published SWE-bench execution result; protected evaluation split | hosted |
|
| 65 |
+
| SWE-Gym | [SWE-Gym OpenHands SFT Trajectories](https://huggingface.co/datasets/SWE-Gym/OpenHands-SFT-Trajectories) | 293 | 491 | 100.00% success | success-only release; Published train.success.oss split label; not independently replayed | hosted |
|
| 66 |
+
| SWE-Gym | [SWE-Gym OpenHands Sampled Trajectories](https://huggingface.co/datasets/SWE-Gym/OpenHands-Sampled-Trajectories) | 2,438 | 5,502 | 8.92% success | 5,502 scored attempts; Source execution test result; not independently replayed here | metadata_only |
|
| 67 |
+
| SWE-smith | [SWE-smith Trajectories](https://huggingface.co/datasets/SWE-bench/SWE-smith-trajectories) | 10,637 | 24,100 | 39.12% success | 24,100 scored attempts; Published resolved field | hosted |
|
| 68 |
+
| τ2-bench | [AgentSuite tau2-bench trajectories](https://huggingface.co/datasets/AgentSuite/tau2-bench-trajectories) | 228 | 8,340 | 0.478 mean reward; 40.47% success | 8,340 scored attempts; AgentSuite evaluator fields; meta.is_correct is used for the binary outcome | metadata_only |
|
| 69 |
+
| τ3-bench | [Official tau3-bench](https://github.com/sierra-research/tau2-bench) | 50 | 200 | 0.500 mean reward; 50.00% success | 200 scored attempts; Environment/action/communication reward evidence | hosted |
|
| 70 |
+
| Terminal-Bench | [Terminal-Bench 2.0 Recorded Trajectories](https://huggingface.co/datasets/yoonholee/terminalbench-trajectories) | 89 | 34,263 | 0.323 mean reward; 32.25% success | 34,263 scored attempts; Source-reported Terminal-Bench reward | hosted |
|
| 71 |
+
| TerminalTraj | [TerminalTraj](https://huggingface.co/datasets/m-a-p/TerminalTraj) | 17,787 | 20,000 | not available | task outcome unavailable; Paired command/output transcript; no trustworthy task-level success field | hosted |
|
| 72 |
+
| ToolBench | [ToolBench](https://github.com/OpenBMB/ToolBench) | 11 | 11 | 63.64% success | 11 scored attempts; valid_data/win generation status; no independent semantic proof | hosted |
|
| 73 |
+
|
| 74 |
+
`success-only release` means the dataset was conditioned on a successful result;
|
| 75 |
+
it does not imply that the generating agent had a 100% policy success rate.
|
| 76 |
+
`metadata_only` sources retain scores, lineage, hashes and pinned source pointers
|
| 77 |
+
but require a consumer-authorized content overlay.
|
| 78 |
+
|
| 79 |
+
## Model context
|
| 80 |
+
|
| 81 |
+
The following rows contextualize trace strength where one source contains
|
| 82 |
+
multiple sufficiently covered models. Models are scored on the intersection of
|
| 83 |
+
their task keys within that source. Representative lower, median and higher
|
| 84 |
+
rows are shown; they are not cross-benchmark rankings.
|
| 85 |
+
|
| 86 |
+
| Benchmark | Source | Model | Position | Common tasks | Scored attempts | Success |
|
| 87 |
+
|---|---|---|---|---:|---:|---:|
|
| 88 |
+
| τ2-bench | `agentsuite_tau2` | `togetherai/openai/gpt-oss-20b` | lower | 228 | 278 | 10.79% |
|
| 89 |
+
| τ2-bench | `agentsuite_tau2` | `deepseek-ai/DeepSeek-R1-0528` | median | 228 | 278 | 43.53% |
|
| 90 |
+
| τ2-bench | `agentsuite_tau2` | `anthropic/claude-4.5-sonnet-thinking-on-10k` | higher | 228 | 278 | 54.68% |
|
| 91 |
+
| SWE-bench | `nvidia_open_swe_traces` | `Qwen3.8-27B` | lower | 18,182 | 18,182 | 50.71% |
|
| 92 |
+
| SWE-bench | `nvidia_open_swe_traces` | `Qwen3.8-Flash-Next` | higher | 18,182 | 18,182 | 53.60% |
|
| 93 |
+
| SWE-bench | `swebench_multilingual_trajectories` | `Qwen2.5-Coder-32B-Instruct` | lower | 43 | 43 | 0.00% |
|
| 94 |
+
| SWE-bench | `swebench_multilingual_trajectories` | `Multi-SWE-agent-32B-Rust` | median | 43 | 43 | 2.33% |
|
| 95 |
+
| SWE-bench | `swebench_multilingual_trajectories` | `SWE-agent-LM-32B` | higher | 43 | 43 | 16.28% |
|
| 96 |
+
| SWE-bench | `swebench_verified_trajectories` | `gpt-5-mini` | lower | 44 | 44 | 40.91% |
|
| 97 |
+
| SWE-bench | `swebench_verified_trajectories` | `claude-4.5-opus-high` | median | 44 | 44 | 70.45% |
|
| 98 |
+
| SWE-bench | `swebench_verified_trajectories` | `gemini-3-pro` | higher | 44 | 44 | 100.00% |
|
| 99 |
+
| Terminal-Bench | `terminalbench_trajectories` | `openai/gpt-oss-20b@together_ai` | lower | 80 | 1,627 | 3.56% |
|
| 100 |
+
| Terminal-Bench | `terminalbench_trajectories` | `gpt-5.1-codex@openai` | median | 80 | 396 | 39.39% |
|
| 101 |
+
| Terminal-Bench | `terminalbench_trajectories` | `claude-opus-4.6@anthropic` | higher | 80 | 153 | 76.47% |
|
| 102 |
+
|
| 103 |
+
Sources without at least two models covering half of the same source task set
|
| 104 |
+
are omitted rather than compared on unrelated questions. Full model, scaffold
|
| 105 |
+
and per-trajectory results remain queryable in `index.sqlite` and
|
| 106 |
+
`evaluation/summary.json`.
|
| 107 |
+
|
| 108 |
+
No comparable multi-model slice is available here for: BrowseComp, Mind2Web, SWE-Gym, SWE-smith, τ3-bench, TerminalTraj, ToolBench.
|
| 109 |
+
Those benchmarks have one recorded model, human/unknown provenance, no outcome,
|
| 110 |
+
or model runs on materially different task slices.
|
| 111 |
+
|
| 112 |
+
## Install and download
|
| 113 |
|
| 114 |
```bash
|
| 115 |
+
python3 -m venv .venv
|
| 116 |
+
.venv/bin/pip install 'git+https://github.com/heisenger/nvidia_benchmark.git@2935d00f2c711affbbab226257b5b3ca39007951'
|
| 117 |
+
.venv/bin/pip install huggingface_hub
|
| 118 |
+
.venv/bin/hf download Heisenger/sft-benchmark-trajectories --repo-type dataset --local-dir ./sft-benchmark-trajectories
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |
+
Normal training reads this persisted release. It does not re-download the
|
| 122 |
+
upstream benchmark datasets.
|
| 123 |
+
|
| 124 |
+
## Two SFT views from the same record
|
| 125 |
+
|
| 126 |
+
The consumer selects a view at iteration time. Both views preserve the same
|
| 127 |
+
task, trajectory, source, split, outcome, reward, verification, quality and
|
| 128 |
+
permission lineage.
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
from agent_trajectories import CanonicalDatasetAdapter, DatasetQuery, TrainingView
|
| 132 |
+
|
| 133 |
+
dataset = CanonicalDatasetAdapter("./sft-benchmark-trajectories")
|
| 134 |
+
query = DatasetQuery(trajectory_ids=("trajectory:f9cf8588a314fa9804d57402",))
|
| 135 |
+
|
| 136 |
+
full = next(dataset.iter_examples(query, view=TrainingView.FULL_TRAJECTORY))
|
| 137 |
+
turns = list(dataset.iter_examples(query, view=TrainingView.ASSISTANT_TURN))
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
### Full-trajectory view
|
| 141 |
+
|
| 142 |
+
One training sample contains the complete causal trace. The event loss mask
|
| 143 |
+
selects every supervised assistant event.
|
| 144 |
+
|
| 145 |
+
```json
|
| 146 |
+
{
|
| 147 |
+
"view": "full-trajectory",
|
| 148 |
+
"sample_id": "full:736e63752d3cff92f0d883d1",
|
| 149 |
+
"trajectory_id": "trajectory:f9cf8588a314fa9804d57402",
|
| 150 |
+
"task_key": "tau:airline:0",
|
| 151 |
+
"event_count": 13,
|
| 152 |
+
"assistant_targets": 6,
|
| 153 |
+
"loss_mask": [false, true, false, true, false, true, false, true, false, true, false, true, false],
|
| 154 |
+
"metadata": {"source_id": "official_tau3", "success": true}
|
| 155 |
+
}
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
### Assistant-turn view
|
| 159 |
+
|
| 160 |
+
The same trajectory produces one sample per supervised assistant decision.
|
| 161 |
+
Each sample contains only its causal prefix and one target; prior assistant
|
| 162 |
+
tokens are context and future observations are absent.
|
| 163 |
+
|
| 164 |
+
```json
|
| 165 |
+
{
|
| 166 |
+
"view": "assistant-turn",
|
| 167 |
+
"sample_id": "turn:61eec58539653d88c1971b68",
|
| 168 |
+
"trajectory_id": "trajectory:f9cf8588a314fa9804d57402",
|
| 169 |
+
"task_key": "tau:airline:0",
|
| 170 |
+
"target_index": 5,
|
| 171 |
+
"context_events": 5,
|
| 172 |
+
"target": {
|
| 173 |
+
"role": "assistant",
|
| 174 |
+
"content": "Let me check the details of your reservation...",
|
| 175 |
+
"tool_call": {
|
| 176 |
+
"name": "get_reservation_details",
|
| 177 |
+
"arguments": {"reservation_id": "EHGLP3"}
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"metadata": {"source_id": "official_tau3", "success": true}
|
| 181 |
+
}
|
| 182 |
```
|
| 183 |
|
| 184 |
+
Full-trajectory SFT teaches the complete multi-step behavior in one sequence.
|
| 185 |
+
Turn-based SFT teaches individual decisions conditioned on the state available
|
| 186 |
+
at that turn. Model-specific tokenization maps the event targets to token-level
|
| 187 |
+
labels downstream.
|
| 188 |
+
|
| 189 |
+
## Select a training population
|
| 190 |
+
|
| 191 |
```python
|
| 192 |
+
from agent_trajectories import (
|
| 193 |
+
CanonicalDatasetAdapter,
|
| 194 |
+
DatasetQuery,
|
| 195 |
+
TrainingView,
|
| 196 |
+
TrajectorySelection,
|
| 197 |
+
)
|
| 198 |
|
| 199 |
dataset = CanonicalDatasetAdapter("./sft-benchmark-trajectories")
|
| 200 |
query = DatasetQuery.for_training(
|
|
|
|
| 202 |
content_availability=("hosted",),
|
| 203 |
training_permissions=("permitted", "permitted_with_conditions"),
|
| 204 |
training_verifications=("verified",),
|
| 205 |
+
selection=TrajectorySelection.BEST_VERIFIED,
|
| 206 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
+
for example in dataset.iter_examples(
|
| 209 |
+
query,
|
| 210 |
+
view=TrainingView.FULL_TRAJECTORY,
|
| 211 |
+
):
|
| 212 |
+
row = example.to_dict()
|
| 213 |
+
model_input = row["model_input"]
|
| 214 |
+
event_loss_mask = row["loss_mask"]
|
| 215 |
+
lineage = row["metadata"]["lineage"]
|
| 216 |
```
|
| 217 |
|
| 218 |
+
Use `ALL_SUCCESSFUL` instead of `BEST_VERIFIED` to retain multiple successful
|
| 219 |
+
strategies per task. Use all attempts for evaluation or preference construction,
|
| 220 |
+
not as an undifferentiated positive-SFT target.
|
| 221 |
|
| 222 |
+
## Why the metadata is exposed
|
| 223 |
|
| 224 |
+
| Metadata | Training or evaluation purpose |
|
| 225 |
+
|---|---|
|
| 226 |
+
| Task and environment keys | Enforce leakage-safe splits and compare compatible attempts |
|
| 227 |
+
| Source, model and scaffold | Filter, balance and audit heterogeneous generators |
|
| 228 |
+
| Outcome, reward and verification | Select positive traces and define the source-performance reference |
|
| 229 |
+
| Quality tier and task-local rank | Choose the best available alternative without treating the score as globally comparable |
|
| 230 |
+
| Event/action counts | Detect short, long, incomplete or looping traces |
|
| 231 |
+
| Token length | Plan truncation, packing, batch size and compute for a named tokenizer |
|
| 232 |
+
| Permissions and payload status | Build a project-specific compliant subset |
|
| 233 |
+
| Revision and record locator | Reproduce the exact upstream record |
|
| 234 |
|
| 235 |
+
Token length is tokenizer-specific, not a canonical measure of quality. The
|
| 236 |
+
published Nemotron example always names the tokenizer and immutable revision.
|
| 237 |
|
| 238 |
+
## Documentation
|
| 239 |
|
| 240 |
+
- [Consumer API and sampling](docs/dataset_adapter.md)
|
| 241 |
+
- [Canonical schema and ranking](docs/trajectory_schema.md)
|
| 242 |
+
- [Scoring and evaluation protocol](docs/evaluation_protocol.md)
|
| 243 |
+
- [Source provenance and ingestion](docs/trajectory_sources.md)
|
| 244 |
+
- [Licensing, permissions and federated overlays](docs/licensing_and_federation.md)
|
| 245 |
+
- [Nemotron tokenization and assistant-only masks](docs/nemotron_sft_demo.md)
|
| 246 |
+
- [Third-party notices](THIRD_PARTY_NOTICES.md)
|
| 247 |
|
| 248 |
+
## Limitations
|
| 249 |
|
| 250 |
+
- Source outcomes were not independently replayed.
|
| 251 |
+
- Some sources publish no trustworthy task-level outcome.
|
| 252 |
+
- Scores from different benchmark metrics or task slices are not directly
|
| 253 |
+
comparable.
|
| 254 |
+
- Some actions and observations are text-encoded rather than typed tool calls.
|
| 255 |
+
- `training_eligible` is a structural/source gate; permission filters remain a
|
| 256 |
+
separate consumer decision.
|
| 257 |
+
- Metadata-only sources require direct retrieval under the consumer's own
|
| 258 |
+
authorization.
|
docs/evaluation_protocol.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Evaluation protocol
|
| 2 |
+
|
| 3 |
+
The library evaluates imported evidence; it does not reinterpret a historical
|
| 4 |
+
rollout as a score for a new target model. Every canonical attempt is retained
|
| 5 |
+
and receives one row in `data/library/evaluation/per_trajectory.jsonl.gz`.
|
| 6 |
+
Aggregates are regenerated from that table and `data/library/index.sqlite`.
|
| 7 |
+
|
| 8 |
+
## A. Dataset and trajectory quality
|
| 9 |
+
|
| 10 |
+
`scripts/build_complete_library.py` validates every canonical record, then
|
| 11 |
+
records the following independent fields:
|
| 12 |
+
|
| 13 |
+
- structural validity: canonical IDs, roles, ordering and tool-call linkage;
|
| 14 |
+
- action-observation completeness: the fraction of supervised decisions with
|
| 15 |
+
source-derived context since the preceding decision;
|
| 16 |
+
- outcome availability: success/failure is known versus genuinely unknown;
|
| 17 |
+
- verification reliability: independently reproduced, source evaluator,
|
| 18 |
+
source-reported or unverified;
|
| 19 |
+
- structural SFT eligibility: valid complete record, at least two assistant
|
| 20 |
+
decisions and full action-context coverage;
|
| 21 |
+
- training eligibility: structural eligibility plus the source registry gate.
|
| 22 |
+
|
| 23 |
+
Protected benchmark rollouts can be structurally suitable while remaining
|
| 24 |
+
ineligible for training. Final-answer-only BFCL outputs are excluded from the
|
| 25 |
+
trajectory population entirely; their audited rejection count remains in the
|
| 26 |
+
coverage manifest. Unknown outcomes are never converted to failures.
|
| 27 |
+
|
| 28 |
+
Quality tiers and within-task ranks use the policy in
|
| 29 |
+
[`trajectory_schema.md`](trajectory_schema.md). Ranks are recomputed within
|
| 30 |
+
the same `task_key` and compatible environment/version. Exact duplicate
|
| 31 |
+
interactions retain all contributing trajectory IDs.
|
| 32 |
+
|
| 33 |
+
## B. Recorded-agent performance
|
| 34 |
+
|
| 35 |
+
The baseline uses the outcome and verification evidence published with each
|
| 36 |
+
rollout. A success is independently reproduced only when the canonical
|
| 37 |
+
evidence explicitly says so. In this build no benchmark container was replayed,
|
| 38 |
+
so every measured outcome is labelled `source_evaluator` or
|
| 39 |
+
`source_reported`; `independently_reproduced` is zero.
|
| 40 |
+
|
| 41 |
+
The persisted summary reports:
|
| 42 |
+
|
| 43 |
+
- every attempt and unique task, including unsuccessful alternatives;
|
| 44 |
+
- success, failure and unknown denominators separately;
|
| 45 |
+
- outcomes by source, model, scaffold, task family and quality tier;
|
| 46 |
+
- task/environment attempt-count distributions;
|
| 47 |
+
- fraction of tasks solved at least once;
|
| 48 |
+
- empirical success-at-k for groups with at least k recorded attempts, ordered
|
| 49 |
+
by the immutable source locator. This is descriptive and is not estimated
|
| 50 |
+
pass@k;
|
| 51 |
+
- action counts for all records and cost/latency/token fields where upstream
|
| 52 |
+
rows publish them.
|
| 53 |
+
|
| 54 |
+
Cost and latency are not aggregated across incompatible benchmarks or units.
|
| 55 |
+
Raw values remain queryable in SQLite and the per-trajectory result file.
|
| 56 |
+
|
| 57 |
+
## C. Model imitation
|
| 58 |
+
|
| 59 |
+
The two causal SFT views and exact structured next-action scorer are
|
| 60 |
+
implemented. `trajdata evaluate-actions` compares per-turn assistant text and
|
| 61 |
+
tool calls without using later observations. A scalable held-out export is:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
.venv/bin/python scripts/export_sft_views.py data/library \
|
| 65 |
+
--view assistant-turn --selection all --split validation \
|
| 66 |
+
--output outputs/validation-turns.jsonl.gz
|
| 67 |
+
trajdata evaluate-actions heldout-canonical.jsonl predictions.jsonl
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
Teacher-forced token negative log-likelihood requires a specified model,
|
| 71 |
+
tokenizer/chat template and inference runtime. None is configured in this
|
| 72 |
+
repository or environment, so it was not fabricated. The machine-readable
|
| 73 |
+
status and reason are persisted in
|
| 74 |
+
`data/library/evaluation/model_imitation.json`.
|
| 75 |
+
|
| 76 |
+
## Leakage controls
|
| 77 |
+
|
| 78 |
+
Task split assignment hashes `task_key`, not trajectory ID. All attempts,
|
| 79 |
+
sources and derived full/turn views for the same task therefore share a split.
|
| 80 |
+
Sources registered as evaluation-only are assigned
|
| 81 |
+
`protected_evaluation`; `scripts/export_sft_views.py` additionally requires
|
| 82 |
+
`training_eligible=1`, so protected rows cannot enter its SFT output. Outcome,
|
| 83 |
+
reward, reference answers, later decisions and future observations are metadata
|
| 84 |
+
and never appear in a turn's `model_input`.
|
| 85 |
+
|
| 86 |
+
## Reproduction
|
| 87 |
+
|
| 88 |
+
After completing the pinned imports listed in
|
| 89 |
+
[`trajectory_sources.md`](trajectory_sources.md), rebuild all scores with:
|
| 90 |
+
|
| 91 |
+
```bash
|
| 92 |
+
.venv/bin/python scripts/build_complete_library.py \
|
| 93 |
+
data/full/canonical/seed_evaluation/official_tau3_toolbench.jsonl.gz \
|
| 94 |
+
--input-dir data/full/canonical/swegym_openhands_full \
|
| 95 |
+
--input-dir data/full/canonical/swegym_sampled_v4_pinned \
|
| 96 |
+
--input-dir data/full/canonical/swebench_verified_v2 \
|
| 97 |
+
--input-dir data/full/canonical/swebench_multilingual \
|
| 98 |
+
--input-dir data/full/canonical/terminalbench_v3 \
|
| 99 |
+
--input-dir data/full/canonical/agentsuite_tau2_v3 \
|
| 100 |
+
--input-dir data/full/canonical/browsecomp \
|
| 101 |
+
--input-dir data/full/canonical/nvidia_v1_2_openhands_original \
|
| 102 |
+
--input-dir data/full/canonical/terminaltraj_full \
|
| 103 |
+
--input-dir data/full/canonical/mind2web_full \
|
| 104 |
+
--input-dir data/full/canonical/swesmith_tool_full \
|
| 105 |
+
--output data/library
|
| 106 |
+
|
| 107 |
+
.venv/bin/python scripts/build_coverage_manifest.py data/library \
|
| 108 |
+
--output data/coverage/trajectory_sources.json
|
| 109 |
+
.venv/bin/python scripts/render_complete_gallery.py data/library \
|
| 110 |
+
--output data/library/examples.html
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
AgentSuite BFCL is deliberately absent from the build command because its
|
| 114 |
+
115,466 records have no returned observations and are final-call evaluation
|
| 115 |
+
outputs rather than trajectories.
|
docs/third_party_notices.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Third-party notices and attribution
|
| 2 |
+
|
| 3 |
+
The canonical library is an aggregate. The package source code license does not
|
| 4 |
+
replace source-dataset terms. Every record retains `source_id`, immutable
|
| 5 |
+
revision and `record_locator`; the evidence and conditions used for publication
|
| 6 |
+
are machine-readable in `data/registry/permissions.json`.
|
| 7 |
+
|
| 8 |
+
Publicly hosted payloads use the following source terms:
|
| 9 |
+
|
| 10 |
+
| Source | Terms and attribution |
|
| 11 |
+
|---|---|
|
| 12 |
+
| `swegym_openhands` | [SWE-Gym/OpenHands-SFT-Trajectories](https://huggingface.co/datasets/SWE-Gym/OpenHands-SFT-Trajectories/tree/4aaa5a4a4b5861f4799d2336908760c190ac3b17), MIT. Credit the SWE-Gym authors and retain the MIT notice. |
|
| 13 |
+
| `nvidia_open_swe_traces` | [NVIDIA Open-SWE-Traces](https://huggingface.co/datasets/nvidia/Open-SWE-Traces/tree/6d0a83373ae0d83abe3d363f1f18cb1822e16586), CC-BY-4.0. Credit NVIDIA/Open-SWE-Traces, link CC-BY-4.0, identify canonical transformations, and retain the per-record repository license. |
|
| 14 |
+
| `terminaltraj` | [m-a-p/TerminalTraj](https://huggingface.co/datasets/m-a-p/TerminalTraj/tree/5c1823f4a8b9ca0cf02c27d2db52c5b35b53a308), linked publisher project under Apache-2.0. Credit the TerminalTraj authors and honor embedded MIT/Apache/BSD repository terms. |
|
| 15 |
+
| `official_tau3` | [Sierra Research tau2-bench](https://github.com/sierra-research/tau2-bench/tree/dd8757d4c8791dad7b3cdaf02a105a3d5f9d86bd), MIT. Copyright Sierra Research; retain the MIT notice. Training on benchmark tasks/rewards must be disclosed as evaluation overlap. |
|
| 16 |
+
| `mind2web` | [OSU-NLP Mind2Web](https://huggingface.co/datasets/osunlp/Mind2Web/tree/17ece8eb89862368edc0cc806acee6fca5163474), CC-BY-4.0. Credit the Mind2Web authors, link CC-BY-4.0, identify transformations, and retain the research-purpose/harm disclaimer. |
|
| 17 |
+
| `toolbench` | [OpenBMB ToolBench](https://github.com/OpenBMB/ToolBench/tree/d56fdd89faf8c91fa135090b212bb9057ee5cfc2), Apache-2.0 with research-and-education intended use. Credit OpenBMB/ToolBench and consider third-party API content rights. |
|
| 18 |
+
| `swebench_verified_trajectories` | [tarsur385/swebench-verified-trajectories](https://huggingface.co/datasets/tarsur385/swebench-verified-trajectories/tree/773748a7c1222e8a642a7059821498e14293562a), MIT. Retain the dataset notice; task repositories retain their own terms. |
|
| 19 |
+
| `swebench_multilingual_trajectories` | [AlienKevin/SWE-bench-Multilingual-trajectories](https://huggingface.co/datasets/AlienKevin/SWE-bench-Multilingual-trajectories/tree/7221c09c6cc0ed16d51c9cb9886a1ab484465670), MIT. Retain the dataset notice; task repositories retain their own terms. |
|
| 20 |
+
| `terminalbench_trajectories` | [yoonholee/terminalbench-trajectories](https://huggingface.co/datasets/yoonholee/terminalbench-trajectories/tree/04e8940f5b6736a7ce8d22224fe2f2af74163ed2), Apache-2.0. Credit the dataset publisher and Terminal-Bench; consider the terms of model outputs represented in public leaderboard data. |
|
| 21 |
+
| `swesmith_trajectories` | [SWE-bench/SWE-smith-trajectories](https://huggingface.co/datasets/SWE-bench/SWE-smith-trajectories/tree/08e109b4a59eaeebf80e4675cd125d42e7ac99a4), MIT. Credit SWE-smith and retain generated task repository terms. |
|
| 22 |
+
|
| 23 |
+
License references: [MIT](https://opensource.org/license/mit),
|
| 24 |
+
[Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0), and
|
| 25 |
+
[CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode).
|
| 26 |
+
|
| 27 |
+
The raw payloads for `agentsuite_tau2`, `swegym_sampled`, and
|
| 28 |
+
`browsecomp_rollouts` are metadata-only in the public aggregate because the
|
| 29 |
+
separate trajectory repositories do not establish sufficiently clear
|
| 30 |
+
transformed-redistribution terms. Their absence is not a claim that access,
|
| 31 |
+
research use, or every form of training is prohibited.
|
| 32 |
+
|
| 33 |
+
This file is an engineering attribution aid, not legal advice.
|
docs/trajectory_schema.md
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Canonical trajectory and SFT-view schema
|
| 2 |
+
|
| 3 |
+
The library keeps one immutable, model-agnostic canonical record per imported
|
| 4 |
+
attempt. Training examples are projections; they never mutate or truncate the
|
| 5 |
+
canonical record. JSON objects are UTF-8 and may be stored as `.jsonl` or
|
| 6 |
+
`.jsonl.gz` shards.
|
| 7 |
+
|
| 8 |
+
## Canonical record
|
| 9 |
+
|
| 10 |
+
`Trajectory` schema version `1.0` contains:
|
| 11 |
+
|
| 12 |
+
| Field | Meaning |
|
| 13 |
+
|---|---|
|
| 14 |
+
| `trajectory_id` | Stable content-addressed ID for one attempt. |
|
| 15 |
+
| `task_id` / `task_key` | Native task ID and cross-source normalized task identity. Alternative attempts share `task_key`. |
|
| 16 |
+
| `source` | `source_id`, direct URL, immutable revision, row/file locator and optional file SHA-256. |
|
| 17 |
+
| `task_family`, `domain`, `split` | Benchmark family, environment domain and the untouched upstream split label. Derived train/evaluation assignment lives in `task_splits.jsonl.gz`. |
|
| 18 |
+
| `events` | Causally ordered system, user, assistant and tool/environment events. |
|
| 19 |
+
| `tools` | Available function definitions when published. Missing definitions are declared, never invented. |
|
| 20 |
+
| `artifacts` | External image/file references and hashes when present. |
|
| 21 |
+
| `provenance` | Demonstrator class, producer/scaffold, exact model when supplied and source metadata. |
|
| 22 |
+
| `outcome` | Independent `success`, `status`, reward, termination reason and source metadata. `null` success is unknown, never failure. |
|
| 23 |
+
| `verification` | Method, whether the source supplied executable verification, and its evidence. Independent reproduction is a separate evidence flag. |
|
| 24 |
+
| `completeness` | `complete`, `incomplete` or `truncated`. A final submit call may terminate through an externally recorded outcome without a fabricated tool result. |
|
| 25 |
+
| `missing_fields` | Explicit omissions such as unavailable tool definitions or a missing intermediate result. |
|
| 26 |
+
| `transformations` | Ordered, versioned adapter operations. |
|
| 27 |
+
| `raw_record` | Lossless original row/document. Non-JSON bytes are base64 tagged. |
|
| 28 |
+
| `metadata` | Environment/version, trial, timing, cost and other non-causal attributes. |
|
| 29 |
+
|
| 30 |
+
Each event has a stable `event_id`, role, text content, zero or more structured
|
| 31 |
+
tool calls, an optional tool-result link, source metadata, missing fields and a
|
| 32 |
+
`supervised` flag. Only assistant events may be supervised. Tool results must
|
| 33 |
+
refer to an earlier call. Call IDs reused by an upstream source are namespaced
|
| 34 |
+
deterministically while retaining the original ID.
|
| 35 |
+
|
| 36 |
+
Canonical validation enforces non-empty identifiers, unique event/call IDs,
|
| 37 |
+
causal tool-result linkage, assistant-only supervision, declared omissions for
|
| 38 |
+
incomplete records and preservation of the raw source. It does not manufacture
|
| 39 |
+
observations or reinterpret a missing outcome as failure.
|
| 40 |
+
|
| 41 |
+
## Independent quality and ranking record
|
| 42 |
+
|
| 43 |
+
`rankings.jsonl.gz` is a derived index, kept separate so importing another
|
| 44 |
+
attempt does not alter canonical records. Every row has separate fields for:
|
| 45 |
+
|
| 46 |
+
- `demonstration_provenance`: expert/reference demonstration or recorded agent completion;
|
| 47 |
+
- `outcome_category`: success, failure or unknown;
|
| 48 |
+
- `verification_strength`: independently reproduced, source evaluator, source reported or unverified;
|
| 49 |
+
- `completeness`, `source_confidence`, `quality_tier`, numeric tie-break score and `within_task_rank`;
|
| 50 |
+
- SFT eligibility, an interaction hash, duplicate provenance and human-readable ranking reasons.
|
| 51 |
+
|
| 52 |
+
The five tiers are: independently reproduced successful expert; independently
|
| 53 |
+
reproduced successful agent; complete demonstration/rollout with credible
|
| 54 |
+
source evidence; complete rollout with unknown outcome; failed, partial or
|
| 55 |
+
inadequately observed. “Expert” does not mean optimal. No imported trajectory
|
| 56 |
+
is called optimal.
|
| 57 |
+
|
| 58 |
+
Ranks compare only identical `task_key` plus compatible `environment_key`.
|
| 59 |
+
Tier dominates; action-observation coverage, verdict reliability, source
|
| 60 |
+
confidence and (only for comparable successful attempts) a small efficiency
|
| 61 |
+
tie-break follow. Identical interactions receive one interaction hash and list
|
| 62 |
+
all contributing trajectory IDs.
|
| 63 |
+
|
| 64 |
+
The final library collapses records only when causal interaction, outcome,
|
| 65 |
+
reward, completeness and verification evidence agree. The retained ranking row
|
| 66 |
+
lists every contributing ID; `duplicate_provenance.jsonl.gz` preserves each
|
| 67 |
+
collapsed source revision and locator. Action-identical rows with conflicting
|
| 68 |
+
outcome evidence remain separate.
|
| 69 |
+
|
| 70 |
+
## Full-trajectory SFT view
|
| 71 |
+
|
| 72 |
+
`full_trajectory(record)` emits one sample:
|
| 73 |
+
|
| 74 |
+
```json
|
| 75 |
+
{
|
| 76 |
+
"view": "full-trajectory",
|
| 77 |
+
"sample_id": "full:...",
|
| 78 |
+
"trajectory_id": "trajectory:...",
|
| 79 |
+
"task_id": "...",
|
| 80 |
+
"task_key": "...",
|
| 81 |
+
"events": ["complete causal event sequence"],
|
| 82 |
+
"target_event_ids": ["every supervised assistant event ID"],
|
| 83 |
+
"model_input": {
|
| 84 |
+
"events": ["complete causal event sequence"],
|
| 85 |
+
"tool_definitions": ["source-published tools"]
|
| 86 |
+
},
|
| 87 |
+
"loss_mask": [false, false, true, false, true],
|
| 88 |
+
"supervised_targets": ["assistant events selected by the mask"],
|
| 89 |
+
"metadata": {"provenance and outcome for filtering/scoring, not model input"}
|
| 90 |
+
}
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
System/user text and returned observations provide context. Loss applies only
|
| 94 |
+
to assistant events whose mask value is true. A downstream tokenizer maps that
|
| 95 |
+
event mask to token positions; this library does not impose a tokenizer, chat
|
| 96 |
+
template, truncation or packing policy.
|
| 97 |
+
|
| 98 |
+
## Assistant-turn SFT view
|
| 99 |
+
|
| 100 |
+
`assistant_turns(record)` yields one sample per supervised assistant decision:
|
| 101 |
+
|
| 102 |
+
```json
|
| 103 |
+
{
|
| 104 |
+
"view": "assistant-turn",
|
| 105 |
+
"sample_id": "turn:...",
|
| 106 |
+
"trajectory_id": "trajectory:...",
|
| 107 |
+
"target_event_id": "event:...",
|
| 108 |
+
"target_index": 4,
|
| 109 |
+
"context": ["events 0 through 3 only"],
|
| 110 |
+
"target": {"the recorded assistant event at index 4"},
|
| 111 |
+
"model_input": {
|
| 112 |
+
"events": ["events 0 through 3 only"],
|
| 113 |
+
"tool_definitions": ["source-published tools"]
|
| 114 |
+
},
|
| 115 |
+
"supervised_target": {"the recorded assistant event at index 4"},
|
| 116 |
+
"metadata": {"parent/provenance/outcome; excluded from model_input"}
|
| 117 |
+
}
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
For an assistant event at index `i`, context is exactly `events[:i]`. It cannot
|
| 121 |
+
contain the target, its returned observation, later decisions, outcomes,
|
| 122 |
+
reference answers or evaluator explanations. Tests assert this invariant.
|
| 123 |
+
Consumers may shorten or mask the prefix after projection; canonical events
|
| 124 |
+
remain untouched.
|
| 125 |
+
|
| 126 |
+
## Real example
|
| 127 |
+
|
| 128 |
+
The successful SWE-Gym attempt
|
| 129 |
+
`trajectory:10b50eb527ccd481a86cc00f` targets
|
| 130 |
+
`swe:python__mypy-10308` and has 27 events / 12 assistant decisions:
|
| 131 |
+
|
| 132 |
+
1. OpenHands system instructions.
|
| 133 |
+
2. User task and repository context.
|
| 134 |
+
3. Assistant tool call.
|
| 135 |
+
4. Returned repository listing.
|
| 136 |
+
5. Next assistant tool call.
|
| 137 |
+
6. Returned observation, continuing until submission and the source test verdict.
|
| 138 |
+
|
| 139 |
+
Its full view has one record, 27 event-level mask values and 12 targets. Its
|
| 140 |
+
turn view has 12 records: turn zero sees events `[:2]`; turn one sees the first
|
| 141 |
+
tool result as well; no turn sees a future result.
|
| 142 |
+
|
| 143 |
+
Concrete outcome cases in the canonical shards are:
|
| 144 |
+
|
| 145 |
+
- success: `trajectory:10b50eb527ccd481a86cc00f` (SWE-Gym execution result);
|
| 146 |
+
- failure: `trajectory:d16d34d7b0acbbd878923aba` (same source, failed tests);
|
| 147 |
+
- unknown: `trajectory:bcf4161ed7c363f7e3e03e1c` (TerminalTraj has action/output pairs but no task verdict).
|
| 148 |
+
|
| 149 |
+
Render any of them with `scripts/inspect_library.py --trajectory-id ...`. The
|
| 150 |
+
deterministic gallery independently selects compact representatives for every
|
| 151 |
+
available source/outcome/tier combination and exposes each full interaction,
|
| 152 |
+
every causal turn sample, the exact model-input object, supervised target,
|
| 153 |
+
verification evidence, missing fields and side-by-side alternatives.
|
| 154 |
+
|
| 155 |
+
## Consumer selections
|
| 156 |
+
|
| 157 |
+
```python
|
| 158 |
+
dataset.alternatives("swe:python__mypy-10308") # task-ranked alternatives
|
| 159 |
+
dataset.best_verified("swe:python__mypy-10308")
|
| 160 |
+
dataset.by_quality_tier(1, 2, 3)
|
| 161 |
+
```
|
| 162 |
+
|
| 163 |
+
For the large persisted library, use `scripts/export_sft_views.py` with
|
| 164 |
+
`--selection best`, `successful` or `all`, plus optional benchmark, source,
|
| 165 |
+
source-version, model, scaffold, split, quality-tier and quality-rank filters.
|
| 166 |
+
Deterministic random, task-level and source-balanced sampling use the same
|
| 167 |
+
`CanonicalDatasetAdapter` contract documented in
|
| 168 |
+
[dataset_adapter.md](dataset_adapter.md). Expert-only means filtering
|
| 169 |
+
`demonstration_provenance` in the ranking index; successful-completion-only
|
| 170 |
+
means `outcome_category=success` plus the recorded-agent provenance.
|
| 171 |
+
`task_splits.jsonl.gz` assigns one split per `task_key` across every source and
|
| 172 |
+
both derived views.
|
| 173 |
+
|
| 174 |
+
## Persistent library layout
|
| 175 |
+
|
| 176 |
+
The default library is manifest-backed: `manifest.json` lists every lossless
|
| 177 |
+
pinned canonical shard with its path, SHA-256 and record count. Passing
|
| 178 |
+
`--materialize-all` can additionally create `all.jsonl.gz`. To avoid duplicating
|
| 179 |
+
very large raw records, outcome and eligibility partitions are compact
|
| 180 |
+
trajectory-ID indexes:
|
| 181 |
+
|
| 182 |
+
- `successful.index.jsonl.gz`, `unsuccessful.index.jsonl.gz`, and
|
| 183 |
+
`unknown.index.jsonl.gz`;
|
| 184 |
+
- `structurally_eligible.index.jsonl.gz` for records passing the causal
|
| 185 |
+
action-observation gate;
|
| 186 |
+
- `training_eligible.index.jsonl.gz` for structurally suitable records whose
|
| 187 |
+
source is not protected/evaluation-only.
|
| 188 |
+
|
| 189 |
+
`index.sqlite` joins those concepts without loading canonical JSONL and adds
|
| 190 |
+
source, model, scaffold, task, rank, outcome and quality fields.
|
| 191 |
+
`rankings.jsonl.gz` and `task_splits.jsonl.gz` are portable derived indexes.
|
| 192 |
+
`duplicate_provenance.jsonl.gz` records exact rows collapsed into each retained
|
| 193 |
+
canonical interaction. Partition membership never changes or copies canonical
|
| 194 |
+
content.
|
docs/trajectory_sources.md
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Trajectory source inventory
|
| 2 |
+
|
| 3 |
+
Audit date: 2026-10-14. Counts below distinguish upstream rows, imported
|
| 4 |
+
canonical records and records passing the strict multi-action/context gate.
|
| 5 |
+
`data/coverage/trajectory_sources.json` is the machine-readable counterpart;
|
| 6 |
+
`data/library/manifest.json` hashes every local canonical shard.
|
| 7 |
+
|
| 8 |
+
“Complete import” means the full identified upstream population for that
|
| 9 |
+
release/split, not every artifact ever published for a benchmark. “Protected”
|
| 10 |
+
means usable for evaluation/inspection but blocked from training export.
|
| 11 |
+
Source outcomes were not independently replayed unless explicitly stated.
|
| 12 |
+
|
| 13 |
+
## Measured coverage
|
| 14 |
+
|
| 15 |
+
`Imported` counts successfully canonicalized source rows before exact
|
| 16 |
+
deduplication. `Canonical` collapses only records with the same causal
|
| 17 |
+
interaction **and** the same outcome/reward/completeness/verification evidence;
|
| 18 |
+
all contributing IDs and locators remain in `duplicate_provenance.jsonl.gz`.
|
| 19 |
+
S/F/U are canonical success/failure/unknown counts. `Strict` is the retained
|
| 20 |
+
canonical count passing the complete multi-action/context gate.
|
| 21 |
+
|
| 22 |
+
| Source | Upstream rows | Imported | Canonical | Unique tasks | Strict | S/F/U | Missing or collapsed |
|
| 23 |
+
|---|---:|---:|---:|---:|---:|---:|---|
|
| 24 |
+
| SWE-Gym OpenHands SFT | 491 | 491 | 491 | 293 | 491 | 491/0/0 | none |
|
| 25 |
+
| SWE-Gym Sampled | 6,055 | 6,055 | 5,502 | 2,438 | 5,502 | 491/5,011/0 | 553 identical records collapsed |
|
| 26 |
+
| SWE-bench Verified trajectories | 5,000 | 5,000 | 4,544 | 500 | 4,532 | 3,392/1,152/0 | 456 identical records collapsed; 12 retained partials |
|
| 27 |
+
| SWE-bench Multilingual trajectories | 129 | 129 | 129 | 43 | 110 | 8/121/0 | 19 retained partials |
|
| 28 |
+
| SWE-smith `tool` | 24,100 | 24,100 | 24,100 | 10,637 | 24,100 | 9,427/14,673/0 | alternate XML/ticks serializations excluded |
|
| 29 |
+
| NVIDIA v1.2/OpenHands | 677,815 all-release | 51,626 | 51,626 | 33,444 | 51,626 | 24,743/26,883/0 | 626,189 other version/scaffold rows not imported |
|
| 30 |
+
| Terminal-Bench trajectories | 52,104 | 34,462 | 34,263 | 89 | 24,086 | 11,051/23,212/0 | 17,642 have no steps; 199 identical records collapsed |
|
| 31 |
+
| TerminalTraj | 20,000 | 20,000 | 20,000 | 17,787 | 19,143 | 0/0/20,000 | 857 retained short/partial traces |
|
| 32 |
+
| AgentSuite τ² | 8,340 | 8,340 | 8,340 | 228 | 8,337 | 3,375/4,965/0 | 3 retained incomplete traces |
|
| 33 |
+
| Official τ³ checked result | 200 | 200 | 200 | 50 | 0 | 100/100/0 | protected; not SFT-complete under strict gate |
|
| 34 |
+
| BrowseComp rollouts | 5,064 | 5,063 | 5,063 | 1,266 | 5,063 | 1,211/3,852/0 | 1 malformed row |
|
| 35 |
+
| Mind2Web exposed conversion | 1,009 | 1,009 | 1,009 | 1,009 | 1,009 | 0/0/1,009 | binary task outcome absent |
|
| 36 |
+
| ToolBench checked examples | 15 | 11 | 11 | 11 | 0 | 7/4/0 | 4 fail final gate; source flags are not semantic proof |
|
| 37 |
+
| AgentSuite BFCL | 115,466 | 0 | 0 | 0 | 0 | 0/0/0 | final calls only; no observations |
|
| 38 |
+
| ALFWorld planner records | 7,080 | 0 | 0 | 0 | 0 | 0/0/0 | actions lack paired observations |
|
| 39 |
+
|
| 40 |
+
Across the final inputs, 156,486 source rows became 155,278 canonical
|
| 41 |
+
interactions after 1,208 exact duplicates were collapsed. They cover 67,610
|
| 42 |
+
normalized tasks; 143,999 interactions pass the strict gate and 110,208 are
|
| 43 |
+
also training-eligible after protected-source separation. The coverage
|
| 44 |
+
manifest additionally records official final-answer/task registries and the
|
| 45 |
+
DeepSWE search result that do not enter this table as trajectory releases.
|
| 46 |
+
|
| 47 |
+
## SWE-Gym and SWE-bench family
|
| 48 |
+
|
| 49 |
+
- [SWE-Gym OpenHands SFT](https://huggingface.co/datasets/SWE-Gym/OpenHands-SFT-Trajectories),
|
| 50 |
+
revision `4aaa5a4a4b5861f4799d2336908760c190ac3b17`, MIT: all
|
| 51 |
+
491 `train.success.oss` OpenHands completion trajectories imported. The
|
| 52 |
+
success label is the published split, not local replay. Messages encode tool
|
| 53 |
+
actions/results in content; no arbitrary sample cap was used.
|
| 54 |
+
- [SWE-Gym OpenHands Sampled](https://huggingface.co/datasets/SWE-Gym/OpenHands-Sampled-Trajectories),
|
| 55 |
+
revision `baf3a4e4bff514d48ddc08a93a2ade5c126212c7`, no card
|
| 56 |
+
license: all 6,055 attempts imported, including published successful and
|
| 57 |
+
failed execution outcomes, structured tools and reports.
|
| 58 |
+
- [tarsur385 SWE-bench Verified trajectories](https://huggingface.co/datasets/tarsur385/swebench-verified-trajectories),
|
| 59 |
+
revision `773748a7c1222e8a642a7059821498e14293562a`, MIT: all
|
| 60 |
+
5,000 mini-SWE-agent files (10 model families × 500 protected tasks)
|
| 61 |
+
imported. Calls, results and source-resolved verdicts are full trajectories;
|
| 62 |
+
all remain protected evaluation data. The official SWE-bench Verified
|
| 63 |
+
instance table contains issues/tests/gold patches, not trajectories.
|
| 64 |
+
- [AlienKevin SWE-bench Multilingual trajectories](https://huggingface.co/datasets/AlienKevin/SWE-bench-Multilingual-trajectories),
|
| 65 |
+
revision `7221c09c6cc0ed16d51c9cb9886a1ab484465670`, MIT: all
|
| 66 |
+
129 attempts (three models × 43 Rust tasks) imported; 110 pass the strict
|
| 67 |
+
contextualized multi-action gate. The remaining 19 are explicit tier-5
|
| 68 |
+
partial/short diagnostics. This is a third-party protected rollout release,
|
| 69 |
+
not an official expert-demonstration set.
|
| 70 |
+
- [SWE-smith trajectories](https://huggingface.co/datasets/SWE-bench/SWE-smith-trajectories),
|
| 71 |
+
revision `08e109b4a59eaeebf80e4675cd125d42e7ac99a4`, MIT: all
|
| 72 |
+
24,100 `tool` rows imported and accepted. The `xml` (26,076 rows) and `ticks`
|
| 73 |
+
(25,826 rows) configurations are alternate serializations rather than
|
| 74 |
+
additional independent rollouts, so they are deliberately not duplicated.
|
| 75 |
+
|
| 76 |
+
## NVIDIA Open-SWE-Traces
|
| 77 |
+
|
| 78 |
+
[nvidia/Open-SWE-Traces](https://huggingface.co/datasets/nvidia/Open-SWE-Traces)
|
| 79 |
+
was pinned at `6d0a83373ae0d83abe3d363f1f18cb1822e16586` (CC-BY-4.0).
|
| 80 |
+
The release enumerates 677,815 trajectories:
|
| 81 |
+
|
| 82 |
+
| Version | Rows |
|
| 83 |
+
|---|---:|
|
| 84 |
+
| v1.0 | 151,219 |
|
| 85 |
+
| v1.1 | 263,226 |
|
| 86 |
+
| v1.2 | 263,370 |
|
| 87 |
+
| **All** | **677,815** |
|
| 88 |
+
|
| 89 |
+
All 51,626 v1.2/OpenHands records across 24 revision-qualified source Parquet
|
| 90 |
+
shards were imported and passed the action/observation gate. Messages, tools
|
| 91 |
+
and metadata were JSON-decoded; native instance/model/scaffold/resolved fields
|
| 92 |
+
remain intact. The other 626,189 version/scaffold rows were not downloaded:
|
| 93 |
+
their source Parquet totals 55,056,684,304 bytes, which exceeds the remaining
|
| 94 |
+
workspace budget once lossless canonical records and indexes are retained.
|
| 95 |
+
This is an explicitly quantified partial import, not a sample represented as a
|
| 96 |
+
complete NVIDIA corpus. The upstream repository advanced during the audit, but
|
| 97 |
+
all imported URLs and metadata remained pinned to the stated SHA.
|
| 98 |
+
|
| 99 |
+
## Terminal agents
|
| 100 |
+
|
| 101 |
+
- [yoonholee Terminal-Bench trajectories](https://huggingface.co/datasets/yoonholee/terminalbench-trajectories),
|
| 102 |
+
revision `04e8940f5b6736a7ce8d22224fe2f2af74163ed2`, Apache-2.0:
|
| 103 |
+
all 52,104 trial rows enumerated. Exactly 34,462 publish step sequences and
|
| 104 |
+
were imported; 17,642 `steps=null` rows are rejected as absent trajectories.
|
| 105 |
+
Of the deduplicated traces, 24,086 pass the strict gate and the rest remain
|
| 106 |
+
tier-5 partial diagnostics. Model, scaffold, reward, duration, token and cost
|
| 107 |
+
fields are preserved. Observations are source-truncated to 5,000 characters.
|
| 108 |
+
This protected third-party release is distinct from the official task repo.
|
| 109 |
+
- [TerminalTraj](https://huggingface.co/datasets/m-a-p/TerminalTraj), revision
|
| 110 |
+
`5c1823f4a8b9ca0cf02c27d2db52c5b35b53a308`, no card license: all
|
| 111 |
+
20,000 command/output records imported; 19,143 pass the multi-action/context
|
| 112 |
+
gate. No trustworthy task-level verdict exists, so outcomes are unknown—not
|
| 113 |
+
failed.
|
| 114 |
+
- The [official Terminal-Bench repository](https://github.com/laude-institute/terminal-bench)
|
| 115 |
+
at `d28711d0da2675d0bb1d56de45ae5df6082438a3` contains 241 protected task
|
| 116 |
+
manifests, tests and reference scripts. Those are not completion
|
| 117 |
+
trajectories; 966 audited files carried explicit anti-training canaries.
|
| 118 |
+
|
| 119 |
+
## τ² and τ³
|
| 120 |
+
|
| 121 |
+
- [AgentSuite τ² trajectories](https://huggingface.co/datasets/AgentSuite/tau2-bench-trajectories),
|
| 122 |
+
revision `07264f1d253a618fc20966670eddc44246212916`, no card
|
| 123 |
+
license: all 8,340 rollouts (30 models × 278 task slots) imported; 8,337 pass
|
| 124 |
+
the complete action/observation gate and three remain explicit incomplete
|
| 125 |
+
diagnostics because a call has no returned observation. System/user/assistant/tool
|
| 126 |
+
interactions and evaluator correctness/reward are present. Tool definitions
|
| 127 |
+
are absent and declared missing. They are τ²
|
| 128 |
+
rollouts, not assumed version-compatible with τ³.
|
| 129 |
+
- [Official τ³ repository rollouts](https://github.com/sierra-research/tau2-bench),
|
| 130 |
+
revision `dd8757d4c8791dad7b3cdaf02a105a3d5f9d86bd`, MIT code plus
|
| 131 |
+
benchmark restrictions: the available checked-in final result file contains
|
| 132 |
+
200 model/user-simulator trials over 50 tasks (100 source successes and 100
|
| 133 |
+
failures). It is imported for evaluation only. Expected actions and solution
|
| 134 |
+
metadata are never treated as expert demonstrations.
|
| 135 |
+
|
| 136 |
+
## Function calling and general tool use
|
| 137 |
+
|
| 138 |
+
- [AgentSuite BFCL outputs](https://huggingface.co/datasets/AgentSuite/BFCL-trajectories),
|
| 139 |
+
revision `a86612c6bb68e6566e5e7d206f7b031af889edc0`, no card license:
|
| 140 |
+
all 115,466 rows were audited. They contain user prompts, model final function
|
| 141 |
+
calls, scores and latency but no returned tool observations. Zero qualify as
|
| 142 |
+
trajectories; none enter the canonical library. This is “exists but is only
|
| 143 |
+
final output,” not “no BFCL data exists.”
|
| 144 |
+
- [ToolBench](https://github.com/OpenBMB/ToolBench), revision
|
| 145 |
+
`d56fdd89faf8c91fa135090b212bb9057ee5cfc2`, Apache-2.0 repository:
|
| 146 |
+
all 15 checked-in answer examples were inspected, 13 adapted, and 11 pass the
|
| 147 |
+
strict gate. The final cumulative history is used once; cumulative prefixes
|
| 148 |
+
are not duplicated. `win`/`valid_data` are generation flags rather than
|
| 149 |
+
independent semantic success evidence. A complete full-release population
|
| 150 |
+
was not verified.
|
| 151 |
+
|
| 152 |
+
## Web agents
|
| 153 |
+
|
| 154 |
+
- [rl-rag BrowseComp rollouts](https://huggingface.co/datasets/rl-rag/browsecomp-gpt-oss-120b-260222),
|
| 155 |
+
revision `ac4854be0eb527cdf90f6c7d09446eeb7a3d1dbd`, no card license:
|
| 156 |
+
5,063/5,064 full research-agent conversations imported; one row lacks a
|
| 157 |
+
conversation. The release normally has four GPT-OSS-120B attempts per
|
| 158 |
+
question, full search results and a source GPT-4o answer-judge verdict.
|
| 159 |
+
Reference answers stay out of model input. This is protected evaluation data;
|
| 160 |
+
official BrowseComp question/answer rows alone are not trajectories.
|
| 161 |
+
- [Mind2Web](https://huggingface.co/datasets/osunlp/Mind2Web), revision
|
| 162 |
+
`17ece8eb89862368edc0cc806acee6fca5163474`, CC-BY-4.0: all 1,009
|
| 163 |
+
rows exposed by the hosted partial Parquet conversion imported. These are
|
| 164 |
+
human action sequences with a full pre-action DOM for each target and no
|
| 165 |
+
binary task-success field. Completeness is claimed only for that exposed
|
| 166 |
+
conversion, not every historical artifact.
|
| 167 |
+
|
| 168 |
+
## ALFWorld and DeepSWE
|
| 169 |
+
|
| 170 |
+
- [ALFWorld](https://github.com/alfworld/alfworld) release 0.2.2 contains
|
| 171 |
+
7,080 planner `traj_data.json` records (archive SHA-256
|
| 172 |
+
`25171f16e20ad7b048c47275c45b0babf3aa1cbab29cec97387922350a9844bc`).
|
| 173 |
+
They preserve human task text, planner/low actions and image references but
|
| 174 |
+
not action-paired environment observations in the audited artifact. They are
|
| 175 |
+
therefore excluded rather than promoted to full trajectories.
|
| 176 |
+
- No exact public, pinned DeepSWE/Datacurve full-trajectory release was found.
|
| 177 |
+
This is the “none found after searching” state—not evidence that no private or
|
| 178 |
+
future trajectory artifact exists. Protected SWE evaluation/reference data
|
| 179 |
+
was not substituted for demonstrations.
|
| 180 |
+
|
| 181 |
+
## Outcome and permission interpretation
|
| 182 |
+
|
| 183 |
+
- Expert provenance is used only for human/reference/planner demonstrations;
|
| 184 |
+
successful model rollouts remain recorded agent completions.
|
| 185 |
+
- Source-evaluator and source-reported verdicts are distinct from independent
|
| 186 |
+
reproduction. This build performed zero native benchmark replays.
|
| 187 |
+
- Conditional sources can populate preparation-time training exports because
|
| 188 |
+
licensing was explicitly out of scope for this data-preparation task.
|
| 189 |
+
Evaluation-only sources remain `protected_evaluation` regardless.
|
| 190 |
+
- Failed and unknown outcomes have separate indexes and denominators.
|
| 191 |
+
|
| 192 |
+
## Reproducing imports
|
| 193 |
+
|
| 194 |
+
Most hosted releases use the same resumable command (repeat `--split` for
|
| 195 |
+
multi-split datasets):
|
| 196 |
+
|
| 197 |
+
```bash
|
| 198 |
+
.venv/bin/python scripts/import_hf_release.py SOURCE_ID DATASET_ID \
|
| 199 |
+
--revision IMMUTABLE_SHA --output data/full/canonical/OUTPUT \
|
| 200 |
+
--cache data/cache/full/OUTPUT --config default --split SPLIT
|
| 201 |
+
```
|
| 202 |
+
|
| 203 |
+
Concrete source/split pairs are recorded in `data/registry/sources.json` and
|
| 204 |
+
every generated `release-manifest.json`. NVIDIA uses pinned repository files so
|
| 205 |
+
the moving dataset-server conversion cannot change the bytes:
|
| 206 |
+
|
| 207 |
+
```bash
|
| 208 |
+
.venv/bin/python scripts/import_hf_release.py \
|
| 209 |
+
nvidia_open_swe_traces nvidia/Open-SWE-Traces \
|
| 210 |
+
--revision 6d0a83373ae0d83abe3d363f1f18cb1822e16586 \
|
| 211 |
+
--output data/full/canonical/nvidia_v1_2_openhands_original \
|
| 212 |
+
--cache data/cache/full/nvidia_v1_2_openhands_original \
|
| 213 |
+
--config v1.2 --split openhands \
|
| 214 |
+
--original-glob 'data/openhands/qwen38_27b/*/*.parquet' \
|
| 215 |
+
--original-glob 'data/openhands/qwen38_flash_next/*/*.parquet'
|
| 216 |
+
```
|
| 217 |
+
|
| 218 |
+
Native JSON trees (tarsur SWE-bench Verified, AgentSuite τ² and official τ³)
|
| 219 |
+
are checked out at the registered SHA and streamed with:
|
| 220 |
+
|
| 221 |
+
```bash
|
| 222 |
+
.venv/bin/python scripts/import_json_tree.py SOURCE_ID PINNED_CHECKOUT \
|
| 223 |
+
--output data/full/canonical/OUTPUT/all.jsonl.gz \
|
| 224 |
+
--revision IMMUTABLE_SHA --url DIRECT_SOURCE_URL --glob '**/*.json*'
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
The combined 211-record seed used by the final build is reproducible from the
|
| 228 |
+
official τ³ result and checked-in ToolBench example. First adapt those pinned
|
| 229 |
+
files separately; apply `scripts/filter_canonical.py --strict --source
|
| 230 |
+
toolbench` to the ToolBench result (13 adapt, 11 pass); then combine the 200 τ³
|
| 231 |
+
and 11 ToolBench records with:
|
| 232 |
+
|
| 233 |
+
```bash
|
| 234 |
+
.venv/bin/python scripts/filter_canonical.py \
|
| 235 |
+
data/full/canonical/official_tau3/all.jsonl.gz \
|
| 236 |
+
data/full/canonical/toolbench/strict.jsonl.gz \
|
| 237 |
+
--source official_tau3 --source toolbench \
|
| 238 |
+
--output data/full/canonical/seed_evaluation/official_tau3_toolbench.jsonl.gz
|
| 239 |
+
```
|
| 240 |
+
|
| 241 |
+
Finally run the complete-library, coverage, gallery and evaluation commands in
|
| 242 |
+
the root [README](../README.md). No command applies an arbitrary row limit.
|
registry/benchmarks.json
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"updated": "2026-10-14",
|
| 4 |
+
"benchmarks": [
|
| 5 |
+
{
|
| 6 |
+
"id": "browsecomp",
|
| 7 |
+
"name": "BrowseComp",
|
| 8 |
+
"description": "Research-style web browsing and answer synthesis.",
|
| 9 |
+
"url": "https://github.com/openai/simple-evals",
|
| 10 |
+
"metric": {
|
| 11 |
+
"name": "answer correctness",
|
| 12 |
+
"type": "llm_judge",
|
| 13 |
+
"direction": "higher_is_better",
|
| 14 |
+
"imported_evidence": "Source-reported GPT-4o answer judge.",
|
| 15 |
+
"caveat": "The judge result was not independently reproduced."
|
| 16 |
+
},
|
| 17 |
+
"source_ids": ["browsecomp_rollouts"]
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"id": "mind2web",
|
| 21 |
+
"name": "Mind2Web",
|
| 22 |
+
"description": "Human demonstrations for completing tasks on real websites.",
|
| 23 |
+
"url": "https://osu-nlp-group.github.io/Mind2Web/",
|
| 24 |
+
"metric": {
|
| 25 |
+
"name": "step and element accuracy",
|
| 26 |
+
"type": "action_match",
|
| 27 |
+
"direction": "higher_is_better",
|
| 28 |
+
"imported_evidence": "Human action and pre-action DOM context.",
|
| 29 |
+
"caveat": "The imported demonstrations have no task-level execution result."
|
| 30 |
+
},
|
| 31 |
+
"source_ids": ["mind2web"]
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"id": "swe-bench",
|
| 35 |
+
"name": "SWE-bench",
|
| 36 |
+
"description": "Resolve real software repository issues.",
|
| 37 |
+
"url": "https://www.swebench.com/",
|
| 38 |
+
"metric": {
|
| 39 |
+
"name": "resolved",
|
| 40 |
+
"type": "native_binary",
|
| 41 |
+
"direction": "higher_is_better",
|
| 42 |
+
"imported_evidence": "Source-published repository test result.",
|
| 43 |
+
"caveat": "Results were not replayed by this project."
|
| 44 |
+
},
|
| 45 |
+
"source_ids": [
|
| 46 |
+
"nvidia_open_swe_traces",
|
| 47 |
+
"swebench_multilingual_trajectories",
|
| 48 |
+
"swebench_verified_trajectories"
|
| 49 |
+
]
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"id": "swe-gym",
|
| 53 |
+
"name": "SWE-Gym",
|
| 54 |
+
"description": "Train and evaluate software-engineering agents on repository tasks.",
|
| 55 |
+
"url": "https://github.com/SWE-Gym/SWE-Gym",
|
| 56 |
+
"metric": {
|
| 57 |
+
"name": "execution-test success",
|
| 58 |
+
"type": "native_binary",
|
| 59 |
+
"direction": "higher_is_better",
|
| 60 |
+
"imported_evidence": "Published successful split or source execution-test result.",
|
| 61 |
+
"caveat": "The OpenHands SFT release is success-conditioned."
|
| 62 |
+
},
|
| 63 |
+
"source_ids": ["swegym_openhands", "swegym_sampled"]
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"id": "swe-smith",
|
| 67 |
+
"name": "SWE-smith",
|
| 68 |
+
"description": "Generated software-engineering tasks with executable validation.",
|
| 69 |
+
"url": "https://github.com/SWE-bench/SWE-smith",
|
| 70 |
+
"metric": {
|
| 71 |
+
"name": "resolved",
|
| 72 |
+
"type": "native_binary",
|
| 73 |
+
"direction": "higher_is_better",
|
| 74 |
+
"imported_evidence": "Source-published resolved field.",
|
| 75 |
+
"caveat": "Results were not replayed by this project."
|
| 76 |
+
},
|
| 77 |
+
"source_ids": ["swesmith_trajectories"]
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"id": "tau2-bench",
|
| 81 |
+
"name": "τ2-bench",
|
| 82 |
+
"description": "Tool-using agents interacting with simulated users in service domains.",
|
| 83 |
+
"url": "https://github.com/sierra-research/tau2-bench",
|
| 84 |
+
"metric": {
|
| 85 |
+
"name": "evaluator correctness and reward",
|
| 86 |
+
"type": "native_reward",
|
| 87 |
+
"direction": "higher_is_better",
|
| 88 |
+
"imported_evidence": "AgentSuite evaluator score, database match and correctness fields.",
|
| 89 |
+
"caveat": "AgentSuite trajectories use τ2 tasks and are not version-matched τ3 results."
|
| 90 |
+
},
|
| 91 |
+
"source_ids": ["agentsuite_tau2"]
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"id": "tau3-bench",
|
| 95 |
+
"name": "τ3-bench",
|
| 96 |
+
"description": "Tool-using agents and simulated users with environment reward evidence.",
|
| 97 |
+
"url": "https://github.com/sierra-research/tau2-bench",
|
| 98 |
+
"metric": {
|
| 99 |
+
"name": "environment/action/communication reward",
|
| 100 |
+
"type": "native_reward",
|
| 101 |
+
"direction": "higher_is_better",
|
| 102 |
+
"imported_evidence": "Reward evidence from an official checked-in result file.",
|
| 103 |
+
"caveat": "Only the imported result file is represented."
|
| 104 |
+
},
|
| 105 |
+
"source_ids": ["official_tau3"]
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"id": "terminal-bench",
|
| 109 |
+
"name": "Terminal-Bench",
|
| 110 |
+
"description": "Complete practical tasks in sandboxed terminal environments.",
|
| 111 |
+
"url": "https://github.com/laude-institute/terminal-bench",
|
| 112 |
+
"metric": {
|
| 113 |
+
"name": "task reward",
|
| 114 |
+
"type": "native_reward",
|
| 115 |
+
"direction": "higher_is_better",
|
| 116 |
+
"imported_evidence": "Source-reported Terminal-Bench reward.",
|
| 117 |
+
"caveat": "Scores were not replayed by this project."
|
| 118 |
+
},
|
| 119 |
+
"source_ids": ["terminalbench_trajectories"]
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"id": "terminaltraj",
|
| 123 |
+
"name": "TerminalTraj",
|
| 124 |
+
"description": "A corpus of terminal command and observation trajectories.",
|
| 125 |
+
"url": "https://huggingface.co/datasets/m-a-p/TerminalTraj",
|
| 126 |
+
"metric": {
|
| 127 |
+
"name": "not available",
|
| 128 |
+
"type": "none",
|
| 129 |
+
"direction": "not_applicable",
|
| 130 |
+
"imported_evidence": "Paired command and terminal-output transcript.",
|
| 131 |
+
"caveat": "No trustworthy task-level success field is published."
|
| 132 |
+
},
|
| 133 |
+
"source_ids": ["terminaltraj"]
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"id": "toolbench",
|
| 137 |
+
"name": "ToolBench",
|
| 138 |
+
"description": "Tool-use planning and API-call trajectories.",
|
| 139 |
+
"url": "https://github.com/OpenBMB/ToolBench",
|
| 140 |
+
"metric": {
|
| 141 |
+
"name": "valid-data/win generation status",
|
| 142 |
+
"type": "source_proxy",
|
| 143 |
+
"direction": "higher_is_better",
|
| 144 |
+
"imported_evidence": "Published generation status.",
|
| 145 |
+
"caveat": "This is not independent semantic proof of task success."
|
| 146 |
+
},
|
| 147 |
+
"source_ids": ["toolbench"]
|
| 148 |
+
}
|
| 149 |
+
]
|
| 150 |
+
}
|