Dataset Viewer
Auto-converted to Parquet Duplicate
task_id
stringlengths
14
22
family
stringclasses
3 values
variant
stringclasses
3 values
split
stringclasses
1 value
seed
int64
0
0
gen_version
int64
1
1
landscape
stringclasses
1 value
map_size
int64
64
256
harbor_name
stringlengths
35
43
docker_image
stringclasses
1 value
title
stringlengths
0
53
instruction
stringlengths
2.22k
3.17k
horizon_days
int64
60
1.83k
runoff_days
int64
0
730
limits
stringclasses
3 values
objective
stringlengths
26
304
scenario
stringlengths
482
482
idle_reward
float64
0
0.5
oracle_reward
float64
0
1
start_sav
unknown
task_binary
unknown
arena-dev-0000
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0000
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
# Arena: make money and scale You run a new transport company with a 1825-day mandate. Build whatever network you like (road, rail, air, water). When the mandate ends, your company keeps running **without you** for 365 more days; the reward is your **net worth (cash minus loan) after that run-off**, on a log scale: do...
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -25800, "w_base": 11940, "score": "log50"}
{"gen_version": 1, "split": "dev", "landscape": "temperate", "map_log2": 8, "starting_year": 1990, "settings": {"difficulty": {"number_towns": "2", "industry_density": "4", "terrain_type": "1", "quantity_sea_lakes": "2", "max_loan": "300000", "initial_interest": "4", "vehicle_breakdowns": "0", "construction_cost": "0",...
0
0.176291
[ 79, 84, 84, 88, 1, 106, 0, 0, 253, 55, 122, 88, 90, 0, 0, 1, 105, 34, 222, 54, 2, 0, 33, 1, 18, 0, 0, 0, 35, 184, 135, 44, 236, 6, 189, 239, 255, 93, 0, 35, 147, 6, 33, 6, 184, 180, 115, 35, 214, 6, 82, 246, 131,...
[ 31, 139, 8, 0, 232, 250, 209, 106, 2, 255, 237, 125, 233, 114, 228, 198, 149, 174, 126, 215, 83, 228, 148, 28, 35, 146, 83, 36, 145, 200, 76, 44, 84, 112, 34, 218, 150, 102, 220, 115, 61, 150, 163, 37, 207, 132, 67, 238, ...
arena-dev-0001
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0001
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -25800, "w_base": 26692, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzncAvv/l0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+196XLjRpauf/MpcuiOsaTRgkRmYpFDE1Hd9kzX3J52R9k9Ex3uClYiFxEtEmADoFQct5/mvsl9svudBEktpbJ(...TRUNCATED)
arena-dev-0003
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0003
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -19800, "w_base": 125762, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyznlNTv/l0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d65LbxpX2bz5Fh3atZyacGTQajcu4JlVy7Gy069guWdmUy1ZRjb4MkSEBGgBnxDh6mn2TfbL9ToPkXCR5JJN(...TRUNCATED)
arena-dev-0005
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0005
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -13800, "w_base": 185775, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzsTzvwAF0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d63LbRpbObz5FDzO1kTSUhEajcVFKW+VMMjvezSQpx7NTqcRFN/oiYkQCDABK5mT8NPsm+2T7nQZJXSxFtkl(...TRUNCATED)
arena-dev-0007
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0007
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -25800, "w_base": 29763, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzplkLv/l0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d/3LjNpLO33oKrLJ1sb2yTQAEfzjlq5pssrdzl01Sk+xtpZIpDQiAFtcSqZCUPdrsPM29yT3ZfQ1KsuXxxJO(...TRUNCATED)
arena-dev-0008
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0008
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -19800, "w_base": 78194, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzsHhTv/10AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d63LkxnXW73mKzsgVkcyQRDe6caGKqVpbcryJbblWclwueWu20RcOzBlgDGDInch6mrxJnizfacwML8sVJXG(...TRUNCATED)
arena-dev-0009
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0009
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -19800, "w_base": 51712, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzsA07v/10AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d63LktpX2734KpJ1aS0pLIgiAF7m0VePY2cxuEqfGzqZSzlQPiIuaUTfZIdnSdBw/zb7JPtl+B+xuXWbGsq3(...TRUNCATED)
arena-dev-0010
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0010
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -19800, "w_base": 102580, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzoYpXv/l0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d63LkxnXW73mKzsgVkcyQ7EajcaFqU7W2lHgT23Kt5KRc8tZsoy8cmDPAGMCQO5b1NHmTPFm+05gZXpa7XIn(...TRUNCATED)
arena-dev-0011
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0011
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -25800, "w_base": 52541, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyzsEPfv/l0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d63LkxnXW73mKzsgVkcyQRHejcaFqU7W25HgT23Kt5Lhc8tZsoy8cmDPAGMCQO5H3afImebJ8pzEzvCxXXIn(...TRUNCATED)
arena-dev-0013
tycoon
tycoon
dev
0
1
temperate
256
rachittshah/railhead-arena-dev-0013
ghcr.io/rachittshah/railhead:0.1.1
Arena: make money and scale
"# Arena: make money and scale\n\nYou run a new transport company with a 1825-day mandate. Build wha(...TRUNCATED)
1,825
365
{"max_forks": 2, "max_fork_days": 365}
{"w_idle": -19800, "w_base": 74609, "score": "log50"}
"{\"gen_version\": 1, \"split\": \"dev\", \"landscape\": \"temperate\", \"map_log2\": 8, \"starting_(...TRUNCATED)
0
0.176291
"T1RUWAFqAAD9N3pYWgAAAWki3jYCACEBEgAAACO4hyznjvDwAF0AI5MGIQa4tHMj1gZS9oOnuX65IBqgiGmRTJVcdJV+iUlU3Zr(...TRUNCATED)
"H4sIAOj60WoC/+1d63LktpX2734KpJ1aS9qWRBAAL3Jpqyaxs5ndJE6NnU2lnKkeEBc1o26yQ7Kl6Th+mn2TfbL9DtjdusyMNbZ(...TRUNCATED)
End of preview. Expand in Data Studio

Railhead

Railhead is a reinforcement learning (RL) environment. In Railhead, a language model plays the transport game OpenTTD directly. The model controls one company with the same commands that a human player uses. This dataset contains the Railhead tasks, the oracle trajectories, and the games of the models in the arenas. The documents of Railhead follow ASD-STE100 Simplified Technical English.

Contents

Config Split Rows
tasks dev 278
tasks ood 255
tasks train 1006
trajectories dev 295
trajectories ood 255
trajectories train 1006

Config tasks

Each row is one task. The important columns are:

Column Description
task_id The identifier of the task. It is the same in Harbor and in the image.
family, split The task family and the split (train, dev, or ood).
instruction The text that the agent receives.
objective, scenario, limits The task specification (JSON).
idle_reward, oracle_reward The certificates: the reward for no play and for the oracle.
start_sav The sealed start state (an OpenTTD savegame).
task_binary The complete Harbor task directory (tar.gz), with the tests and the oracle solution.

Config trajectories

Each row is one trajectory. The policy column is oracle for the scripted oracle. For a game of a model in an arena, the policy column is the name of the model (for example claude-opus-5-5 or gpt-6-astra). These games are in the dev split, for the tasks arena-dev-0005 and arena-dev-0100. The actions_jsonl column is the action log. The verifier replays this log from start_sav and calculates the reward. The components column contains the reward and the diagnostic values. The turn_credit column contains the leave-one-turn-out credit for each turn.

Task families

Family Objective Reward
deliver Deliver a quantity of a cargo to one industry in 300 days. min(1, D / Q)
deliver_bid The deliver objective with a promise of a quantity. A proper newsvendor score, linear in 0 to 1
impossible A contract that no company can complete. 1 if the agent abstains, else 0
simops Repair a truck route that has faults. Run-off deliveries between the broken and the repaired network
tycoon Open play for 365 days. Net worth after a 730-day run-off, 0.5 at the scripted baseline

The ood split uses the arctic and tropic climates. The cargo chains of these climates are not in the train split.

Use the tasks

  1. Pull the image: docker pull ghcr.io/rachittshah/railhead:0.1.0.
  2. Extract task_binary of a row to a directory.
  3. Run the task with Harbor: harbor run -p <task_dir> -a <agent> -m <model>.

The reward is in verifier/reward.json. The verifier replays the action log of the agent from the sealed start state. A change to the live game that is not in the action log has no effect on the reward.

License

The dataset and the Railhead code have the MIT license. The environment image contains OpenTTD, which has the GPL-2.0 license.

Downloads last month
30