From 16efe31ffed47e0f03048e8b1906e00f1ff12e50 Mon Sep 17 00:00:00 2001 From: ahraz <38987266+ahrazzle@users.noreply.github.com> Date: Fri, 20 Nov 2026 11:40:02 -0600 Subject: [PATCH 1/2] Add III-21 switch floor check: move sum, winding identity, layer table --- .../iii21_switch_floor_check/README.md | 17 + .../out/floor_compare.json | 1541 +++++++++++++++++ .../out/floor_compare.out | 45 + .../out/handoff_sample_lower_raw.json | 1 + .../out/handoff_sample_raw.json | 1 + .../out/layer_table.json | 206 +++ .../out/layer_table.out | 230 +++ .../out/round_search.json | 46 + .../out/round_search.out | 11 + .../out/winding_identity.json | 232 +++ .../out/winding_identity.out | 26 + .../scripts/common.py | 31 + .../scripts/floor_compare.py | 57 + .../scripts/layer_table.py | 63 + .../scripts/round_search.py | 63 + .../scripts/sample_handoffs.py | 52 + .../scripts/sample_lower.py | 16 + .../scripts/winding_identity.py | 67 + .../web/h268_handoffs.tsv | 22 + .../web/h269_handoffs.tsv | 26 + .../web/h269_verdict.json | 211 +++ 21 files changed, 2964 insertions(+) create mode 100644 experiments/iii21_switch_floor_check/README.md create mode 100644 experiments/iii21_switch_floor_check/out/floor_compare.json create mode 100644 experiments/iii21_switch_floor_check/out/floor_compare.out create mode 100644 experiments/iii21_switch_floor_check/out/handoff_sample_lower_raw.json create mode 100644 experiments/iii21_switch_floor_check/out/handoff_sample_raw.json create mode 100644 experiments/iii21_switch_floor_check/out/layer_table.json create mode 100644 experiments/iii21_switch_floor_check/out/layer_table.out create mode 100644 experiments/iii21_switch_floor_check/out/round_search.json create mode 100644 experiments/iii21_switch_floor_check/out/round_search.out create mode 100644 experiments/iii21_switch_floor_check/out/winding_identity.json create mode 100644 experiments/iii21_switch_floor_check/out/winding_identity.out create mode 100644 experiments/iii21_switch_floor_check/scripts/common.py create mode 100644 experiments/iii21_switch_floor_check/scripts/floor_compare.py create mode 100644 experiments/iii21_switch_floor_check/scripts/layer_table.py create mode 100644 experiments/iii21_switch_floor_check/scripts/round_search.py create mode 100644 experiments/iii21_switch_floor_check/scripts/sample_handoffs.py create mode 100644 experiments/iii21_switch_floor_check/scripts/sample_lower.py create mode 100644 experiments/iii21_switch_floor_check/scripts/winding_identity.py create mode 100644 experiments/iii21_switch_floor_check/web/h268_handoffs.tsv create mode 100644 experiments/iii21_switch_floor_check/web/h269_handoffs.tsv create mode 100644 experiments/iii21_switch_floor_check/web/h269_verdict.json diff --git a/experiments/iii21_switch_floor_check/README.md b/experiments/iii21_switch_floor_check/README.md new file mode 100644 index 0000000..910f6bb --- /dev/null +++ b/experiments/iii21_switch_floor_check/README.md @@ -0,0 +1,17 @@ +# 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`. Each has a control that must fail. + +| 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. | +| `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). diff --git a/experiments/iii21_switch_floor_check/out/floor_compare.json b/experiments/iii21_switch_floor_check/out/floor_compare.json new file mode 100644 index 0000000..6b221b8 --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/floor_compare.json @@ -0,0 +1,1541 @@ +[ + { + "t": 195, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "3ea248ab1583", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRR" + }, + { + "t": 202, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "7749a6b57054", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAUAR" + }, + { + "t": 198, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "d8a2d719988e", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRR" + }, + { + "t": 205, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "dd66096e7fae", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAAUAR" + }, + { + "t": 205, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "39cb0b27433e", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAADAR" + }, + { + "t": 205, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "53182b194100", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "8d7e23682c68", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRLLULRDRRRDDRRR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "64786b6fc37a", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAUAAAAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "f83a639861d7", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAUAAAADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 4, + 2, + 0, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "fc2ca935b853", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAUAAAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 4, + 2, + 0, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "c7f1d28c5aba", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAUAAADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "4d0e897ac09e", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAARAAAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "60cb2ff98e55", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAARAAADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "c0901cf65191", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAUAAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 3, + 2, + 4, + 0, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "2c5bd35ad6c9", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAUAADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "791c2cf22410", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAADAAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 14, + "gap_to_floor_c_strict": 9, + "prefix_sha": "8cfe7d4e6bb7", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAADAADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "566301d3a2f6", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAALAAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 3, + 2, + 4, + 0, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "a0776cfba91a", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAALAADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "38c77a9daebc", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAUAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 14, + "gap_to_floor_c_strict": 9, + "prefix_sha": "af06b25cde0f", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAUADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "0643678d6d35", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAADAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 14, + "gap_to_floor_c_strict": 9, + "prefix_sha": "6d3a6780c238", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAADADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "d4c6c2c486b0", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAALAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "8f22c29bfd21", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAALADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "7172ed71ee67", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAARAUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 14, + "gap_to_floor_c_strict": 9, + "prefix_sha": "f29e4c1e5c57", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAARADAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "e51fed6f725a", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAAUUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "78fed024912d", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "lower", + "published_floor": 74, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 5, + 2, + 4, + 0, + 1, + 3 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "135ee0c1d7f5", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAADUAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "c436b8c3af69", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAUAAAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "0e42b2473b32", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAUAAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "36f091f912a7", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAARAAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 3, + 2, + 4, + 0, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "d8dd59133a85", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAUAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "b15f7dead7cb", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAADAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [], + "need_strict": [ + "F", + "T", + "W", + "P", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 3, + 2, + 4, + 0, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "683882605cc3", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAALAAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "d35027de92d3", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAUAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "52e436839515", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAADAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 58, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 63, + "c_druid": 63, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 17, + "gap_to_floor_c_strict": 12, + "prefix_sha": "15b1874fe4cb", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAALAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 60, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 65, + "c_druid": 65, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 15, + "gap_to_floor_c_strict": 10, + "prefix_sha": "8fcc894c8dfe", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAARAULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "8b7f0e496bd4", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAUULAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 57, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 62, + "c_druid": 62, + "h_OC": "20", + "H_OC": 20, + "gap_to_floor_a": 18, + "gap_to_floor_c_strict": 13, + "prefix_sha": "2810f3f17eb3", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAULDAR" + }, + { + "t": 206, + "actor": "F", + "entrance": "upper", + "published_floor": 75, + "active": "F", + "on_goal": [ + "P" + ], + "need_strict": [ + "F", + "T", + "W", + "B", + "D" + ], + "a_min_assignment_sum": 59, + "best_perm": [ + 0, + 2, + 4, + 3, + 1, + 5 + ], + "b_strict_all_unfinished_act": 5, + "b_druid_only": 5, + "c_strict": 64, + "c_druid": 64, + "h_OC": "21", + "H_OC": 21, + "gap_to_floor_a": 16, + "gap_to_floor_c_strict": 11, + "prefix_sha": "ccd2fa851662", + "prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAADULAR" + } +] \ No newline at end of file diff --git a/experiments/iii21_switch_floor_check/out/floor_compare.out b/experiments/iii21_switch_floor_check/out/floor_compare.out new file mode 100644 index 0000000..8f01fa0 --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/floor_compare.out @@ -0,0 +1,45 @@ +t actor ent floor | a(720-min) b_strict b_druid | a+b_strict a+b_druid | H_OC | on_goal | active +195 F upper 75 | 58 5 5 | 63 63 | 20 | ['P'] | F 3ea248ab1583 +202 F upper 75 | 59 5 5 | 64 64 | 21 | ['P'] | F 7749a6b57054 +198 F lower 74 | 59 5 5 | 64 64 | 21 | ['P'] | F d8a2d719988e +205 F lower 74 | 58 5 5 | 63 63 | 20 | ['P'] | F dd66096e7fae +205 F lower 74 | 59 5 5 | 64 64 | 21 | ['P'] | F 39cb0b27433e +205 F upper 75 | 59 5 5 | 64 64 | 21 | ['P'] | F 53182b194100 +206 F lower 74 | 59 5 5 | 64 64 | 21 | ['P'] | F 8d7e23682c68 +206 F lower 74 | 57 5 5 | 62 62 | 20 | ['P'] | F 64786b6fc37a +206 F lower 74 | 58 5 5 | 63 63 | 21 | ['P'] | F f83a639861d7 +206 F lower 74 | 58 5 5 | 63 63 | 20 | ['P'] | F fc2ca935b853 +206 F lower 74 | 58 5 5 | 63 63 | 21 | ['P'] | F c7f1d28c5aba +206 F lower 74 | 57 5 5 | 62 62 | 20 | ['P'] | F 4d0e897ac09e +206 F lower 74 | 58 5 5 | 63 63 | 21 | ['P'] | F 60cb2ff98e55 +206 F lower 74 | 57 5 5 | 62 62 | 20 | [] | F c0901cf65191 +206 F lower 74 | 58 5 5 | 63 63 | 21 | [] | F 2c5bd35ad6c9 +206 F lower 74 | 59 5 5 | 64 64 | 20 | [] | F 791c2cf22410 +206 F lower 74 | 60 5 5 | 65 65 | 21 | [] | F 8cfe7d4e6bb7 +206 F lower 74 | 57 5 5 | 62 62 | 20 | [] | F 566301d3a2f6 +206 F lower 74 | 58 5 5 | 63 63 | 21 | [] | F a0776cfba91a +206 F lower 74 | 59 5 5 | 64 64 | 20 | ['P'] | F 38c77a9daebc +206 F lower 74 | 60 5 5 | 65 65 | 21 | ['P'] | F af06b25cde0f +206 F lower 74 | 59 5 5 | 64 64 | 20 | ['P'] | F 0643678d6d35 +206 F lower 74 | 60 5 5 | 65 65 | 21 | ['P'] | F 6d3a6780c238 +206 F lower 74 | 57 5 5 | 62 62 | 20 | ['P'] | F d4c6c2c486b0 +206 F lower 74 | 58 5 5 | 63 63 | 21 | ['P'] | F 8f22c29bfd21 +206 F lower 74 | 59 5 5 | 64 64 | 20 | ['P'] | F 7172ed71ee67 +206 F lower 74 | 60 5 5 | 65 65 | 21 | ['P'] | F f29e4c1e5c57 +206 F lower 74 | 58 5 5 | 63 63 | 20 | ['P'] | F e51fed6f725a +206 F lower 74 | 57 5 5 | 62 62 | 20 | ['P'] | F 78fed024912d +206 F lower 74 | 58 5 5 | 63 63 | 20 | ['P'] | F 135ee0c1d7f5 +206 F upper 75 | 58 5 5 | 63 63 | 21 | ['P'] | F c436b8c3af69 +206 F upper 75 | 60 5 5 | 65 65 | 21 | ['P'] | F 0e42b2473b32 +206 F upper 75 | 58 5 5 | 63 63 | 21 | ['P'] | F 36f091f912a7 +206 F upper 75 | 58 5 5 | 63 63 | 21 | [] | F d8dd59133a85 +206 F upper 75 | 60 5 5 | 65 65 | 21 | [] | F b15f7dead7cb +206 F upper 75 | 58 5 5 | 63 63 | 21 | [] | F 683882605cc3 +206 F upper 75 | 60 5 5 | 65 65 | 21 | ['P'] | F d35027de92d3 +206 F upper 75 | 60 5 5 | 65 65 | 21 | ['P'] | F 52e436839515 +206 F upper 75 | 58 5 5 | 63 63 | 21 | ['P'] | F 15b1874fe4cb +206 F upper 75 | 60 5 5 | 65 65 | 21 | ['P'] | F 8fcc894c8dfe +206 F upper 75 | 59 5 5 | 64 64 | 21 | ['P'] | F 8b7f0e496bd4 +206 F upper 75 | 57 5 5 | 62 62 | 20 | ['P'] | F 2810f3f17eb3 +206 F upper 75 | 59 5 5 | 64 64 | 21 | ['P'] | F ccd2fa851662 +control: a at key 195 = 58 a at key 246 = 36 diff --git a/experiments/iii21_switch_floor_check/out/handoff_sample_lower_raw.json b/experiments/iii21_switch_floor_check/out/handoff_sample_lower_raw.json new file mode 100644 index 0000000..7585830 --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/handoff_sample_lower_raw.json @@ -0,0 +1 @@ +[{"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRR", "t": 198, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAAUAR", "t": 205, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAADAR", "t": 205, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAULAR", "t": 205, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRLLULRDRRRDDRRR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAUAAAAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAUAAAADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAUAAAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAUAAADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAARAAAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAARAAADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAUAAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAUAADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAADAAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAADAADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAALAAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAALAADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAUAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAUADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAADAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAADADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAALAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAALADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAARAUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAARADAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAAUUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAAULAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDDRRAAAAADUAR", "t": 206, "actor": "F", "mouth": 271, "entrance": "lower"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAUAAAAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAUAAAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAARAAAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAUAAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAADAAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAALAAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAUAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAADAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAALAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAARAULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAUULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAULDAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAADULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALDLUDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAALULAR", "t": 206, "actor": "F", "mouth": 248, "entrance": "upper"}] \ No newline at end of file diff --git a/experiments/iii21_switch_floor_check/out/handoff_sample_raw.json b/experiments/iii21_switch_floor_check/out/handoff_sample_raw.json new file mode 100644 index 0000000..a1650c1 --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/handoff_sample_raw.json @@ -0,0 +1 @@ +[{"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRR", "t": 195, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRAAAAAUAR", "t": 202, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRR", "t": 195, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRR", "t": 195, "actor": "F", "mouth": 248, "entrance": "upper"}, {"prefix": "RRRDRRDRRRURRDRRUURRRRRLLLLDDAUAADLLULLLLLDDAAALLLULDDDRDLULDDLLUUAAAULLULAAUADLLLLLAAADLAAALDADRAAAALLDAULAALARUAAARRRRRAUAARDRAAARRDRRUADDRRDDRLAAUAAAULLRRURURDDAURULDDRRRRLLLLAAUUAAARDDRRRDRRR", "t": 195, "actor": "F", "mouth": 248, "entrance": "upper"}] \ No newline at end of file diff --git a/experiments/iii21_switch_floor_check/out/layer_table.json b/experiments/iii21_switch_floor_check/out/layer_table.json new file mode 100644 index 0000000..90fa66c --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/layer_table.json @@ -0,0 +1,206 @@ +[ + { + "target": 270, + "k": 0, + "groups": 25, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 1, + "groups": 21, + "published_groups": 21, + "positions_published": 18198, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 2, + "groups": 17, + "published_groups": 17, + "positions_published": 6508, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 3, + "groups": 13, + "published_groups": 13, + "positions_published": 2154, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 4, + "groups": 9, + "published_groups": 9, + "positions_published": 640, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 5, + "groups": 6, + "published_groups": 6, + "positions_published": 160, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 6, + "groups": 3, + "published_groups": 3, + "positions_published": 32, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 0, + "groups": 29, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 4, + "first_unpublished": [ + "194 T upper", + "195 F upper", + "196 F lower", + "196 T lower" + ] + }, + { + "target": 271, + "k": 1, + "groups": 25, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 2, + "groups": 21, + "published_groups": 21, + "positions_published": 18198, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 3, + "groups": 17, + "published_groups": 17, + "positions_published": 6508, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 4, + "groups": 13, + "published_groups": 13, + "positions_published": 2154, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 5, + "groups": 9, + "published_groups": 9, + "positions_published": 640, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 6, + "groups": 6, + "published_groups": 6, + "positions_published": 160, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 0, + "groups": 33, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 8, + "first_unpublished": [ + "194 T upper", + "195 F upper", + "195 T upper", + "196 F lower" + ] + }, + { + "target": 272, + "k": 1, + "groups": 29, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 4, + "first_unpublished": [ + "194 T upper", + "195 F upper", + "196 F lower", + "196 T lower" + ] + }, + { + "target": 272, + "k": 2, + "groups": 25, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 3, + "groups": 21, + "published_groups": 21, + "positions_published": 18198, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 4, + "groups": 17, + "published_groups": 17, + "positions_published": 6508, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 5, + "groups": 13, + "published_groups": 13, + "positions_published": 2154, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 6, + "groups": 9, + "published_groups": 9, + "positions_published": 640, + "groups_beyond_published_table": 0, + "first_unpublished": [] + } +] \ No newline at end of file diff --git a/experiments/iii21_switch_floor_check/out/layer_table.out b/experiments/iii21_switch_floor_check/out/layer_table.out new file mode 100644 index 0000000..ffbd03b --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/layer_table.out @@ -0,0 +1,230 @@ +pure floor bound (earliest handoff + floor + k), no search: {0: 262, 1: 263, 2: 264, 3: 265, 4: 266, 5: 267, 6: 268} ; k=9 gives 271 +[ + { + "target": 270, + "k": 0, + "groups": 25, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 1, + "groups": 21, + "published_groups": 21, + "positions_published": 18198, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 2, + "groups": 17, + "published_groups": 17, + "positions_published": 6508, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 3, + "groups": 13, + "published_groups": 13, + "positions_published": 2154, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 4, + "groups": 9, + "published_groups": 9, + "positions_published": 640, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 5, + "groups": 6, + "published_groups": 6, + "positions_published": 160, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 270, + "k": 6, + "groups": 3, + "published_groups": 3, + "positions_published": 32, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 0, + "groups": 29, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 4, + "first_unpublished": [ + "194 T upper", + "195 F upper", + "196 F lower", + "196 T lower" + ] + }, + { + "target": 271, + "k": 1, + "groups": 25, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 2, + "groups": 21, + "published_groups": 21, + "positions_published": 18198, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 3, + "groups": 17, + "published_groups": 17, + "positions_published": 6508, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 4, + "groups": 13, + "published_groups": 13, + "positions_published": 2154, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 5, + "groups": 9, + "published_groups": 9, + "positions_published": 640, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 271, + "k": 6, + "groups": 6, + "published_groups": 6, + "positions_published": 160, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 0, + "groups": 33, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 8, + "first_unpublished": [ + "194 T upper", + "195 F upper", + "195 T upper", + "196 F lower" + ] + }, + { + "target": 272, + "k": 1, + "groups": 29, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 4, + "first_unpublished": [ + "194 T upper", + "195 F upper", + "196 F lower", + "196 T lower" + ] + }, + { + "target": 272, + "k": 2, + "groups": 25, + "published_groups": 25, + "positions_published": 47644, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 3, + "groups": 21, + "published_groups": 21, + "positions_published": 18198, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 4, + "groups": 17, + "published_groups": 17, + "positions_published": 6508, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 5, + "groups": 13, + "published_groups": 13, + "positions_published": 2154, + "groups_beyond_published_table": 0, + "first_unpublished": [] + }, + { + "target": 272, + "k": 6, + "groups": 9, + "published_groups": 9, + "positions_published": 640, + "groups_beyond_published_table": 0, + "first_unpublished": [] + } +] + +target k groups pub_positions beyond_table +270 0 25 47644 0 +270 1 21 18198 0 +270 2 17 6508 0 +270 3 13 2154 0 +270 4 9 640 0 +270 5 6 160 0 +270 6 3 32 0 +271 0 29 47644 4 +271 1 25 47644 0 +271 2 21 18198 0 +271 3 17 6508 0 +271 4 13 2154 0 +271 5 9 640 0 +271 6 6 160 0 +272 0 33 47644 8 +272 1 29 47644 4 +272 2 25 47644 0 +272 3 21 18198 0 +272 4 17 6508 0 +272 5 13 2154 0 +272 6 9 640 0 diff --git a/experiments/iii21_switch_floor_check/out/round_search.json b/experiments/iii21_switch_floor_check/out/round_search.json new file mode 100644 index 0000000..6b32e73 --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/round_search.json @@ -0,0 +1,46 @@ +[ + { + "label": "record handoff key 195", + "S1_states": 2560, + "S1_exhausted": true, + "S1_cuts_start": 3, + "S1_cuts_least": 3, + "S2_layer0_states": 227584, + "S2_layer0_exhausted": true, + "S2_layer0_win": false, + "S2_layer1_samples": [ + [ + 30001, + false + ], + [ + 30001, + false + ], + [ + 30001, + false + ], + [ + 30001, + false + ], + [ + 30001, + false + ], + [ + 1, + true + ], + [ + 30001, + false + ], + [ + 30001, + false + ] + ] + } +] \ No newline at end of file diff --git a/experiments/iii21_switch_floor_check/out/round_search.out b/experiments/iii21_switch_floor_check/out/round_search.out new file mode 100644 index 0000000..40b6a0c --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/round_search.out @@ -0,0 +1,11 @@ +== record handoff key 195: active F, keys 195 +S1 Druid-first visit: 2560 states, exhausted=True, druid_cuts at start=3, least reached=3, 85s +S2 layer p=0 (active hero alone): 227584 states, exhausted=True, win=False, 287s + sample layer-1 closure (next hero alone): 30001 states, exhausted=False + sample layer-1 closure (next hero alone): 30001 states, exhausted=False + sample layer-1 closure (next hero alone): 30001 states, exhausted=False + sample layer-1 closure (next hero alone): 30001 states, exhausted=False + sample layer-1 closure (next hero alone): 30001 states, exhausted=False + sample layer-1 closure (next hero alone): 1 states, exhausted=True + sample layer-1 closure (next hero alone): 30001 states, exhausted=False + sample layer-1 closure (next hero alone): 30001 states, exhausted=False diff --git a/experiments/iii21_switch_floor_check/out/winding_identity.json b/experiments/iii21_switch_floor_check/out/winding_identity.json new file mode 100644 index 0000000..e5f2737 --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/winding_identity.json @@ -0,0 +1,232 @@ +{ + "III-1": { + "presses": 3, + "winding": 3, + "tail_presses_after_last_action": 0, + "transitions": 3, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-2": { + "presses": 0, + "winding": 0, + "tail_presses_after_last_action": 0, + "transitions": 0, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-3": { + "presses": 0, + "winding": 0, + "tail_presses_after_last_action": 0, + "transitions": 0, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-4": { + "presses": 0, + "winding": 0, + "tail_presses_after_last_action": 0, + "transitions": 0, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-5": { + "presses": 4, + "winding": 4, + "tail_presses_after_last_action": 0, + "transitions": 4, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-6": { + "presses": 6, + "winding": 6, + "tail_presses_after_last_action": 0, + "transitions": 6, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-7": { + "presses": 19, + "winding": 19, + "tail_presses_after_last_action": 0, + "transitions": 19, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-8": { + "presses": 4, + "winding": 4, + "tail_presses_after_last_action": 0, + "transitions": 4, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-9": { + "presses": 9, + "winding": 9, + "tail_presses_after_last_action": 0, + "transitions": 7, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-10": { + "presses": 4, + "winding": 4, + "tail_presses_after_last_action": 0, + "transitions": 4, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-11": { + "presses": 18, + "winding": 18, + "tail_presses_after_last_action": 0, + "transitions": 18, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-12": { + "presses": 6, + "winding": 6, + "tail_presses_after_last_action": 0, + "transitions": 6, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-13": { + "presses": 13, + "winding": 13, + "tail_presses_after_last_action": 0, + "transitions": 11, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-14": { + "presses": 5, + "winding": 5, + "tail_presses_after_last_action": 0, + "transitions": 5, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-15": { + "presses": 22, + "winding": 22, + "tail_presses_after_last_action": 0, + "transitions": 22, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-16": { + "presses": 6, + "winding": 6, + "tail_presses_after_last_action": 0, + "transitions": 6, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-17": { + "presses": 12, + "winding": 12, + "tail_presses_after_last_action": 0, + "transitions": 10, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-18": { + "presses": 15, + "winding": 15, + "tail_presses_after_last_action": 0, + "transitions": 10, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-19": { + "presses": 24, + "winding": 24, + "tail_presses_after_last_action": 0, + "transitions": 14, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-20": { + "presses": 23, + "winding": 23, + "tail_presses_after_last_action": 0, + "transitions": 15, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-21": { + "presses": 75, + "winding": 75, + "tail_presses_after_last_action": 0, + "transitions": 36, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-22": { + "presses": 0, + "winding": 0, + "tail_presses_after_last_action": 0, + "transitions": 0, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + }, + "III-21-suffix-195": { + "presses": 27, + "winding": 27, + "tail_presses_after_last_action": 0, + "transitions": 13, + "mismatched_transitions": [], + "n_mismatch": 0, + "identity_holds": true, + "won": true + } +} \ No newline at end of file diff --git a/experiments/iii21_switch_floor_check/out/winding_identity.out b/experiments/iii21_switch_floor_check/out/winding_identity.out new file mode 100644 index 0000000..b41b53e --- /dev/null +++ b/experiments/iii21_switch_floor_check/out/winding_identity.out @@ -0,0 +1,26 @@ +III-1 27 3 3 True True 0 +III-2 28 0 0 True True 0 +III-3 27 0 0 True True 0 +III-4 18 0 0 True True 0 +III-5 20 4 4 True True 0 +III-6 36 6 6 True True 0 +III-7 55 19 19 True True 0 +III-8 29 4 4 True True 0 +III-9 46 9 9 True True 0 +III-10 45 4 4 True True 0 +III-11 119 18 18 True True 0 +III-12 44 6 6 True True 0 +III-13 57 13 13 True True 0 +III-14 48 5 5 True True 0 +III-15 69 22 22 True True 0 +III-16 47 6 6 True True 0 +III-17 108 12 12 True True 0 +III-18 63 15 15 True True 0 +III-19 70 24 24 True True 0 +III-20 84 23 23 True True 0 +III-21 316 75 75 True True 0 +III-22 9 0 0 True True 0 +III-21 suffix after key 195: {'presses': 27, 'winding': 27, 'tail_presses_after_last_action': 0, 'transitions': 13, 'mismatched_transitions': [], 'n_mismatch': 0, 'identity_holds': True, 'won': True} +control (6 extra presses inserted): 81 75 False +control (one A removed): 44 42 False False +identity fails on: [] diff --git a/experiments/iii21_switch_floor_check/scripts/common.py b/experiments/iii21_switch_floor_check/scripts/common.py new file mode 100644 index 0000000..d306134 --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/common.py @@ -0,0 +1,31 @@ +"""Shared helpers. Uses the repo clone at ../soko (read-only).""" +import json, sys +from pathlib import Path +HERE = Path(__file__).resolve().parent +SOKO = next((q for q in HERE.parents if (q / "soko_mcp").is_dir()), HERE.parent / "soko") +OUT = HERE.parent / "out" +sys.path.insert(0, str(SOKO)) +from soko_mcp.oracle import PuzzleScriptOracle, TO_INACTIVE # noqa: E402 +from experiments.landmark_dual_bounds import hero_assignment_bounds as H # noqa: E402 +_cat = json.loads((SOKO / "soko_mcp/data/catalog.json").read_text(encoding="utf-8")) +ROOM = next(r for r in _cat["rooms"] if r["id"] == "III-21") +W = 23 +ORDER = ["F", "T", "W", "P", "B", "D"] +IDX = {h: i for i, h in enumerate(ORDER)} +MOUTHS = {248: "upper", 271: "lower"} +def new_oracle(): + return PuzzleScriptOracle(3, ROOM["grid"]) +def hero_pos(o): + inact = {v: k for k, v in TO_INACTIVE.items()} + pos = {} + for y in range(o.h): + for x in range(o.w): + c = o.obj[y][x] + if c in IDX: pos[c] = (x, y) + elif c in inact: pos[inact[c]] = (x, y) + return pos +def active(o): + a = o.find_active() + return a[2] if a else None +def on_goal(o): + return sorted(h for h, (x, y) in hero_pos(o).items() if o.floor[y][x] == "G") diff --git a/experiments/iii21_switch_floor_check/scripts/floor_compare.py b/experiments/iii21_switch_floor_check/scripts/floor_compare.py new file mode 100644 index 0000000..b4b46a6 --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/floor_compare.py @@ -0,0 +1,57 @@ +"""Task 1. For sampled real handoff positions compute + (a) least total of per-hero solo move keys over the 720 hero->exit assignments (repo: solo_walk_plus_wall_convert_matrix + enumerate_all_goal_bijections), + (b) least switch presses: three readings of who must act, + (c) a + b, and the repo's own h_OC, and compare with the published floors 74 (lower) / 75 (F upper) / 76 (T upper).""" +import json, sys +from pathlib import Path +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from common import * +CYC = ["F", "T", "W", "P", "B", "D"] +FLOOR = {("F", "lower"): 74, ("T", "lower"): 74, ("F", "upper"): 75, ("T", "upper"): 76} +def cyc_dist(a, b): return (CYC.index(b) - CYC.index(a)) % 6 +def metrics(o): + labels, goals, mat = H.solo_walk_plus_wall_convert_matrix(o) + rows = H.enumerate_all_goal_bijections(labels, goals, mat) + assert len(rows) == 720 + a = rows[0]["solo_sum_cost"] + act = active(o); ong = on_goal(o) + need = [h for h in CYC if h not in ong] + b_strict = max([cyc_dist(act, h) for h in need] + [0]) + b_druid = cyc_dist(act, "D") if "D" in need else 0 + b_none = 0 + oc = H.evaluate_operator_counting_bound(o) + # a restricted to heroes that actually need to move: same assignment, heroes already on an exit still cost 0 only if they keep their own exit + return {"active": act, "on_goal": ong, "need_strict": need, "a_min_assignment_sum": a, + "best_perm": rows[0]["perm"], "b_strict_all_unfinished_act": b_strict, "b_druid_only": b_druid, + "c_strict": a + b_strict, "c_druid": a + b_druid, "h_OC": str(oc.exact_rational_bound), "H_OC": oc.ceil_integer_bound} +if __name__ == "__main__": + route = ROOM["reference_route"] + raw = json.loads((HERE.parent / "out/handoff_sample_raw.json").read_text()) + json.loads((HERE.parent / "out/handoff_sample_lower_raw.json").read_text()) + samples = [{"prefix": route[:195], "t": 195, "actor": "F", "entrance": "upper", "note": "record route"}] + raw + seen = set(); table = [] + for s in samples: + o = new_oracle() + for k in s["prefix"]: o.step(k) + sig = o.state_signature() + if sig in seen: continue + seen.add(sig) + m = metrics(o) + fl = FLOOR[(s["actor"], s["entrance"])] + row = {"t": s["t"], "actor": s["actor"], "entrance": s["entrance"], "published_floor": fl, **m, + "gap_to_floor_a": fl - m["a_min_assignment_sum"], "gap_to_floor_c_strict": fl - m["c_strict"], + "prefix_sha": __import__("hashlib").sha256(s["prefix"].encode()).hexdigest()[:12], "prefix": s["prefix"]} + table.append(row) + # keep a compact, diverse sample for display + print("t actor ent floor | a(720-min) b_strict b_druid | a+b_strict a+b_druid | H_OC | on_goal | active") + for r in table: + print(r["t"], r["actor"], r["entrance"], r["published_floor"], "|", r["a_min_assignment_sum"], r["b_strict_all_unfinished_act"], r["b_druid_only"], "|", r["c_strict"], r["c_druid"], "|", r["H_OC"], "|", r["on_goal"], "|", r["active"], r["prefix_sha"]) + (HERE.parent / "out/floor_compare.json").write_text(json.dumps(table, indent=1)) + # must-fail control: a handoff-looking matrix with one hero moved to a goal must change a + o = new_oracle() + for k in route[:195]: o.step(k) + base = metrics(o)["a_min_assignment_sum"] + o2 = new_oracle() + for k in route[:246]: o2.step(k) + later = metrics(o2)["a_min_assignment_sum"] + print("control: a at key 195 =", base, " a at key 246 =", later) + if not later < base: raise SystemExit("CONTROL FAILED: metric does not fall as the route progresses") diff --git a/experiments/iii21_switch_floor_check/scripts/layer_table.py b/experiments/iii21_switch_floor_check/scripts/layer_table.py new file mode 100644 index 0000000..1879560 --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/layer_table.py @@ -0,0 +1,63 @@ +"""Task 4. Recompute the layer table from the published handoff tables. +Group (t, hero, entrance) with n positions must be excluded for target T when floor+k+t <= T-1. +Source claims: floors (verdict.json) and counts (handoffs.tsv). Arithmetic verified here.""" +import csv, json, sys +from pathlib import Path +W = Path(__file__).resolve().parent.parent / "web" +FLOORS = {("Fighter","upper"):75,("Fighter","lower"):74,("Thief","upper"):76,("Thief","lower"):74} +def load(p): + with open(p) as fh: + return [(int(r["keys_spent"]), r["hero"], r["entrance"], int(r["starting_positions"])) + for r in csv.DictReader(fh, delimiter="\t")] +def check(cond, msg): + if not cond: + raise SystemExit("CHECK FAILED: " + msg) +def pick(*names): + return next(W / n for n in names if (W / n).exists()) +P269 = pick("iii-21-h269/handoffs.tsv", "h269_handoffs.tsv"); P268 = pick("iii-21-h268/handoffs.tsv", "h268_handoffs.tsv") +PV = pick("iii-21-h269/verdict.json", "h269_verdict.json") +t269 = load(P269); t268 = load(P268) +with open(PV) as fh: + v = json.load(fh) +vf = {("Fighter" if k.split("_")[1]=="0" else "Thief", "upper" if k.endswith("248") else "lower"): x for k, x in v["universal_entrance_floors"].items()} +check(vf == FLOORS, "floors differ from verdict.json %s" % vf) +check(sum(r[3] for r in t269) == 47644 and len(t269) == 25, "h269 total") +check(sum(r[3] for r in t268) == 18198 and len(t268) == 21, "h268 total") +tmin = {h: min(r[0] for r in t269 if r[1] == h) for h in ("Fighter", "Thief")} +tmax_pub = max(r[0] for r in t269) +pub = {(r[0], r[1], r[2]): r[3] for r in t269} +def needed(T, k): + out = [] + for (h, e), f in FLOORS.items(): + for t in range(tmin[h], T - (f + k)): # t + f + k <= T-1 + out.append((t, h, e)) + return out +rows = [] +for T in (270, 271, 272): + for k in range(7): + g = needed(T, k) + known = [x for x in g if x in pub] + unk = sorted(x for x in g if x not in pub) + rows.append({"target": T, "k": k, "groups": len(g), "published_groups": len(known), + "positions_published": sum(pub[x] for x in known), + "groups_beyond_published_table": len(unk), + "first_unpublished": [f"{t} {h[0]} {e}" for t, h, e in unk[:4]]}) +# must-fail controls: the function must reproduce both published totals, and must change if a floor is wrong +r270 = [r for r in rows if r["target"] == 270 and r["k"] == 0][0] +check(r270["positions_published"] == 47644 and r270["groups"] == 25 and r270["groups_beyond_published_table"] == 0, "270,k=0 does not reproduce 47,644") +FLOORS_SAVE = dict(FLOORS) +FLOORS[("Fighter","lower")] = 75 +check(sum(pub.get(x, 0) for x in needed(270, 0)) != 47644, "control: wrong floor must change the total") +FLOORS.update(FLOORS_SAVE) +# 269 table is the T=269,k=0 case: check it reproduces 18,198 from the h268 floors? (h268 used the same floors) +g268 = [x for x in needed(269, 0)] +check(sum(pub[x] for x in g268 if x in pub) == 18198, "269 target should give the h268 total 18,198") +check(all(x in pub for x in g268), "269 groups all published") +pure = {k: min(tmin[h] + f + k for (h, e), f in FLOORS.items()) for k in range(7)} +check(pure[0] == 262 and pure[9 - 9] == 262, "pure floor bound at k=0 should be 188+74") +print("pure floor bound (earliest handoff + floor + k), no search:", pure, "; k=9 gives", min(tmin[h] + f + 9 for (h, e), f in FLOORS.items())) +print(json.dumps(rows, indent=1)) +with open(Path(__file__).resolve().parent.parent/"out/layer_table.json", "w") as fh: + json.dump(rows, fh, indent=1) +print("\ntarget k groups pub_positions beyond_table") +for r in rows: print(r["target"], r["k"], r["groups"], r["positions_published"], r["groups_beyond_published_table"]) diff --git a/experiments/iii21_switch_floor_check/scripts/round_search.py b/experiments/iii21_switch_floor_check/scripts/round_search.py new file mode 100644 index 0000000..b802be3 --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/round_search.py @@ -0,0 +1,63 @@ +"""Task 3. Bounded exact searches with the real oracle from a handoff position (the record's key-195 state). + S1: first Druid visit. 5 presses to reach D, then every state reachable by Druid-only keys (free closure). + Report state count, whether closure is exhausted, and the least count of Druid cuts (repo bound) reached. + S2: press-layered search: states reachable with at most p presses (moves free), layer by layer, until a state cap. + Report states per layer, whether a win was seen, and the best progress (fewest unfinished heroes, lowest H_OC).""" +import json, sys, time +from pathlib import Path +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from common import * +MOVES = "UDLR" +def closure(starts, cap): + """All states reachable from starts by direction keys only (the active hero stays the same). Returns list, exhausted flag.""" + seen = {} + stack = [] + for s in starts: + sig = s.state_signature() + if sig not in seen: seen[sig] = s; stack.append(s) + while stack: + s = stack.pop() + for k in MOVES: + c = s.clone(); c.step(k) + sig = c.state_signature() + if sig in seen: continue + seen[sig] = c; stack.append(c) + if len(seen) > cap: return list(seen.values()), False + return list(seen.values()), True +def druid_cuts(o): + return H.evaluate_operator_counting_bound(o).disjoint_druid_cuts +def run(prefix, label, cap1, cap2, maxp): + o = new_oracle() + for k in prefix: o.step(k) + print(f"== {label}: active {active(o)}, keys {len(prefix)}", flush=True) + # S1: Druid first + s = o + for _ in range((CYC_IDX["D"] - CYC_IDX[active(o)]) % 6): + s = s.clone(); s.step("A") + assert active(s) == "D", active(s) + t = time.time() + states, ex = closure([s], cap1) + best = min(druid_cuts(x) for x in states) + print(f"S1 Druid-first visit: {len(states)} states, exhausted={ex}, druid_cuts at start={druid_cuts(s)}, least reached={best}, {time.time()-t:.0f}s", flush=True) + res = {"label": label, "S1_states": len(states), "S1_exhausted": ex, "S1_cuts_start": druid_cuts(s), "S1_cuts_least": best} + # S2: press layer 0 (F alone, free moves) exhaustively, then estimate layer 1 from a sample + t = time.time() + cl0, ex0 = closure([o], cap2) + win0 = any(x.check_win() for x in cl0) + print(f"S2 layer p=0 (active hero alone): {len(cl0)} states, exhausted={ex0}, win={win0}, {time.time()-t:.0f}s", flush=True) + import random + random.seed(1) + samp = random.sample(cl0, 8) + sizes = [] + for x in samp: + c = x.clone(); c.step("A") + cl1, ex1 = closure([c], 30000) + sizes.append((len(cl1), ex1)) + print(f" sample layer-1 closure (next hero alone): {len(cl1)} states, exhausted={ex1}", flush=True) + res.update({"S2_layer0_states": len(cl0), "S2_layer0_exhausted": ex0, "S2_layer0_win": win0, "S2_layer1_samples": sizes}) + return res +CYC_IDX = {h: i for i, h in enumerate(ORDER)} +if __name__ == "__main__": + r = ROOM["reference_route"] + out = [run(r[:195], "record handoff key 195", 400000, 400000, 0)] + (HERE.parent / "out/round_search.json").write_text(json.dumps(out, indent=1)) diff --git a/experiments/iii21_switch_floor_check/scripts/sample_handoffs.py b/experiments/iii21_switch_floor_check/scripts/sample_handoffs.py new file mode 100644 index 0000000..45c7d71 --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/sample_handoffs.py @@ -0,0 +1,52 @@ +"""Generate real handoff positions: BFS (dedupe by oracle state signature) from record-route states, +collect states right after an F push / T pull moves the crate off a mouth cell (248 upper / 271 lower) +into the chamber cell next to it. Prints/writes the sample as route-prefix strings so any position can be replayed.""" +import json, sys, time +from pathlib import Path +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from common import * +KEYS = "UDLRA" +CH = {248: (19, 10), 271: (19, 11)} +def mouth_xy(m): return (m % W, m // W) +def bfs(prefix, depth, cap, label=""): + o = new_oracle() + for k in prefix: o.step(k) + t0 = len(prefix) + seen = {o.state_signature()} + frontier = [(o, "")] + found = [] + n = 0 + for d in range(1, depth + 1): + nxt = [] + for s, path in frontier: + for k in KEYS: + c = s.clone() + act = active(s) + ok, won = c.step(k) + n += 1 + if not ok if False else False: pass + sig = c.state_signature() + if sig in seen: continue + seen.add(sig) + nxt.append((c, path + k)) + if k != "A" and act in ("F", "T"): + for m, (cx, cy) in CH.items(): + mx, my = mouth_xy(m) + if s.obj[my][mx] == "*" and c.obj[my][mx] != "*" and c.obj[cy][cx] == "*": + found.append({"prefix": prefix + path + k, "t": t0 + d, "actor": act, + "mouth": m, "entrance": MOUTHS[m]}) + if len(seen) > cap: break + frontier = nxt + if len(seen) > cap: break + return found, len(seen), n +if __name__ == "__main__": + route = ROOM["reference_route"] + out = [] + for k0, depth in ((194, 8), (192, 9), (190, 10), (186, 10)): + t = time.time() + f, ns, n = bfs(route[:k0], depth, 400000) + print(f"start key {k0} depth {depth}: states {ns}, expansions {n}, handoffs {len(f)}, {time.time()-t:.0f}s", flush=True) + out += f + Path(__file__).resolve().parent.parent.joinpath("out/handoff_sample_raw.json").write_text(json.dumps(out)) + from collections import Counter + print(Counter((x["t"], x["actor"], x["entrance"]) for x in out)) diff --git a/experiments/iii21_switch_floor_check/scripts/sample_lower.py b/experiments/iii21_switch_floor_check/scripts/sample_lower.py new file mode 100644 index 0000000..b6b06ae --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/sample_lower.py @@ -0,0 +1,16 @@ +import sys, json, time +from pathlib import Path +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from common import * +from sample_handoffs import bfs +r = ROOM["reference_route"] +var = r[:102] + "DLU" + r[103:] +out = [] +for k0, depth, cap in ((192, 16, 900000),): + t = time.time() + f, ns, n = bfs(var[:k0], depth, cap) + print(f"variant start {k0} depth {depth}: states {ns} expansions {n} handoffs {len(f)} {time.time()-t:.0f}s", flush=True) + out += f +from collections import Counter +print(Counter((x["t"], x["actor"], x["entrance"]) for x in out)) +Path(__file__).resolve().parent.parent.joinpath("out/handoff_sample_lower_raw.json").write_text(json.dumps(out)) diff --git a/experiments/iii21_switch_floor_check/scripts/winding_identity.py b/experiments/iii21_switch_floor_check/scripts/winding_identity.py new file mode 100644 index 0000000..2044703 --- /dev/null +++ b/experiments/iii21_switch_floor_check/scripts/winding_identity.py @@ -0,0 +1,67 @@ +"""Task 2. Winding of the activation order vs count of A presses, on catalog routes of Part III. +Acting sequence: active hero at each non-A key, consecutive repeats collapsed (start = initially active hero). +Winding W = sum over consecutive acting heroes of the cyclic distance among heroes alive at that moment. +Identity checked: presses == W (no wasted loop, none after the last action). Also reported per route.""" +import json, sys +from pathlib import Path +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from common import * +CYC = ["F", "T", "W", "P", "B", "D"] +def alive(o): + return [h for h in CYC if h in hero_pos(o)] +def analyse(part, grid, route, start_from=0): + o = PuzzleScriptOracle(part, grid) + for k in route[:start_from]: + o.step(k) + cur = active(o) + presses = 0; winding = 0; presses_since = 0; trans = []; bad = []; acting = [cur] + for i, k in enumerate(route[start_from:], start_from + 1): + if k == "A": + presses += 1; presses_since += 1 + o.step(k) + continue + act = active(o) + if act is None: + bad.append((i, 'dead', None, 0, 0)); break + if act != acting[-1]: + al = alive(o) + d = (al.index(act) - al.index(acting[-1])) % len(al) + winding += d + if d != presses_since: bad.append((i, acting[-1], act, d, presses_since)) + acting.append(act) + elif presses_since: + bad.append((i, act, act, 0, presses_since)) + presses_since = 0 + o.step(k) + tail = presses_since + return {"presses": presses, "winding": winding, "tail_presses_after_last_action": tail, + "transitions": len(acting) - 1, "mismatched_transitions": bad[:5], "n_mismatch": len(bad), + "identity_holds": presses == winding and tail == 0 and not bad, "won": o.check_win()} +if __name__ == "__main__": + cat = json.loads((SOKO / "soko_mcp/data/catalog.json").read_text(encoding="utf-8")) + res = {} + for r in cat["rooms"]: + if r["part"] != 3: continue + a = analyse(3, r["grid"], r["reference_route"]) + res[r["id"]] = a + print(r["id"], len(r["reference_route"]), a["presses"], a["winding"], a["identity_holds"], a["won"], a["n_mismatch"]) + r21 = [r for r in cat["rooms"] if r["id"] == "III-21"][0] + suf = analyse(3, r21["grid"], r21["reference_route"], 195) + print("III-21 suffix after key 195:", suf) + res["III-21-suffix-195"] = suf + # must-fail control: a route with one extra loop of presses must break the identity + rt = r21["reference_route"] + i = rt.index("A") + bad_route = rt[:i] + "AAAAAA" + rt[i:] + ctrl = analyse(3, r21["grid"], bad_route) + print("control (6 extra presses inserted):", ctrl["presses"], ctrl["winding"], ctrl["identity_holds"]) + if ctrl["identity_holds"]: + raise SystemExit("CONTROL FAILED: identity did not break") + # second control: drop one A + j = rt.index("A"); ctrl2 = analyse(3, r21["grid"], rt[:j] + rt[j+1:]) + print("control (one A removed):", ctrl2["presses"], ctrl2["winding"], ctrl2["identity_holds"], ctrl2["won"]) + if ctrl2["identity_holds"] and ctrl2["won"]: + raise SystemExit("CONTROL 2 FAILED") + (HERE.parent / "out/winding_identity.json").write_text(json.dumps(res, indent=1)) + failing = [k for k, v in res.items() if not v["identity_holds"]] + print("identity fails on:", failing) diff --git a/experiments/iii21_switch_floor_check/web/h268_handoffs.tsv b/experiments/iii21_switch_floor_check/web/h268_handoffs.tsv new file mode 100644 index 0000000..8e5d8f3 --- /dev/null +++ b/experiments/iii21_switch_floor_check/web/h268_handoffs.tsv @@ -0,0 +1,22 @@ +keys_spent hero entrance starting_positions +188 Fighter upper 4 +188 Fighter lower 4 +189 Fighter upper 36 +189 Fighter lower 24 +190 Fighter upper 156 +190 Fighter lower 88 +190 Thief upper 4 +190 Thief lower 4 +191 Fighter upper 520 +191 Fighter lower 298 +191 Thief upper 38 +191 Thief lower 26 +192 Fighter upper 1560 +192 Fighter lower 884 +192 Thief upper 180 +192 Thief lower 106 +193 Fighter upper 4232 +193 Fighter lower 2338 +193 Thief lower 418 +194 Fighter lower 5822 +194 Thief lower 1456 diff --git a/experiments/iii21_switch_floor_check/web/h269_handoffs.tsv b/experiments/iii21_switch_floor_check/web/h269_handoffs.tsv new file mode 100644 index 0000000..fae48f5 --- /dev/null +++ b/experiments/iii21_switch_floor_check/web/h269_handoffs.tsv @@ -0,0 +1,26 @@ +keys_spent hero entrance starting_positions +188 Fighter upper 4 +188 Fighter lower 4 +189 Fighter upper 36 +189 Fighter lower 24 +190 Fighter upper 156 +190 Fighter lower 88 +190 Thief upper 4 +190 Thief lower 4 +191 Fighter upper 520 +191 Fighter lower 298 +191 Thief upper 38 +191 Thief lower 26 +192 Fighter upper 1560 +192 Fighter lower 884 +192 Thief upper 180 +192 Thief lower 106 +193 Fighter upper 4232 +193 Fighter lower 2338 +193 Thief upper 698 +193 Thief lower 418 +194 Fighter upper 10620 +194 Fighter lower 5822 +194 Thief lower 1456 +195 Fighter lower 13746 +195 Thief lower 4382 diff --git a/experiments/iii21_switch_floor_check/web/h269_verdict.json b/experiments/iii21_switch_floor_check/web/h269_verdict.json new file mode 100644 index 0000000..4b5abdb --- /dev/null +++ b/experiments/iii21_switch_floor_check/web/h269_verdict.json @@ -0,0 +1,211 @@ +{ + "room": "III-21", + "part": 3, + "room_number": 21, + "cutoff_excluded": 269, + "certified_lower_bound": 270, + "convention": "deferred", + "doorway_northern_supply": true, + "suffix_assignments": true, + "suffix_axes": true, + "opening_cost": 52, + "universal_entrance_floors": { + "actor_0_mouth_248": 75, + "actor_0_mouth_271": 74, + "actor_1_mouth_248": 76, + "actor_1_mouth_271": 74 + }, + "earliest_omitted_western_handoff": 200, + "omitted_western_fits_cutoff": false, + "eligible_handoff_groups": 25, + "total_joined_seeds": 47644, + "digests_sha256": { + "inventory.tsv": "889fad257836d733be0dff57190f852715152d5a2d954253223418177c170821", + "five.tsv": "8a2fd19d421847454570f52d7fc20015c14cc8602d6d45f484e544c2e9b653f4", + "six.tsv": "8c06dbebc9c54e55dcf9f6a38f6b6b395d8006cdbab1d19664e862100c379516", + "east.tsv": "61b471935df223bc13eb94e01da0143a42dde4d60eba67b7a59c6aa3367112bc", + "opening.json": "bba07a2758aeafca1434e13d586bd431fac94621d5ee9a07c1b33037b9d0226d", + "northern-crossings.tsv": "cdb21c852432afe09c1229e61f6e04805458c6f25b58b13901a37d3295babdcf", + "northern-supply.tsv": "1ec6f08875d6ac7dcc9012c5ba052028a0213adedce329c9e349b8568a8f9f3a", + "run.log": "22217a21c2865cdc58b639dbb81569ca6941b01460d4551d0c85deb9b8b27e1a", + "rem15.log": "9066756d7985f5fa18fa93435b631c67e69db4cb4938fb322de3c0c4264090da", + "t190_271_all.log": "ea3a963511dcda7541621b27b0793c669cb6b3413ee06eef249ae89d74222b5d" + }, + "groups": [ + { + "paid": 188, + "actor": 0, + "mouth": 248, + "seeds": 4, + "evidence": "run.log" + }, + { + "paid": 188, + "actor": 0, + "mouth": 271, + "seeds": 4, + "evidence": "run.log" + }, + { + "paid": 189, + "actor": 0, + "mouth": 248, + "seeds": 36, + "evidence": "run.log" + }, + { + "paid": 189, + "actor": 0, + "mouth": 271, + "seeds": 24, + "evidence": "run.log" + }, + { + "paid": 190, + "actor": 0, + "mouth": 248, + "seeds": 156, + "evidence": "run.log" + }, + { + "paid": 190, + "actor": 0, + "mouth": 271, + "seeds": 88, + "evidence": "run.log" + }, + { + "paid": 190, + "actor": 1, + "mouth": 248, + "seeds": 4, + "evidence": "run.log" + }, + { + "paid": 190, + "actor": 1, + "mouth": 271, + "seeds": 4, + "evidence": "t190_271_all.log" + }, + { + "paid": 191, + "actor": 0, + "mouth": 248, + "seeds": 520, + "evidence": "run.log" + }, + { + "paid": 191, + "actor": 0, + "mouth": 271, + "seeds": 298, + "evidence": "run.log" + }, + { + "paid": 191, + "actor": 1, + "mouth": 248, + "seeds": 38, + "evidence": "rem15.log" + }, + { + "paid": 191, + "actor": 1, + "mouth": 271, + "seeds": 26, + "evidence": "rem15.log" + }, + { + "paid": 192, + "actor": 0, + "mouth": 248, + "seeds": 1560, + "evidence": "rem15.log" + }, + { + "paid": 192, + "actor": 0, + "mouth": 271, + "seeds": 884, + "evidence": "rem15.log" + }, + { + "paid": 192, + "actor": 1, + "mouth": 248, + "seeds": 180, + "evidence": "rem15.log" + }, + { + "paid": 192, + "actor": 1, + "mouth": 271, + "seeds": 106, + "evidence": "rem15.log" + }, + { + "paid": 193, + "actor": 0, + "mouth": 248, + "seeds": 4232, + "evidence": "rem15.log" + }, + { + "paid": 193, + "actor": 0, + "mouth": 271, + "seeds": 2338, + "evidence": "rem15.log" + }, + { + "paid": 193, + "actor": 1, + "mouth": 248, + "seeds": 698, + "evidence": "rem15.log" + }, + { + "paid": 193, + "actor": 1, + "mouth": 271, + "seeds": 418, + "evidence": "rem15.log" + }, + { + "paid": 194, + "actor": 0, + "mouth": 248, + "seeds": 10620, + "evidence": "rem15.log" + }, + { + "paid": 194, + "actor": 0, + "mouth": 271, + "seeds": 5822, + "evidence": "rem15.log" + }, + { + "paid": 194, + "actor": 1, + "mouth": 271, + "seeds": 1456, + "evidence": "rem15.log" + }, + { + "paid": 195, + "actor": 0, + "mouth": 271, + "seeds": 13746, + "evidence": "rem15.log" + }, + { + "paid": 195, + "actor": 1, + "mouth": 271, + "seeds": 4382, + "evidence": "rem15.log" + } + ] +} From fd4d41b60b77516cc417b1d70f8df33aacc0b6ef Mon Sep 17 00:00:00 2001 From: ahraz <38987266+ahrazzle@users.noreply.github.com> Date: Fri, 20 Nov 2026 11:51:11 -0600 Subject: [PATCH 2/2] III-21 switch floor check: replace bare asserts, add round search control floor_compare.py and round_search.py now raise instead of using assert, so the checks survive python3 -O. round_search.py gains a control that the win test fires one key before the record's end. The README says which scripts carry controls and what the winding identity does and does not show. --- experiments/iii21_switch_floor_check/README.md | 5 +++-- .../scripts/floor_compare.py | 3 ++- .../iii21_switch_floor_check/scripts/round_search.py | 12 +++++++++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/experiments/iii21_switch_floor_check/README.md b/experiments/iii21_switch_floor_check/README.md index 910f6bb..bff14eb 100644 --- a/experiments/iii21_switch_floor_check/README.md +++ b/experiments/iii21_switch_floor_check/README.md @@ -4,12 +4,13 @@ Scripts that test, on the repo's own oracle and assignment code, what the publis 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`. Each has a control that must fail. +`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. | +| `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. | diff --git a/experiments/iii21_switch_floor_check/scripts/floor_compare.py b/experiments/iii21_switch_floor_check/scripts/floor_compare.py index b4b46a6..3375c22 100644 --- a/experiments/iii21_switch_floor_check/scripts/floor_compare.py +++ b/experiments/iii21_switch_floor_check/scripts/floor_compare.py @@ -12,7 +12,8 @@ def cyc_dist(a, b): return (CYC.index(b) - CYC.index(a)) % 6 def metrics(o): labels, goals, mat = H.solo_walk_plus_wall_convert_matrix(o) rows = H.enumerate_all_goal_bijections(labels, goals, mat) - assert len(rows) == 720 + if len(rows) != 720: + raise SystemExit(f"CHECK FAILED: expected 720 assignments, got {len(rows)}") a = rows[0]["solo_sum_cost"] act = active(o); ong = on_goal(o) need = [h for h in CYC if h not in ong] diff --git a/experiments/iii21_switch_floor_check/scripts/round_search.py b/experiments/iii21_switch_floor_check/scripts/round_search.py index b802be3..8d76b9b 100644 --- a/experiments/iii21_switch_floor_check/scripts/round_search.py +++ b/experiments/iii21_switch_floor_check/scripts/round_search.py @@ -34,7 +34,8 @@ def run(prefix, label, cap1, cap2, maxp): s = o for _ in range((CYC_IDX["D"] - CYC_IDX[active(o)]) % 6): s = s.clone(); s.step("A") - assert active(s) == "D", active(s) + if active(s) != "D": + raise SystemExit(f"CHECK FAILED: expected the Druid active, got {active(s)}") t = time.time() states, ex = closure([s], cap1) best = min(druid_cuts(x) for x in states) @@ -57,7 +58,16 @@ def run(prefix, label, cap1, cap2, maxp): res.update({"S2_layer0_states": len(cl0), "S2_layer0_exhausted": ex0, "S2_layer0_win": win0, "S2_layer1_samples": sizes}) return res CYC_IDX = {h: i for i, h in enumerate(ORDER)} +def _replay(prefix): + o = new_oracle() + for k in prefix: o.step(k) + return o if __name__ == "__main__": r = ROOM["reference_route"] + # must-fail control: the win test used by S2 has to fire one key before the record ends + ctl, _ = closure([_replay(r[:-1])], 50000) + if not any(x.check_win() for x in ctl): + raise SystemExit("CONTROL FAILED: closure one key before the record's end shows no win") + print("control: closure one key before the record's end contains a win", flush=True) out = [run(r[:195], "record handoff key 195", 400000, 400000, 0)] (HERE.parent / "out/round_search.json").write_text(json.dumps(out, indent=1))