Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions experiments/iii21_switch_floor_check/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# III-21 floor check: do the published 74 / 75 / 76 count switch presses?

Scripts that test, on the repo's own oracle and assignment code, what the published
handoff floors for Room III-21 can and cannot say about the cost of hero-switch presses.

Run from `scripts/` with Python 3 (standard library only). Each script also runs under
`python3 -O -B -W error`. `layer_table.py`, `winding_identity.py`, `floor_compare.py` and
`round_search.py` each run a control that must fail. The two sampling scripts only generate input.

| Script | What it checks |
| --- | --- |
| `layer_table.py` | Positions left to exclude when the floors rise by k = 0..6, for targets 270, 271, 272, from the published handoff tables in `web/`. |
| `winding_identity.py` | For every Part III catalog route, the count of A presses equals the winding of the activation order. Each press moves the turn one hero forward, so this holds unless a route presses A once per hero or more in a row, or ends on presses. It checks that records waste no full cycle. It does not show that any winding bound is tight. |
| `sample_handoffs.py`, `sample_lower.py` | Breadth-first search from record-route states to real positions right after the crate enters the Druid's chamber. |
| `floor_compare.py` | For each sampled position: least move total over the 720 hero-to-exit assignments, least switch presses, their sum, and the repo's operator-counting bound. |
| `round_search.py` | Bounded exact searches from the record handoff: first Druid visit, and the active hero alone. |

`out/` holds the recorded outputs. `web/` holds copies of the published tables and verdict used as input (source claims).
Loading
Loading