File size: 2,444 Bytes
d4ee570 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | ---
license: mit
language:
- en
task_categories:
- reinforcement-learning
- text-classification
tags:
- agent-routing
- appworld
- scienceworld
- multi-model-routing
---
# RouteStep Trajectory Dataset
This directory contains normalized AppWorld and ScienceWorld trajectories for
step-level model routing. Every JSON file is self-contained and uses USD
cache-aware token-price estimates from `pricing.json`.
## Layout
```text
dataset/
├── pricing.json
├── appworld/
│ ├── manifest.json
│ ├── task_ids.txt
│ ├── single_model_trajectories/<task_id>/<model_slug>.json
│ └── mixed_trajectories/<task_id>.json
└── scienceworld/
├── manifest.json
├── task_ids.txt
├── single_model_trajectories/<task_id>/<model_slug>.json
└── mixed_trajectories/<task_id>.json
```
## Cost convention
`prompt_tokens` includes cached tokens. For every model call:
```text
uncached_input_tokens = prompt_tokens - cache_read_tokens - cache_write_tokens
estimated_cost_usd = (
uncached_input_tokens * input_price
+ cache_read_tokens * cache_read_price
+ cache_write_tokens * cache_write_price
+ completion_tokens * output_price
) / 1_000_000
```
Provider-reported spend is not used for cross-model comparisons. Prices and
all costs are denominated in USD.
In AppWorld single-model files, `state.history_step_indices` references earlier
steps in the same trajectory instead of duplicating their complete action and
observation payloads. This preserves the full ordered history while keeping
the dataset compact.
## Coverage
- AppWorld: 3,616 single-model trajectories and 418 successful mixed trajectories.
- ScienceWorld: 1,525 single-model trajectories and 477 successful mixed trajectories.
- All AppWorld mixed trajectories have complete per-step usage and cost fields.
- 299 ScienceWorld mixed trajectories have complete per-step usage and costs.
The remaining 178 historical trajectories did not retain candidate-call token
usage; their unavailable usage and cost fields are `null` rather than inferred.
See each benchmark's `manifest.json` for aggregate counts and costs.
## Downloaded archives
The Hugging Face release stores each benchmark as a compressed archive to
avoid per-file API rate limits. Each archive expands to the layout documented
above:
```bash
tar --zstd -xf appworld.tar.zst
tar --zstd -xf scienceworld.tar.zst
```
|