|
Download tasks/t39-rct-onetile/README.md from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 17.9 kB
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t39-rct-onetile/README.md
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset/tasks/t39-rct-onetile/README.md
-
curl -L -o README.md https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t39-rct-onetile/README.md
17.9 kB
| # T39: One Tile — 200 guests from a single square of land | |
| GUI-only OpenRCT2 task. The agent starts owning **one tile** of a 50x50 map with | |
| **$350**, no loan and no ability to take one. Every other tile is for sale at | |
| **$90**. The goal is the stock `guestsAndRating` objective: **200 guests in the | |
| park at a rating of at least 700**. There is no deadline — the score is binary and | |
| runs are **ranked on how much in-game time they took**. See RUBRIC.md. | |
| The target is the one thing that is not the video's. `T39_TARGET_GUESTS` in | |
| compose.yaml configures the run and `tests/target-guests.txt` declares the task; | |
| they have to agree or the grader refuses to grade. The controller compiles the | |
| target into the scenario, stamps it into the origin marker, and the grader checks | |
| the baseline, the objective in the save and the origin against it, so the two tasks | |
| cannot be graded against each other's runs. | |
| **`../t40-rct-onetile-1000` is this same environment at the video's 1,000** — its | |
| `environment/` and `tests/` are generated from here by its | |
| `scripts/sync-from-t39.sh`, so edit them **only in t39** and then sync. See | |
| "Status" for why 200 is the scored one. | |
| The only income at the start is the gate, and the only thing to sell is admission | |
| to a park containing one square of ground. That money buys tiles at $90 apiece, | |
| tiles make room for a path and a first attraction, an attraction lifts the rating | |
| and pulls more guests, and more guests buy more tiles. Every tile after the first | |
| has to be earned by the park itself. | |
| ## Where the numbers come from | |
| Matched to ambiguousamphibian's "1 Tile Start" play-through | |
| (`https://www.youtube.com/watch?v=zQwWCDPFZ-E`), parameter by parameter, with his | |
| own figures quoted in `environment/onetile-config.js`: 50x50 map, one owned tile, | |
| $90 a tile, "$0 plus the most basic possible park advertising campaign", and "at | |
| least 1,000 guests … and the park rating must not drop below 700". | |
| Three departures, all recorded in the config file: | |
| - The guest target is 200, not his 1,000. See "Status"; t40 keeps the 1,000. | |
| - He bought the $350 park-wide advertising week and was then at $0. The agent is | |
| handed the $350 instead and decides for itself. `preBuyCampaign: true` gives | |
| literal parity (campaign already running, cash $0) and is implemented but unused. | |
| - The base plot ships with free park entry and a $20,000 loan ceiling. Free entry | |
| would make an empty park earn nothing at all, and the loan would buy 111 tiles | |
| in the first minute, so entry is made chargeable and the ceiling is set to $0. | |
| ## How the scenario is built | |
| There is no authored `.park`. `environment/onetile-base.park` is the converted | |
| Micro Park plot T37 uses, and `environment/onetile-config.js` rewrites it at load | |
| time: grows the map to 52x52 technical (50x50 playable), unowns everything, offers | |
| all land — and only land, never construction rights — for sale, then grants the | |
| single footpath tile inside the park entrance. It sets the land price, the loan | |
| ceiling, the price flags and the objective, and hands over $350 last, because | |
| painting ownership bills the $90 even in sandbox mode. | |
| Details that took a live engine to establish, all commented in the config: | |
| - A 1x1 map is impossible: the engine's floor is 5 technical, 3x3 playable. "One | |
| tile" is one *owned* tile, which is what the video means too. | |
| - Land-rights editing needs sandbox mode, so this is trusted code that runs before | |
| the agent has the keyboard, and `cheats.sandboxMode` is then cleared. Sandbox | |
| mode is blocked for the agent — it hands out land for free, which is the task. | |
| - Plugin game actions are queued to the end of the tick, so the sequence is | |
| chained through callbacks. Pausing during it would hang the configuration, which | |
| is why the controller pauses only once the last callback has landed. | |
| - Newly grown land arrives at the same height as the original terrain (baseZ 16 | |
| across the map), so there is no cliff at the old map edge. | |
| - `park.parkSize` is stale right after ownership edits and counts construction | |
| rights, so every tile count is taken by walking the surface elements. | |
| - **The park has to be handed over open.** For the `guestsAndRating` objective the | |
| engine disables the park window's open/close control outright (Park.cpp, | |
| `WindowParkEntranceInvalidate`): the flag button shows its tooltip and does | |
| nothing, and there is no other route to it in a GUI-only session. Stock | |
| scenarios of this type ship open, so nothing upstream notices; Micro Park ships | |
| closed, and a closed park with this objective takes no guests at all and cannot | |
| be won. It cost a real run to find (see "Status"). The baseline now records | |
| `parkOpen`, the controller refuses to hand over a closed park, and the grader | |
| treats one as an evaluation error. | |
| ## Architecture | |
| T37's image and harness without the notepad: nothing in this score depends on | |
| written notes, so the writable GUI surface that needed its own unprivileged user | |
| is gone. | |
| - `environment/controller.js` is trusted code. It applies the configuration, | |
| emits the audit stream, draws the objective panel, stamps **both clocks** and | |
| the attempt on every record, keeps the attempt ledger, saves the park the moment | |
| an attempt settles, and blocks cheats, `parksetdate` and | |
| `landsetrights`/`mapchangesize` once setup is done. Pause and fast-forward are | |
| both the agent's to use. | |
| - **Three attempts, one clock.** A park that closes down ends the attempt, not the | |
| run: the agent loads `2nd-try.park` or `3rd-try.park` from the game's own load | |
| dialog (laid down read-only beside the played copy, and named that short | |
| because the dialog truncates its name column at seven characters — the obvious | |
| `restart-attempt-2`/`restart-attempt-3` both render as "restart-…"), and the | |
| controller counts that as a fresh attempt. The in-game days of every attempt are | |
| added up, and that total is what the ranking uses — so a restart costs exactly | |
| the time it cost, and "time to completion" still compares a model that got it | |
| right first time against one that needed the practice. A fourth park earns | |
| nothing (`attempt_limit_exceeded`), and loading a park that had *already been | |
| played* is a rewind rather than a restart: it shows up as `onetile_reloaded` and | |
| voids the run. The ledger lives in the engine's shared plugin store, which is | |
| the only storage that survives the park being swapped underneath it, and the | |
| supervisor wipes it at startup so a stale one cannot charge a run for attempts | |
| it never took. | |
| - `environment/run-supervisor.py` owns the engine. It installs the | |
| configuration and the controller as a single concatenated plugin, so no plugin | |
| load order has to be relied on, and it is what holds the run open after a failed | |
| attempt: five minutes for the agent to take the next one, then the run is | |
| settled as `attempts_unused`. `ATTEMPTS = 3` there is the single source — it is | |
| compiled into the plugin, it is how many restart copies are laid down, and | |
| `tests/grade.py` refuses a stream whose hand-over declares a different number. | |
| - The engine plays a **copy** of the base park in the profile's save directory, | |
| not `/opt/onetile/onetile-base.park`. Save As opens in the directory the park was | |
| loaded from: /opt is root-owned and read-only, so playing the original left the | |
| agent somewhere saving silently failed, and the profile root is not collected, so | |
| playing there would have thrown a hand-saved park away. The save directory is | |
| both writable and preserved. The supervisor also wipes | |
| the profile's `save/` and `screenshot/` directories at startup: the profile is a | |
| Docker volume that outlives a container, and the grader falls back to the newest | |
| save when a run never settled, so a previous container's autosave would | |
| otherwise be graded as this run's park — which is exactly what happened once | |
| during development (`cash_final: 3000` from a dead run while the live one was at | |
| $350). | |
| - The image is self-contained (Debian + OpenRCT2 0.5.5, no browser, no terminal, | |
| console entry point patched out). Purchased RCT2 data is mounted read-only at | |
| `/opt/rct2-assets`; it is never baked into the image or included in | |
| trajectories. | |
| - `tests/test.sh` reopens the settled save in a separate headless engine and | |
| grades it; `tests/grade.py` is the binary grader and `tests/test_onetile.py` | |
| covers it (32 tests, all passing). | |
| ## What makes it hard | |
| An empty park rates **500**. After the first in-game month, every day under 700 | |
| counts, and on the **29th** such day the engine closes the park down and that | |
| attempt is over (obj.cpp, `CheckGuestsAndRating`). A day at 700 or more resets the count. | |
| The rating clock does not care whether the park is open, so stalling with a closed | |
| park burns the same days. A measured do-nothing run failed at **in-game day 59** | |
| (year 1, month 2, day 29), so that is the real deadline for getting the rating to | |
| 700 — about two months. | |
| Reaching 700 means building something. The rating formula (`Park.cpp`, | |
| `CalculateParkRating`) starts at 1150 and subtracts 150 for having no guests, 500 | |
| for unhappy ones, and 200 + 100 + 200 across three ride terms. A park with guests | |
| who are happy and no rides lands on exactly 500; **one ride running at full uptime | |
| is worth +200**, which is exactly the 700 the objective wants. So the first ride is | |
| not optional and there is no way to stall past it. | |
| The objective itself is a **capacity** target, not a cumulative one: the engine | |
| tests `rating >= 700 && guests in park >= 1000` on a single tick. A thousand | |
| guests have to be inside the park at the same moment. | |
| The $350 is also leaking. The plot ships with the default research budget, which | |
| spends about **$50 a week** — a headless probe watched the stake fall $350 to $300 | |
| over the first week with nothing built and nothing open. On a normal scenario that | |
| is rounding; against four tiles' worth of cash it is a real trap, and it is left in | |
| place deliberately. Research is switched off in the same Finances window the agent | |
| has to open anyway to set prices. | |
| ## Status: environment verified, target calibrated down to 200 | |
| The scenario and the whole harness are verified end to end. The video's 1,000-guest | |
| target is measured and out of reach for a GUI agent, so the scored target here is | |
| **200** and 1,000 lives on in `../t40-rct-onetile-1000`. | |
| What is verified: | |
| - The 200-guest scenario is what actually gets built. A rebuilt image and a fresh | |
| container recorded `run_started.target_guests: 200` and a baseline with | |
| `objectiveGuests: 200`, one owned tile, $90 land, a $0 ceiling and chargeable | |
| entry; the in-container verifier then resolved the target from both sources, | |
| agreed on 200, and graded the unplayed run `reward 0.0, incomplete` with no | |
| evaluation error. | |
| - The configuration lands exactly: 52x52, one owned tile at (3,8), 2,499 for sale, | |
| a $224,910 buy-out against the video's "around $225,000". Reproduce with | |
| `tests/config-selftest.js` (see the header for the command) or read it off | |
| `onetile_initialized` in the audit stream. | |
| - The bootstrap works. A headless probe with $50 admission took guests into a | |
| one-tile park from day 2 and banked $550 by day 10 — about six tiles. | |
| - The failure branch works on a real run: a do-nothing run settled `objective_failed` | |
| at in-game day 59, saved `t39-final.park` itself, and the verifier chain graded | |
| that save `reward 0.0`, `park_closed_down: true`, `scenario_intact: true`, with | |
| every figure belonging to that run. | |
| - Throughput is not the problem. Fast-forward runs at **8x** (1,600 ticks per 5 | |
| seconds, 528 ticks per in-game day) and the emulated container sustains it on a | |
| small park: about **0.6 in-game days a second**, 2,000+ days an hour. | |
| What the guest-arrival probe found (host engine, `Six Flags Magic Mountain` with its | |
| 2,781 starting guests wiped, 77 rides open, free entry, all six marketing campaigns | |
| running, rating ~800 — every constraint but the engine's own removed): | |
| - Guests came back at **+14 a day, net**, 806 to 1,111 over 23 in-game days. | |
| - That is the engine's ceiling, not the park's. Arrival is a per-tick dice roll: | |
| `probability = 50 + clamp(rating - 200, 0, 650)` out of 65,536, plus about 400 per | |
| active campaign (`Park.cpp`, `calculateGuestGenerationProbability`). At 528 ticks a | |
| day that is ~5.6 arrivals a day from rating and ~3 per campaign, whatever the park | |
| looks like. | |
| - So **1,000 simultaneous guests costs 70+ in-game days of a mature, well-rated park | |
| with every campaign running** — before any of the time spent getting there. | |
| - Worse, the park has to be big first. `calculateSuggestedMaxGuests` sums each open | |
| ride's `BonusValue`; above that sum the arrival probability is divided by four. A | |
| 1,000-guest park therefore needs a ride roster worth ~1,000 — on the order of 25 | |
| flat rides, or 8-10 coasters, each hand-built through the GUI. | |
| The reference play-through needed more than six in-game years and nearly the whole | |
| map, and that is a human expert who knows the game. The blocker for a model is not | |
| in-game time, which fast-forward makes cheap; it is the hundreds of precise | |
| construction interactions. **At 1,000 guests, expect 0.0 from every model**, which | |
| measures the target and not the models. | |
| Hence 200 here. It keeps every mechanic that makes the task interesting — buy land | |
| out of gate receipts, build a path and a first ride, clear rating 700 before day 59, | |
| keep guests happy enough to stay — and the guest cap puts it at roughly 4-6 rides | |
| and a few tens of in-game days of arrivals rather than 25 rides and years. What is | |
| still owed is an **oracle completion at 200**: nobody has yet played this to 1.0, so | |
| the reachable-in-a-session claim is an inference from the arrival ceiling, not a | |
| demonstration. Until then `status = "provisional-awaiting-oracle"`. | |
| ### The first cloud pair measured the environment, not the models | |
| Opus 5.5 played both tasks on Daytona on 2026-09-23 and scored 0.0 twice | |
| (trajectories: [t39](https://trajectories.sh/t/18a428c1-bcb5-4a36-ad04-fdf937ce8ff6), | |
| [t40](https://trajectories.sh/t/a5eb0f46-083b-4e4b-ac72-fb066af35cab)). **Those two | |
| results are void**: the park was handed over closed, and this objective type gives | |
| the agent no way to open it, so neither park could ever take a guest. The t39 run's | |
| audit is unambiguous — 48 in-game days, `parkOpen: false` throughout, 0 guests, | |
| rating 0, 18 days on the warning clock, `blockedActions: 0`, and no | |
| `parksetparameter` attempt in the stream at all, because every click on the flag | |
| button landed on a disabled widget. Reproduced by hand in a container: the tooltip | |
| "Open or close park" appears, the button does not even draw as pressed, and no | |
| dropdown opens. | |
| Three things changed as a result, and all three are verified on a rebuilt image: | |
| - `CONFIG.parkOpen` opens the park as the last step of configuration. A fresh | |
| container now records `parkOpen: true` in the baseline, shows "Park open" in the | |
| park window, and took 6 guests and a rating of 500 in its first 15 in-game days. | |
| - A closed hand-over is now loud instead of silent: the controller emits | |
| `controller_error` and the grader's `expected_baseline` requires `parkOpen`, so | |
| the same bug would be an evaluation error rather than an agent's zero. | |
| - `instruction.md` gained an opening sequence drawn from the play-through — switch | |
| research funding off ($200 a month), price the gate, fast-forward, buy land beside | |
| the path, get one ride open for the +200 rating — and says outright that the park | |
| is already open and the flag button is inert by design. The model that failed had | |
| spent its run on that button and then stopped for want of a plan. | |
| ## Cloud runs (Daytona) | |
| Both tasks run from this directory's scripts; t40 is the same image at the other | |
| target, so there is one agent, one private runtime and one launcher. | |
| ``` | |
| scripts/publish-snapshot.py --task t39 # build, push, write artifacts/release-manifest.json | |
| scripts/daytona-preflight.py --task t39 # boot one sandbox and check it, then delete it | |
| scripts/launch-daytona.py --detach # both tasks, staggered; --only t39 for one | |
| ``` | |
| - The guest target is a **build argument** as well as a compose variable. The | |
| snapshot boots the image with no compose file, so the target has to be inside | |
| the image; `publish-snapshot.py` refuses to push a snapshot whose baked target | |
| disagrees with `tests/target-guests.txt`. One snapshot per target: | |
| `refresh-rct-onetile-200-<date>` and `refresh-rct-onetile-1000-<date>`. | |
| - Purchased RCT2 data is **not** in the snapshot. `scripts/daytona_agent.py` | |
| uploads t37's private runtime archive to each sandbox, extracts it read-only to | |
| `/opt/rct2-assets` and touches the `.ready` marker the entrypoint waits for, so | |
| the assets are never in an image, a trajectory or a receipt. | |
| - `scripts/computer_agent.py` is the GUI-only computer-1 adapter: no bash, no | |
| browser, no navigation, and the session **ends as soon as the supervisor | |
| publishes a settled run**, so a finished park does not keep costing turns. | |
| - The Bedrock route goes through `resilient_providers.py` / | |
| `pruned_providers.py` — hundreds of screenshot turns overflow Harbor's | |
| unbounded Anthropic message list, and Bedrock answers valid computer-use calls | |
| with transient 503s. Opus 5.5 must use the **global** inference profile; | |
| `us.anthropic.claude-opus-5-5` 503s on every call carrying a desktop screenshot. | |
| - The launcher checkpoints `/logs/artifacts` out of each sandbox every five | |
| minutes, records `state.json` next to the logs, and on completion uploads the | |
| job to trajectories.sh with `suite/upload_trajectory.sh` (`npx trajectories-sh`) | |
| — every finished run, any reward. | |
| ## Local use | |
| `scripts/docker.sh up -d --wait`, then noVNC on | |
| `http://localhost:6087/vnc.html`. Preserve every existing volume; never use | |
| `down -v`. Unit tests: `uvx pytest tests/test_onetile.py -q`. | |