{"data":{"kind":"file","path":"README.md","version_id":"aijz309sanldys9mvclf3r65","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":4987,"modified_at":"2026-11-26T17:00:12.698000","content_hash":"7b9ea9ab1eaca4b7d7763a056ea1336966a8fbb9b0680e704eb7cbbaf398be96"},"entries":[],"content":"# unstuck\n\nAdvent of Evals, Day 2. \"Billy Pilgrim has come unstuck in time.\" The model gets the moments of one generated life,\nshuffled, and has to put the life back together: when did he get each dog, move to each town, buy each car and boat?\n\n### Overview\n- **Environment ID**: `unstuck`\n- **Short description**: Rebuild a life from its shuffled moments: fit several hidden back-to-back timelines together\n  from \"at the same time\" clues.\n- **Tags**: `advent-of-evals`, `temporal-reasoning`, `single-turn`, `eval`, `train`\n\n### Task\n- **Type**: single turn, no tools.\n- **What the model sees**: the rules of the life, then 12-32 short moments (`S01: He turns 47 this year. He walks to\n  the corner store in Utica. It is his 6th year sailing the Dorothy B.`). A life has 4-6 lanes (dogs, towns, cars,\n  boats, pipes, papers) of 4-5 things each. Each lane's things came one at a time, back to back, in an order the text\n  never states: the prompt lists them alphabetically with how many years he had each. The clues are which things\n  share a moment (\"at the same time\"), two stated ages, and a few clocks (\"his 3rd year in Utica\").\n- **Why it's hard**: before any order is tried, the clues pin at most a couple of start years. The rest only falls out\n  of searching the lanes' orders together; our own exhaustive solver needs from ~10 placements per thing (level 1) to\n  thousands (level 4). Every moment is needed: the set is pruned until dropping any one would allow a second timeline.\n- **Budget**: the prompt tells the model it has at most 32,000 output tokens for its reply, thinking included, and\n  that it is cut off there.\n\n### Modes\n| Mode | Question | Answer | Reward |\n| --- | --- | --- | --- |\n| `timeline` | When did each thing begin? | `Rex: 12, Troy: 19, the black Hudson: 23, ...` | share of start ages right |\n| `impossible` | One extra moment fits no timeline. Which? | `S07` | 1 or 0 |\n\nA try **passes** only when it is fully right (every start age; the right moment). The legacy `ages` and `order` modes\nfrom earlier versions still generate but aren't frozen.\n\n### Levels\n| Level | Lanes x things | Moments | Solver placements per thing |\n| --- | --- | --- | --- |\n| 1 | 4 x 4 = 16 | 12-20 | ~5-30 |\n| 2 | 5 x 4 = 20 | 12-19 | ~10-200 |\n| 3 | 5 x 5 = 25 | 18-27 | ~50-1,500 |\n| 4 | 6 x 5 = 30 | 23-32 | ~300-6,000 |\n\n### Datasets\nBy default (`frozen=True`) the environment serves the frozen Day 2 set the leaderboard was scored on: 100 tasks,\n50 per mode, levels in equal shares; 75 eval (37 timeline, 38 impossible) and 25 train. Every frozen task passed the\npipeline's checks: the grader on the truth and near-misses, a fairness check, and an independent oracle that reads\nonly the prompt text and re-derives the one timeline (or the one impossible moment). A level-4 task takes minutes to\ngenerate, so the package ships the frozen tasks' generated data (`unstuck_frozen.py`, gzip JSON); `FROZEN` keeps their\n`[level, seed]` pairs and `generate(seed, level, mode)` rebuilds each exactly. `frozen=False` generates fresh tasks\nfrom disjoint seed streams.\n\n### Quickstart\n```bash\nprime env install brendanhogan/unstuck\nvf-eval unstuck -p prime -m anthropic/claude-opus-5.5 -a '{\"modes\": \"timeline\"}' -n 5 -r 1 -t 32000 -S '{\"reasoning_effort\": \"medium\"}'\n```\n\nTo reproduce the leaderboard, run both modes on all 75 eval tasks with the budget every model got: reasoning effort\n`medium`, 32,000 output tokens, 4 tries per task. The numbers are pass@1 (the share of the 300 tries that pass) and\npass^4 (the share of the 75 tasks where all 4 tries pass).\n\n```bash\nvf-eval unstuck -p prime -m <model> -n 75 -r 4 -t 32000 -S '{\"reasoning_effort\": \"medium\"}'\n```\n\n### Arguments\n| Arg | Type | Default | Description |\n| --- | ---- | ------- | ----------- |\n| `modes` | str or list | `[\"timeline\", \"impossible\"]` | Which modes to serve |\n| `frozen` | bool | `true` | Serve the frozen leaderboard tasks; `false` generates fresh ones |\n| `num_train` / `num_eval` | int | `1000` / `100` | Tasks to generate when `frozen=false` |\n| `levels` | list[int] | `[1, 2, 3, 4]` | Levels to generate when `frozen=false` |\n\n### Metrics\n| Metric | Meaning |\n| ------ | ------- |\n| `reward` | Share of start ages right (timeline), or 1/0 (impossible) |\n| `pass_metric` | 1 if fully right; its mean is the leaderboard's pass@1 |\n| `tau_settled` | Same as reward for these modes (Kendall's tau for the legacy `order` mode) |\n| `complete_answer` | 1 if the answer named every thing (timeline) or a moment (impossible) |\n\n### Versions\n| Version | Change |\n| ------- | ------ |\n| 6.0.1 | Frozen task data ships as `unstuck_frozen.py` so a Hub pull carries it. Tasks and scoring unchanged. |\n| 6.0.0 | Hidden-order overlap puzzles: lanes' orders never stated, \"same time\" clues, minimal clue sets; `timeline` and `impossible` modes; the prompt states the 32,000-token cap; frozen 100-task set at reasoning effort `medium`. |\n| 2.0.0 | Pilot: put the moments in order, or find the impossible one. |\n","encoding":"utf-8","truncated":false,"total_bytes":4987},"status":null}