r1234chen commited on
Commit
0255a1a
·
verified ·
1 Parent(s): c13d07e

Mirror public GitHub main c456a7d (3/25)

Browse files
runtime/MOTION_BINDINGS.json ADDED
The diff for this file is too large to render. See raw diff
 
runtime/OWNER_PART_MAP.json ADDED
The diff for this file is too large to render. See raw diff
 
runtime/PROFILE.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "namespace": "benchmark_v2",
3
+ "counts": {
4
+ "L1": 39,
5
+ "L2": 22,
6
+ "H1": 11,
7
+ "H2": 22
8
+ },
9
+ "budgets": {
10
+ "L1": {
11
+ "actions": 150,
12
+ "recalls": 10,
13
+ "tip_window": 25
14
+ },
15
+ "H1": {
16
+ "actions": 200,
17
+ "recalls": 20,
18
+ "tip_window": 50
19
+ },
20
+ "L2": {
21
+ "actions": 200,
22
+ "recalls": 15,
23
+ "tip_window": 40
24
+ },
25
+ "H2": {
26
+ "actions": 250,
27
+ "recalls": 25,
28
+ "tip_window": 60
29
+ }
30
+ },
31
+ "model_execution_ready": true
32
+ }
runtime/approved_prompt.txt ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ You are a robot locked in a room. Your goal is to get out of the room.The door is locked. What opens it is not told in this message; you have to find out by searching the room.Papers and notes in the room may give you hints.Things can be hidden inside furniture that opens, and some things are locked themselves.To win, open the exit door.
2
+ Each turn you see what you are holding, your own notes, your last 10 steps and, at the end, a photo of your current view.Each of the last steps is shown with the photo you were looking at when you chose it, the action you took and any available feedback(recalls are listed separately). Older steps are NOT shown; they are kept in your memory, which you can search with recall.
3
+ Choose exactly one action:
4
+ {"action": "walk", "distance": 0.25 | 0.5 | 1.0}
5
+ {"action": "turn", "direction": "left" | "right" | "up" | "down", "degrees": 10-120}
6
+ (left / right turn you in place; up / down tilt your head)
7
+ {"action": "step_back", "distance": 0.1-0.6}
8
+ {"action": "side_step", "direction": "left" | "right", "distance": 0.1-0.5}
9
+ (step back or sideways while keeping your facing direction)
10
+ {"action": "open", "point": [x, y], "target": "<what>"}
11
+ {"action": "close", "point": [x, y], "target": "<what>"}
12
+ {"action": "take", "point": [x, y], "target": "<what>"}
13
+ {"action": "read", "point": [x, y], "target": "<what>"} the item in your hand needs no point
14
+ {"action": "unlock", "point": [x, y], "target": "<what>", "code": "<digits>"} a locked item in your hand needs no point
15
+ {"action": "use", "point": [x, y], "target": "<what>"} uses/place the item in your hand on the thing you point at,or on another item in your hand (that one needs no point; "target" names it)
16
+ (when you hold several items, add "item": "<a word for the one you mean>" to read / use)
17
+ {"action": "press", "point": [x, y], "target": "<what>"}
18
+ {"action": "recall", "query": "<words to search your memory for>"}
19
+ (recall searches only the steps older than your last 10 steps, by the actions you took and what happened, and shows each step it finds with the photo you were looking at then.)
20
+ Recall has a separate budget and does not use an action. Every recall attempt uses one recall, even if nothing is found. When Recalls left is 0, recall is unavailable.
21
+ For open / close / unlock on furniture, point directly at the door, drawer, or handle you mean. A clearly hit part takes priority over "part". If your point only identifies the whole furniture and not a specific part, add "part": <number>, counting drawers and doors column by column from the top left, starting at 1. The same part-selection rule applies when using an item on a furniture door or drawer. Room doors and items in your hand need no part.
22
+ "point" says which thing you mean: the position of that thing in the photo of your current view, in pixels: x from 0 (left edge) to 640 (right edge) and y from 0 (top) to 360 (bottom). "target" is one or two words naming the whole thing you point at (cabinet, door, note, ...).
23
+ You can only act on things in your current view, and you must be close to them.
24
+ When you look for something, scan by turning in one direction; do not spin or alternate left and right turns. If you could not move, do not repeat the same walk; turn or step back instead.
25
+ Do not guess codes. Only enter a code that you have actually found written somewhere in the room;trying numbers one after another is not allowed.
26
+ You can add "note": "<one sentence>" to any action to write down what you think is important; your notes are shown to you every turn (at most 20 notes; "drop_notes": [<note numbers>] removes notes).
27
+ Every reply must include "thought": one short sentence on why you take this action.
28
+ Reply with exactly one JSON object:
29
+ {"thought": "<why you take this action>", "action": "<one of the actions above>", ...its parameters...}
30
+ You have at most 80 actions.
runtime/catalogue.json ADDED
@@ -0,0 +1,2255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "namespace": "benchmark_v2",
3
+ "levels": {
4
+ "L1-01": {
5
+ "id": "L1-01",
6
+ "name": "L1-01_office_scale",
7
+ "kind": "legacy",
8
+ "source_id": "L2-01",
9
+ "source_name": "L2-01_office_scale",
10
+ "source": "../level/easy/L1-01/level.json",
11
+ "source_sha256": "58750a20553bf0651f4297fc565fa93a0a73b4c2249cd46a963dda1eb575052b",
12
+ "public_config": "../level/easy/L1-01/level.json",
13
+ "action_cap": 150,
14
+ "recall_cap": 10,
15
+ "tip_window": 25,
16
+ "tip_limit": 1,
17
+ "image_size": [
18
+ 640,
19
+ 360
20
+ ],
21
+ "legacy_hint_id": "L2-01",
22
+ "legacy_milestone_name": "L2-01_office_scale",
23
+ "exploration": "basic",
24
+ "puzzle": "basic",
25
+ "frozen_source_sha256": "b40fe71228a4638e5dbf39d4bc4344a8357205da4173aa97f77f9e389f01c3ca"
26
+ },
27
+ "L1-02": {
28
+ "id": "L1-02",
29
+ "name": "L1-02_office_blocks",
30
+ "kind": "legacy",
31
+ "source_id": "L2-02",
32
+ "source_name": "L2-02_office_blocks",
33
+ "source": "../level/easy/L1-02/level.json",
34
+ "source_sha256": "aeb41af0b44d19758cd92fdaaaf1f704e903c7117f3677227f87c5c18c832dcf",
35
+ "public_config": "../level/easy/L1-02/level.json",
36
+ "action_cap": 150,
37
+ "recall_cap": 10,
38
+ "tip_window": 25,
39
+ "tip_limit": 1,
40
+ "image_size": [
41
+ 640,
42
+ 360
43
+ ],
44
+ "legacy_hint_id": "L2-02",
45
+ "legacy_milestone_name": "L2-02_office_blocks",
46
+ "exploration": "basic",
47
+ "puzzle": "basic",
48
+ "frozen_source_sha256": "c9674a74f1f0f6b02e3fd8b12fd81d6c4fb28e666439343f25ba52391eece32a"
49
+ },
50
+ "L1-03": {
51
+ "id": "L1-03",
52
+ "name": "L1-03_office_pots",
53
+ "kind": "legacy",
54
+ "source_id": "L2-03",
55
+ "source_name": "L2-03_office_pots",
56
+ "source": "../level/easy/L1-03/level.json",
57
+ "source_sha256": "eb688887561bad7d41b696133e66431094f9ec9cedfcc0fbd37f566b04b0b82e",
58
+ "public_config": "../level/easy/L1-03/level.json",
59
+ "action_cap": 150,
60
+ "recall_cap": 10,
61
+ "tip_window": 25,
62
+ "tip_limit": 1,
63
+ "image_size": [
64
+ 640,
65
+ 360
66
+ ],
67
+ "legacy_hint_id": "L2-03",
68
+ "legacy_milestone_name": "L2-03_office_pots",
69
+ "exploration": "basic",
70
+ "puzzle": "basic",
71
+ "frozen_source_sha256": "1ed79e97b28dc19770d34e12c4ef30f0817ae06cab4f241ab49f156768b196b3"
72
+ },
73
+ "L1-04": {
74
+ "id": "L1-04",
75
+ "name": "L1-04_office_diff",
76
+ "kind": "legacy",
77
+ "source_id": "L2-04",
78
+ "source_name": "L2-04_office_diff",
79
+ "source": "../level/easy/L1-04/level.json",
80
+ "source_sha256": "e9a031aa135fa5ae3a970fc6f4b02e8b323d2a327ac62b3470620d76c462fac7",
81
+ "public_config": "../level/easy/L1-04/level.json",
82
+ "action_cap": 150,
83
+ "recall_cap": 10,
84
+ "tip_window": 25,
85
+ "tip_limit": 1,
86
+ "image_size": [
87
+ 640,
88
+ 360
89
+ ],
90
+ "legacy_hint_id": "L2-04",
91
+ "legacy_milestone_name": "L2-04_office_diff",
92
+ "exploration": "basic",
93
+ "puzzle": "basic",
94
+ "frozen_source_sha256": "abf6b3e62050b82ac8250f4070b2f026cae11b2062dc2d74e34d89363b899020"
95
+ },
96
+ "L1-05": {
97
+ "id": "L1-05",
98
+ "name": "L1-05_office_detector",
99
+ "kind": "legacy",
100
+ "source_id": "L2-05",
101
+ "source_name": "L2-05_office_detector",
102
+ "source": "../level/easy/L1-05/level.json",
103
+ "source_sha256": "eb3204744b412526fa531e36fd7544808b46cf93b100fa66d5026516ee4245e7",
104
+ "public_config": "../level/easy/L1-05/level.json",
105
+ "action_cap": 150,
106
+ "recall_cap": 10,
107
+ "tip_window": 25,
108
+ "tip_limit": 1,
109
+ "image_size": [
110
+ 640,
111
+ 360
112
+ ],
113
+ "legacy_hint_id": "L2-05",
114
+ "legacy_milestone_name": "L2-05_office_detector",
115
+ "exploration": "basic",
116
+ "puzzle": "basic",
117
+ "frozen_source_sha256": "4936fb68284c54542dd941a19b97d13fd2a914c92780dbb006dcf199c695d305"
118
+ },
119
+ "L1-06": {
120
+ "id": "L1-06",
121
+ "name": "L1-06_office_turn",
122
+ "kind": "legacy",
123
+ "source_id": "L2-06",
124
+ "source_name": "L2-06_office_turn",
125
+ "source": "../level/easy/L1-06/level.json",
126
+ "source_sha256": "19964807b1854ed771a05873bfa51df1972b30b00d3ef499cc5ebd22f7974ff1",
127
+ "public_config": "../level/easy/L1-06/level.json",
128
+ "action_cap": 150,
129
+ "recall_cap": 10,
130
+ "tip_window": 25,
131
+ "tip_limit": 1,
132
+ "image_size": [
133
+ 640,
134
+ 360
135
+ ],
136
+ "legacy_hint_id": "L2-06",
137
+ "legacy_milestone_name": "L2-06_office_turn",
138
+ "exploration": "basic",
139
+ "puzzle": "basic",
140
+ "frozen_source_sha256": "2ed91221de67a1bd900f4efef224e38f541d1e9461905e51f0566e7bd7bc4061"
141
+ },
142
+ "L1-07": {
143
+ "id": "L1-07",
144
+ "name": "L1-07_office_paint",
145
+ "kind": "legacy",
146
+ "source_id": "L2-07",
147
+ "source_name": "L2-07_office_paint",
148
+ "source": "../level/easy/L1-07/level.json",
149
+ "source_sha256": "ec3f1883f1fec44e00f2308f1425b5613269c438db8308b399e45b3fe3aa5ea4",
150
+ "public_config": "../level/easy/L1-07/level.json",
151
+ "action_cap": 150,
152
+ "recall_cap": 10,
153
+ "tip_window": 25,
154
+ "tip_limit": 1,
155
+ "image_size": [
156
+ 640,
157
+ 360
158
+ ],
159
+ "legacy_hint_id": "L2-07",
160
+ "legacy_milestone_name": "L2-07_office_paint",
161
+ "exploration": "basic",
162
+ "puzzle": "basic",
163
+ "frozen_source_sha256": "a9994d39329f795d1fed3d58a9b3608815a48342cf0f6f0eb7052030a7769aa6"
164
+ },
165
+ "L1-08": {
166
+ "id": "L1-08",
167
+ "name": "L1-08_office_pacing",
168
+ "kind": "legacy",
169
+ "source_id": "L2-08",
170
+ "source_name": "L2-08_office_pacing",
171
+ "source": "../level/easy/L1-08/level.json",
172
+ "source_sha256": "ca35818d8d8c0b882420f3d6bedc7b6c1e2ba4fe2e62969282d7325ef7908584",
173
+ "public_config": "../level/easy/L1-08/level.json",
174
+ "action_cap": 150,
175
+ "recall_cap": 10,
176
+ "tip_window": 25,
177
+ "tip_limit": 1,
178
+ "image_size": [
179
+ 640,
180
+ 360
181
+ ],
182
+ "legacy_hint_id": "L2-08",
183
+ "legacy_milestone_name": "L2-08_office_pacing",
184
+ "exploration": "basic",
185
+ "puzzle": "basic",
186
+ "frozen_source_sha256": "542d8dd7c05c9189d9b377dcb861d7e77baa3e219c6f6688eb6d71e5d3fafd47"
187
+ },
188
+ "L1-09": {
189
+ "id": "L1-09",
190
+ "name": "L1-09_office_plate",
191
+ "kind": "legacy",
192
+ "source_id": "L2-09",
193
+ "source_name": "L2-09_office_plate",
194
+ "source": "../level/easy/L1-09/level.json",
195
+ "source_sha256": "faac3f36b56e290ae63a4448b7ded65630aed8f0f33d90395e84ac8a00c65839",
196
+ "public_config": "../level/easy/L1-09/level.json",
197
+ "action_cap": 150,
198
+ "recall_cap": 10,
199
+ "tip_window": 25,
200
+ "tip_limit": 1,
201
+ "image_size": [
202
+ 640,
203
+ 360
204
+ ],
205
+ "legacy_hint_id": "L2-09",
206
+ "legacy_milestone_name": "L2-09_office_plate",
207
+ "exploration": "basic",
208
+ "puzzle": "basic",
209
+ "frozen_source_sha256": "a77861e133a0032a6f9e25d7b292c03994f1213e31fed7fe3de534db8fb9a852"
210
+ },
211
+ "L1-10": {
212
+ "id": "L1-10",
213
+ "name": "L1-10_office_pipes",
214
+ "kind": "legacy",
215
+ "source_id": "L2-10",
216
+ "source_name": "L2-10_office_pipes",
217
+ "source": "../level/easy/L1-10/level.json",
218
+ "source_sha256": "4b81861a2c5f4057cac3446ca35e1c4c53832ec3295b169ca17195995d290d16",
219
+ "public_config": "../level/easy/L1-10/level.json",
220
+ "action_cap": 150,
221
+ "recall_cap": 10,
222
+ "tip_window": 25,
223
+ "tip_limit": 1,
224
+ "image_size": [
225
+ 640,
226
+ 360
227
+ ],
228
+ "legacy_hint_id": "L2-10",
229
+ "legacy_milestone_name": "L2-10_office_pipes",
230
+ "exploration": "basic",
231
+ "puzzle": "basic",
232
+ "frozen_source_sha256": "15a3502f9ca30006a4312d6935aa91dfbcef6d2f655ed058960a8519370bfb04"
233
+ },
234
+ "L1-11": {
235
+ "id": "L1-11",
236
+ "name": "L1-11_office_seats",
237
+ "kind": "legacy",
238
+ "source_id": "L2-11",
239
+ "source_name": "L2-11_office_seats",
240
+ "source": "../level/easy/L1-11/level.json",
241
+ "source_sha256": "3e92801afd494969257959b4dbf981a17f2eeba9535abe90595423eb7ab476ef",
242
+ "public_config": "../level/easy/L1-11/level.json",
243
+ "action_cap": 150,
244
+ "recall_cap": 10,
245
+ "tip_window": 25,
246
+ "tip_limit": 1,
247
+ "image_size": [
248
+ 640,
249
+ 360
250
+ ],
251
+ "legacy_hint_id": "L2-11",
252
+ "legacy_milestone_name": "L2-11_office_seats",
253
+ "exploration": "basic",
254
+ "puzzle": "basic",
255
+ "frozen_source_sha256": "e0d3ccfb376b8962a3950b1911ef8d03347b719f36bb8cfb2c3bdb8b2c2cc798"
256
+ },
257
+ "L1-12": {
258
+ "id": "L1-12",
259
+ "name": "L1-12_office_rules",
260
+ "kind": "legacy",
261
+ "source_id": "L2-12",
262
+ "source_name": "L2-12_office_rules",
263
+ "source": "../level/easy/L1-12/level.json",
264
+ "source_sha256": "a6d8067c814dceb86df9347d7c1c7de047a776b683b7a814db5812e995ec4e9c",
265
+ "public_config": "../level/easy/L1-12/level.json",
266
+ "action_cap": 150,
267
+ "recall_cap": 10,
268
+ "tip_window": 25,
269
+ "tip_limit": 1,
270
+ "image_size": [
271
+ 640,
272
+ 360
273
+ ],
274
+ "legacy_hint_id": "L2-12",
275
+ "legacy_milestone_name": "L2-12_office_rules",
276
+ "exploration": "basic",
277
+ "puzzle": "basic",
278
+ "frozen_source_sha256": "e2df86ef393a094ff0795779bd6c24789cba8c23d8b3d1cdee8d0a492156ce29"
279
+ },
280
+ "L1-13": {
281
+ "id": "L1-13",
282
+ "name": "L1-13_office_lights",
283
+ "kind": "legacy",
284
+ "source_id": "L2-13",
285
+ "source_name": "L2-13_office_lights",
286
+ "source": "../level/easy/L1-13/level.json",
287
+ "source_sha256": "6ebe64fd53c68322f6bb6a3a0e9ba6dec36534eee73919959501088665a39592",
288
+ "public_config": "../level/easy/L1-13/level.json",
289
+ "action_cap": 150,
290
+ "recall_cap": 10,
291
+ "tip_window": 25,
292
+ "tip_limit": 1,
293
+ "image_size": [
294
+ 640,
295
+ 360
296
+ ],
297
+ "legacy_hint_id": "L2-13",
298
+ "legacy_milestone_name": "L2-13_office_lights",
299
+ "exploration": "basic",
300
+ "puzzle": "basic",
301
+ "frozen_source_sha256": "cf997dcfba278052ec2e90c7fe97386109080cd9c47d6294bc9e33d4bec7e3ab"
302
+ },
303
+ "L1-14": {
304
+ "id": "L1-14",
305
+ "name": "L1-14_office_queens",
306
+ "kind": "legacy",
307
+ "source_id": "L2-14",
308
+ "source_name": "L2-14_office_queens",
309
+ "source": "../level/easy/L1-14/level.json",
310
+ "source_sha256": "0bc21a75c8cdc145eb514eaf00ee7a6713b8f50fceabef500e09ef8b02eb4c84",
311
+ "public_config": "../level/easy/L1-14/level.json",
312
+ "action_cap": 150,
313
+ "recall_cap": 10,
314
+ "tip_window": 25,
315
+ "tip_limit": 1,
316
+ "image_size": [
317
+ 640,
318
+ 360
319
+ ],
320
+ "legacy_hint_id": "L2-14",
321
+ "legacy_milestone_name": "L2-14_office_queens",
322
+ "exploration": "basic",
323
+ "puzzle": "basic",
324
+ "frozen_source_sha256": "bb6e6c82b425c65bb85f4f7a74c3c26d1fe2eb5ac6d26024ffdd50985646286a"
325
+ },
326
+ "L1-15": {
327
+ "id": "L1-15",
328
+ "name": "L1-15_office_count_halves",
329
+ "kind": "legacy",
330
+ "source_id": "L2-15",
331
+ "source_name": "L2-15_office_count_halves",
332
+ "source": "../level/easy/L1-15/level.json",
333
+ "source_sha256": "1db2d47608e10fe59533903bfb6197cc5c2141c4a3214ed2c46c78187b63ae82",
334
+ "public_config": "../level/easy/L1-15/level.json",
335
+ "action_cap": 150,
336
+ "recall_cap": 10,
337
+ "tip_window": 25,
338
+ "tip_limit": 1,
339
+ "image_size": [
340
+ 640,
341
+ 360
342
+ ],
343
+ "legacy_hint_id": "L2-15",
344
+ "legacy_milestone_name": "L2-15_office_count_halves",
345
+ "exploration": "basic",
346
+ "puzzle": "basic",
347
+ "frozen_source_sha256": "5e01bc290730d251a2c855f03eff8165a93c13edf94ef603cf68d8e000c0170b"
348
+ },
349
+ "L1-16": {
350
+ "id": "L1-16",
351
+ "name": "L1-16_laundry_five",
352
+ "kind": "legacy",
353
+ "source_id": "L2-16",
354
+ "source_name": "L2-16_laundry_five",
355
+ "source": "../level/easy/L1-16/level.json",
356
+ "source_sha256": "3acdc7e82e6d91681e64560258b9b421c6df290b85b3973cda0eedfc2453b062",
357
+ "public_config": "../level/easy/L1-16/level.json",
358
+ "action_cap": 150,
359
+ "recall_cap": 10,
360
+ "tip_window": 25,
361
+ "tip_limit": 1,
362
+ "image_size": [
363
+ 640,
364
+ 360
365
+ ],
366
+ "legacy_hint_id": "L2-16",
367
+ "legacy_milestone_name": "L2-16_laundry_five",
368
+ "exploration": "basic",
369
+ "puzzle": "basic",
370
+ "frozen_source_sha256": "8e54f89e75e3a4d31dda35e54a5af4ac209755d1cd398a571fb767a4087a0f09"
371
+ },
372
+ "L1-17": {
373
+ "id": "L1-17",
374
+ "name": "L1-17_office_symbols",
375
+ "kind": "legacy",
376
+ "source_id": "L2-17",
377
+ "source_name": "L2-17_office_symbols",
378
+ "source": "../level/easy/L1-17/level.json",
379
+ "source_sha256": "542c8cfc3a5eda218ea0339e0009a226c0d5864bc9e33b02949616601d185df4",
380
+ "public_config": "../level/easy/L1-17/level.json",
381
+ "action_cap": 150,
382
+ "recall_cap": 10,
383
+ "tip_window": 25,
384
+ "tip_limit": 1,
385
+ "image_size": [
386
+ 640,
387
+ 360
388
+ ],
389
+ "legacy_hint_id": "L2-17",
390
+ "legacy_milestone_name": "L2-17_office_symbols",
391
+ "exploration": "basic",
392
+ "puzzle": "basic",
393
+ "frozen_source_sha256": "5d8e4a5e0a7a7df946870731653e7aefba419b86d594ccea7a5d73c3b3750486"
394
+ },
395
+ "L1-18": {
396
+ "id": "L1-18",
397
+ "name": "L1-18_office_colors",
398
+ "kind": "legacy",
399
+ "source_id": "L2-18",
400
+ "source_name": "L2-18_office_colors",
401
+ "source": "../level/easy/L1-18/level.json",
402
+ "source_sha256": "cfd6875ff41bf0df776da38fbbf385346382d68c535089f1a9e019ad5e7591e0",
403
+ "public_config": "../level/easy/L1-18/level.json",
404
+ "action_cap": 150,
405
+ "recall_cap": 10,
406
+ "tip_window": 25,
407
+ "tip_limit": 1,
408
+ "image_size": [
409
+ 640,
410
+ 360
411
+ ],
412
+ "legacy_hint_id": "L2-18",
413
+ "legacy_milestone_name": "L2-18_office_colors",
414
+ "exploration": "basic",
415
+ "puzzle": "basic",
416
+ "frozen_source_sha256": "be420d16ea44404475bf6e66b9a91a8e4fd784bee0c9e96db21d723d34240206"
417
+ },
418
+ "L1-19": {
419
+ "id": "L1-19",
420
+ "name": "L1-19_office_laser",
421
+ "kind": "legacy",
422
+ "source_id": "L2-19",
423
+ "source_name": "L2-19_office_laser",
424
+ "source": "../level/easy/L1-19/level.json",
425
+ "source_sha256": "15f19969e95674900f4c30401a41d909beab0988565e9bd144d63af824217cef",
426
+ "public_config": "../level/easy/L1-19/level.json",
427
+ "action_cap": 150,
428
+ "recall_cap": 10,
429
+ "tip_window": 25,
430
+ "tip_limit": 1,
431
+ "image_size": [
432
+ 640,
433
+ 360
434
+ ],
435
+ "legacy_hint_id": "L2-19",
436
+ "legacy_milestone_name": "L2-19_office_laser",
437
+ "exploration": "basic",
438
+ "puzzle": "basic",
439
+ "frozen_source_sha256": "7a9cb2fea7f6e59a15d585a5b9749f2e9555a5627e6fa5868b1f44b6ad716383"
440
+ },
441
+ "L1-20": {
442
+ "id": "L1-20",
443
+ "name": "L1-20_office_bill",
444
+ "kind": "legacy",
445
+ "source_id": "L2-20",
446
+ "source_name": "L2-20_office_bill",
447
+ "source": "../level/easy/L1-20/level.json",
448
+ "source_sha256": "78e13f204632c5b00aefba4f4254e3254d8ad4648b88799cea857a052f185e8b",
449
+ "public_config": "../level/easy/L1-20/level.json",
450
+ "action_cap": 150,
451
+ "recall_cap": 10,
452
+ "tip_window": 25,
453
+ "tip_limit": 1,
454
+ "image_size": [
455
+ 640,
456
+ 360
457
+ ],
458
+ "legacy_hint_id": "L2-20",
459
+ "legacy_milestone_name": "L2-20_office_bill",
460
+ "exploration": "basic",
461
+ "puzzle": "basic",
462
+ "frozen_source_sha256": "68cce59f817108faaca059f47793e3161e5d6b938e48fa075bd9e61770d869df"
463
+ },
464
+ "L1-21": {
465
+ "id": "L1-21",
466
+ "name": "L1-21_office_places",
467
+ "kind": "legacy",
468
+ "source_id": "L2-21",
469
+ "source_name": "L2-21_office_places",
470
+ "source": "../level/easy/L1-21/level.json",
471
+ "source_sha256": "d61ec018eb7efbe1e14fc8cf7c5d3f8ff91e25e25180d29d95c2998931deb56f",
472
+ "public_config": "../level/easy/L1-21/level.json",
473
+ "action_cap": 150,
474
+ "recall_cap": 10,
475
+ "tip_window": 25,
476
+ "tip_limit": 1,
477
+ "image_size": [
478
+ 640,
479
+ 360
480
+ ],
481
+ "legacy_hint_id": "L2-21",
482
+ "legacy_milestone_name": "L2-21_office_places",
483
+ "exploration": "basic",
484
+ "puzzle": "basic",
485
+ "frozen_source_sha256": "33a657342fbda4dc555acc60615ee17508f92e593b270d1c090d5c604ba14651"
486
+ },
487
+ "L1-22": {
488
+ "id": "L1-22",
489
+ "name": "L1-22_office_measure",
490
+ "kind": "legacy",
491
+ "source_id": "L2-22",
492
+ "source_name": "L2-22_office_measure",
493
+ "source": "../level/easy/L1-22/level.json",
494
+ "source_sha256": "9f9e87d7a0b5f658b78ceaf7cc4df187e8acebb4f59d2bad48457573f691b087",
495
+ "public_config": "../level/easy/L1-22/level.json",
496
+ "action_cap": 150,
497
+ "recall_cap": 10,
498
+ "tip_window": 25,
499
+ "tip_limit": 1,
500
+ "image_size": [
501
+ 640,
502
+ 360
503
+ ],
504
+ "legacy_hint_id": "L2-22",
505
+ "legacy_milestone_name": "L2-22_office_measure",
506
+ "exploration": "basic",
507
+ "puzzle": "basic",
508
+ "frozen_source_sha256": "dacb22e5ad73a34d8e3fa1c4babd1dfbe7e461312431267626263a74228b7a24"
509
+ },
510
+ "L1-23": {
511
+ "id": "L1-23",
512
+ "name": "L1-23_office_order",
513
+ "kind": "legacy",
514
+ "source_id": "L2-23",
515
+ "source_name": "L2-23_office_order",
516
+ "source": "../level/easy/L1-23/level.json",
517
+ "source_sha256": "b4dc3138dc8f2988320a04eeac0d7199b174d0c3e32c3405d4780fd6a8e9e5cf",
518
+ "public_config": "../level/easy/L1-23/level.json",
519
+ "action_cap": 150,
520
+ "recall_cap": 10,
521
+ "tip_window": 25,
522
+ "tip_limit": 1,
523
+ "image_size": [
524
+ 640,
525
+ 360
526
+ ],
527
+ "legacy_hint_id": "L2-23",
528
+ "legacy_milestone_name": "L2-23_office_order",
529
+ "exploration": "basic",
530
+ "puzzle": "basic",
531
+ "frozen_source_sha256": "5f8b68225ed8b8148716263dc4930bf0d62fa0699b93bb0d505a6fd63c2905d0"
532
+ },
533
+ "L1-24": {
534
+ "id": "L1-24",
535
+ "name": "L1-24_office_walls",
536
+ "kind": "legacy",
537
+ "source_id": "L2-24",
538
+ "source_name": "L2-24_office_walls",
539
+ "source": "../level/easy/L1-24/level.json",
540
+ "source_sha256": "2436ba996bd342bb792193b47062d750417a532e30657304be563adb20f6e51c",
541
+ "public_config": "../level/easy/L1-24/level.json",
542
+ "action_cap": 150,
543
+ "recall_cap": 10,
544
+ "tip_window": 25,
545
+ "tip_limit": 1,
546
+ "image_size": [
547
+ 640,
548
+ 360
549
+ ],
550
+ "legacy_hint_id": "L2-24",
551
+ "legacy_milestone_name": "L2-24_office_walls",
552
+ "exploration": "basic",
553
+ "puzzle": "basic",
554
+ "frozen_source_sha256": "470b5e621368fb56bb42171e5297dcff077cabc1bc319698fada60f51b5d84bf"
555
+ },
556
+ "L1-25": {
557
+ "id": "L1-25",
558
+ "name": "L1-25_office_busts",
559
+ "kind": "legacy",
560
+ "source_id": "L2-25",
561
+ "source_name": "L2-25_office_busts",
562
+ "source": "../level/easy/L1-25/level.json",
563
+ "source_sha256": "ab8afbda2ee60081e04d764fbb7b6b5564e326f315247d3d79fa22fe41929f15",
564
+ "public_config": "../level/easy/L1-25/level.json",
565
+ "action_cap": 150,
566
+ "recall_cap": 10,
567
+ "tip_window": 25,
568
+ "tip_limit": 1,
569
+ "image_size": [
570
+ 640,
571
+ 360
572
+ ],
573
+ "legacy_hint_id": "L2-25",
574
+ "legacy_milestone_name": "L2-25_office_busts",
575
+ "exploration": "basic",
576
+ "puzzle": "basic",
577
+ "frozen_source_sha256": "7f7d4136b3bb10785da6bffbe39618c2d1ad87740737fff6c5f883b3aeb920cc"
578
+ },
579
+ "L1-26": {
580
+ "id": "L1-26",
581
+ "name": "L1-26_office_boxes",
582
+ "kind": "legacy",
583
+ "source_id": "L2-26",
584
+ "source_name": "L2-26_office_boxes",
585
+ "source": "../level/easy/L1-26/level.json",
586
+ "source_sha256": "5b5e512eba7e2a58ad3e1fe563f37b0ba55c4be9f2e69113537b085c647f0274",
587
+ "public_config": "../level/easy/L1-26/level.json",
588
+ "action_cap": 150,
589
+ "recall_cap": 10,
590
+ "tip_window": 25,
591
+ "tip_limit": 1,
592
+ "image_size": [
593
+ 640,
594
+ 360
595
+ ],
596
+ "legacy_hint_id": "L2-26",
597
+ "legacy_milestone_name": "L2-26_office_boxes",
598
+ "exploration": "basic",
599
+ "puzzle": "basic",
600
+ "frozen_source_sha256": "b20a03b484cb2fb92cf097e9745b06a6fb90e91216a4276ddd5f8a927d443aef"
601
+ },
602
+ "L1-27": {
603
+ "id": "L1-27",
604
+ "name": "L1-27_office_jugs",
605
+ "kind": "legacy",
606
+ "source_id": "L2-27",
607
+ "source_name": "L2-27_office_jugs",
608
+ "source": "../level/easy/L1-27/level.json",
609
+ "source_sha256": "8b21cdb97b1679f327c5b37c27336204a85c3bdbaf0b5a653683a762d15dd3a8",
610
+ "public_config": "../level/easy/L1-27/level.json",
611
+ "action_cap": 150,
612
+ "recall_cap": 10,
613
+ "tip_window": 25,
614
+ "tip_limit": 1,
615
+ "image_size": [
616
+ 640,
617
+ 360
618
+ ],
619
+ "legacy_hint_id": "L2-27",
620
+ "legacy_milestone_name": "L2-27_office_jugs",
621
+ "exploration": "basic",
622
+ "puzzle": "basic",
623
+ "frozen_source_sha256": "8fb274df8d67c3e82f9858ef3a4e73bb14d5c5e07c3fc8a02eccb06425ae8c93"
624
+ },
625
+ "L1-28": {
626
+ "id": "L1-28",
627
+ "name": "L1-28_office_motto",
628
+ "kind": "legacy",
629
+ "source_id": "L2-28",
630
+ "source_name": "L2-28_office_motto",
631
+ "source": "../level/easy/L1-28/level.json",
632
+ "source_sha256": "6d77895788a54c343b2ac1a260707f2919bd42e5bd297edb3a4adb1641ce0385",
633
+ "public_config": "../level/easy/L1-28/level.json",
634
+ "action_cap": 150,
635
+ "recall_cap": 10,
636
+ "tip_window": 25,
637
+ "tip_limit": 1,
638
+ "image_size": [
639
+ 640,
640
+ 360
641
+ ],
642
+ "legacy_hint_id": "L2-28",
643
+ "legacy_milestone_name": "L2-28_office_motto",
644
+ "exploration": "basic",
645
+ "puzzle": "basic",
646
+ "frozen_source_sha256": "0a2eb8f108b37d136d56c1415cb723454e51c9b06ace8e1c380dfa62ee327934"
647
+ },
648
+ "L1-29": {
649
+ "id": "L1-29",
650
+ "name": "L1-29_office_relations",
651
+ "kind": "legacy",
652
+ "source_id": "L2-29",
653
+ "source_name": "L2-29_office_relations",
654
+ "source": "../level/easy/L1-29/level.json",
655
+ "source_sha256": "2f3633d450e6b177865e97a9041b3a309bff937e3b89fa5e42b98dc0368a433e",
656
+ "public_config": "../level/easy/L1-29/level.json",
657
+ "action_cap": 150,
658
+ "recall_cap": 10,
659
+ "tip_window": 25,
660
+ "tip_limit": 1,
661
+ "image_size": [
662
+ 640,
663
+ 360
664
+ ],
665
+ "legacy_hint_id": "L2-29",
666
+ "legacy_milestone_name": "L2-29_office_relations",
667
+ "exploration": "basic",
668
+ "puzzle": "basic",
669
+ "frozen_source_sha256": "cd14ae103a8ef006ad2f54c3410a7409bf591eed609442729033b2e8e8c5faf9"
670
+ },
671
+ "L1-30": {
672
+ "id": "L1-30",
673
+ "name": "L1-30_office_attic",
674
+ "kind": "legacy",
675
+ "source_id": "L3-01",
676
+ "source_name": "L3-01_office_attic",
677
+ "source": "../level/easy/L1-30/level.json",
678
+ "source_sha256": "af3f20ef534a745d97d981d27a07c0fbd81abffd6d8ffaf8a1d4e9b38165e429",
679
+ "public_config": "../level/easy/L1-30/level.json",
680
+ "action_cap": 150,
681
+ "recall_cap": 10,
682
+ "tip_window": 25,
683
+ "tip_limit": 1,
684
+ "image_size": [
685
+ 640,
686
+ 360
687
+ ],
688
+ "legacy_hint_id": "L3-01",
689
+ "legacy_milestone_name": "L3-01_office_attic",
690
+ "exploration": "basic",
691
+ "puzzle": "basic",
692
+ "frozen_source_sha256": "91ffa13e3bf2dc44e92c1d9c1aa36c571007c6015a0c63df29d28e16d664a5fc"
693
+ },
694
+ "L1-31": {
695
+ "id": "L1-31",
696
+ "name": "L1-31_office_inspector",
697
+ "kind": "legacy",
698
+ "source_id": "L3-02",
699
+ "source_name": "L3-02_office_inspector",
700
+ "source": "../level/easy/L1-31/level.json",
701
+ "source_sha256": "1a3c4f4331a799cd047f25ddedba0848c5826a71b84bdf7fc5f6a3bc5acc56d4",
702
+ "public_config": "../level/easy/L1-31/level.json",
703
+ "action_cap": 150,
704
+ "recall_cap": 10,
705
+ "tip_window": 25,
706
+ "tip_limit": 1,
707
+ "image_size": [
708
+ 640,
709
+ 360
710
+ ],
711
+ "legacy_hint_id": "L3-02",
712
+ "legacy_milestone_name": "L3-02_office_inspector",
713
+ "exploration": "basic",
714
+ "puzzle": "basic",
715
+ "frozen_source_sha256": "d10207222ac60f40fdd29cc739c4d19d97494a4a25668aabda515fb567ff8d92"
716
+ },
717
+ "L1-32": {
718
+ "id": "L1-32",
719
+ "name": "L1-32_office_story_archive",
720
+ "kind": "legacy",
721
+ "source_id": "L3-03",
722
+ "source_name": "L3-03_office_story_archive",
723
+ "source": "../level/easy/L1-32/level.json",
724
+ "source_sha256": "0f72266c630b89f019882fc157838abe3fec11e7c3e851deb056bf81259b6212",
725
+ "public_config": "../level/easy/L1-32/level.json",
726
+ "action_cap": 150,
727
+ "recall_cap": 10,
728
+ "tip_window": 25,
729
+ "tip_limit": 1,
730
+ "image_size": [
731
+ 640,
732
+ 360
733
+ ],
734
+ "legacy_hint_id": "L3-03",
735
+ "legacy_milestone_name": "L3-03_office_story_archive",
736
+ "exploration": "basic",
737
+ "puzzle": "basic",
738
+ "frozen_source_sha256": "9cb798bd53732b801f34cc7612b489b0e241bf2810d26a36e641e56e5416a609"
739
+ },
740
+ "L1-33": {
741
+ "id": "L1-33",
742
+ "name": "L1-33_office_story_captain",
743
+ "kind": "legacy",
744
+ "source_id": "L3-04",
745
+ "source_name": "L3-04_office_story_captain",
746
+ "source": "../level/easy/L1-33/level.json",
747
+ "source_sha256": "54320ac68e058a250bed4efa9758ee7c784ac0bc66fd2597a133bb38f749152b",
748
+ "public_config": "../level/easy/L1-33/level.json",
749
+ "action_cap": 150,
750
+ "recall_cap": 10,
751
+ "tip_window": 25,
752
+ "tip_limit": 1,
753
+ "image_size": [
754
+ 640,
755
+ 360
756
+ ],
757
+ "legacy_hint_id": "L3-04",
758
+ "legacy_milestone_name": "L3-04_office_story_captain",
759
+ "exploration": "basic",
760
+ "puzzle": "basic",
761
+ "frozen_source_sha256": "0274b6d567e28b5e810f2981d4f0f74c337f23ee1459aa0afea1650de8fb3961"
762
+ },
763
+ "L1-34": {
764
+ "id": "L1-34",
765
+ "name": "L1-34_office_story_restorer",
766
+ "kind": "legacy",
767
+ "source_id": "L3-05",
768
+ "source_name": "L3-05_office_story_restorer",
769
+ "source": "../level/easy/L1-34/level.json",
770
+ "source_sha256": "540578346cec6e3625c1c29b0fd04ce77bf3eda84b36566b8611ac0c2dd5e8c6",
771
+ "public_config": "../level/easy/L1-34/level.json",
772
+ "action_cap": 150,
773
+ "recall_cap": 10,
774
+ "tip_window": 25,
775
+ "tip_limit": 1,
776
+ "image_size": [
777
+ 640,
778
+ 360
779
+ ],
780
+ "legacy_hint_id": "L3-05",
781
+ "legacy_milestone_name": "L3-05_office_story_restorer",
782
+ "exploration": "basic",
783
+ "puzzle": "basic",
784
+ "frozen_source_sha256": "e952f9fdfb98b1431ee3b62991da0226372497d7f0ea160f22233d6ccb89b378"
785
+ },
786
+ "L1-35": {
787
+ "id": "L1-35",
788
+ "name": "L1-35_office_story_grandma",
789
+ "kind": "legacy",
790
+ "source_id": "L3-06",
791
+ "source_name": "L3-06_office_story_grandma",
792
+ "source": "../level/easy/L1-35/level.json",
793
+ "source_sha256": "c8a640b651ffa95b174213c2099dc427de09142aabafd6a28ff46643c273fc42",
794
+ "public_config": "../level/easy/L1-35/level.json",
795
+ "action_cap": 150,
796
+ "recall_cap": 10,
797
+ "tip_window": 25,
798
+ "tip_limit": 1,
799
+ "image_size": [
800
+ 640,
801
+ 360
802
+ ],
803
+ "legacy_hint_id": "L3-06",
804
+ "legacy_milestone_name": "L3-06_office_story_grandma",
805
+ "exploration": "basic",
806
+ "puzzle": "basic",
807
+ "frozen_source_sha256": "3c3e0f67dfc90de367360e07819a999a4bd390f998b2daa3ad416c800d8aadf3"
808
+ },
809
+ "L1-36": {
810
+ "id": "L1-36",
811
+ "name": "L1-36_office_story_radio",
812
+ "kind": "legacy",
813
+ "source_id": "L3-07",
814
+ "source_name": "L3-07_office_story_radio",
815
+ "source": "../level/easy/L1-36/level.json",
816
+ "source_sha256": "dea2f3665a0c20a119d14d6e7838792e219c9639bf6bfb0d6df284cace21052f",
817
+ "public_config": "../level/easy/L1-36/level.json",
818
+ "action_cap": 150,
819
+ "recall_cap": 10,
820
+ "tip_window": 25,
821
+ "tip_limit": 1,
822
+ "image_size": [
823
+ 640,
824
+ 360
825
+ ],
826
+ "legacy_hint_id": "L3-07",
827
+ "legacy_milestone_name": "L3-07_office_story_radio",
828
+ "exploration": "basic",
829
+ "puzzle": "basic",
830
+ "frozen_source_sha256": "12912f727c1eda2c2a87fa8a160d236282338dd6826c7e5ee9104b512b62a7c7"
831
+ },
832
+ "L1-37": {
833
+ "id": "L1-37",
834
+ "name": "L1-37_office_story_gardener",
835
+ "kind": "legacy",
836
+ "source_id": "L3-08",
837
+ "source_name": "L3-08_office_story_gardener",
838
+ "source": "../level/easy/L1-37/level.json",
839
+ "source_sha256": "50e99b918ab324b656ad6669cf5a1e273a85d9b4789f3e070836ed13206db52e",
840
+ "public_config": "../level/easy/L1-37/level.json",
841
+ "action_cap": 150,
842
+ "recall_cap": 10,
843
+ "tip_window": 25,
844
+ "tip_limit": 1,
845
+ "image_size": [
846
+ 640,
847
+ 360
848
+ ],
849
+ "legacy_hint_id": "L3-08",
850
+ "legacy_milestone_name": "L3-08_office_story_gardener",
851
+ "exploration": "basic",
852
+ "puzzle": "basic",
853
+ "frozen_source_sha256": "6d20006ecc3f568281fe2f67ed9883744297b6a1ecb939591fddafa22e0dae6d"
854
+ },
855
+ "L1-38": {
856
+ "id": "L1-38",
857
+ "name": "L1-38_office_story_stage",
858
+ "kind": "legacy",
859
+ "source_id": "L3-09",
860
+ "source_name": "L3-09_office_story_stage",
861
+ "source": "../level/easy/L1-38/level.json",
862
+ "source_sha256": "376abfc7fcb543f7b1cdb3e79e98399f048be9f42960def21e7f37896097ae86",
863
+ "public_config": "../level/easy/L1-38/level.json",
864
+ "action_cap": 150,
865
+ "recall_cap": 10,
866
+ "tip_window": 25,
867
+ "tip_limit": 1,
868
+ "image_size": [
869
+ 640,
870
+ 360
871
+ ],
872
+ "legacy_hint_id": "L3-09",
873
+ "legacy_milestone_name": "L3-09_office_story_stage",
874
+ "exploration": "basic",
875
+ "puzzle": "basic",
876
+ "frozen_source_sha256": "e0300066a68a8e749856de15dcb66a54a50cbda2f3c6b4d642ec26c77e9cbb7f"
877
+ },
878
+ "L1-39": {
879
+ "id": "L1-39",
880
+ "name": "L1-39_office_story_expedition",
881
+ "kind": "legacy",
882
+ "source_id": "L3-10",
883
+ "source_name": "L3-10_office_story_expedition",
884
+ "source": "../level/easy/L1-39/level.json",
885
+ "source_sha256": "a8e393ad9ce7072f4fd90937985295ae932e849006caa01acc2b4cf2f052a15e",
886
+ "public_config": "../level/easy/L1-39/level.json",
887
+ "action_cap": 150,
888
+ "recall_cap": 10,
889
+ "tip_window": 25,
890
+ "tip_limit": 1,
891
+ "image_size": [
892
+ 640,
893
+ 360
894
+ ],
895
+ "legacy_hint_id": "L3-10",
896
+ "legacy_milestone_name": "L3-10_office_story_expedition",
897
+ "exploration": "basic",
898
+ "puzzle": "basic",
899
+ "frozen_source_sha256": "607cef7407582854289b05fb279c96839a0596a1c9b3c54acf599e90d77fee72"
900
+ },
901
+ "H1-01": {
902
+ "id": "H1-01",
903
+ "name": "H1-01_hub_two_rooms",
904
+ "kind": "legacy",
905
+ "source_id": "H1-01",
906
+ "source_name": "H1-01_hub_two_rooms",
907
+ "source": "../level/medium-a/H1-01/level.json",
908
+ "source_sha256": "b9ca64446224f2e33168a66d64b15d9f431697517e40d6b70e015a3366a4effe",
909
+ "public_config": "../level/medium-a/H1-01/level.json",
910
+ "action_cap": 200,
911
+ "recall_cap": 20,
912
+ "tip_window": 50,
913
+ "tip_limit": 1,
914
+ "image_size": [
915
+ 640,
916
+ 360
917
+ ],
918
+ "legacy_hint_id": "H1-01",
919
+ "legacy_milestone_name": "H1-01_hub_two_rooms",
920
+ "exploration": "enhanced",
921
+ "puzzle": "basic",
922
+ "frozen_source_sha256": "b009b1c7ca509c6570c172f9093f5b8f20bb3b80a10b70636a82c1d80fbb1fb5"
923
+ },
924
+ "H1-02": {
925
+ "id": "H1-02",
926
+ "name": "H1-02_hub_halves",
927
+ "kind": "legacy",
928
+ "source_id": "H1-02",
929
+ "source_name": "H1-02_hub_halves",
930
+ "source": "../level/medium-a/H1-02/level.json",
931
+ "source_sha256": "722eb46b7b8f42dfeeb2e92c8dc045fc1f502e2c660284e2928e5e5e9b7b118b",
932
+ "public_config": "../level/medium-a/H1-02/level.json",
933
+ "action_cap": 200,
934
+ "recall_cap": 20,
935
+ "tip_window": 50,
936
+ "tip_limit": 1,
937
+ "image_size": [
938
+ 640,
939
+ 360
940
+ ],
941
+ "legacy_hint_id": "H1-02",
942
+ "legacy_milestone_name": "H1-02_hub_halves",
943
+ "exploration": "enhanced",
944
+ "puzzle": "basic",
945
+ "frozen_source_sha256": "831eef7b88b715a786e418ef1645b8a9b27c6d4ec47fc7c93566d85cd01c0a16"
946
+ },
947
+ "H1-03": {
948
+ "id": "H1-03",
949
+ "name": "H1-03_hub_switch",
950
+ "kind": "legacy",
951
+ "source_id": "H1-03",
952
+ "source_name": "H1-03_hub_switch",
953
+ "source": "../level/medium-a/H1-03/level.json",
954
+ "source_sha256": "ef0038ac56b0a2ee46ca33f12a575eb47f51e165621976752e717863078a2c65",
955
+ "public_config": "../level/medium-a/H1-03/level.json",
956
+ "action_cap": 200,
957
+ "recall_cap": 20,
958
+ "tip_window": 50,
959
+ "tip_limit": 1,
960
+ "image_size": [
961
+ 640,
962
+ 360
963
+ ],
964
+ "legacy_hint_id": "H1-03",
965
+ "legacy_milestone_name": "H1-03_hub_switch",
966
+ "exploration": "enhanced",
967
+ "puzzle": "basic",
968
+ "frozen_source_sha256": "4076f836d517e024f39ecce2b648f93dc2110b62bdda1ee1048004b60f4e4409"
969
+ },
970
+ "H1-04": {
971
+ "id": "H1-04",
972
+ "name": "H1-04_dining_burner",
973
+ "kind": "legacy",
974
+ "source_id": "H1-04",
975
+ "source_name": "H1-04_dining_burner",
976
+ "source": "../level/medium-a/H1-04/level.json",
977
+ "source_sha256": "f83796e1a47aa4580fcbc8ae3053de7958e894a13859bee4ee639ace5099c2ab",
978
+ "public_config": "../level/medium-a/H1-04/level.json",
979
+ "action_cap": 200,
980
+ "recall_cap": 20,
981
+ "tip_window": 50,
982
+ "tip_limit": 1,
983
+ "image_size": [
984
+ 640,
985
+ 360
986
+ ],
987
+ "legacy_hint_id": "H1-04",
988
+ "legacy_milestone_name": "H1-04_dining_burner",
989
+ "exploration": "enhanced",
990
+ "puzzle": "basic",
991
+ "frozen_source_sha256": "17e61c43aafb76e7a394d0f603db0e9c8d7a44bd69c61536a82b227fc7cbe6a0"
992
+ },
993
+ "H1-05": {
994
+ "id": "H1-05",
995
+ "name": "H1-05_dining_fireplace",
996
+ "kind": "legacy",
997
+ "source_id": "H1-05",
998
+ "source_name": "H1-05_dining_fireplace",
999
+ "source": "../level/medium-a/H1-05/level.json",
1000
+ "source_sha256": "9b182f4d79aa788eb60ef69f2d29139dd1b0c35b6882bfd2b8aa03c3bba268d8",
1001
+ "public_config": "../level/medium-a/H1-05/level.json",
1002
+ "action_cap": 200,
1003
+ "recall_cap": 20,
1004
+ "tip_window": 50,
1005
+ "tip_limit": 1,
1006
+ "image_size": [
1007
+ 640,
1008
+ 360
1009
+ ],
1010
+ "legacy_hint_id": "H1-05",
1011
+ "legacy_milestone_name": "H1-05_dining_fireplace",
1012
+ "exploration": "enhanced",
1013
+ "puzzle": "basic",
1014
+ "frozen_source_sha256": "b28af350aa5a859a127897c946794645267afa1a2f0dab33c2ed929564a92173"
1015
+ },
1016
+ "H1-06": {
1017
+ "id": "H1-06",
1018
+ "name": "H1-06_twin_offices",
1019
+ "kind": "legacy",
1020
+ "source_id": "H1-06",
1021
+ "source_name": "H1-06_twin_offices",
1022
+ "source": "../level/medium-a/H1-06/level.json",
1023
+ "source_sha256": "ac6a28f81c632ec54c52aa7e642d985af59b454fff6f04102f02de53100c5d87",
1024
+ "public_config": "../level/medium-a/H1-06/level.json",
1025
+ "action_cap": 200,
1026
+ "recall_cap": 20,
1027
+ "tip_window": 50,
1028
+ "tip_limit": 1,
1029
+ "image_size": [
1030
+ 640,
1031
+ 360
1032
+ ],
1033
+ "legacy_hint_id": "H1-06",
1034
+ "legacy_milestone_name": "H1-06_twin_offices",
1035
+ "exploration": "enhanced",
1036
+ "puzzle": "basic",
1037
+ "frozen_source_sha256": "af4a04f735f8f52199bc4714c8f3ce50edd86f11cd2a2e092a62d8a392b56896"
1038
+ },
1039
+ "H1-07": {
1040
+ "id": "H1-07",
1041
+ "name": "H1-07_hub_pyramid",
1042
+ "kind": "legacy",
1043
+ "source_id": "H1-07",
1044
+ "source_name": "H1-07_hub_pyramid",
1045
+ "source": "../level/medium-a/H1-07/level.json",
1046
+ "source_sha256": "a161a00e2d98671109de03b395956e400019bbd374d3e3d1437d948fd20bbe20",
1047
+ "public_config": "../level/medium-a/H1-07/level.json",
1048
+ "action_cap": 200,
1049
+ "recall_cap": 20,
1050
+ "tip_window": 50,
1051
+ "tip_limit": 1,
1052
+ "image_size": [
1053
+ 640,
1054
+ 360
1055
+ ],
1056
+ "legacy_hint_id": "H1-07",
1057
+ "legacy_milestone_name": "H1-07_hub_pyramid",
1058
+ "exploration": "enhanced",
1059
+ "puzzle": "basic",
1060
+ "frozen_source_sha256": "f9245d277de12c4494d6a15c548e0006efc27e17e7146da41801145d5129274a"
1061
+ },
1062
+ "H1-08": {
1063
+ "id": "H1-08",
1064
+ "name": "H1-08_dining_halves",
1065
+ "kind": "legacy",
1066
+ "source_id": "H1-08",
1067
+ "source_name": "H1-08_dining_halves",
1068
+ "source": "../level/medium-a/H1-08/level.json",
1069
+ "source_sha256": "4a87cb8641ec75b09ef286978fb570b127f46132caf122113c78880d968aaa85",
1070
+ "public_config": "../level/medium-a/H1-08/level.json",
1071
+ "action_cap": 200,
1072
+ "recall_cap": 20,
1073
+ "tip_window": 50,
1074
+ "tip_limit": 1,
1075
+ "image_size": [
1076
+ 640,
1077
+ 360
1078
+ ],
1079
+ "legacy_hint_id": "H1-08",
1080
+ "legacy_milestone_name": "H1-08_dining_halves",
1081
+ "exploration": "enhanced",
1082
+ "puzzle": "basic",
1083
+ "frozen_source_sha256": "01d13d795b4ffc2f6d3cad2a35e66ad898602ba08b2f6a19c2755b00d1aaca7c"
1084
+ },
1085
+ "H1-09": {
1086
+ "id": "H1-09",
1087
+ "name": "H1-09_bathroom_start",
1088
+ "kind": "legacy",
1089
+ "source_id": "H1-09",
1090
+ "source_name": "H1-09_bathroom_start",
1091
+ "source": "../level/medium-a/H1-09/level.json",
1092
+ "source_sha256": "ffbd83b8dbf947e30f0b2c644da1136dc3ed33ae725003546f47ba5a3120ded8",
1093
+ "public_config": "../level/medium-a/H1-09/level.json",
1094
+ "action_cap": 200,
1095
+ "recall_cap": 20,
1096
+ "tip_window": 50,
1097
+ "tip_limit": 1,
1098
+ "image_size": [
1099
+ 640,
1100
+ 360
1101
+ ],
1102
+ "legacy_hint_id": "H1-09",
1103
+ "legacy_milestone_name": "H1-09_bathroom_start",
1104
+ "exploration": "enhanced",
1105
+ "puzzle": "basic",
1106
+ "frozen_source_sha256": "15cdf93989105e6b99c0298f3da5d1f4f4b32b1fffad5781dd2922066ae009f2"
1107
+ },
1108
+ "H1-10": {
1109
+ "id": "H1-10",
1110
+ "name": "H1-10_house_fake",
1111
+ "kind": "legacy",
1112
+ "source_id": "H1-10",
1113
+ "source_name": "H1-10_house_fake",
1114
+ "source": "../level/medium-a/H1-10/level.json",
1115
+ "source_sha256": "c61fd9c8a8cafc584a28f109148f468e976fef4422b0065fdac551461ca28b08",
1116
+ "public_config": "../level/medium-a/H1-10/level.json",
1117
+ "action_cap": 200,
1118
+ "recall_cap": 20,
1119
+ "tip_window": 50,
1120
+ "tip_limit": 1,
1121
+ "image_size": [
1122
+ 640,
1123
+ 360
1124
+ ],
1125
+ "legacy_hint_id": "H1-10",
1126
+ "legacy_milestone_name": "H1-10_house_fake",
1127
+ "exploration": "enhanced",
1128
+ "puzzle": "basic",
1129
+ "frozen_source_sha256": "3b406a243c3ef8b4b9338f2425fa2c157a6a2f1b0a30355f06ca2174ba4ae75b"
1130
+ },
1131
+ "H1-11": {
1132
+ "id": "H1-11",
1133
+ "name": "H1-11_hub_house",
1134
+ "kind": "legacy",
1135
+ "source_id": "H1-11",
1136
+ "source_name": "H1-11_hub_house",
1137
+ "source": "../level/medium-a/H1-11/level.json",
1138
+ "source_sha256": "f65754db9fe6d776f5176f08b24c681ddfa7d596890ff757fb959e122968aeab",
1139
+ "public_config": "../level/medium-a/H1-11/level.json",
1140
+ "action_cap": 200,
1141
+ "recall_cap": 20,
1142
+ "tip_window": 50,
1143
+ "tip_limit": 1,
1144
+ "image_size": [
1145
+ 640,
1146
+ 360
1147
+ ],
1148
+ "legacy_hint_id": "H1-11",
1149
+ "legacy_milestone_name": "H1-11_hub_house",
1150
+ "exploration": "enhanced",
1151
+ "puzzle": "basic",
1152
+ "frozen_source_sha256": "2fa052b6badfa90f235eda1bb47a44ee9907fc98626797df1c5c24bfcb081eb7"
1153
+ },
1154
+ "L2-01": {
1155
+ "id": "L2-01",
1156
+ "name": "L2-01",
1157
+ "kind": "native_room",
1158
+ "source_id": "R01",
1159
+ "source_name": "R01",
1160
+ "source": "../level/medium-b/L2-01/level_R01.py",
1161
+ "source_sha256": "007f4e78435dd13f1a75354a91dd12d8e456ca9a34de238211c242a2a0a4eaa5",
1162
+ "public_config": "../level/medium-b/L2-01/level.json",
1163
+ "action_cap": 200,
1164
+ "recall_cap": 15,
1165
+ "tip_window": 40,
1166
+ "tip_limit": 1,
1167
+ "image_size": [
1168
+ 640,
1169
+ 360
1170
+ ],
1171
+ "runtime": "native_runtime",
1172
+ "scene_overrides": "../level/medium-b/L2-01",
1173
+ "exploration": "basic",
1174
+ "puzzle": "enhanced",
1175
+ "frozen_source_sha256": "8da55e4b6b5d1c208b4bbf07eead10d53c6219ba3fe7f0f3b9a6cc005b554c02"
1176
+ },
1177
+ "L2-02": {
1178
+ "id": "L2-02",
1179
+ "name": "L2-02",
1180
+ "kind": "native_room",
1181
+ "source_id": "R02",
1182
+ "source_name": "R02",
1183
+ "source": "../level/medium-b/L2-02/level_R02.py",
1184
+ "source_sha256": "a1c742ad819121330e362205d5f676944efd626a1914fbc359f1a78617c51c0a",
1185
+ "public_config": "../level/medium-b/L2-02/level.json",
1186
+ "action_cap": 200,
1187
+ "recall_cap": 15,
1188
+ "tip_window": 40,
1189
+ "tip_limit": 1,
1190
+ "image_size": [
1191
+ 640,
1192
+ 360
1193
+ ],
1194
+ "runtime": "native_runtime",
1195
+ "scene_overrides": "../level/medium-b/L2-02",
1196
+ "exploration": "basic",
1197
+ "puzzle": "enhanced",
1198
+ "frozen_source_sha256": "aee5f9585cbfb5ece5473ab5f0aa7d8a5679fdaceffbc62b7a6c7fb54b56d254"
1199
+ },
1200
+ "L2-03": {
1201
+ "id": "L2-03",
1202
+ "name": "L2-03",
1203
+ "kind": "native_room",
1204
+ "source_id": "R03",
1205
+ "source_name": "R03",
1206
+ "source": "../level/medium-b/L2-03/level_R03.py",
1207
+ "source_sha256": "9cf899ada80e5c582cb0e52e6a5406d8c71da8397692786268f2c766364739f5",
1208
+ "public_config": "../level/medium-b/L2-03/level.json",
1209
+ "action_cap": 200,
1210
+ "recall_cap": 15,
1211
+ "tip_window": 40,
1212
+ "tip_limit": 1,
1213
+ "image_size": [
1214
+ 640,
1215
+ 360
1216
+ ],
1217
+ "runtime": "native_runtime",
1218
+ "scene_overrides": "../level/medium-b/L2-03",
1219
+ "exploration": "basic",
1220
+ "puzzle": "enhanced",
1221
+ "frozen_source_sha256": "8c3a1e40590a21a48d0a36c078f98712bde9e92d435b3e887b700f84a456512f"
1222
+ },
1223
+ "L2-04": {
1224
+ "id": "L2-04",
1225
+ "name": "L2-04",
1226
+ "kind": "native_room",
1227
+ "source_id": "R04",
1228
+ "source_name": "R04",
1229
+ "source": "../level/medium-b/L2-04/level_R04.py",
1230
+ "source_sha256": "c31ee8e3f0f011f73eaf13c27680ec950aaede1e336428dbd18033ad79b3b644",
1231
+ "public_config": "../level/medium-b/L2-04/level.json",
1232
+ "action_cap": 200,
1233
+ "recall_cap": 15,
1234
+ "tip_window": 40,
1235
+ "tip_limit": 1,
1236
+ "image_size": [
1237
+ 640,
1238
+ 360
1239
+ ],
1240
+ "runtime": "native_runtime",
1241
+ "scene_overrides": "../level/medium-b/L2-04",
1242
+ "exploration": "basic",
1243
+ "puzzle": "enhanced",
1244
+ "frozen_source_sha256": "2451f5ed281dca58c000dcf5053a0ff9038088d07ebd0465f655f6edd622e156"
1245
+ },
1246
+ "L2-05": {
1247
+ "id": "L2-05",
1248
+ "name": "L2-05",
1249
+ "kind": "native_room",
1250
+ "source_id": "R05",
1251
+ "source_name": "R05",
1252
+ "source": "../level/medium-b/L2-05/level_R05.py",
1253
+ "source_sha256": "6f555b42bace183f66c6491c4a53fd5eaa24972896b898d84a35cbcae067aef2",
1254
+ "public_config": "../level/medium-b/L2-05/level.json",
1255
+ "action_cap": 200,
1256
+ "recall_cap": 15,
1257
+ "tip_window": 40,
1258
+ "tip_limit": 1,
1259
+ "image_size": [
1260
+ 640,
1261
+ 360
1262
+ ],
1263
+ "runtime": "native_runtime",
1264
+ "scene_overrides": "../level/medium-b/L2-05",
1265
+ "exploration": "basic",
1266
+ "puzzle": "enhanced",
1267
+ "frozen_source_sha256": "d448cd46afc5f56bae4e5901550500e6d31e26e3d2992ca7d0b95f8dd214bc72"
1268
+ },
1269
+ "L2-06": {
1270
+ "id": "L2-06",
1271
+ "name": "L2-06",
1272
+ "kind": "native_room",
1273
+ "source_id": "R06",
1274
+ "source_name": "R06",
1275
+ "source": "../level/medium-b/L2-06/level_R06.py",
1276
+ "source_sha256": "709e5abab957c732d2b9b9d58beddec226f3d6abf9a9d30788e321309e9bacbd",
1277
+ "public_config": "../level/medium-b/L2-06/level.json",
1278
+ "action_cap": 200,
1279
+ "recall_cap": 15,
1280
+ "tip_window": 40,
1281
+ "tip_limit": 1,
1282
+ "image_size": [
1283
+ 640,
1284
+ 360
1285
+ ],
1286
+ "runtime": "native_runtime",
1287
+ "scene_overrides": "../level/medium-b/L2-06",
1288
+ "exploration": "basic",
1289
+ "puzzle": "enhanced",
1290
+ "frozen_source_sha256": "520b33484ed88f2cdf216e4ef528822830ea0229da61d67b71652e93bfa39b6b"
1291
+ },
1292
+ "L2-07": {
1293
+ "id": "L2-07",
1294
+ "name": "L2-07",
1295
+ "kind": "native_room",
1296
+ "source_id": "R07",
1297
+ "source_name": "R07",
1298
+ "source": "../level/medium-b/L2-07/level_R07.py",
1299
+ "source_sha256": "3ed2133b8ba82738d58ed80172e23e65f028ab29517d256970de25d119996c7b",
1300
+ "public_config": "../level/medium-b/L2-07/level.json",
1301
+ "action_cap": 200,
1302
+ "recall_cap": 15,
1303
+ "tip_window": 40,
1304
+ "tip_limit": 1,
1305
+ "image_size": [
1306
+ 640,
1307
+ 360
1308
+ ],
1309
+ "runtime": "native_runtime",
1310
+ "scene_overrides": "../level/medium-b/L2-07",
1311
+ "exploration": "basic",
1312
+ "puzzle": "enhanced",
1313
+ "frozen_source_sha256": "994d289e57501513a14656dc1fc6cd9e5a68c5db00f0dc7113ee406c3184203a"
1314
+ },
1315
+ "L2-08": {
1316
+ "id": "L2-08",
1317
+ "name": "L2-08",
1318
+ "kind": "native_room",
1319
+ "source_id": "R08",
1320
+ "source_name": "R08",
1321
+ "source": "../level/medium-b/L2-08/level_R08.py",
1322
+ "source_sha256": "c345d5964017b2abc4fc437cd1278706ed65e775e40efa411d050820ac542475",
1323
+ "public_config": "../level/medium-b/L2-08/level.json",
1324
+ "action_cap": 200,
1325
+ "recall_cap": 15,
1326
+ "tip_window": 40,
1327
+ "tip_limit": 1,
1328
+ "image_size": [
1329
+ 640,
1330
+ 360
1331
+ ],
1332
+ "runtime": "native_runtime",
1333
+ "scene_overrides": "../level/medium-b/L2-08",
1334
+ "exploration": "basic",
1335
+ "puzzle": "enhanced",
1336
+ "frozen_source_sha256": "90c9c168562a2de40cdc2a539b8468ce4cf117a54891c51b6ee792fb397726d1"
1337
+ },
1338
+ "L2-09": {
1339
+ "id": "L2-09",
1340
+ "name": "L2-09",
1341
+ "kind": "native_room",
1342
+ "source_id": "R09",
1343
+ "source_name": "R09",
1344
+ "source": "../level/medium-b/L2-09/level_R09.py",
1345
+ "source_sha256": "307411eee9a4ced7e452d3c8e5fd6ebec69d49074d1b44114ea9118245d5d7f2",
1346
+ "public_config": "../level/medium-b/L2-09/level.json",
1347
+ "action_cap": 200,
1348
+ "recall_cap": 15,
1349
+ "tip_window": 40,
1350
+ "tip_limit": 1,
1351
+ "image_size": [
1352
+ 640,
1353
+ 360
1354
+ ],
1355
+ "runtime": "native_runtime",
1356
+ "scene_overrides": "../level/medium-b/L2-09",
1357
+ "exploration": "basic",
1358
+ "puzzle": "enhanced",
1359
+ "frozen_source_sha256": "1572c75fe05bdf40d78ba3bdb38b65ee4250d76a503627a2141127f2fc522a22"
1360
+ },
1361
+ "L2-10": {
1362
+ "id": "L2-10",
1363
+ "name": "L2-10",
1364
+ "kind": "native_room",
1365
+ "source_id": "R10",
1366
+ "source_name": "R10",
1367
+ "source": "../level/medium-b/L2-10/level_R10.py",
1368
+ "source_sha256": "3735ad69c633c86aca4ad1663b7c253f08b3e4a17b7312e1cedfc108c806b9c0",
1369
+ "public_config": "../level/medium-b/L2-10/level.json",
1370
+ "action_cap": 200,
1371
+ "recall_cap": 15,
1372
+ "tip_window": 40,
1373
+ "tip_limit": 1,
1374
+ "image_size": [
1375
+ 640,
1376
+ 360
1377
+ ],
1378
+ "runtime": "native_runtime",
1379
+ "scene_overrides": "../level/medium-b/L2-10",
1380
+ "exploration": "basic",
1381
+ "puzzle": "enhanced",
1382
+ "frozen_source_sha256": "d337a131920ac540fb48f1c417f4ed2b63273b85c3bd5c77a520c2f8a2e61061"
1383
+ },
1384
+ "L2-11": {
1385
+ "id": "L2-11",
1386
+ "name": "L2-11",
1387
+ "kind": "native_room",
1388
+ "source_id": "R11",
1389
+ "source_name": "R11",
1390
+ "source": "../level/medium-b/L2-11/level_R11.py",
1391
+ "source_sha256": "76c93f6c490dd4be32496c0633a6e8ed8e7604d5bf729fc1cc8941ced9f1af73",
1392
+ "public_config": "../level/medium-b/L2-11/level.json",
1393
+ "action_cap": 200,
1394
+ "recall_cap": 15,
1395
+ "tip_window": 40,
1396
+ "tip_limit": 1,
1397
+ "image_size": [
1398
+ 640,
1399
+ 360
1400
+ ],
1401
+ "runtime": "native_runtime",
1402
+ "scene_overrides": "../level/medium-b/L2-11",
1403
+ "exploration": "basic",
1404
+ "puzzle": "enhanced",
1405
+ "frozen_source_sha256": "652711f2e8707f8eea8ade2fb6230f4e71c0ca9973c9b232466f0056d5204ed8"
1406
+ },
1407
+ "L2-12": {
1408
+ "id": "L2-12",
1409
+ "name": "L2-12",
1410
+ "kind": "native_room",
1411
+ "source_id": "R12",
1412
+ "source_name": "R12",
1413
+ "source": "../level/medium-b/L2-12/level_R12.py",
1414
+ "source_sha256": "cf5ee49adab4073489ff7a52b2a6a0600d0f594d64a19c48a8f63ea00894a854",
1415
+ "public_config": "../level/medium-b/L2-12/level.json",
1416
+ "action_cap": 200,
1417
+ "recall_cap": 15,
1418
+ "tip_window": 40,
1419
+ "tip_limit": 1,
1420
+ "image_size": [
1421
+ 640,
1422
+ 360
1423
+ ],
1424
+ "runtime": "native_runtime",
1425
+ "scene_overrides": "../level/medium-b/L2-12",
1426
+ "exploration": "basic",
1427
+ "puzzle": "enhanced",
1428
+ "frozen_source_sha256": "437b8668b9edda34c4fa892578742d95bb44bea92da6b7fda57fabbce32eef08"
1429
+ },
1430
+ "L2-13": {
1431
+ "id": "L2-13",
1432
+ "name": "L2-13",
1433
+ "kind": "native_room",
1434
+ "source_id": "R13",
1435
+ "source_name": "R13",
1436
+ "source": "../level/medium-b/L2-13/level_R13.py",
1437
+ "source_sha256": "aa3f3dffe49d1118caee532fc060d7b8164772e8258d7ac46d1328f7a71c564b",
1438
+ "public_config": "../level/medium-b/L2-13/level.json",
1439
+ "action_cap": 200,
1440
+ "recall_cap": 15,
1441
+ "tip_window": 40,
1442
+ "tip_limit": 1,
1443
+ "image_size": [
1444
+ 640,
1445
+ 360
1446
+ ],
1447
+ "runtime": "native_runtime",
1448
+ "scene_overrides": "../level/medium-b/L2-13",
1449
+ "exploration": "basic",
1450
+ "puzzle": "enhanced",
1451
+ "frozen_source_sha256": "04551ca23512921913adb0653cee05140ccd2557cb4744d9f0b8fa59abcdfca3"
1452
+ },
1453
+ "L2-14": {
1454
+ "id": "L2-14",
1455
+ "name": "L2-14",
1456
+ "kind": "native_room",
1457
+ "source_id": "R14",
1458
+ "source_name": "R14",
1459
+ "source": "../level/medium-b/L2-14/level_R14.py",
1460
+ "source_sha256": "d87ae2aaf89f179159901234cd66b331657f653982b0afa1d68b83e3af000392",
1461
+ "public_config": "../level/medium-b/L2-14/level.json",
1462
+ "action_cap": 200,
1463
+ "recall_cap": 15,
1464
+ "tip_window": 40,
1465
+ "tip_limit": 1,
1466
+ "image_size": [
1467
+ 640,
1468
+ 360
1469
+ ],
1470
+ "runtime": "native_runtime",
1471
+ "scene_overrides": "../level/medium-b/L2-14",
1472
+ "exploration": "basic",
1473
+ "puzzle": "enhanced",
1474
+ "frozen_source_sha256": "c058a0a05cc31adeb450143a425c1d3afd7510a62248dfccf0b7e510ba205350"
1475
+ },
1476
+ "L2-15": {
1477
+ "id": "L2-15",
1478
+ "name": "L2-15",
1479
+ "kind": "native_room",
1480
+ "source_id": "R15",
1481
+ "source_name": "R15",
1482
+ "source": "../level/medium-b/L2-15/level_R15.py",
1483
+ "source_sha256": "b1a14790b07f8c13653b7469b00aaedc3f4421d1c117f727b7298fc338ae8fa3",
1484
+ "public_config": "../level/medium-b/L2-15/level.json",
1485
+ "action_cap": 200,
1486
+ "recall_cap": 15,
1487
+ "tip_window": 40,
1488
+ "tip_limit": 1,
1489
+ "image_size": [
1490
+ 640,
1491
+ 360
1492
+ ],
1493
+ "runtime": "native_runtime",
1494
+ "scene_overrides": "../level/medium-b/L2-15",
1495
+ "exploration": "basic",
1496
+ "puzzle": "enhanced",
1497
+ "frozen_source_sha256": "67096a244d9b7bcb08623c0cb172c97f7a17ece62747a1b2a45a78ee6bc60803"
1498
+ },
1499
+ "L2-16": {
1500
+ "id": "L2-16",
1501
+ "name": "L2-16",
1502
+ "kind": "native_room",
1503
+ "source_id": "R16",
1504
+ "source_name": "R16",
1505
+ "source": "../level/medium-b/L2-16/level_R16.py",
1506
+ "source_sha256": "d1f3a830d97e05b5d46cd21a4dea74f4a03970fde78e6190a4201f981eceea33",
1507
+ "public_config": "../level/medium-b/L2-16/level.json",
1508
+ "action_cap": 200,
1509
+ "recall_cap": 15,
1510
+ "tip_window": 40,
1511
+ "tip_limit": 1,
1512
+ "image_size": [
1513
+ 640,
1514
+ 360
1515
+ ],
1516
+ "runtime": "native_runtime",
1517
+ "scene_overrides": "../level/medium-b/L2-16",
1518
+ "exploration": "basic",
1519
+ "puzzle": "enhanced",
1520
+ "frozen_source_sha256": "231d97df92f178790b2c64d32ff4d9210e66e14c3512c2269011a4e0c5a7dff7"
1521
+ },
1522
+ "L2-17": {
1523
+ "id": "L2-17",
1524
+ "name": "L2-17",
1525
+ "kind": "native_room",
1526
+ "source_id": "R17",
1527
+ "source_name": "R17",
1528
+ "source": "../level/medium-b/L2-17/level_R17.py",
1529
+ "source_sha256": "438727593c4f6cdb18307785dd666aba40bf39cc455ab81070be4b6989c7c51d",
1530
+ "public_config": "../level/medium-b/L2-17/level.json",
1531
+ "action_cap": 200,
1532
+ "recall_cap": 15,
1533
+ "tip_window": 40,
1534
+ "tip_limit": 1,
1535
+ "image_size": [
1536
+ 640,
1537
+ 360
1538
+ ],
1539
+ "runtime": "native_runtime",
1540
+ "scene_overrides": "../level/medium-b/L2-17",
1541
+ "exploration": "basic",
1542
+ "puzzle": "enhanced",
1543
+ "frozen_source_sha256": "46cf8da7274c8ab4874861d5e251b09d2190ed173474a7494bed61db32adbadb"
1544
+ },
1545
+ "L2-18": {
1546
+ "id": "L2-18",
1547
+ "name": "L2-18",
1548
+ "kind": "native_room",
1549
+ "source_id": "R18",
1550
+ "source_name": "R18",
1551
+ "source": "../level/medium-b/L2-18/level_R18.py",
1552
+ "source_sha256": "14c957369b2fc24d922f1fff0bb6183b636196569819bc2285c60292f439ec0a",
1553
+ "public_config": "../level/medium-b/L2-18/level.json",
1554
+ "action_cap": 200,
1555
+ "recall_cap": 15,
1556
+ "tip_window": 40,
1557
+ "tip_limit": 1,
1558
+ "image_size": [
1559
+ 640,
1560
+ 360
1561
+ ],
1562
+ "runtime": "native_runtime",
1563
+ "scene_overrides": "../level/medium-b/L2-18",
1564
+ "exploration": "basic",
1565
+ "puzzle": "enhanced",
1566
+ "frozen_source_sha256": "7f0abfb830bc4fab631db74d86db1c0471575972e302c08ab8701d22f87efd53"
1567
+ },
1568
+ "L2-19": {
1569
+ "id": "L2-19",
1570
+ "name": "L2-19",
1571
+ "kind": "native_room",
1572
+ "source_id": "R19",
1573
+ "source_name": "R19",
1574
+ "source": "../level/medium-b/L2-19/level_R19.py",
1575
+ "source_sha256": "499e51e3b4dec685517dccf16c06b44f180afb0d2dcff8534d88acca7e6ce05b",
1576
+ "public_config": "../level/medium-b/L2-19/level.json",
1577
+ "action_cap": 200,
1578
+ "recall_cap": 15,
1579
+ "tip_window": 40,
1580
+ "tip_limit": 1,
1581
+ "image_size": [
1582
+ 640,
1583
+ 360
1584
+ ],
1585
+ "runtime": "native_runtime",
1586
+ "scene_overrides": "../level/medium-b/L2-19",
1587
+ "exploration": "basic",
1588
+ "puzzle": "enhanced",
1589
+ "frozen_source_sha256": "52e507c604239a44bd46facd75083dea7c6647cd22e85be5be80cea18c71aea8"
1590
+ },
1591
+ "L2-20": {
1592
+ "id": "L2-20",
1593
+ "name": "L2-20",
1594
+ "kind": "native_room",
1595
+ "source_id": "R20",
1596
+ "source_name": "R20",
1597
+ "source": "../level/medium-b/L2-20/level_R20.py",
1598
+ "source_sha256": "dec365e28ab3585e522323a91a26abf084455588e265cf709241b7fd194b041c",
1599
+ "public_config": "../level/medium-b/L2-20/level.json",
1600
+ "action_cap": 200,
1601
+ "recall_cap": 15,
1602
+ "tip_window": 40,
1603
+ "tip_limit": 1,
1604
+ "image_size": [
1605
+ 640,
1606
+ 360
1607
+ ],
1608
+ "runtime": "native_runtime",
1609
+ "scene_overrides": "../level/medium-b/L2-20",
1610
+ "exploration": "basic",
1611
+ "puzzle": "enhanced",
1612
+ "frozen_source_sha256": "97799af5e985ead62075f70ec638ec02fd76841e6571df84e1ef10181c3daee1"
1613
+ },
1614
+ "L2-21": {
1615
+ "id": "L2-21",
1616
+ "name": "L2-21",
1617
+ "kind": "native_room",
1618
+ "source_id": "R21",
1619
+ "source_name": "R21",
1620
+ "source": "../level/medium-b/L2-21/level_R21.py",
1621
+ "source_sha256": "54106c2bda66f7943ffb7b6958f266385f8a033b68403db8c2fbbb1f5d7ea7d8",
1622
+ "public_config": "../level/medium-b/L2-21/level.json",
1623
+ "action_cap": 200,
1624
+ "recall_cap": 15,
1625
+ "tip_window": 40,
1626
+ "tip_limit": 1,
1627
+ "image_size": [
1628
+ 640,
1629
+ 360
1630
+ ],
1631
+ "runtime": "native_runtime",
1632
+ "scene_overrides": "../level/medium-b/L2-21",
1633
+ "exploration": "basic",
1634
+ "puzzle": "enhanced",
1635
+ "frozen_source_sha256": "b94bc9704f09ffde9cdb5b20cbffeeeceb29f318aa714e76a68ba20528f0bcf3"
1636
+ },
1637
+ "L2-22": {
1638
+ "id": "L2-22",
1639
+ "name": "L2-22",
1640
+ "kind": "native_room",
1641
+ "source_id": "R22",
1642
+ "source_name": "R22",
1643
+ "source": "../level/medium-b/L2-22/level_R22.py",
1644
+ "source_sha256": "538cb3186fe3070d9f0dce46d7523f0548a035b53adbfa02f37015d2dcf6d07e",
1645
+ "public_config": "../level/medium-b/L2-22/level.json",
1646
+ "action_cap": 200,
1647
+ "recall_cap": 15,
1648
+ "tip_window": 40,
1649
+ "tip_limit": 1,
1650
+ "image_size": [
1651
+ 640,
1652
+ 360
1653
+ ],
1654
+ "runtime": "native_runtime",
1655
+ "scene_overrides": "../level/medium-b/L2-22",
1656
+ "exploration": "basic",
1657
+ "puzzle": "enhanced",
1658
+ "frozen_source_sha256": "baafe42e77a157d4fb66203b25dc069c336d19bc6851864d1eb308ff29ce1da7"
1659
+ },
1660
+ "H2-01": {
1661
+ "id": "H2-01",
1662
+ "name": "H2-01",
1663
+ "kind": "native_room",
1664
+ "source_id": "R23",
1665
+ "source_name": "Service passage",
1666
+ "source": "../level/hard/H2-01/level_R23.py",
1667
+ "source_sha256": "ce83f38aa254a7c3347d39bba490b245959c97bc2f657dd5a9f3d34056eb2067",
1668
+ "public_config": "../level/hard/H2-01/level.json",
1669
+ "action_cap": 250,
1670
+ "recall_cap": 25,
1671
+ "tip_window": 60,
1672
+ "tip_limit": 1,
1673
+ "image_size": [
1674
+ 640,
1675
+ 360
1676
+ ],
1677
+ "runtime": "h2_runtime",
1678
+ "room_family": "medium_v6",
1679
+ "room_names": [
1680
+ "Tool registry",
1681
+ "Low-voltage room"
1682
+ ],
1683
+ "exploration": "medium",
1684
+ "puzzle": "enhanced",
1685
+ "frozen_source_sha256": "8be80d9dd4b45c25d41cd1ef67cefa70f60d29793f9a1b854ca462665f932452"
1686
+ },
1687
+ "H2-02": {
1688
+ "id": "H2-02",
1689
+ "name": "H2-02",
1690
+ "kind": "native_room",
1691
+ "source_id": "R24",
1692
+ "source_name": "Gauge workshop",
1693
+ "source": "../level/hard/H2-02/level_R24.py",
1694
+ "source_sha256": "07b510fa802628dc34e6edbfcfc40cbf7028779abfe8a6e7590e9bf0cade8345",
1695
+ "public_config": "../level/hard/H2-02/level.json",
1696
+ "action_cap": 250,
1697
+ "recall_cap": 25,
1698
+ "tip_window": 60,
1699
+ "tip_limit": 1,
1700
+ "image_size": [
1701
+ 640,
1702
+ 360
1703
+ ],
1704
+ "runtime": "h2_runtime",
1705
+ "room_family": "medium_v6",
1706
+ "room_names": [
1707
+ "Gauge room",
1708
+ "Belt room"
1709
+ ],
1710
+ "exploration": "medium",
1711
+ "puzzle": "enhanced",
1712
+ "frozen_source_sha256": "0484293c78b744407ffe724281e68b3418ad5ac1b01313fe711d80ec5a781150"
1713
+ },
1714
+ "H2-03": {
1715
+ "id": "H2-03",
1716
+ "name": "H2-03",
1717
+ "kind": "native_room",
1718
+ "source_id": "R25",
1719
+ "source_name": "Tea samples",
1720
+ "source": "../level/hard/H2-03/level_R25.py",
1721
+ "source_sha256": "196863a8bcec3cbca54d96054d0091378aea3438fe93254e3310550f342ceb36",
1722
+ "public_config": "../level/hard/H2-03/level.json",
1723
+ "action_cap": 250,
1724
+ "recall_cap": 25,
1725
+ "tip_window": 60,
1726
+ "tip_limit": 1,
1727
+ "image_size": [
1728
+ 640,
1729
+ 360
1730
+ ],
1731
+ "runtime": "h2_runtime",
1732
+ "room_family": "medium_v6",
1733
+ "room_names": [
1734
+ "Tea-sample room",
1735
+ "Cup store"
1736
+ ],
1737
+ "exploration": "medium",
1738
+ "puzzle": "enhanced",
1739
+ "frozen_source_sha256": "68a5526ea31c9b8e85780a874527d0911ee65159f8759d9a4614aa8a77f6c488"
1740
+ },
1741
+ "H2-04": {
1742
+ "id": "H2-04",
1743
+ "name": "H2-04",
1744
+ "kind": "native_room",
1745
+ "source_id": "R26",
1746
+ "source_name": "Archive index",
1747
+ "source": "../level/hard/H2-04/level_R26.py",
1748
+ "source_sha256": "6d32b04e804975d66c313430f7a5a78b873f8833d13b01cb4fcbaf8d61115c0c",
1749
+ "public_config": "../level/hard/H2-04/level.json",
1750
+ "action_cap": 250,
1751
+ "recall_cap": 25,
1752
+ "tip_window": 60,
1753
+ "tip_limit": 1,
1754
+ "image_size": [
1755
+ 640,
1756
+ 360
1757
+ ],
1758
+ "runtime": "h2_runtime",
1759
+ "room_family": "medium_v6",
1760
+ "room_names": [
1761
+ "Archive repair",
1762
+ "Filing room"
1763
+ ],
1764
+ "exploration": "medium",
1765
+ "puzzle": "enhanced",
1766
+ "frozen_source_sha256": "51d93dfe465db0c7619008dc72c6da585e82284d202037e9c7062c4091078147"
1767
+ },
1768
+ "H2-05": {
1769
+ "id": "H2-05",
1770
+ "name": "H2-05",
1771
+ "kind": "native_room",
1772
+ "source_id": "R27",
1773
+ "source_name": "Mirror service",
1774
+ "source": "../level/hard/H2-05/level_R27.py",
1775
+ "source_sha256": "49c5d4358d48304864f3a7b04971a64fad67909ec5183c74cc95185e53ca9d0d",
1776
+ "public_config": "../level/hard/H2-05/level.json",
1777
+ "action_cap": 250,
1778
+ "recall_cap": 25,
1779
+ "tip_window": 60,
1780
+ "tip_limit": 1,
1781
+ "image_size": [
1782
+ 640,
1783
+ 360
1784
+ ],
1785
+ "runtime": "h2_runtime",
1786
+ "room_family": "medium_v6",
1787
+ "room_names": [
1788
+ "Optics room",
1789
+ "Mirror box room"
1790
+ ],
1791
+ "exploration": "medium",
1792
+ "puzzle": "enhanced",
1793
+ "frozen_source_sha256": "3f01eb14e459e011e31d367f37f71e7ea8f870bbc4f0b66d73c8d6cd117116c1"
1794
+ },
1795
+ "H2-06": {
1796
+ "id": "H2-06",
1797
+ "name": "H2-06",
1798
+ "kind": "native_room",
1799
+ "source_id": "R28",
1800
+ "source_name": "Bookbinding",
1801
+ "source": "../level/hard/H2-06/level_R28.py",
1802
+ "source_sha256": "be0e9699cce7b9195b7edb3e61dd879c8539b2ccc65826ad905e5603774c4c41",
1803
+ "public_config": "../level/hard/H2-06/level.json",
1804
+ "action_cap": 250,
1805
+ "recall_cap": 25,
1806
+ "tip_window": 60,
1807
+ "tip_limit": 1,
1808
+ "image_size": [
1809
+ 640,
1810
+ 360
1811
+ ],
1812
+ "runtime": "h2_runtime",
1813
+ "room_family": "medium_v6",
1814
+ "room_names": [
1815
+ "Binding room",
1816
+ "Card store"
1817
+ ],
1818
+ "exploration": "medium",
1819
+ "puzzle": "enhanced",
1820
+ "frozen_source_sha256": "c91c04062886900b38782c13c53d2a9436231f656d7b55a4def357782439cc9c"
1821
+ },
1822
+ "H2-07": {
1823
+ "id": "H2-07",
1824
+ "name": "H2-07",
1825
+ "kind": "native_room",
1826
+ "source_id": "R29",
1827
+ "source_name": "Instrument calibration",
1828
+ "source": "../level/hard/H2-07/level_R29.py",
1829
+ "source_sha256": "a02a0171a73fc8248b7f89ac69f64bc26b76b2e3050351c55c88b3e0f63778b3",
1830
+ "public_config": "../level/hard/H2-07/level.json",
1831
+ "action_cap": 250,
1832
+ "recall_cap": 25,
1833
+ "tip_window": 60,
1834
+ "tip_limit": 1,
1835
+ "image_size": [
1836
+ 640,
1837
+ 360
1838
+ ],
1839
+ "runtime": "h2_runtime",
1840
+ "room_family": "medium_v6",
1841
+ "room_names": [
1842
+ "Calibration room",
1843
+ "Instrument room"
1844
+ ],
1845
+ "exploration": "medium",
1846
+ "puzzle": "enhanced",
1847
+ "frozen_source_sha256": "68cc8577e6b344d9eed08cbf3284e93fafc76653507bdfbc21039370aa3eb3ea"
1848
+ },
1849
+ "H2-08": {
1850
+ "id": "H2-08",
1851
+ "name": "H2-08",
1852
+ "kind": "native_room",
1853
+ "source_id": "R30",
1854
+ "source_name": "Dated records",
1855
+ "source": "../level/hard/H2-08/level_R30.py",
1856
+ "source_sha256": "659f44322fcb60a8712b6f59d14d75e938d1a403f51bfdb9a8502b03878565e1",
1857
+ "public_config": "../level/hard/H2-08/level.json",
1858
+ "action_cap": 250,
1859
+ "recall_cap": 25,
1860
+ "tip_window": 60,
1861
+ "tip_limit": 1,
1862
+ "image_size": [
1863
+ 640,
1864
+ 360
1865
+ ],
1866
+ "runtime": "h2_runtime",
1867
+ "room_family": "medium_v6",
1868
+ "room_names": [
1869
+ "Records registry",
1870
+ "Record store"
1871
+ ],
1872
+ "exploration": "medium",
1873
+ "puzzle": "enhanced",
1874
+ "frozen_source_sha256": "9b4c98cb3e79a7b3f5b790ece41b9eaa843f7187616af37e76a23a759dfe3b3b"
1875
+ },
1876
+ "H2-09": {
1877
+ "id": "H2-09",
1878
+ "name": "H2-09",
1879
+ "kind": "native_room",
1880
+ "source_id": "R31",
1881
+ "source_name": "Split numerals",
1882
+ "source": "../level/hard/H2-09/level_R31.py",
1883
+ "source_sha256": "f2e383d98d3f2e5c82338f239f490792462d69c009d10d9aab71b3cfebdff327",
1884
+ "public_config": "../level/hard/H2-09/level.json",
1885
+ "action_cap": 250,
1886
+ "recall_cap": 25,
1887
+ "tip_window": 60,
1888
+ "tip_limit": 1,
1889
+ "image_size": [
1890
+ 640,
1891
+ 360
1892
+ ],
1893
+ "runtime": "h2_runtime",
1894
+ "room_family": "medium_v6",
1895
+ "room_names": [
1896
+ "Paper inspection",
1897
+ "Light room"
1898
+ ],
1899
+ "exploration": "medium",
1900
+ "puzzle": "enhanced",
1901
+ "frozen_source_sha256": "ff463cfa860f60041a181196f16fc47bd84893d928b9d64af642f95c10fd3048"
1902
+ },
1903
+ "H2-10": {
1904
+ "id": "H2-10",
1905
+ "name": "H2-10",
1906
+ "kind": "native_room",
1907
+ "source_id": "R32",
1908
+ "source_name": "Postal wheel",
1909
+ "source": "../level/hard/H2-10/level_R32.py",
1910
+ "source_sha256": "57518294a70b5677e22890b8a6d1830780dc3032f68b80e086dc6ac6af63d06a",
1911
+ "public_config": "../level/hard/H2-10/level.json",
1912
+ "action_cap": 250,
1913
+ "recall_cap": 25,
1914
+ "tip_window": 60,
1915
+ "tip_limit": 1,
1916
+ "image_size": [
1917
+ 640,
1918
+ 360
1919
+ ],
1920
+ "runtime": "h2_runtime",
1921
+ "room_family": "medium_v6",
1922
+ "room_names": [
1923
+ "Mail sorting",
1924
+ "Wheel store"
1925
+ ],
1926
+ "exploration": "medium",
1927
+ "puzzle": "enhanced",
1928
+ "frozen_source_sha256": "a343459e57dc4cd5ad06ce6fa61674e0a432be10695f913d7309bf91873871cd"
1929
+ },
1930
+ "H2-11": {
1931
+ "id": "H2-11",
1932
+ "name": "H2-11",
1933
+ "kind": "native_room",
1934
+ "source_id": "R33",
1935
+ "source_name": "Filling repair",
1936
+ "source": "../level/hard/H2-11/level_R33.py",
1937
+ "source_sha256": "bff8f6b1b4f6bcd3987eb0476824090354fe6e1b56bcbf9fe4459bcf8c27697e",
1938
+ "public_config": "../level/hard/H2-11/level.json",
1939
+ "action_cap": 250,
1940
+ "recall_cap": 25,
1941
+ "tip_window": 60,
1942
+ "tip_limit": 1,
1943
+ "image_size": [
1944
+ 640,
1945
+ 360
1946
+ ],
1947
+ "runtime": "h2_runtime",
1948
+ "room_family": "medium_v6",
1949
+ "room_names": [
1950
+ "Bottle bench",
1951
+ "Filling loop"
1952
+ ],
1953
+ "exploration": "medium",
1954
+ "puzzle": "enhanced",
1955
+ "frozen_source_sha256": "6cdecd47e64181b55e6b7e431a79de8ce5c1702a66e4bd56802f0b86c81bfb37"
1956
+ },
1957
+ "H2-12": {
1958
+ "id": "H2-12",
1959
+ "name": "H2-12",
1960
+ "kind": "native_room",
1961
+ "source_id": "R34",
1962
+ "source_name": "Low-voltage interlock",
1963
+ "source": "../level/hard/H2-12/level_R34.py",
1964
+ "source_sha256": "eb2cd32d51659dd06dffb42050e63f89829ae478a257e6f048dac99f21438676",
1965
+ "public_config": "../level/hard/H2-12/level.json",
1966
+ "action_cap": 250,
1967
+ "recall_cap": 25,
1968
+ "tip_window": 60,
1969
+ "tip_limit": 1,
1970
+ "image_size": [
1971
+ 640,
1972
+ 360
1973
+ ],
1974
+ "runtime": "h2_runtime",
1975
+ "room_family": "medium_v6",
1976
+ "room_names": [
1977
+ "Interlock bench",
1978
+ "Drive room"
1979
+ ],
1980
+ "exploration": "medium",
1981
+ "puzzle": "enhanced",
1982
+ "frozen_source_sha256": "7736189e7a3f9eed46bf588225d4ee4f242059fe1e29d3d5d5c5b93ce1112c60"
1983
+ },
1984
+ "H2-13": {
1985
+ "id": "H2-13",
1986
+ "name": "H2-13",
1987
+ "kind": "native_room",
1988
+ "source_id": "R35",
1989
+ "source_name": "Screen inspection",
1990
+ "source": "../level/hard/H2-13/level_R35.py",
1991
+ "source_sha256": "084648ddca96cb31d15258541a9bc69394dc16fe0ab44474a2b18b43e46d014b",
1992
+ "public_config": "../level/hard/H2-13/level.json",
1993
+ "action_cap": 250,
1994
+ "recall_cap": 25,
1995
+ "tip_window": 60,
1996
+ "tip_limit": 1,
1997
+ "image_size": [
1998
+ 640,
1999
+ 360
2000
+ ],
2001
+ "runtime": "h2_runtime",
2002
+ "room_family": "medium_v6",
2003
+ "room_names": [
2004
+ "Sieve room",
2005
+ "Review room"
2006
+ ],
2007
+ "exploration": "medium",
2008
+ "puzzle": "enhanced",
2009
+ "frozen_source_sha256": "d53b5d8a72e43ca4acd6e9245aa3cef2d48768a5ea220bbeb9c2aef8cd3d0f7b"
2010
+ },
2011
+ "H2-14": {
2012
+ "id": "H2-14",
2013
+ "name": "H2-14",
2014
+ "kind": "native_room",
2015
+ "source_id": "R36",
2016
+ "source_name": "Before and after storage",
2017
+ "source": "../level/hard/H2-14/level_R36.py",
2018
+ "source_sha256": "04d84a497ce1ca75b0838369f7e12dc8b391c39461e0de08d6170716821a8754",
2019
+ "public_config": "../level/hard/H2-14/level.json",
2020
+ "action_cap": 250,
2021
+ "recall_cap": 25,
2022
+ "tip_window": 60,
2023
+ "tip_limit": 1,
2024
+ "image_size": [
2025
+ 640,
2026
+ 360
2027
+ ],
2028
+ "runtime": "h2_runtime",
2029
+ "room_family": "medium_v6",
2030
+ "room_names": [
2031
+ "Registry",
2032
+ "Storage"
2033
+ ],
2034
+ "exploration": "medium",
2035
+ "puzzle": "enhanced",
2036
+ "frozen_source_sha256": "23036339d4911801bad1ea5e8e585467736c67de8c7bfd260667b2d69a02fbc2"
2037
+ },
2038
+ "H2-15": {
2039
+ "id": "H2-15",
2040
+ "name": "H2-15",
2041
+ "kind": "native_room",
2042
+ "source_id": "R37",
2043
+ "source_name": "Exhibit order",
2044
+ "source": "../level/hard/H2-15/level_R37.py",
2045
+ "source_sha256": "0ebae709cc82741cacdc55ca372d45642b37d228be35da8c07fd4849865f7753",
2046
+ "public_config": "../level/hard/H2-15/level.json",
2047
+ "action_cap": 250,
2048
+ "recall_cap": 25,
2049
+ "tip_window": 60,
2050
+ "tip_limit": 1,
2051
+ "image_size": [
2052
+ 640,
2053
+ 360
2054
+ ],
2055
+ "runtime": "h2_runtime",
2056
+ "room_family": "medium_v6",
2057
+ "room_names": [
2058
+ "Display room",
2059
+ "Crate store"
2060
+ ],
2061
+ "exploration": "medium",
2062
+ "puzzle": "enhanced",
2063
+ "frozen_source_sha256": "272f8c08fbd32059e69bb9121109a9c95ea2cc9f8cdc46e3e24a70924e35d329"
2064
+ },
2065
+ "H2-16": {
2066
+ "id": "H2-16",
2067
+ "name": "H2-16",
2068
+ "kind": "native_room",
2069
+ "source_id": "R38",
2070
+ "source_name": "Toy repair",
2071
+ "source": "../level/hard/H2-16/level_R38.py",
2072
+ "source_sha256": "15698b48353e7bf5d3abfd2ab11d107f60c73fc6dae9a58b503c03e4a0a2ae44",
2073
+ "public_config": "../level/hard/H2-16/level.json",
2074
+ "action_cap": 250,
2075
+ "recall_cap": 25,
2076
+ "tip_window": 60,
2077
+ "tip_limit": 1,
2078
+ "image_size": [
2079
+ 640,
2080
+ 360
2081
+ ],
2082
+ "runtime": "h2_runtime",
2083
+ "room_family": "medium_v6",
2084
+ "room_names": [
2085
+ "Toy workshop",
2086
+ "Test track"
2087
+ ],
2088
+ "exploration": "medium",
2089
+ "puzzle": "enhanced",
2090
+ "frozen_source_sha256": "4f9f758641a95939b853d89adab2db0413f112d2e3195c465660d2ad5396341f"
2091
+ },
2092
+ "H2-17": {
2093
+ "id": "H2-17",
2094
+ "name": "H2-17",
2095
+ "kind": "native_room",
2096
+ "source_id": "R39",
2097
+ "source_name": "Pattern screening",
2098
+ "source": "../level/hard/H2-17/level_R39.py",
2099
+ "source_sha256": "d05e6d8b5a20ad736bf39e19c23a5ade5a157bf9db33ad2cd369dcf78d55fc90",
2100
+ "public_config": "../level/hard/H2-17/level.json",
2101
+ "action_cap": 250,
2102
+ "recall_cap": 25,
2103
+ "tip_window": 60,
2104
+ "tip_limit": 1,
2105
+ "image_size": [
2106
+ 640,
2107
+ 360
2108
+ ],
2109
+ "runtime": "h2_runtime",
2110
+ "room_family": "medium_v6",
2111
+ "room_names": [
2112
+ "Inspection room",
2113
+ "Wiring room"
2114
+ ],
2115
+ "exploration": "medium",
2116
+ "puzzle": "enhanced",
2117
+ "frozen_source_sha256": "3d4bbd5357e12e3747afd28c9c66a59ecae8084fd0334b9a8e2b78db08d62c56"
2118
+ },
2119
+ "H2-18": {
2120
+ "id": "H2-18",
2121
+ "name": "H2-18",
2122
+ "kind": "native_room",
2123
+ "source_id": "R40",
2124
+ "source_name": "Assembly and stock",
2125
+ "source": "../level/hard/H2-18/level_R40.py",
2126
+ "source_sha256": "87941530e66d41e2eb801ac5c442312278288c57c16c444447a5c26de1c5af14",
2127
+ "public_config": "../level/hard/H2-18/level.json",
2128
+ "action_cap": 250,
2129
+ "recall_cap": 25,
2130
+ "tip_window": 60,
2131
+ "tip_limit": 1,
2132
+ "image_size": [
2133
+ 640,
2134
+ 360
2135
+ ],
2136
+ "runtime": "h2_runtime",
2137
+ "room_family": "medium_v6",
2138
+ "room_names": [
2139
+ "Assembly room",
2140
+ "Stock room"
2141
+ ],
2142
+ "exploration": "medium",
2143
+ "puzzle": "enhanced",
2144
+ "frozen_source_sha256": "b1f9b996c9e978a6f387375ae3711f42d1b926a659c2b065eacf56e290703323"
2145
+ },
2146
+ "H2-19": {
2147
+ "id": "H2-19",
2148
+ "name": "H2-19",
2149
+ "kind": "native_room",
2150
+ "source_id": "R41",
2151
+ "source_name": "Common samples",
2152
+ "source": "../level/hard/H2-19/level_R41.py",
2153
+ "source_sha256": "b042c9dc8d0b808c22d8e842b81b724d2f670dad9f4bc4a292e179092d71d902",
2154
+ "public_config": "../level/hard/H2-19/level.json",
2155
+ "action_cap": 250,
2156
+ "recall_cap": 25,
2157
+ "tip_window": 60,
2158
+ "tip_limit": 1,
2159
+ "image_size": [
2160
+ 640,
2161
+ 360
2162
+ ],
2163
+ "runtime": "h2_runtime",
2164
+ "room_family": "medium_v6",
2165
+ "room_names": [
2166
+ "Test bench",
2167
+ "Sample display"
2168
+ ],
2169
+ "exploration": "medium",
2170
+ "puzzle": "enhanced",
2171
+ "frozen_source_sha256": "dc7d6927abc4c73c58b254c382a62630648f290c923ed3cf592f9765d2d70d4c"
2172
+ },
2173
+ "H2-20": {
2174
+ "id": "H2-20",
2175
+ "name": "H2-20",
2176
+ "kind": "native_room",
2177
+ "source_id": "R42",
2178
+ "source_name": "Loan procedure",
2179
+ "source": "../level/hard/H2-20/level_R42.py",
2180
+ "source_sha256": "b9477f4b6a31e94d3a91689e14119cf982c771af68056457aded73a63cfaeccb",
2181
+ "public_config": "../level/hard/H2-20/level.json",
2182
+ "action_cap": 250,
2183
+ "recall_cap": 25,
2184
+ "tip_window": 60,
2185
+ "tip_limit": 1,
2186
+ "image_size": [
2187
+ 640,
2188
+ 360
2189
+ ],
2190
+ "runtime": "h2_runtime",
2191
+ "room_family": "medium_v6",
2192
+ "room_names": [
2193
+ "Records desk",
2194
+ "Roll cabinet"
2195
+ ],
2196
+ "exploration": "medium",
2197
+ "puzzle": "enhanced",
2198
+ "frozen_source_sha256": "7de0596e777369ea6f8bfa3ce6eb38f53e3956b69cc8c60d0c1e1c8809ee0b5e"
2199
+ },
2200
+ "H2-21": {
2201
+ "id": "H2-21",
2202
+ "name": "H2-21",
2203
+ "kind": "native_room",
2204
+ "source_id": "R43",
2205
+ "source_name": "Signs and map",
2206
+ "source": "../level/hard/H2-21/level_R43.py",
2207
+ "source_sha256": "541a2560e6b66e5103eb4042a075d00e2dfa61cf396f0be78647b883c6ff7d5c",
2208
+ "public_config": "../level/hard/H2-21/level.json",
2209
+ "action_cap": 250,
2210
+ "recall_cap": 25,
2211
+ "tip_window": 60,
2212
+ "tip_limit": 1,
2213
+ "image_size": [
2214
+ 640,
2215
+ 360
2216
+ ],
2217
+ "runtime": "h2_runtime",
2218
+ "room_family": "medium_v6",
2219
+ "room_names": [
2220
+ "Sign workshop",
2221
+ "Test track"
2222
+ ],
2223
+ "exploration": "medium",
2224
+ "puzzle": "enhanced",
2225
+ "frozen_source_sha256": "54489da038ccdd2531d48754abe20f19fa8564f3d633335e13e9713501ea9004"
2226
+ },
2227
+ "H2-22": {
2228
+ "id": "H2-22",
2229
+ "name": "H2-22",
2230
+ "kind": "native_room",
2231
+ "source_id": "R44",
2232
+ "source_name": "Sample verification",
2233
+ "source": "../level/hard/H2-22/level_R44.py",
2234
+ "source_sha256": "31b27b340a4755fa7f8802f8d58f0347b0c24d53dec560a070bfde399a99b6f5",
2235
+ "public_config": "../level/hard/H2-22/level.json",
2236
+ "action_cap": 250,
2237
+ "recall_cap": 25,
2238
+ "tip_window": 60,
2239
+ "tip_limit": 1,
2240
+ "image_size": [
2241
+ 640,
2242
+ 360
2243
+ ],
2244
+ "runtime": "h2_runtime",
2245
+ "room_family": "medium_v6",
2246
+ "room_names": [
2247
+ "Test bench",
2248
+ "Standards room"
2249
+ ],
2250
+ "exploration": "medium",
2251
+ "puzzle": "enhanced",
2252
+ "frozen_source_sha256": "6821c2b3b9c2d12b63eb86051a0cd52e5508212ee757619ed4da917ac28c98f5"
2253
+ }
2254
+ }
2255
+ }
runtime/click_part_priority.py ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import math
2
+ import numpy as np
3
+ SURFACE_TOL = 0.015
4
+ MAX_SNAPSHOTS = 64
5
+
6
+ def visible_triangles(link):
7
+ from pxr import Usd, UsdGeom
8
+ from opening_clearance import _prim, _og_link_world
9
+ prim = _prim(link)
10
+ if prim is None or not prim.IsValid():
11
+ raise ValueError('Moving part has no USD geometry')
12
+ cache = UsdGeom.XformCache()
13
+ native = isinstance(getattr(link, 'node', None), dict)
14
+ visuals = getattr(link, 'visual_meshes', None) if not native else None
15
+ if not native and (not isinstance(visuals, dict) or not visuals):
16
+ raise ValueError('No explicitly registered visual meshes; do not use collision proxies')
17
+ roots = [_prim(v) for v in visuals.values()] if not native else [prim]
18
+ inverse = np.linalg.inv(np.asarray(cache.GetLocalToWorldTransform(prim))) if not native else None
19
+ live_world = _og_link_world(link) if not native else None
20
+ rows, seen = ([], set())
21
+ for root in roots:
22
+ if root is None or not root.IsValid():
23
+ continue
24
+ for p in Usd.PrimRange(root):
25
+ name = str(p.GetPath())
26
+ if name in seen or not p.IsA(UsdGeom.Mesh):
27
+ continue
28
+ seen.add(name)
29
+ imageable = UsdGeom.Imageable(p)
30
+ if imageable.ComputeVisibility() == UsdGeom.Tokens.invisible:
31
+ continue
32
+ if imageable.ComputePurpose() not in (UsdGeom.Tokens.default_, UsdGeom.Tokens.render):
33
+ continue
34
+ mesh = UsdGeom.Mesh(p)
35
+ points = mesh.GetPointsAttr().Get()
36
+ counts = mesh.GetFaceVertexCountsAttr().Get()
37
+ indices = mesh.GetFaceVertexIndicesAttr().Get()
38
+ if points is None or counts is None or indices is None:
39
+ continue
40
+ matrix = np.asarray(cache.GetLocalToWorldTransform(p))
41
+ if not native:
42
+ matrix = matrix @ inverse @ live_world
43
+ vertices = np.asarray(points, float) @ matrix[:3, :3] + matrix[3, :3]
44
+ offset = 0
45
+ for count in counts:
46
+ face = list(indices[offset:offset + int(count)])
47
+ offset += int(count)
48
+ for i in range(1, len(face) - 1):
49
+ rows.append(vertices[[face[0], face[i], face[i + 1]]])
50
+ triangles = np.asarray(rows, dtype=np.float32)
51
+ if triangles.ndim != 3 or triangles.shape[1:] != (3, 3) or (not np.isfinite(triangles).all()):
52
+ raise ValueError('No finite visible moving-part triangles')
53
+ return triangles
54
+
55
+ def capture(esc, C, photo):
56
+ snapshots = getattr(esc, '_photo_part_triangles', None)
57
+ if snapshots is None:
58
+ snapshots = esc._photo_part_triangles = {}
59
+ record = (getattr(esc, '_photo_dets', {}) or {}).get(str(photo), {})
60
+ visible = record.get('rects') or {}
61
+ owners, errors = ({}, {})
62
+ for key in visible:
63
+ try:
64
+ oid = int(key)
65
+ obj = esc.objs.get(oid)
66
+ if not obj or obj.get('cat') == 'door' or obj.get('sim') in esc.items:
67
+ continue
68
+ if not C._obj_reach(esc, oid)[0]:
69
+ continue
70
+ so = esc.sim(obj['sim'])
71
+ parts = esc.parts(so)
72
+ surfaces = {}
73
+ for number, (joint, kind) in enumerate(parts, 1):
74
+ if kind not in ('door', 'drawer'):
75
+ continue
76
+ link = so.links.get(joint[2:])
77
+ if link is not None:
78
+ try:
79
+ surfaces[number] = visible_triangles(link)
80
+ except Exception as exc:
81
+ errors[oid, number] = type(exc).__name__
82
+ if surfaces:
83
+ owners[oid] = surfaces
84
+ except Exception as exc:
85
+ errors[str(key), 0] = type(exc).__name__
86
+ snapshots[str(photo)] = owners
87
+ esc._last_part_snapshot_errors = errors
88
+ while len(snapshots) > MAX_SNAPSHOTS:
89
+ del snapshots[next(iter(snapshots))]
90
+
91
+ def ray_distances(origin, direction, triangles):
92
+ triangles = np.asarray(triangles, float)
93
+ if triangles.ndim != 3 or triangles.shape[1:] != (3, 3) or (not np.isfinite(triangles).all()):
94
+ return np.empty(0)
95
+ v0 = triangles[:, 0]
96
+ a, b = (triangles[:, 1] - v0, triangles[:, 2] - v0)
97
+ cross = np.cross(direction, b)
98
+ det = np.einsum('ij,ij->i', a, cross)
99
+ inv = np.divide(1.0, det, out=np.zeros_like(det), where=np.abs(det) > 1e-10)
100
+ relative = origin - v0
101
+ u = np.einsum('ij,ij->i', relative, cross) * inv
102
+ q = np.cross(relative, a)
103
+ v = np.einsum('ij,j->i', q, direction) * inv
104
+ distance = np.einsum('ij,ij->i', b, q) * inv
105
+ hit = (np.abs(det) > 1e-10) & (u >= -1e-09) & (v >= -1e-09) & (u + v <= 1 + 1e-09) & (distance > 0)
106
+ return distance[hit]
107
+
108
+ def resolve(esc, C, oid, rec, action):
109
+ try:
110
+ photo = list(esc._claw_photos)[int(rec['photo']) - 1]
111
+ px, py = C._to_full(esc, photo, action['point'])
112
+ data = (getattr(esc, '_photo_depth', {}) or {}).get(str(photo))
113
+ if data is None:
114
+ return None
115
+ depth = np.asarray(data[0])
116
+ width, height = C._img_size(esc, photo)
117
+ row, col = (int(py * depth.shape[0] / height), int(px * depth.shape[1] / width))
118
+ if not (0 <= row < depth.shape[0] and 0 <= col < depth.shape[1]):
119
+ return None
120
+ value = float(depth[row, col])
121
+ if not math.isfinite(value) or value <= 0.05:
122
+ return None
123
+ origin, direction, raw = C._ray_at(esc, photo, px, py)
124
+ origin, direction, raw = [np.asarray(x, float) for x in (origin, direction, raw)]
125
+ if not all((np.isfinite(x).all() for x in (origin, direction, raw))):
126
+ return None
127
+ measured = value * float(np.linalg.norm(raw))
128
+ surfaces = (getattr(esc, '_photo_part_triangles', {}) or {}).get(str(photo), {}).get(oid, {})
129
+ hits = []
130
+ for part, triangles in surfaces.items():
131
+ distance = ray_distances(origin, direction, triangles)
132
+ if distance.size and np.any(np.abs(distance - measured) <= SURFACE_TOL):
133
+ hits.append(int(part))
134
+ return hits[0] if len(hits) == 1 else None
135
+ except (IndexError, KeyError, TypeError, ValueError, AttributeError, OverflowError):
136
+ return None
runtime/episode_plan.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import os,sys,json,hashlib
3
+ ROOT=Path(__file__).resolve().parent
4
+ PROJECT=ROOT.parent
5
+ SYSTEM_INSTRUCTION='Return exactly one valid JSON object and nothing else.'
6
+ def save(path,obj):
7
+ p=Path(path);p.parent.mkdir(parents=True,exist_ok=True)
8
+ tmp=p.with_suffix(p.suffix+'.tmp');tmp.write_text(json.dumps(obj,ensure_ascii=False,indent=2,default=str),'utf8');os.replace(tmp,p)
9
+ def sha(p):return hashlib.sha256(Path(p).read_bytes()).hexdigest()
10
+ def protocol(root=ROOT):
11
+ import unified_protocol
12
+ return unified_protocol
13
+ def validate_plan(plan,level=None,*,require_launch=False,verify_sources=False):
14
+ if Path(plan['benchmark_root']).resolve()!=ROOT:raise ValueError('Wrong runtime')
15
+ if level is not None and level != plan['selected_level']:raise ValueError('Unexpected level')
16
+ if require_launch and (not plan.get('launch_authorized') or plan['provider'] not in ('openai_official','dashscope','openrouter')):raise PermissionError('Live API-key plan required')
17
+ if plan['provider']!='dashscope' and require_launch and (not plan.get('medium_support_confirmed') or plan['reasoning']!={'effort':'medium'}):raise ValueError('Medium reasoning not confirmed')
18
+ manifest=json.loads((ROOT/'manifest.json').read_text('utf8'))
19
+ if sha(ROOT/'manifest.json')!=plan['runtime_manifest_sha256']:raise ValueError('Runtime manifest changed')
20
+ if verify_sources:
21
+ for n,d in manifest.items():
22
+ p=(PROJECT/n).resolve()
23
+ if PROJECT not in p.parents or sha(p)!=d:raise ValueError('Release file mismatch: '+n)
24
+ k=plan['selected_level'];row=protocol().resolve(k)
25
+ if sha(row['source'])!=row['source_sha256']:raise ValueError('Changed level: '+k)
26
+ return {'passed':True,'model_calls':0}
27
+ def worker_environment(plan,level):
28
+ env=dict(os.environ);env.update(CUDA_VISIBLE_DEVICES=str(plan['gpu']),PYTHONDONTWRITEBYTECODE='1',PYTHONIOENCODING='utf8');env.pop('OMNIGIBSON_GPU_ID',None);return env
29
+ def ensure_startup_environment(plan,level):
30
+ if str(os.environ.get('CUDA_VISIBLE_DEVICES',''))!=str(plan['gpu']):raise ValueError('Explicit GPU required')
31
+
32
+ def read_plan(path):
33
+ d=json.loads(Path(path).read_text('utf8'))
34
+ def expand(s):
35
+ if isinstance(s,dict): return {k:expand(v) for k,v in s.items()}
36
+ if isinstance(s,list):return [expand(v) for v in s]
37
+ if isinstance(s,str) and s.startswith('./'):
38
+ v=(PROJECT/s).resolve()
39
+ if PROJECT not in v.parents and v!=PROJECT:raise ValueError('Path leaves checkout')
40
+ return str(v)
41
+ return s
42
+ return expand(d)
43
+ def portable(obj):
44
+ if isinstance(obj,dict):return {k:portable(v) for k,v in obj.items()}
45
+ if isinstance(obj,list):return [portable(v) for v in obj]
46
+ if isinstance(obj,str) and Path(obj).is_absolute():
47
+ try:return './'+Path(obj).relative_to(PROJECT).as_posix()
48
+ except ValueError:return obj
49
+ return obj
runtime/esi/run/2_密室逃脱.py ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ import sys
4
+ from pathlib import Path
5
+
6
+ HERE = Path(__file__).resolve().parent
7
+ sys.path.insert(0, str(HERE))
8
+ os.chdir(HERE.parent)
9
+ import _escape
10
+
11
+ cfg_path = Path(os.environ.get("ESI_ESCAPE_CONFIG") or "run/escape_configs/office_min.json").resolve()
12
+ cfg = _escape.load_config(cfg_path)
13
+ extra = Path("outputs") / "escape" / f"_extra_objects_{cfg.get('name', 'escape')}.json"
14
+ extra.parent.mkdir(parents=True, exist_ok=True)
15
+ extra.write_text(json.dumps(_escape.extra_objects(cfg), ensure_ascii=False, indent=1), encoding="utf-8")
16
+ os.environ["ESI_EXPLORE"] = "1"
17
+ os.environ["ESI_ESCAPE"] = str(cfg_path)
18
+ os.environ["ESI_EXTRA_OBJECTS"] = str(extra.resolve())
19
+ if os.environ.get("ESI_ESCAPE_EXPLORE", "1") == "1":
20
+ os.environ["ESI_START_POSE"] = "%s,%s,%s" % (cfg["start"]["xy"][0], cfg["start"]["xy"][1], cfg["start"].get("yaw_deg", 0))
21
+ os.environ["ESI_DOORS_LOCKED"] = "1"
22
+ os.environ.setdefault("ESI_PARTITION", "1" if os.environ.get("ESI_ESCAPE_POLICY", "oracle") == "model" else "0")
23
+
24
+ os.environ.setdefault("ESI_REPLY_REQUIRE_ACTION", "1")
25
+
26
+ if os.environ.get("ESI_ESCAPE_RESUME", "").strip():
27
+ os.environ["ESI_ESCAPE_RESUME"] = str(Path(os.environ["ESI_ESCAPE_RESUME"]).resolve())
28
+ if os.environ.get("ESI_ESCAPE_EXPLORE", "1") == "1":
29
+ os.environ["ESI_RESUME"] = os.environ["ESI_ESCAPE_RESUME"]
30
+
31
+ from _runner import launch, DEFAULT_MODEL
32
+
33
+ start = cfg["start"]
34
+ scene = {
35
+ "task": "puzzlemix_escape",
36
+ "level": cfg["public_id"],
37
+ "scene": cfg["scene"],
38
+ "start": {"room": start["room"], "xy": start["xy"], "yaw_deg": start["yaw_deg"]},
39
+ }
40
+ metadata = extra.with_name("puzzlemix_scene.json")
41
+ metadata.write_text(json.dumps(scene, ensure_ascii=False), encoding="utf-8")
42
+ raise SystemExit(launch(
43
+ task="puzzlemix_escape",
44
+ metadata=str(metadata.resolve()),
45
+ watch="PuzzleMixEscape: " + scene["level"],
46
+ model=os.environ.get("ESI_MODEL") or DEFAULT_MODEL,
47
+ ))
runtime/esi/run/_answer.py ADDED
@@ -0,0 +1,494 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import math
3
+ import re
4
+ import time
5
+ from collections import Counter
6
+ from pathlib import Path
7
+ MAX_CALLS = 15
8
+ MAX_LOOKS = 5
9
+ NEAR_ROWS = 20
10
+ ANSWER_TOKENS = 16384
11
+ FIXTURE_CATS = {'door', 'openable window', 'window', 'electric switch', 'light switch', 'gate'}
12
+ SYSTEM = 'Return exactly one valid JSON object and nothing else.'
13
+ PARSE_FAILED = '__parse_failed__'
14
+ PROMPT_FIRST = 'You are a robot that has finished exploring a house. Answer the question using your memory, which you\ncan search with tools.\n\nQUESTION: {question}\nOPTIONS:\n{options}\n\nPositions are in meters: (0, 0) is where you started, +x is the direction you faced at the start, +y is\nto your left.\n\nTools: regions, find, objects_in, near, dist, direction, look, map, help.\nCall {"tool": "help"} to learn what your memory contains and which tool does what, or\n{"tool": "help", "topic": "<tool name>"} to learn how to call one tool. help does not count toward your\nlimit. You can make at most {max_calls} other tool calls, of which at most {max_looks} can be "look".\n\nHow to work: first find the objects and regions named in the question and in the options, and check\nwhat else is near those objects; then use the tools to get the facts the question depends on, and answer\nonce those facts decide between the options.\n\nEach reply is exactly one JSON object: either one tool call, or your final answer:\n{"answer": "<one option, copied exactly>", "confidence": <0.0 to 1.0>, "reasoning": "<what you found and why it decides the answer>"}\nThe answer must be the text of one option, copied exactly, without the leading "- ". Your final answer\nends the task: once you give an answer that is one of the options, you cannot change it or call more\ntools.'
15
+ HELP_OVERVIEW = 'MEMORY\n- Positions are in meters on a fixed floor plan: (0, 0) is where you started, +x is the direction you\n faced at the start and +y is to your left at the start. These axes never turn. Directions are angles\n in degrees: 0 points along +x, 90 along +y, -90 along -y.\n- Distances are measured on the floor plan; height is ignored.\n- Objects: everything you detected. Each has an id (#74), a category, the position of its center, the\n height of its center above the floor and the largest width x height you saw of it. A seen size can be\n smaller than the real size if the object was partly hidden.\n- Regions (R3): after exploring, you grouped the spots where you stood into rooms and outdoor areas and\n named them from your photos. The names may be wrong or incomplete. An object belongs to the region of\n the spot, among the spots where you saw it, that is closest to the object. An object seen only through\n a window, or only through a doorway into a place you never stood in, has region: none. Such objects are\n outside the regions you visited, but they can still show where an unvisited room or outdoor area is.\n- Places you never entered or saw are not in memory.\n\nTOOLS (call {"tool": "help", "topic": "<name>"} to learn how to call one)\nregions the regions and the spots where you stood in each\nfind objects of one or more categories, optionally only in one region\nobjects_in all objects in a region\nnear objects near an object or a point, or every object of a category sorted by distance\ndist distance between two objects, from an object to a point, or from an object to a region\ndirection the angle to a place, standing somewhere and facing somewhere\nlook the photo in which you saw an object best, with the object marked on it\nmap a top-down map of solid cells, doors and the spots where you stood\nIn tool calls write an object as a number ("object": 74) and a region as a string ("region": "R3").\nA call that returns ERROR still counts toward your limit.'
16
+ HELP_TOPICS = {'regions': 'regions\n{"tool": "regions"}\n Lists every region: id, name, and the spots where you stood in it.', 'find': 'find\n{"tool": "find", "category": "<text>"}\n{"tool": "find", "category": ["<text>", "<text>", ...]}\n{"tool": "find", "category": "<text>", "region": "<region id>"}\n Objects whose category contains the text ("chair" also matches "armchair"), optionally only in one\n region. Give a list of texts to look up several categories in one call; each gets its own section.\n The first line of a section counts its objects by category. If nothing matches a text, you get the\n list of all categories in memory.', 'objects_in': 'objects_in\n{"tool": "objects_in", "region": "<region id>"}\n All objects in that region. The first line counts them by category.', 'near': 'near\n{"tool": "near", "object": <id>, "radius": <meters>}\n{"tool": "near", "x": <x>, "y": <y>, "radius": <meters>}\n Objects whose centers are within that distance, nearest first, at most 20 rows. The object itself is\n not listed.\n{"tool": "near", "object": <id>, "category": "<text>"}\n Every object of that category with its distance, nearest first, no radius or row limit.', 'dist': 'dist\n{"tool": "dist", "a": <id>, "b": <id>}\n{"tool": "dist", "a": <id>, "x": <x>, "y": <y>}\n Distance between centers.\n{"tool": "dist", "a": <id>, "region": "<region id>"}\n Distance from the object to that region, given two ways: to the nearest spot where you stood in it,\n and to the nearest object in it (doors, windows and switches not counted). 0 if the object is in that\n region.', 'direction': 'direction\n{"tool": "direction", "from": <id or {"x": <x>, "y": <y>}>, "facing": <id or {"x": <x>, "y": <y>}>, "to": <id or {"x": <x>, "y": <y>}>}\n Standing at "from" and facing "facing": the angle to "to" (0 straight ahead, positive to the left,\n negative to the right, 180 behind) and its distance.', 'look': 'look\n{"tool": "look", "object": <id>}\n The photo in which you saw that object best. The object is marked with a red circle labelled with its\n id; green boxes are everything the detector found in that photo. Tells you where the photo was taken\n and which way the camera faced.', 'map': 'map\n{"tool": "map"}\n A top-down image: right is +x, up is +y; red cells are things solid at waist-to-chest height (walls,\n furniture, glass); orange squares are doors; dots are the spots where you stood, coloured and labelled\n by region.'}
17
+ TOOL_NAMES = ['regions', 'find', 'objects_in', 'near', 'dist', 'direction', 'look', 'map', 'help']
18
+
19
+ def _norm(s):
20
+ return ' '.join(str(s or '').split()).lower()
21
+
22
+ def _f2(v):
23
+ return f'{float(v):.2f}'
24
+
25
+ class ToolError(Exception):
26
+ pass
27
+
28
+ class Memory:
29
+
30
+ def __init__(self, world, regions, records, photo_dirs=(), floor_z=0.0, cam_z=None, hfov_deg=100.0, img_size=(1280, 720), out_dir=None):
31
+ self.w = world
32
+ self.R = regions
33
+ self.records = records or []
34
+ self.photo_dirs = [Path(d) for d in photo_dirs]
35
+ self.floor_z = float(floor_z or 0.0)
36
+ self.cam_z = float(cam_z) if cam_z is not None else self.floor_z + 1.35
37
+ self.hfov = float(hfov_deg)
38
+ self.W, self.H = img_size
39
+ self.out_dir = Path(out_dir) if out_dir else None
40
+ self.reg_by_id = {int(g['rid']): g for g in regions.get('regions', [])}
41
+ self.objects = {int(k): v for k, v in world.objects.items()}
42
+ self.obj_region = {}
43
+ for k, v in (regions.get('objects') or {}).items():
44
+ self.obj_region[int(k)] = (v.get('region'), v.get('status'))
45
+ for oid, o in self.objects.items():
46
+ if oid not in self.obj_region:
47
+ self.obj_region[oid] = (o.get('region'), o.get('region_status'))
48
+
49
+ def region_text(self, oid):
50
+ rid, status = self.obj_region.get(oid, (None, None))
51
+ if rid is not None and int(rid) in self.reg_by_id:
52
+ name = self.reg_by_id[int(rid)]['name']
53
+ if status == 'through_door':
54
+ return f'region: R{int(rid)} "{name}" (seen only through its doorway)'
55
+ return f'region: R{int(rid)} "{name}"'
56
+ if status == 'through_window':
57
+ return 'region: none (seen only through a window)'
58
+ if status == 'through_door_unentered':
59
+ return 'region: none (seen only through a doorway into a place you never entered)'
60
+ return 'region: none'
61
+
62
+ def obj_line(self, oid, dist=None):
63
+ o = self.objects[oid]
64
+ h = max(0.0, float(o.get('z') or 0.0) - self.floor_z)
65
+ size = f"size {float(o['w']):.2f} x {float(o['h']):.2f} m" if o.get('w') and o.get('h') else 'size unknown'
66
+ d = f', {dist:.2f} m' if dist is not None else ''
67
+ return f"#{oid} {o['cat']} at ({_f2(o['x'])}, {_f2(o['y'])}){d}, center height {h:.2f} m, {size}, {self.region_text(oid)}"
68
+
69
+ def obj_ref(self, oid):
70
+ return f"#{oid} {self.objects[oid]['cat']}"
71
+
72
+ def categories_text(self):
73
+ c = Counter((str(o['cat']) for o in self.objects.values()))
74
+ return ', '.join((f'{k} ({n})' for k, n in sorted(c.items())))
75
+
76
+ def parse_obj(self, v, key='object'):
77
+ if v is None:
78
+ raise ToolError(f'missing "{key}".')
79
+ s = str(v).strip().lstrip('#')
80
+ if not re.fullmatch('-?\\d+', s):
81
+ raise ToolError(f'there is no object {v!r}. Write an object as a number, for example 74.')
82
+ oid = int(s)
83
+ if oid not in self.objects:
84
+ raise ToolError(f'there is no object #{oid}.')
85
+ return oid
86
+
87
+ def parse_region(self, v):
88
+ if v is None:
89
+ raise ToolError('missing "region".')
90
+ s = str(v).strip().upper().lstrip('R')
91
+ if not re.fullmatch('\\d+', s) or int(s) not in self.reg_by_id:
92
+ ids = sorted(self.reg_by_id)
93
+ raise ToolError(f'there is no region {v}. Regions are R{ids[0]} to R{ids[-1]}.' if ids else 'there are no regions.')
94
+ return int(s)
95
+
96
+ def parse_point(self, v, key):
97
+ if isinstance(v, dict):
98
+ try:
99
+ x, y = (float(v['x']), float(v['y']))
100
+ except Exception:
101
+ raise ToolError(f'"{key}" must be an object id or {{"x": <x>, "y": <y>}}.')
102
+ return ((x, y), f'({_f2(x)}, {_f2(y)})')
103
+ oid = self.parse_obj(v, key)
104
+ o = self.objects[oid]
105
+ return ((float(o['x']), float(o['y'])), self.obj_ref(oid))
106
+
107
+ def num(self, call, key):
108
+ if key not in call:
109
+ raise ToolError(f'missing "{key}".')
110
+ try:
111
+ return float(call[key])
112
+ except Exception:
113
+ raise ToolError(f'"{key}" must be a number.')
114
+
115
+ def t_help(self, call):
116
+ topic = call.get('topic')
117
+ if not topic:
118
+ return HELP_OVERVIEW
119
+ t = str(topic).strip().lower()
120
+ if t in HELP_TOPICS:
121
+ return HELP_TOPICS[t]
122
+ raise ToolError(f'''no help topic "{topic}". Topics: {', '.join(HELP_TOPICS)}.''')
123
+
124
+ def t_regions(self, call):
125
+ lines = [f'{len(self.reg_by_id)} regions:']
126
+ for rid in sorted(self.reg_by_id):
127
+ g = self.reg_by_id[rid]
128
+ spots = ', '.join((f"({_f2(self.w.nodes[s]['x'])}, {_f2(self.w.nodes[s]['y'])})" for s in g['spots'] if s in self.w.nodes))
129
+ lines.append(f'''R{rid} "{g['name']}": stood at {spots}''')
130
+ return '\n'.join(lines)
131
+
132
+ def _match(self, text):
133
+ t = _norm(text)
134
+ if not t:
135
+ raise ToolError('missing "category".')
136
+ return [oid for oid, o in sorted(self.objects.items()) if t in _norm(o['cat'])]
137
+
138
+ def t_find(self, call):
139
+ text = call.get('category')
140
+ if isinstance(text, (list, tuple)):
141
+ if not text:
142
+ raise ToolError('missing "category".')
143
+ return (chr(10) * 2).join((self.t_find({**call, 'category': t}) for t in text))
144
+ ids = self._match(text)
145
+ if not ids:
146
+ return f'No category contains "{text}". Categories in memory: {self.categories_text()}'
147
+ where = ''
148
+ if call.get('region') is not None:
149
+ rid = self.parse_region(call['region'])
150
+ ids = [oid for oid in ids if self.obj_region.get(oid, (None,))[0] == rid]
151
+ where = f' in R{rid}'
152
+ c = Counter((self.objects[oid]['cat'] for oid in ids))
153
+ head = f'find "{text}"{where}: {len(ids)} objects' + (': ' + ', '.join((f'{k} ({n})' for k, n in sorted(c.items()))) if ids else '')
154
+ return '\n'.join([head] + [self.obj_line(oid) for oid in ids])
155
+
156
+ def t_objects_in(self, call):
157
+ rid = self.parse_region(call.get('region'))
158
+ g = self.reg_by_id[rid]
159
+ ids = sorted((oid for oid in self.objects if self.obj_region.get(oid, (None,))[0] == rid))
160
+ if not ids:
161
+ return f'(no objects in R{rid})'
162
+ c = Counter((self.objects[oid]['cat'] for oid in ids))
163
+ head = f'''R{rid} "{g['name']}": {len(ids)} objects: ''' + ', '.join((f'{k} ({n})' for k, n in sorted(c.items())))
164
+ return '\n'.join([head] + [self.obj_line(oid) for oid in ids])
165
+
166
+ def t_near(self, call):
167
+ if 'object' in call:
168
+ oid = self.parse_obj(call['object'])
169
+ cx, cy = (float(self.objects[oid]['x']), float(self.objects[oid]['y']))
170
+ center, skip = (self.obj_ref(oid), oid)
171
+ elif 'x' in call and 'y' in call:
172
+ cx, cy = (self.num(call, 'x'), self.num(call, 'y'))
173
+ center, skip = (f'({_f2(cx)}, {_f2(cy)})', None)
174
+ else:
175
+ raise ToolError('give "object", or "x" and "y".')
176
+ if call.get('category') is not None and 'radius' not in call:
177
+ ids = [i for i in self._match(call['category']) if i != skip]
178
+ if not ids:
179
+ return f'''No category contains "{call['category']}". Categories in memory: {self.categories_text()}'''
180
+ rows = sorted(((math.hypot(self.objects[i]['x'] - cx, self.objects[i]['y'] - cy), i) for i in ids))
181
+ head = f'''{len(rows)} objects whose category contains "{call['category']}", nearest to {center} first:'''
182
+ return '\n'.join([head] + [self.obj_line(i, d) for d, i in rows])
183
+ r = self.num(call, 'radius')
184
+ rows = sorted(((math.hypot(o['x'] - cx, o['y'] - cy), i) for i, o in self.objects.items() if i != skip))
185
+ rows = [(d, i) for d, i in rows if d <= r]
186
+ if not rows:
187
+ return f'(no objects within {r:g} m of {center})'
188
+ lines = [f'{len(rows)} objects within {r:g} m of {center}:'] + [self.obj_line(i, d) for d, i in rows[:NEAR_ROWS]]
189
+ if len(rows) > NEAR_ROWS:
190
+ lines.append(f'showing the nearest {NEAR_ROWS} of {len(rows)}; use a smaller radius to see fewer')
191
+ return '\n'.join(lines)
192
+
193
+ def t_dist(self, call):
194
+ a = self.parse_obj(call.get('a'), 'a')
195
+ ax, ay = (float(self.objects[a]['x']), float(self.objects[a]['y']))
196
+ if call.get('b') is not None:
197
+ b = self.parse_obj(call['b'], 'b')
198
+ d = math.hypot(self.objects[b]['x'] - ax, self.objects[b]['y'] - ay)
199
+ return f'{self.obj_ref(a)} to {self.obj_ref(b)}: {d:.2f} m'
200
+ if call.get('region') is not None:
201
+ rid = self.parse_region(call['region'])
202
+ g = self.reg_by_id[rid]
203
+ if self.obj_region.get(a, (None,))[0] == rid:
204
+ return f'{self.obj_ref(a)} is in R{rid}, distance 0.00 m'
205
+ spots = [(math.hypot(self.w.nodes[s]['x'] - ax, self.w.nodes[s]['y'] - ay), s) for s in g['spots'] if s in self.w.nodes]
206
+ objs = [(math.hypot(self.objects[i]['x'] - ax, self.objects[i]['y'] - ay), i) for i in self.objects if self.obj_region.get(i, (None,))[0] == rid and _norm(self.objects[i]['cat']) not in FIXTURE_CATS and (i != a)]
207
+ parts = []
208
+ if spots:
209
+ d, s = min(spots)
210
+ parts.append(f"nearest spot where you stood {d:.2f} m at ({_f2(self.w.nodes[s]['x'])}, {_f2(self.w.nodes[s]['y'])})")
211
+ if objs:
212
+ d, i = min(objs)
213
+ parts.append(f"nearest object {d:.2f} m, {self.obj_ref(i)} at ({_f2(self.objects[i]['x'])}, {_f2(self.objects[i]['y'])})")
214
+ else:
215
+ parts.append('nearest object: none (only doors, windows or switches)')
216
+ return f'''{self.obj_ref(a)} to R{rid} "{g['name']}": ''' + '; '.join(parts)
217
+ if 'x' in call and 'y' in call:
218
+ x, y = (self.num(call, 'x'), self.num(call, 'y'))
219
+ return f'{self.obj_ref(a)} to ({_f2(x)}, {_f2(y)}): {math.hypot(x - ax, y - ay):.2f} m'
220
+ raise ToolError('give "b", or "x" and "y", or "region".')
221
+
222
+ def t_direction(self, call):
223
+ for k in ('from', 'facing', 'to'):
224
+ if call.get(k) is None:
225
+ raise ToolError(f'missing "{k}".')
226
+ (fx, fy), fd = self.parse_point(call['from'], 'from')
227
+ (hx, hy), hd = self.parse_point(call['facing'], 'facing')
228
+ (tx, ty), td = self.parse_point(call['to'], 'to')
229
+ if math.hypot(hx - fx, hy - fy) < 1e-06:
230
+ raise ToolError('"from" and "facing" are the same place.')
231
+ if math.hypot(tx - fx, ty - fy) < 1e-06:
232
+ return f'standing at {fd} facing {hd}: {td} is where you stand'
233
+ ang = math.degrees(math.atan2(ty - fy, tx - fx) - math.atan2(hy - fy, hx - fx))
234
+ ang = (ang + 180.0) % 360.0 - 180.0
235
+ dist = math.hypot(tx - fx, ty - fy)
236
+ if abs(ang) < 0.5:
237
+ where = 'straight ahead'
238
+ elif abs(ang) > 179.5:
239
+ where = 'behind you'
240
+ else:
241
+ where = f"{abs(ang):.0f} degrees to your {('left' if ang > 0 else 'right')}"
242
+ return f'standing at {fd} facing {hd}: {td} is {where}, {dist:.2f} m away'
243
+
244
+ def _photo_for_view(self, bv, o=None):
245
+ poses = [p for p in self.w.poses if p.get('kind') == 'view']
246
+ low_hfov = math.degrees(2.0 * math.atan(640.0 / (360.0 / (320.0 / 252.075))))
247
+
248
+ def same(p):
249
+ dyaw = abs((float(p['yaw']) - float(bv['yaw']) + 180.0) % 360.0 - 180.0)
250
+ return abs(p['x'] - bv['x']) < 0.03 and abs(p['y'] - bv['y']) < 0.03 and (dyaw <= 1.0) and (abs(float(p.get('pitch') or 0) - float(bv.get('pitch') or 0)) <= 1.0)
251
+ hits = []
252
+ for step in sorted({p['step'] for p in poses if same(p)}):
253
+ step_poses = [p for p in poses if p['step'] == step]
254
+ names = []
255
+ for t in ('down', 'level', 'up'):
256
+ if self._find_file(f'step_{step:03d}_pano_{t}_F.png'):
257
+ names += [(f'step_{step:03d}_pano_{t}_{l}.png', False) for l in ('F', 'R', 'B', 'L')]
258
+ if self._find_file(f'step_{step:03d}_pano_abot_front.png'):
259
+ names += [(f'step_{step:03d}_pano_abot_{v}.png', True) for v in ('front', 'left', 'right', 'back')]
260
+ k = 1
261
+ while self._find_file(f'step_{step:03d}_pano_glance{k}_F.png'):
262
+ names += [(f'step_{step:03d}_pano_glance{k}_{l}.png', False) for l in ('F', 'R', 'B', 'L')]
263
+ k += 1
264
+ if len(names) != len(step_poses):
265
+ continue
266
+ for p, (nm, low) in zip(step_poses, names):
267
+ if same(p):
268
+ f = self._find_file(nm)
269
+ if f:
270
+ hits.append((f, {**p, '_cam_z': self.floor_z + (0.45 if low else 1.35), '_hfov': low_hfov if low else self.hfov}))
271
+ if not hits:
272
+ return (None, None)
273
+ if o is not None:
274
+ for f, p in hits:
275
+ pr = self._project(p, o)
276
+ if pr is not None and 0 <= pr[0] < self.W and (0 <= pr[1] < self.H):
277
+ return (f, p)
278
+ return hits[0]
279
+
280
+ def _find_file(self, name):
281
+ for d in self.photo_dirs:
282
+ if (d / name).exists():
283
+ return d / name
284
+ return None
285
+
286
+ def _project(self, pose, o):
287
+ yaw, pitch = (math.radians(float(pose['yaw'])), math.radians(float(pose.get('pitch') or 0.0)))
288
+ f = (math.cos(pitch) * math.cos(yaw), math.cos(pitch) * math.sin(yaw), math.sin(pitch))
289
+ r = (math.sin(yaw), -math.cos(yaw), 0.0)
290
+ u = (r[1] * f[2] - r[2] * f[1], r[2] * f[0] - r[0] * f[2], r[0] * f[1] - r[1] * f[0])
291
+ d = (float(o['x']) - pose['x'], float(o['y']) - pose['y'], float(o.get('z') or 0.0) - float(pose.get('_cam_z', self.cam_z)))
292
+ zc = sum((a * b for a, b in zip(d, f)))
293
+ if zc <= 0.05:
294
+ return None
295
+ fx = self.W / 2.0 / math.tan(math.radians(float(pose.get('_hfov', self.hfov))) / 2.0)
296
+ up = self.W / 2.0 + fx * sum((a * b for a, b in zip(d, r))) / zc
297
+ vp = self.H / 2.0 - fx * sum((a * b for a, b in zip(d, u))) / zc
298
+ return (up, vp)
299
+
300
+ def t_look(self, call, n_look=0):
301
+ oid = self.parse_obj(call.get('object'))
302
+ o = self.objects[oid]
303
+ bv = o.get('best_view') or {}
304
+ if bv.get('x') is None:
305
+ return (f'there is no saved photo of {self.obj_ref(oid)}.', [])
306
+ path, pose = self._photo_for_view(bv, o)
307
+ if path is None:
308
+ return (f'there is no saved photo of {self.obj_ref(oid)}.', [])
309
+ pitch = float(pose.get('pitch') or 0.0)
310
+ cam = 'camera level' if abs(pitch) < 1 else f'camera tilted down {abs(pitch):.0f} degrees' if pitch < 0 else f'camera tilted up {pitch:.0f} degrees'
311
+ text = f"photo taken at ({_f2(pose['x'])}, {_f2(pose['y'])}) facing {float(pose['yaw']):.1f} degrees, {cam}; "
312
+ from PIL import Image, ImageDraw
313
+ im = Image.open(path).convert('RGB')
314
+ W, H = im.size
315
+ pr = self._project(pose, o)
316
+ if pr is None:
317
+ text += f'{self.obj_ref(oid)} is behind the camera in this photo'
318
+ else:
319
+ u, v = pr
320
+ if 0 <= u < W and 0 <= v < H:
321
+ dr = ImageDraw.Draw(im)
322
+ rad = max(18, int(W * 0.025))
323
+ dr.ellipse([u - rad, v - rad, u + rad, v + rad], outline=(255, 0, 0), width=5)
324
+ dr.text((u + rad + 4, v - rad), f'#{oid}', fill=(255, 0, 0))
325
+ text += f'{self.obj_ref(oid)} is marked with a red circle at x={u / W * 1000:.0f} from the left, y={v / H * 1000:.0f} from the top (0-1000 scale)'
326
+ else:
327
+ side = 'above the top edge' if v < 0 else 'below the bottom edge' if v >= H else 'left of the left edge' if u < 0 else 'right of the right edge'
328
+ text += f'{self.obj_ref(oid)} is {side} of this photo'
329
+ out = (self.out_dir or Path(path).parent) / f'answer_look_{n_look:02d}_obj{oid}.jpg'
330
+ out.parent.mkdir(parents=True, exist_ok=True)
331
+ im.save(out, format='JPEG', quality=90)
332
+ return (text, [out])
333
+
334
+ def t_map(self, call, n_map=0):
335
+ out = (self.out_dir or Path('.')) / f'answer_map_{n_map:02d}.png'
336
+ out.parent.mkdir(parents=True, exist_ok=True)
337
+ spot_regions = {int(k): int(v) for k, v in (self.R.get('spot_regions') or {}).items()}
338
+ names = {rid: (f'R{rid}', g['center'][0], g['center'][1]) for rid, g in self.reg_by_id.items()}
339
+ self.w.render(out, mode='answer', topo=False, edges=False, objects=False, trajectory=False, spot_regions=spot_regions, region_names=names, answer_labels=True)
340
+ return ('Top-down map (right is +x, up is +y).', [out])
341
+
342
+ def run(self, call, n_look=0, n_map=0):
343
+ tool = str(call.get('tool') or '').strip().lower()
344
+ try:
345
+ if tool == 'help':
346
+ return (self.t_help(call), [], False, False)
347
+ if tool not in TOOL_NAMES:
348
+ raise ToolError(f'''unknown tool "{call.get('tool')}". Tools: {', '.join(TOOL_NAMES)}.''')
349
+ if tool == 'look':
350
+ text, imgs = self.t_look(call, n_look)
351
+ return (text, imgs, True, True)
352
+ if tool == 'map':
353
+ text, imgs = self.t_map(call, n_map)
354
+ return (text, imgs, True, False)
355
+ fn = {'regions': self.t_regions, 'find': self.t_find, 'objects_in': self.t_objects_in, 'near': self.t_near, 'dist': self.t_dist, 'direction': self.t_direction}[tool]
356
+ return (fn(call), [], True, False)
357
+ except ToolError as exc:
358
+ msg = f'ERROR: {exc}'
359
+ if tool in HELP_TOPICS and 'missing' in str(exc):
360
+ msg += f' Call {{"tool": "help", "topic": "{tool}"}} to see how to call it.'
361
+ return (msg, [], True, False)
362
+
363
+ def make_chat(client, model_name, max_output_tokens=ANSWER_TOKENS):
364
+ import sys
365
+ sys.path.insert(0, str(Path(__file__).resolve().parent.parent / 'src' / 'active_explore'))
366
+ from models.gpt import image_url_part, parse_json_response
367
+
368
+ def chat(messages):
369
+ conv = [{'role': 'system', 'content': SYSTEM}]
370
+ for m in messages:
371
+ if m['role'] == 'assistant':
372
+ conv.append({'role': 'assistant', 'content': m['content']})
373
+ else:
374
+ parts = []
375
+ for it in m['content']:
376
+ parts.append(image_url_part(it) if isinstance(it, Path) else {'type': 'text', 'text': str(it)})
377
+ conv.append({'role': 'user', 'content': parts})
378
+ kw = {'model': model_name, 'messages': conv, 'max_completion_tokens': int(max_output_tokens), 'temperature': 0.2, 'top_p': 0.9}
379
+
380
+ def once():
381
+ t0 = time.time()
382
+ try:
383
+ resp = client.chat.completions.create(**kw)
384
+ except Exception:
385
+ kw.pop('temperature', None)
386
+ kw.pop('top_p', None)
387
+ resp = client.chat.completions.create(**kw)
388
+ ch = resp.choices[0]
389
+ raw = (ch.message.content or '').strip()
390
+ usage = getattr(resp, 'usage', None)
391
+ det = getattr(usage, 'prompt_tokens_details', None)
392
+ info = {'thinking': getattr(ch.message, 'reasoning_content', None) or '', 'prompt_tokens': getattr(usage, 'prompt_tokens', None), 'completion_tokens': getattr(usage, 'completion_tokens', None), 'cached_tokens': getattr(det, 'cached_tokens', None) if det else None, 'seconds': round(time.time() - t0, 1)}
393
+ return (raw, str(getattr(ch, 'finish_reason', None)), info)
394
+ raw, fin, info = once()
395
+ parsed = parse_json_response(raw, fallback={PARSE_FAILED: True})
396
+ if parsed.get(PARSE_FAILED):
397
+ first = {'content': raw[:2000], 'finish_reason': fin, 'prompt_tokens': info['prompt_tokens'], 'completion_tokens': info['completion_tokens'], 'seconds': info['seconds']}
398
+ raw, fin, info = once()
399
+ info['retry_after_parse_failure'] = first
400
+ parsed = parse_json_response(raw, fallback={PARSE_FAILED: True})
401
+ if parsed.get(PARSE_FAILED):
402
+ parsed = parse_json_response(raw, fallback={})
403
+ return (parsed, raw, fin, info)
404
+ return chat
405
+
406
+ def make_fake_chat(options):
407
+ state = {'i': 0, 'oid': None}
408
+
409
+ def chat(messages):
410
+ last = messages[-1]['content']
411
+ text = ' '.join((str(x) for x in last if not isinstance(x, Path))) if isinstance(last, list) else str(last)
412
+ m = re.search('#(\\d+) ', text)
413
+ if m and state['oid'] is None and ('find' in text):
414
+ state['oid'] = int(m.group(1))
415
+ oid = state['oid'] or 1
416
+ script = [{'tool': 'help'}, {'tool': 'help', 'topic': 'dist'}, {'tool': 'regions'}, {'tool': 'find', 'category': 'desk'}, {'tool': 'near', 'object': oid, 'radius': 3}, {'tool': 'near', 'object': oid, 'category': 'tree'}, {'tool': 'objects_in', 'region': 'R1'}, {'tool': 'dist', 'a': oid, 'region': 'R1'}, {'tool': 'dist', 'a': oid, 'b': 1}, {'tool': 'direction', 'from': 1, 'facing': oid, 'to': {'x': 0, 'y': 0}}, {'tool': 'look', 'object': oid}, {'tool': 'map'}, {'tool': 'near', 'object': 99999, 'radius': 1}, {'answer': 'not an option'}, {'answer': options[0] if options else '', 'confidence': 0.1, 'reasoning': 'fake model'}]
417
+ out = script[min(state['i'], len(script) - 1)]
418
+ state['i'] += 1
419
+ return (out, json.dumps(out), 'stop', {'thinking': '', 'prompt_tokens': 0, 'completion_tokens': 0, 'seconds': 0.0})
420
+ return chat
421
+
422
+ def answer_loop(question, options, mem, chat, max_calls=MAX_CALLS, max_looks=MAX_LOOKS, log=print):
423
+ opts = [str(o) for o in options]
424
+ first = PROMPT_FIRST.replace('{question}', str(question)).replace('{options}', '\n'.join((f'- {o}' for o in opts))).replace('{max_calls}', str(max_calls)).replace('{max_looks}', str(max_looks))
425
+ messages = [{'role': 'user', 'content': [first]}]
426
+ calls_left, looks_left = (max_calls, max_looks)
427
+ retried, budget_warned = (False, False)
428
+ n_look = n_map = 0
429
+ turns = []
430
+ result = {'answer': '', 'valid': False, 'confidence': 0.0, 'reasoning': '', 'end': None}
431
+ for turn in range(max_calls + 15):
432
+ parsed, raw, fin, info = chat(messages)
433
+ parsed = parsed if isinstance(parsed, dict) else {}
434
+ rec = {'turn': turn + 1, 'raw': raw, 'parsed': parsed, 'finish': fin, **info}
435
+ turns.append(rec)
436
+ messages.append({'role': 'assistant', 'content': raw or json.dumps(parsed, ensure_ascii=False)})
437
+ if 'answer' in parsed:
438
+ given = str(parsed.get('answer') or '')
439
+ match = next((o for o in opts if _norm(o) == _norm(given)), None)
440
+ if match is not None:
441
+ result.update({'answer': match, 'valid': True, 'confidence': float(parsed.get('confidence') or 0.0), 'reasoning': str(parsed.get('reasoning') or ''), 'end': 'answered'})
442
+ log(f" [答题] 第 {turn + 1} 轮作答:{match}(置信度 {result['confidence']})")
443
+ break
444
+ if not retried:
445
+ retried = True
446
+ msg = f'Your answer "{given}" is not one of the options, so the task has not ended. Reply only with your final answer, using one of these, copied exactly:\n' + '\n'.join((f'"{o}"' for o in opts))
447
+ rec['result'] = msg
448
+ messages.append({'role': 'user', 'content': [msg]})
449
+ log(f' [答题] 第 {turn + 1} 轮答案不是选项原文:{given!r},提醒一次')
450
+ continue
451
+ result.update({'answer': given, 'valid': False, 'confidence': float(parsed.get('confidence') or 0.0), 'reasoning': str(parsed.get('reasoning') or ''), 'end': 'invalid answer after reminder'})
452
+ log(f' [答题] 提醒后仍不是选项原文:{given!r},原样交出')
453
+ break
454
+ if 'tool' in parsed:
455
+ call_json = json.dumps({k: v for k, v in parsed.items() if k in ('tool', 'topic', 'category', 'region', 'object', 'radius', 'x', 'y', 'a', 'b', 'from', 'facing', 'to')}, ensure_ascii=False)
456
+ if calls_left <= 0:
457
+ if budget_warned:
458
+ result['end'] = 'tool call after budget reminder'
459
+ log(' [答题] 次数用完后仍在调工具,按没作答结束')
460
+ break
461
+ budget_warned = True
462
+ msg = 'No tool calls left. Reply only with your final answer.'
463
+ rec['result'] = msg
464
+ messages.append({'role': 'user', 'content': [msg]})
465
+ continue
466
+ tool = str(parsed.get('tool') or '').strip().lower()
467
+ if tool == 'look' and looks_left <= 0:
468
+ text, imgs, counted, is_look = ('ERROR: no look calls left. Other tools still work.', [], True, False)
469
+ else:
470
+ text, imgs, counted, is_look = mem.run(parsed, n_look=n_look, n_map=n_map)
471
+ if is_look and imgs:
472
+ looks_left -= 1
473
+ n_look += 1
474
+ if tool == 'map' and imgs:
475
+ n_map += 1
476
+ if counted:
477
+ calls_left -= 1
478
+ body = f'RESULT of {call_json}:\n{text}'
479
+ if counted:
480
+ body += f'\nTool calls left: {calls_left} (up to {min(looks_left, calls_left)} of them can be look).'
481
+ rec.update({'tool_call': parsed, 'result': body, 'images': [str(p) for p in imgs], 'counted': counted})
482
+ messages.append({'role': 'user', 'content': [body] + list(imgs)})
483
+ log(f" [答题] 第 {turn + 1} 轮 {call_json} → {(text.splitlines()[0][:120] if text else '')}(剩 {calls_left} 次)")
484
+ continue
485
+ msg = 'ERROR: your reply must be one JSON object with either "tool" or "answer".'
486
+ calls_left -= 1
487
+ body = f'{msg}\nTool calls left: {max(calls_left, 0)} (up to {min(looks_left, max(calls_left, 0))} of them can be look).'
488
+ rec['result'] = body
489
+ messages.append({'role': 'user', 'content': [body]})
490
+ log(f' [答题] 第 {turn + 1} 轮回复既不是工具也不是答案(finish={fin})')
491
+ else:
492
+ result['end'] = 'turn limit'
493
+ result.update({'turns': turns, 'first_message': first, 'calls_used': max_calls - max(calls_left, 0), 'looks_used': n_look, 'prompt_tokens': sum((t.get('prompt_tokens') or 0 for t in turns)), 'completion_tokens': sum((t.get('completion_tokens') or 0 for t in turns)), 'seconds': round(sum((t.get('seconds') or 0 for t in turns)), 1)})
494
+ return result