Mirror the 955 cases from paper-v1.2 (train/holdout splits)
Browse files- README.md +144 -0
- data/holdout-00000-of-00001.jsonl +0 -0
- data/train-00000-of-00001.jsonl +0 -0
README.md
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pretty_name: MetroLLM-Bench
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- benchmark
|
| 10 |
+
- tool-calling
|
| 11 |
+
- agents
|
| 12 |
+
- transit
|
| 13 |
+
- kiosk
|
| 14 |
+
- llm-evaluation
|
| 15 |
+
size_categories:
|
| 16 |
+
- n<1K
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: default
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/train-*.jsonl
|
| 22 |
+
- split: holdout
|
| 23 |
+
path: data/holdout-*.jsonl
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# MetroLLM-Bench
|
| 27 |
+
|
| 28 |
+
The 955 cases of **MetroLLM-Bench**, a benchmark for language models as the policy layer of a
|
| 29 |
+
transit kiosk. The model receives kiosk events, calls structured tools (route planner, fare
|
| 30 |
+
calculator, station info, disruption feed, knowledge base) and submits a terminal state: outcome,
|
| 31 |
+
fare quote where applicable, kiosk action.
|
| 32 |
+
|
| 33 |
+
Paper: [MetroLLM-Bench: Evaluating Language Models as Transit Kiosk Runtimes](https://arxiv.org/abs/2609.10016)
|
| 34 |
+
(arXiv:2609.10016). Code, harness and ground-truth generator:
|
| 35 |
+
[github.com/continker/metrollm-bench](https://github.com/continker/metrollm-bench).
|
| 36 |
+
Fine-tuned students: the [MetroLLM-Bench v24 collection](https://huggingface.co/collections/continker/metrollm-bench-v24-6a35b586a11068e1b1ba3d47).
|
| 37 |
+
Live HF Space demo: [remcohendriks/metrollm](https://huggingface.co/spaces/remcohendriks/metrollm).
|
| 38 |
+
|
| 39 |
+
Mirror of `cases/*_cases.json` at tag `paper-v1.2` of the repository; the repository is the source of
|
| 40 |
+
truth. Regenerated by `scripts/build_hf_dataset.py`.
|
| 41 |
+
|
| 42 |
+
## Case details
|
| 43 |
+
|
| 44 |
+
One row per case. Each row holds the kiosk event sequence (station selected, passenger count
|
| 45 |
+
changed, disruption update, free-text input), the system context (current time, active
|
| 46 |
+
disruptions, framebook) and the ground truth used for scoring (expected route, fare, outcome,
|
| 47 |
+
kiosk action, and category-specific expectations such as traps or policies).
|
| 48 |
+
|
| 49 |
+
Scoring requires the harness in the repository: the mock tool server backed by the six system
|
| 50 |
+
datasets, the runner, and the 22-component scorer with its language-model judge. See
|
| 51 |
+
`REPRODUCING.md` there.
|
| 52 |
+
|
| 53 |
+
## Systems
|
| 54 |
+
|
| 55 |
+
| System | `system` | Cases | Train | Held-out |
|
| 56 |
+
|---|---|---:|---:|---:|
|
| 57 |
+
| MARTA (Atlanta) | `marta` | 156 | 117 | 39 |
|
| 58 |
+
| Doha Metro | `doha` | 156 | 117 | 39 |
|
| 59 |
+
| BART (San Francisco Bay Area) | `bart` | 157 | 118 | 39 |
|
| 60 |
+
| Taipei MRT | `taipei` | 167 | 125 | 42 |
|
| 61 |
+
| CTA L (Chicago) | `cta` | 157 | 118 | 39 |
|
| 62 |
+
| Beijing Subway | `beijing` | 162 | 122 | 40 |
|
| 63 |
+
|
| 64 |
+
## Categories
|
| 65 |
+
|
| 66 |
+
| `category` | Name | Cases |
|
| 67 |
+
|---|---|---:|
|
| 68 |
+
| A | Routing | 121 |
|
| 69 |
+
| B | Fare calculation | 93 |
|
| 70 |
+
| C | Disruptions | 124 |
|
| 71 |
+
| D | Accessibility | 91 |
|
| 72 |
+
| E | Cultural and multilingual | 42 |
|
| 73 |
+
| F | Policy change | 94 |
|
| 74 |
+
| G | Multi-turn | 90 |
|
| 75 |
+
| H | Adversarial | 90 |
|
| 76 |
+
| I | Temporal reasoning | 90 |
|
| 77 |
+
| J | Tool hallucination | 90 |
|
| 78 |
+
| K | Compound stress | 30 |
|
| 79 |
+
|
| 80 |
+
## Splits
|
| 81 |
+
|
| 82 |
+
`train` (717 cases) and `holdout` (238 cases) form the paper's stratified 75/25
|
| 83 |
+
case-level partition (seed 42, stratified by system). Training data for
|
| 84 |
+
the students came from `train` only; all held-out numbers in the paper are computed on `holdout`.
|
| 85 |
+
|
| 86 |
+
## Row schema
|
| 87 |
+
|
| 88 |
+
| Column | Type | Content |
|
| 89 |
+
|---|---|---|
|
| 90 |
+
| `id` | string | case id, e.g. `MARTA-A-001` |
|
| 91 |
+
| `system` | string | one of the six system keys |
|
| 92 |
+
| `category` | string | `A` to `K` |
|
| 93 |
+
| `difficulty` | string | `easy`, `medium`, `hard` |
|
| 94 |
+
| `interaction_mode` | string | `structured`, `freetext`, `multi_turn`, `adversarial`, `hallucination_probe`, `compound` |
|
| 95 |
+
| `title` | string | short scenario title |
|
| 96 |
+
| `partition` | string | `train` or `holdout` (same as the split) |
|
| 97 |
+
| `expected_outcome` | string | one of `route_and_fare_ready`, `advisory_only`, `service_unavailable`, `request_declined`, `policy_answer_only` |
|
| 98 |
+
| `expected_kiosk_action` | string | the kiosk action the terminal state must carry |
|
| 99 |
+
| `fare_total` | float or null | expected fare; null where no fare applies |
|
| 100 |
+
| `fare_currency` | string or null | `USD`, `QAR`, `TWD`, `CNY` |
|
| 101 |
+
| `events` | string (JSON) | the kiosk event sequence, verbatim |
|
| 102 |
+
| `system_context` | string (JSON) | current time, active disruptions, framebook, feature toggles |
|
| 103 |
+
| `ground_truth` | string (JSON) | the complete ground truth, all keys |
|
| 104 |
+
| `scoring` | string (JSON) | point weights of the scoring components that apply to this case |
|
| 105 |
+
| `tolerances` | string (JSON) | numeric tolerances used by the scorer |
|
| 106 |
+
| `extras` | string (JSON) | category-specific fields (scenario, trap, policy, temporal, accessibility, cultural ids) |
|
| 107 |
+
|
| 108 |
+
The JSON columns hold the original case objects verbatim; `json.loads` returns the same objects as
|
| 109 |
+
`cases/<system>_cases.json`.
|
| 110 |
+
|
| 111 |
+
## Loading
|
| 112 |
+
|
| 113 |
+
```python
|
| 114 |
+
from datasets import load_dataset
|
| 115 |
+
import json
|
| 116 |
+
|
| 117 |
+
ds = load_dataset("continker/metrollm-bench")
|
| 118 |
+
row = ds["holdout"][0]
|
| 119 |
+
events = json.loads(row["events"])
|
| 120 |
+
ground_truth = json.loads(row["ground_truth"])
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
## Citation
|
| 124 |
+
|
| 125 |
+
```bibtex
|
| 126 |
+
@techreport{hendriks2026metrollm,
|
| 127 |
+
title = {MetroLLM-Bench: Evaluating Language Models as Transit Kiosk Runtimes},
|
| 128 |
+
author = {Hendriks, Remco},
|
| 129 |
+
institution = {Continker},
|
| 130 |
+
type = {Technical report},
|
| 131 |
+
number = {v1.2},
|
| 132 |
+
year = {2026},
|
| 133 |
+
month = {9},
|
| 134 |
+
doi = {10.5281/zenodo.21893944},
|
| 135 |
+
eprint = {2609.10016},
|
| 136 |
+
archiveprefix = {arXiv},
|
| 137 |
+
primaryclass = {cs.LG},
|
| 138 |
+
url = {https://arxiv.org/abs/2609.10016}
|
| 139 |
+
}
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
## License
|
| 143 |
+
|
| 144 |
+
Apache License 2.0, as the code, ground truth and framebooks in the repository.
|
data/holdout-00000-of-00001.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/train-00000-of-00001.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|