simver commited on
Commit
246a372
·
verified ·
1 Parent(s): c8d26f0

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
cube1/data/C029.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C029",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "A",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "P",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "A",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C029_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 29,
36
+ "name": "Reconstruct 029",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-029.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "S",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "P",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "arrow_right",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "S",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "A",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "E",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "S",
84
+ "P",
85
+ "arrow_right",
86
+ "S",
87
+ "A",
88
+ "E"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "S",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "E",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "P",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "S",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "A",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "arrow_right",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "E",
123
+ "rotation": 0,
124
+ "x": 2,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "A",
129
+ "rotation": 0,
130
+ "x": 1,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "P",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "A",
141
+ "rotation": 0,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "FRONT",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "FRONT"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "?",
160
+ "rotation": 0
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "P",
168
+ "rotation": 270
169
+ },
170
+ "BACK": {
171
+ "patternId": "?",
172
+ "rotation": 0
173
+ },
174
+ "LEFT": {
175
+ "patternId": "A",
176
+ "rotation": 180
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "P",
195
+ "rotation": 270
196
+ },
197
+ "BACK": {
198
+ "patternId": "?",
199
+ "rotation": 0
200
+ },
201
+ "LEFT": {
202
+ "patternId": "A",
203
+ "rotation": 180
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C029\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=A, rotation=0, flipVertical=true\n- step 2: patternId=P, rotation=180, flipVertical=true\n- step 3: patternId=A, rotation=0, flipVertical=true\n- allowed patternId values for this task: A, P, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }
cube1/data/C033.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C033",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "K",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "I",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "5",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C033_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 33,
36
+ "name": "Reconstruct 033",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-033.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "5",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "X",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "3",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "K",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "I",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "E",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "5",
84
+ "X",
85
+ "3",
86
+ "K",
87
+ "I",
88
+ "E"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 3,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "5",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "E",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "X",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "K",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "I",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "3",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "E",
123
+ "rotation": 270,
124
+ "x": 2,
125
+ "y": 3
126
+ },
127
+ {
128
+ "patternId": "K",
129
+ "rotation": 270,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "I",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "5",
141
+ "rotation": 0,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "LEFT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "LEFT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "5",
161
+ "rotation": 270
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "K",
173
+ "rotation": 270
174
+ },
175
+ "LEFT": {
176
+ "patternId": "I",
177
+ "rotation": 90
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "5",
188
+ "rotation": 270
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "K",
200
+ "rotation": 270
201
+ },
202
+ "LEFT": {
203
+ "patternId": "I",
204
+ "rotation": 90
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C033\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=K, rotation=270, flipVertical=true\n- step 2: patternId=I, rotation=180, flipVertical=true\n- step 3: patternId=5, rotation=0, flipVertical=true\n- allowed patternId values for this task: K, I, 5, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C034.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C034",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "H",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "U",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C034_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 34,
29
+ "name": "Reconstruct 034",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-034.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "U",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "P",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "circle",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "V",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "H",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "diamond",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "U",
77
+ "P",
78
+ "circle",
79
+ "V",
80
+ "H",
81
+ "diamond"
82
+ ],
83
+ "start_x": 3,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "U",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "diamond",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "P",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "V",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "H",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "circle",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "diamond",
116
+ "rotation": 270,
117
+ "x": 3,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "H",
122
+ "rotation": 180,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "U",
128
+ "rotation": 180,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "U",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "H",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "U",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "H",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C034\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=180, flipVertical=true\n- step 2: patternId=U, rotation=180, flipVertical=true\n- allowed patternId values for this task: H, U, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C035.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C035",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "Z",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "arrow_left",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C035_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 35,
29
+ "name": "Reconstruct 035",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-035.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "arrow_right",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "arrow_left",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "K",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "circle",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "Z",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "heart",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "arrow_right",
77
+ "arrow_left",
78
+ "K",
79
+ "circle",
80
+ "Z",
81
+ "heart"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "arrow_right",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "heart",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "arrow_left",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "circle",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "Z",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "K",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "heart",
116
+ "rotation": 270,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "Z",
122
+ "rotation": 180,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "arrow_left",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "FRONT"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "FRONT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "arrow_left",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "Z",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "arrow_left",
181
+ "rotation": 180
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "Z",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C035\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Z, rotation=180, flipVertical=true\n- step 2: patternId=arrow_left, rotation=90, flipVertical=true\n- allowed patternId values for this task: Z, arrow_left, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C036.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C036",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "circle",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "arrow_up",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "circle",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C036_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 36,
36
+ "name": "Reconstruct 036",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-036.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "smile",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "3",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "G",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "arrow_up",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "circle",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "smile",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "smile",
84
+ "3",
85
+ "G",
86
+ "arrow_up",
87
+ "circle",
88
+ "smile"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "smile",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "smile",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "3",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "arrow_up",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "circle",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "G",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "smile",
123
+ "rotation": 90,
124
+ "x": 2,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "circle",
129
+ "rotation": 0,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "arrow_up",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "circle",
141
+ "rotation": 0,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "BACK",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "BACK"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "?",
160
+ "rotation": 0
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "?",
168
+ "rotation": 0
169
+ },
170
+ "BACK": {
171
+ "patternId": "arrow_up",
172
+ "rotation": 90
173
+ },
174
+ "LEFT": {
175
+ "patternId": "circle",
176
+ "rotation": 180
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "BACK": {
198
+ "patternId": "arrow_up",
199
+ "rotation": 90
200
+ },
201
+ "LEFT": {
202
+ "patternId": "circle",
203
+ "rotation": 180
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C036\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=circle, rotation=0, flipVertical=true\n- step 2: patternId=arrow_up, rotation=180, flipVertical=true\n- step 3: patternId=circle, rotation=0, flipVertical=true\n- allowed patternId values for this task: circle, arrow_up, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }
cube1/data/C037.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C037",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "H",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "2",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C037_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 37,
29
+ "name": "Reconstruct 037",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-037.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "3",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "B",
46
+ "rotation": 90,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "N",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "H",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "2",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "5",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "3",
77
+ "B",
78
+ "N",
79
+ "H",
80
+ "2",
81
+ "5"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "3",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "5",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "B",
98
+ "rotation": 90
99
+ },
100
+ "BACK": {
101
+ "patternId": "H",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "2",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "N",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "5",
116
+ "rotation": 90,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "H",
122
+ "rotation": 270,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "2",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "H",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "2",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "H",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "2",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C037\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=270, flipVertical=true\n- step 2: patternId=2, rotation=0, flipVertical=true\n- allowed patternId values for this task: H, 2, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C038.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C038",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "Q",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "P",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C038_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 38,
29
+ "name": "Reconstruct 038",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-038.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "A",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "H",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "P",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "Q",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "N",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "smile",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "A",
77
+ "H",
78
+ "P",
79
+ "Q",
80
+ "N",
81
+ "smile"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "A",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "smile",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "H",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "Q",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "N",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "P",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "smile",
116
+ "rotation": 180,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "Q",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "P",
128
+ "rotation": 180,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "RIGHT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "RIGHT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "Q",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "P",
166
+ "rotation": 270
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "Q",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "P",
193
+ "rotation": 270
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C038\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Q, rotation=270, flipVertical=true\n- step 2: patternId=P, rotation=180, flipVertical=true\n- allowed patternId values for this task: Q, P, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C039.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C039",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "I",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "B",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C039_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 39,
29
+ "name": "Reconstruct 039",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-039.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "G",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "E",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "5",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "B",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "I",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "Z",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "G",
77
+ "E",
78
+ "5",
79
+ "B",
80
+ "I",
81
+ "Z"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "G",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "Z",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "E",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "B",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "I",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "5",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "Z",
116
+ "rotation": 270,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "I",
122
+ "rotation": 0,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "B",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "B",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "I",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "B",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "I",
189
+ "rotation": 180
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C039\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=0, flipVertical=true\n- step 2: patternId=B, rotation=90, flipVertical=true\n- allowed patternId values for this task: I, B, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C040.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C040",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "I",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "smile",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C040_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 40,
29
+ "name": "Reconstruct 040",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-040.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "heart",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "W",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "1",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "I",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "smile",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "I",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "heart",
77
+ "W",
78
+ "1",
79
+ "I",
80
+ "smile",
81
+ "I"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "heart",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "I",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "W",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "I",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "smile",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "1",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "I",
116
+ "rotation": 180,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "I",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "smile",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "I",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "smile",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "I",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "smile",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C040\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=0, flipVertical=true\n- step 2: patternId=smile, rotation=0, flipVertical=true\n- allowed patternId values for this task: I, smile, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C041.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C041",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "6",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "star",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C041_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 41,
29
+ "name": "Reconstruct 041",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-041.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "6",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "star",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "6",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "N",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "E",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "Y",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "6",
77
+ "star",
78
+ "6",
79
+ "N",
80
+ "E",
81
+ "Y"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "6",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "Y",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "star",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "N",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "E",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "6",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "Y",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "6",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "star",
128
+ "rotation": 90,
129
+ "x": 2,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "FRONT"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "FRONT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "star",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "6",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "star",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "6",
193
+ "rotation": 180
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C041\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=0, flipVertical=true\n- step 2: patternId=star, rotation=90, flipVertical=true\n- allowed patternId values for this task: 6, star, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C042.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C042",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "arrow_left",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "star",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C042_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 42,
29
+ "name": "Reconstruct 042",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-042.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "K",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "arrow_left",
46
+ "rotation": 90,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "K",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "R",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "star",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "M",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "K",
77
+ "arrow_left",
78
+ "K",
79
+ "R",
80
+ "star",
81
+ "M"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "K",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "M",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "arrow_left",
98
+ "rotation": 90
99
+ },
100
+ "BACK": {
101
+ "patternId": "R",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "star",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "K",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "M",
116
+ "rotation": 180,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "arrow_left",
122
+ "rotation": 90,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "star",
128
+ "rotation": 270,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "arrow_left",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "star",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "arrow_left",
181
+ "rotation": 90
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "star",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C042\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_left, rotation=90, flipVertical=true\n- step 2: patternId=star, rotation=270, flipVertical=true\n- allowed patternId values for this task: arrow_left, star, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C043.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C043",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "P",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "S",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C043_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 43,
29
+ "name": "Reconstruct 043",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-043.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "2",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "9",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "S",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "P",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "Y",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "D",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "2",
77
+ "9",
78
+ "S",
79
+ "P",
80
+ "Y",
81
+ "D"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "2",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "D",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "9",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "P",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "Y",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "S",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "D",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "P",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "S",
128
+ "rotation": 270,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "RIGHT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "RIGHT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "P",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "S",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "P",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "S",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C043\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=P, rotation=270, flipVertical=true\n- step 2: patternId=S, rotation=270, flipVertical=true\n- allowed patternId values for this task: P, S, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C044.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C044",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "smile",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "heart",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "7",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C044_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 44,
36
+ "name": "Reconstruct 044",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-044.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "heart",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "arrow_up",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "7",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "1",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "smile",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "heart",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "heart",
84
+ "arrow_up",
85
+ "7",
86
+ "1",
87
+ "smile",
88
+ "heart"
89
+ ],
90
+ "start_x": 4,
91
+ "start_y": 1,
92
+ "grid_width": 6,
93
+ "grid_height": 3,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "heart",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "heart",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "arrow_up",
105
+ "rotation": 0
106
+ },
107
+ "BACK": {
108
+ "patternId": "1",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "smile",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "7",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "heart",
123
+ "rotation": 90,
124
+ "x": 4,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "smile",
129
+ "rotation": 180,
130
+ "x": 3,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "heart",
135
+ "rotation": 180,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "7",
141
+ "rotation": 0,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "TOP",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "TOP",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "heart",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "smile",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "7",
181
+ "rotation": 180
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "heart",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "smile",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "7",
208
+ "rotation": 180
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C044\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=smile, rotation=180, flipVertical=true\n- step 2: patternId=heart, rotation=180, flipVertical=true\n- step 3: patternId=7, rotation=0, flipVertical=true\n- allowed patternId values for this task: smile, heart, 7, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C045.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C045",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "U",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "D",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "circle",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C045_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 45,
36
+ "name": "Reconstruct 045",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-045.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "circle",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "R",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "U",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "D",
65
+ "rotation": 0,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "7",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "P",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "circle",
84
+ "R",
85
+ "U",
86
+ "D",
87
+ "7",
88
+ "P"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "circle",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "P",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "R",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "D",
109
+ "rotation": 180
110
+ },
111
+ "LEFT": {
112
+ "patternId": "7",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "U",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "P",
123
+ "rotation": 270,
124
+ "x": 1,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "U",
129
+ "rotation": 270,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "D",
135
+ "rotation": 270,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "circle",
141
+ "rotation": 180,
142
+ "x": 3,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "BACK",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "BACK",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "circle",
161
+ "rotation": 270
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "D",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "U",
181
+ "rotation": 90
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "circle",
188
+ "rotation": 270
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "D",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "U",
208
+ "rotation": 90
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C045\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=U, rotation=270, flipVertical=true\n- step 2: patternId=D, rotation=270, flipVertical=true\n- step 3: patternId=circle, rotation=180, flipVertical=true\n- allowed patternId values for this task: U, D, circle, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C046.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C046",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "C",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "arrow_left",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "C",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C046_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 46,
36
+ "name": "Reconstruct 046",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-046.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "arrow_left",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "W",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "arrow_up",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "6",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "C",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "I",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "arrow_left",
84
+ "W",
85
+ "arrow_up",
86
+ "6",
87
+ "C",
88
+ "I"
89
+ ],
90
+ "start_x": 3,
91
+ "start_y": 1,
92
+ "grid_width": 5,
93
+ "grid_height": 3,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "arrow_left",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "I",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "W",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "6",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "C",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "arrow_up",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "I",
123
+ "rotation": 0,
124
+ "x": 3,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "C",
129
+ "rotation": 0,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "arrow_left",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "C",
141
+ "rotation": 0,
142
+ "x": 2,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "TOP",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "TOP"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "arrow_left",
160
+ "rotation": 90
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "?",
168
+ "rotation": 0
169
+ },
170
+ "BACK": {
171
+ "patternId": "?",
172
+ "rotation": 0
173
+ },
174
+ "LEFT": {
175
+ "patternId": "C",
176
+ "rotation": 180
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "arrow_left",
187
+ "rotation": 90
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "BACK": {
198
+ "patternId": "?",
199
+ "rotation": 0
200
+ },
201
+ "LEFT": {
202
+ "patternId": "C",
203
+ "rotation": 180
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C046\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=C, rotation=0, flipVertical=true\n- step 2: patternId=arrow_left, rotation=270, flipVertical=true\n- step 3: patternId=C, rotation=0, flipVertical=true\n- allowed patternId values for this task: C, arrow_left, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }
cube1/data/C047.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C047",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "H",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "N",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "arrow_up",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C047_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 47,
36
+ "name": "Reconstruct 047",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-047.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "N",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "heart",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "B",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "arrow_up",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "H",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "L",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "N",
84
+ "heart",
85
+ "B",
86
+ "arrow_up",
87
+ "H",
88
+ "L"
89
+ ],
90
+ "start_x": 3,
91
+ "start_y": 2,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "N",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "L",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "heart",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "arrow_up",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "H",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "B",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "L",
123
+ "rotation": 180,
124
+ "x": 3,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "H",
129
+ "rotation": 0,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "N",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "arrow_up",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "TOP",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "TOP",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "N",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "arrow_up",
173
+ "rotation": 90
174
+ },
175
+ "LEFT": {
176
+ "patternId": "H",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "N",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "arrow_up",
200
+ "rotation": 90
201
+ },
202
+ "LEFT": {
203
+ "patternId": "H",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C047\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=0, flipVertical=true\n- step 2: patternId=N, rotation=180, flipVertical=true\n- step 3: patternId=arrow_up, rotation=270, flipVertical=true\n- allowed patternId values for this task: H, N, arrow_up, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C048.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C048",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "smile",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "A",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "plus",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C048_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 48,
36
+ "name": "Reconstruct 048",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-048.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "arrow_left",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "smile",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "arrow_up",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "plus",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "A",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "smile",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "arrow_left",
84
+ "smile",
85
+ "arrow_up",
86
+ "plus",
87
+ "A",
88
+ "smile"
89
+ ],
90
+ "start_x": 3,
91
+ "start_y": 1,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "arrow_left",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "smile",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "smile",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "plus",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "A",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "arrow_up",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "smile",
123
+ "rotation": 180,
124
+ "x": 3,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "smile",
129
+ "rotation": 180,
130
+ "x": 3,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "A",
135
+ "rotation": 270,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "plus",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "LEFT",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "LEFT",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "smile",
169
+ "rotation": 180
170
+ },
171
+ "BACK": {
172
+ "patternId": "plus",
173
+ "rotation": 270
174
+ },
175
+ "LEFT": {
176
+ "patternId": "A",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "smile",
196
+ "rotation": 180
197
+ },
198
+ "BACK": {
199
+ "patternId": "plus",
200
+ "rotation": 270
201
+ },
202
+ "LEFT": {
203
+ "patternId": "A",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C048\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=smile, rotation=180, flipVertical=true\n- step 2: patternId=A, rotation=270, flipVertical=true\n- step 3: patternId=plus, rotation=90, flipVertical=true\n- allowed patternId values for this task: smile, A, plus, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C049.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C049",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "D",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "V",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "Y",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C049_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 49,
36
+ "name": "Reconstruct 049",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-049.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "V",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "D",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "Y",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "arrow_left",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "Z",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "V",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "V",
84
+ "D",
85
+ "Y",
86
+ "arrow_left",
87
+ "Z",
88
+ "V"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "V",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "V",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "D",
105
+ "rotation": 0
106
+ },
107
+ "BACK": {
108
+ "patternId": "arrow_left",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "Z",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "Y",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "V",
123
+ "rotation": 270,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "D",
129
+ "rotation": 0,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "V",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 3
138
+ },
139
+ {
140
+ "patternId": "Y",
141
+ "rotation": 180,
142
+ "x": 2,
143
+ "y": 3
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "TOP",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "TOP",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "V",
161
+ "rotation": 180
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "D",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "Y",
181
+ "rotation": 180
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "V",
188
+ "rotation": 180
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "D",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "Y",
208
+ "rotation": 180
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C049\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=D, rotation=0, flipVertical=true\n- step 2: patternId=V, rotation=180, flipVertical=true\n- step 3: patternId=Y, rotation=180, flipVertical=true\n- allowed patternId values for this task: D, V, Y, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C050.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C050",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "E",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "P",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "8",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "3",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C050_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 50,
36
+ "name": "Reconstruct 050",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-050.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "smile",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "T",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "square",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "3",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "P",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "8",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "smile",
84
+ "T",
85
+ "square",
86
+ "3",
87
+ "P",
88
+ "8"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "smile",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "8",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "T",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "3",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "P",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "square",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "8",
123
+ "rotation": 0,
124
+ "x": 2,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "P",
129
+ "rotation": 180,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "8",
135
+ "rotation": 0,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "3",
141
+ "rotation": 180,
142
+ "x": 2,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "BOTTOM",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "BOTTOM",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "8",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "3",
173
+ "rotation": 180
174
+ },
175
+ "LEFT": {
176
+ "patternId": "P",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "8",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "3",
200
+ "rotation": 180
201
+ },
202
+ "LEFT": {
203
+ "patternId": "P",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C050\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=P, rotation=180, flipVertical=true\n- step 2: patternId=8, rotation=0, flipVertical=true\n- step 3: patternId=3, rotation=180, flipVertical=true\n- allowed patternId values for this task: P, 8, 3, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C051.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C051",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "star",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "6",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "L",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C051_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 51,
36
+ "name": "Reconstruct 051",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-051.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "6",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "plus",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "L",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "plus",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "star",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "C",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "6",
84
+ "plus",
85
+ "L",
86
+ "plus",
87
+ "star",
88
+ "C"
89
+ ],
90
+ "start_x": 4,
91
+ "start_y": 1,
92
+ "grid_width": 6,
93
+ "grid_height": 3,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "6",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "C",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "plus",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "plus",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "star",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "L",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "C",
123
+ "rotation": 270,
124
+ "x": 4,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "star",
129
+ "rotation": 90,
130
+ "x": 3,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "6",
135
+ "rotation": 180,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "L",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "TOP",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "TOP",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "6",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "star",
177
+ "rotation": 270
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "L",
181
+ "rotation": 90
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "6",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "star",
204
+ "rotation": 270
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "L",
208
+ "rotation": 90
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C051\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=90, flipVertical=true\n- step 2: patternId=6, rotation=180, flipVertical=true\n- step 3: patternId=L, rotation=270, flipVertical=true\n- allowed patternId values for this task: star, 6, L, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C052.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C052",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> E -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "arrow_down",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "P",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "arrow_down",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C052_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 52,
36
+ "name": "Reconstruct 052",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-052.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "square",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "arrow_down",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "P",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "W",
65
+ "rotation": 0,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "U",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "square",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "square",
84
+ "arrow_down",
85
+ "P",
86
+ "W",
87
+ "U",
88
+ "square"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "square",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "square",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "arrow_down",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "W",
109
+ "rotation": 180
110
+ },
111
+ "LEFT": {
112
+ "patternId": "U",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "P",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "square",
123
+ "rotation": 90,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "arrow_down",
129
+ "rotation": 90,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "P",
135
+ "rotation": 90,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "arrow_down",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "RIGHT",
149
+ "FRONT"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "RIGHT"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "?",
160
+ "rotation": 0
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "arrow_down",
168
+ "rotation": 90
169
+ },
170
+ "BACK": {
171
+ "patternId": "?",
172
+ "rotation": 0
173
+ },
174
+ "LEFT": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "P",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "arrow_down",
195
+ "rotation": 90
196
+ },
197
+ "BACK": {
198
+ "patternId": "?",
199
+ "rotation": 0
200
+ },
201
+ "LEFT": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "P",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C052\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_down, rotation=90, flipVertical=true\n- step 2: patternId=P, rotation=90, flipVertical=true\n- step 3: patternId=arrow_down, rotation=90, flipVertical=true\n- allowed patternId values for this task: arrow_down, P, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }
cube1/data/C053.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C053",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "heart",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "9",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C053_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 53,
29
+ "name": "Reconstruct 053",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-053.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "9",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "heart",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "arrow_right",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "9",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "L",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "C",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "9",
77
+ "heart",
78
+ "arrow_right",
79
+ "9",
80
+ "L",
81
+ "C"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 3,
86
+ "grid_height": 5,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "9",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "C",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "heart",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "9",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "L",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "arrow_right",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "C",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "heart",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "9",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 3
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "9",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "heart",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "9",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "heart",
181
+ "rotation": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C053\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=heart, rotation=270, flipVertical=true\n- step 2: patternId=9, rotation=0, flipVertical=true\n- allowed patternId values for this task: heart, 9, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C054.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C054",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "U",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "5",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "M",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C054_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 54,
36
+ "name": "Reconstruct 054",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-054.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "M",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "U",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "star",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "M",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "5",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "3",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "M",
84
+ "U",
85
+ "star",
86
+ "M",
87
+ "5",
88
+ "3"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "M",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "3",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "U",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "M",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "5",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "star",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "3",
123
+ "rotation": 270,
124
+ "x": 2,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "U",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "5",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "M",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 3
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "LEFT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "LEFT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "M",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "U",
169
+ "rotation": 180
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "5",
177
+ "rotation": 270
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "M",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "U",
196
+ "rotation": 180
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "5",
204
+ "rotation": 270
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C054\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=U, rotation=180, flipVertical=true\n- step 2: patternId=5, rotation=180, flipVertical=true\n- step 3: patternId=M, rotation=270, flipVertical=true\n- allowed patternId values for this task: U, 5, M, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C055.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C055",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "9",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "9",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "K",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C055_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 55,
36
+ "name": "Reconstruct 055",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-055.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "7",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "E",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "K",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "9",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "9",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "heart",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "7",
84
+ "E",
85
+ "K",
86
+ "9",
87
+ "9",
88
+ "heart"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 3,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "7",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "heart",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "E",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "9",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "9",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "K",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "heart",
123
+ "rotation": 270,
124
+ "x": 2,
125
+ "y": 3
126
+ },
127
+ {
128
+ "patternId": "9",
129
+ "rotation": 0,
130
+ "x": 1,
131
+ "y": 3
132
+ },
133
+ {
134
+ "patternId": "9",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "K",
141
+ "rotation": 180,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "BACK",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "BACK",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "9",
173
+ "rotation": 90
174
+ },
175
+ "LEFT": {
176
+ "patternId": "9",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "K",
181
+ "rotation": 180
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "9",
200
+ "rotation": 90
201
+ },
202
+ "LEFT": {
203
+ "patternId": "9",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "K",
208
+ "rotation": 180
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C055\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=9, rotation=0, flipVertical=true\n- step 2: patternId=9, rotation=180, flipVertical=true\n- step 3: patternId=K, rotation=180, flipVertical=true\n- allowed patternId values for this task: 9, K, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C056.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C056",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "star",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "J",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C056_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 56,
29
+ "name": "Reconstruct 056",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-056.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "square",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "arrow_left",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "J",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "star",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "square",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "6",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "square",
77
+ "arrow_left",
78
+ "J",
79
+ "star",
80
+ "square",
81
+ "6"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "square",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "6",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "arrow_left",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "star",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "square",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "J",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "6",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "star",
122
+ "rotation": 180,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "J",
128
+ "rotation": 270,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "RIGHT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "RIGHT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "star",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "J",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "star",
185
+ "rotation": 180
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "J",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C056\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=180, flipVertical=true\n- step 2: patternId=J, rotation=270, flipVertical=true\n- allowed patternId values for this task: star, J, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C057.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C057",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "J",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "7",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "R",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C057_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 57,
36
+ "name": "Reconstruct 057",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-057.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "4",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "7",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "J",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "plus",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "arrow_left",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "R",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "4",
84
+ "7",
85
+ "J",
86
+ "plus",
87
+ "arrow_left",
88
+ "R"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "4",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "R",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "7",
105
+ "rotation": 0
106
+ },
107
+ "BACK": {
108
+ "patternId": "plus",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "arrow_left",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "J",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "R",
123
+ "rotation": 180,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "J",
129
+ "rotation": 90,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "7",
135
+ "rotation": 90,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "R",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "FRONT",
149
+ "BOTTOM"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "FRONT",
154
+ "BOTTOM"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "R",
165
+ "rotation": 180
166
+ },
167
+ "FRONT": {
168
+ "patternId": "7",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "J",
181
+ "rotation": 270
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "R",
192
+ "rotation": 180
193
+ },
194
+ "FRONT": {
195
+ "patternId": "7",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "J",
208
+ "rotation": 270
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C057\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=J, rotation=90, flipVertical=true\n- step 2: patternId=7, rotation=90, flipVertical=true\n- step 3: patternId=R, rotation=270, flipVertical=true\n- allowed patternId values for this task: J, 7, R, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C058.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C058",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "5",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "G",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "J",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C058_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 58,
36
+ "name": "Reconstruct 058",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-058.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "J",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "arrow_down",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "8",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "5",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "G",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "heart",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "J",
84
+ "arrow_down",
85
+ "8",
86
+ "5",
87
+ "G",
88
+ "heart"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 3,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "J",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "heart",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "arrow_down",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "5",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "G",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "8",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "heart",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 3
126
+ },
127
+ {
128
+ "patternId": "5",
129
+ "rotation": 90,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "G",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "J",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "LEFT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "LEFT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "J",
161
+ "rotation": 180
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "5",
173
+ "rotation": 90
174
+ },
175
+ "LEFT": {
176
+ "patternId": "G",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "J",
188
+ "rotation": 180
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "5",
200
+ "rotation": 90
201
+ },
202
+ "LEFT": {
203
+ "patternId": "G",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C058\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=5, rotation=90, flipVertical=true\n- step 2: patternId=G, rotation=270, flipVertical=true\n- step 3: patternId=J, rotation=270, flipVertical=true\n- allowed patternId values for this task: 5, G, J, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C059.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C059",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "U",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "diamond",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "U",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C059_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 59,
36
+ "name": "Reconstruct 059",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-059.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "diamond",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "G",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "U",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "9",
65
+ "rotation": 0,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "A",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "heart",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "diamond",
84
+ "G",
85
+ "U",
86
+ "9",
87
+ "A",
88
+ "heart"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 5,
93
+ "grid_height": 3,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "diamond",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "heart",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "G",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "9",
109
+ "rotation": 180
110
+ },
111
+ "LEFT": {
112
+ "patternId": "A",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "U",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "heart",
123
+ "rotation": 0,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "U",
129
+ "rotation": 270,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "diamond",
135
+ "rotation": 0,
136
+ "x": 3,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "U",
141
+ "rotation": 270,
142
+ "x": 2,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "TOP",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "TOP"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "diamond",
160
+ "rotation": 180
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "?",
168
+ "rotation": 0
169
+ },
170
+ "BACK": {
171
+ "patternId": "?",
172
+ "rotation": 0
173
+ },
174
+ "LEFT": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "U",
180
+ "rotation": 90
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "diamond",
187
+ "rotation": 180
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "BACK": {
198
+ "patternId": "?",
199
+ "rotation": 0
200
+ },
201
+ "LEFT": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "U",
207
+ "rotation": 90
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C059\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=U, rotation=270, flipVertical=true\n- step 2: patternId=diamond, rotation=0, flipVertical=true\n- step 3: patternId=U, rotation=270, flipVertical=true\n- allowed patternId values for this task: U, diamond, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }
cube1/data/C060.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C060",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "3",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "M",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C060_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 60,
29
+ "name": "Reconstruct 060",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-060.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "F",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "W",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "3",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "M",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "star",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "J",
70
+ "rotation": 0,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "F",
77
+ "W",
78
+ "3",
79
+ "M",
80
+ "star",
81
+ "J"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "F",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "J",
94
+ "rotation": 0
95
+ },
96
+ "FRONT": {
97
+ "patternId": "W",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "M",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "star",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "3",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "J",
116
+ "rotation": 0,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "3",
122
+ "rotation": 270,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "M",
128
+ "rotation": 270,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "M",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "3",
166
+ "rotation": 90
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "M",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "3",
193
+ "rotation": 90
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C060\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=3, rotation=270, flipVertical=true\n- step 2: patternId=M, rotation=270, flipVertical=true\n- allowed patternId values for this task: 3, M, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C061.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C061",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "D",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "Z",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C061_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 61,
29
+ "name": "Reconstruct 061",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-061.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "Z",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "Q",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "C",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "arrow_up",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "D",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "heart",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "Z",
77
+ "Q",
78
+ "C",
79
+ "arrow_up",
80
+ "D",
81
+ "heart"
82
+ ],
83
+ "start_x": 3,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "Z",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "heart",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "Q",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "arrow_up",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "D",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "C",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "heart",
116
+ "rotation": 270,
117
+ "x": 3,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "D",
122
+ "rotation": 180,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "Z",
128
+ "rotation": 180,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "Z",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "D",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "Z",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "D",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C061\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=D, rotation=180, flipVertical=true\n- step 2: patternId=Z, rotation=180, flipVertical=true\n- allowed patternId values for this task: D, Z, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C062.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C062",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "C",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "L",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C062_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 62,
29
+ "name": "Reconstruct 062",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-062.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "L",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "F",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "C",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "7",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "arrow_left",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "triangle",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "L",
77
+ "F",
78
+ "C",
79
+ "7",
80
+ "arrow_left",
81
+ "triangle"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "L",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "triangle",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "F",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "7",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "arrow_left",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "C",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "triangle",
116
+ "rotation": 180,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "C",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "L",
128
+ "rotation": 270,
129
+ "x": 3,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "L",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "C",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "L",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "C",
193
+ "rotation": 180
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C062\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=C, rotation=0, flipVertical=true\n- step 2: patternId=L, rotation=270, flipVertical=true\n- allowed patternId values for this task: C, L, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C063.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C063",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "triangle",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "H",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C063_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 63,
29
+ "name": "Reconstruct 063",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-063.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "H",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "O",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "K",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "triangle",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "circle",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "T",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "H",
77
+ "O",
78
+ "K",
79
+ "triangle",
80
+ "circle",
81
+ "T"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 3,
85
+ "grid_width": 3,
86
+ "grid_height": 5,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "H",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "T",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "O",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "triangle",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "circle",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "K",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "T",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 3
119
+ },
120
+ {
121
+ "patternId": "triangle",
122
+ "rotation": 180,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "H",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "H",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "triangle",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "H",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "triangle",
185
+ "rotation": 180
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C063\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=triangle, rotation=180, flipVertical=true\n- step 2: patternId=H, rotation=0, flipVertical=true\n- allowed patternId values for this task: triangle, H, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C064.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C064",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "A",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "W",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "O",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C064_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 64,
36
+ "name": "Reconstruct 064",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-064.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "O",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "A",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "arrow_up",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "S",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "W",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "R",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "O",
84
+ "A",
85
+ "arrow_up",
86
+ "S",
87
+ "W",
88
+ "R"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "O",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "R",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "A",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "S",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "W",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "arrow_up",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "R",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "A",
129
+ "rotation": 270,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "W",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "O",
141
+ "rotation": 180,
142
+ "x": 1,
143
+ "y": 3
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "LEFT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "LEFT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "O",
161
+ "rotation": 270
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "A",
169
+ "rotation": 270
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "W",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "O",
188
+ "rotation": 270
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "A",
196
+ "rotation": 270
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "W",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C064\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=A, rotation=270, flipVertical=true\n- step 2: patternId=W, rotation=270, flipVertical=true\n- step 3: patternId=O, rotation=180, flipVertical=true\n- allowed patternId values for this task: A, W, O, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C065.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C065",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "Z",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "H",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C065_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 65,
29
+ "name": "Reconstruct 065",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-065.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "H",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "S",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "Z",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "4",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "L",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "C",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "H",
77
+ "S",
78
+ "Z",
79
+ "4",
80
+ "L",
81
+ "C"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "H",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "C",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "S",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "4",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "L",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "Z",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "C",
116
+ "rotation": 90,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "Z",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "H",
128
+ "rotation": 270,
129
+ "x": 3,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "H",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "Z",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "H",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "Z",
193
+ "rotation": 180
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C065\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Z, rotation=0, flipVertical=true\n- step 2: patternId=H, rotation=270, flipVertical=true\n- allowed patternId values for this task: Z, H, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C066.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C066",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "R",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "B",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "V",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C066_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 66,
36
+ "name": "Reconstruct 066",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-066.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "Q",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "A",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "R",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "B",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "V",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "triangle",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "Q",
84
+ "A",
85
+ "R",
86
+ "B",
87
+ "V",
88
+ "triangle"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 3,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "Q",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "triangle",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "A",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "B",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "V",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "R",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "triangle",
123
+ "rotation": 180,
124
+ "x": 1,
125
+ "y": 3
126
+ },
127
+ {
128
+ "patternId": "R",
129
+ "rotation": 90,
130
+ "x": 2,
131
+ "y": 3
132
+ },
133
+ {
134
+ "patternId": "B",
135
+ "rotation": 180,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "V",
141
+ "rotation": 270,
142
+ "x": 2,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "BACK",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "BACK",
154
+ "LEFT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "B",
173
+ "rotation": 270
174
+ },
175
+ "LEFT": {
176
+ "patternId": "V",
177
+ "rotation": 270
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "R",
181
+ "rotation": 270
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "B",
200
+ "rotation": 270
201
+ },
202
+ "LEFT": {
203
+ "patternId": "V",
204
+ "rotation": 270
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "R",
208
+ "rotation": 270
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C066\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=R, rotation=90, flipVertical=true\n- step 2: patternId=B, rotation=180, flipVertical=true\n- step 3: patternId=V, rotation=270, flipVertical=true\n- allowed patternId values for this task: R, B, V, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C067.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C067",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "Y",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "1",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "9",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C067_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 67,
36
+ "name": "Reconstruct 067",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-067.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "9",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "1",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "B",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "Y",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "1",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "F",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "9",
84
+ "1",
85
+ "B",
86
+ "Y",
87
+ "1",
88
+ "F"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 3,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "9",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "F",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "1",
105
+ "rotation": 0
106
+ },
107
+ "BACK": {
108
+ "patternId": "Y",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "1",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "B",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "F",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 3
126
+ },
127
+ {
128
+ "patternId": "Y",
129
+ "rotation": 90,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "1",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "9",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "LEFT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "LEFT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "9",
161
+ "rotation": 180
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "Y",
173
+ "rotation": 90
174
+ },
175
+ "LEFT": {
176
+ "patternId": "1",
177
+ "rotation": 90
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "9",
188
+ "rotation": 180
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "Y",
200
+ "rotation": 90
201
+ },
202
+ "LEFT": {
203
+ "patternId": "1",
204
+ "rotation": 90
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C067\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Y, rotation=90, flipVertical=true\n- step 2: patternId=1, rotation=180, flipVertical=true\n- step 3: patternId=9, rotation=270, flipVertical=true\n- allowed patternId values for this task: Y, 1, 9, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C068.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C068",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "diamond",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "7",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C068_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 68,
29
+ "name": "Reconstruct 068",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-068.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "7",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "diamond",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "D",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "Q",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "arrow_right",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "heart",
70
+ "rotation": 0,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "7",
77
+ "diamond",
78
+ "D",
79
+ "Q",
80
+ "arrow_right",
81
+ "heart"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 3,
86
+ "grid_height": 5,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "7",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "heart",
94
+ "rotation": 0
95
+ },
96
+ "FRONT": {
97
+ "patternId": "diamond",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "Q",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "arrow_right",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "D",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "heart",
116
+ "rotation": 0,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "diamond",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "7",
128
+ "rotation": 270,
129
+ "x": 1,
130
+ "y": 3
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "7",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "diamond",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "7",
173
+ "rotation": 270
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "diamond",
181
+ "rotation": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C068\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=diamond, rotation=270, flipVertical=true\n- step 2: patternId=7, rotation=270, flipVertical=true\n- allowed patternId values for this task: diamond, 7, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C069.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C069",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "V",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "H",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "square",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C069_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 69,
36
+ "name": "Reconstruct 069",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-069.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "K",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "H",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "V",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "O",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "square",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "Q",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "K",
84
+ "H",
85
+ "V",
86
+ "O",
87
+ "square",
88
+ "Q"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "K",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "Q",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "H",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "O",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "square",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "V",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "Q",
123
+ "rotation": 180,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "V",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "H",
135
+ "rotation": 0,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "square",
141
+ "rotation": 180,
142
+ "x": 2,
143
+ "y": 3
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "FRONT",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "FRONT",
154
+ "LEFT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "H",
169
+ "rotation": 270
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "square",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "V",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "H",
196
+ "rotation": 270
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "square",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "V",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C069\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=V, rotation=180, flipVertical=true\n- step 2: patternId=H, rotation=0, flipVertical=true\n- step 3: patternId=square, rotation=180, flipVertical=true\n- allowed patternId values for this task: V, H, square, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C070.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C070",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "W"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "6",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "N",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "heart",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C070_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 70,
36
+ "name": "Reconstruct 070",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-070.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "N",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "circle",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "heart",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "K",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "6",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "C",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "N",
84
+ "circle",
85
+ "heart",
86
+ "K",
87
+ "6",
88
+ "C"
89
+ ],
90
+ "start_x": 4,
91
+ "start_y": 1,
92
+ "grid_width": 6,
93
+ "grid_height": 3,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "N",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "C",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "circle",
105
+ "rotation": 0
106
+ },
107
+ "BACK": {
108
+ "patternId": "K",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "6",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "heart",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "C",
123
+ "rotation": 90,
124
+ "x": 4,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "6",
129
+ "rotation": 180,
130
+ "x": 3,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "N",
135
+ "rotation": 180,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "heart",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "TOP",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "TOP",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "N",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "6",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "heart",
181
+ "rotation": 90
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "N",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "6",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "heart",
208
+ "rotation": 90
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C070\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=180, flipVertical=true\n- step 2: patternId=N, rotation=180, flipVertical=true\n- step 3: patternId=heart, rotation=270, flipVertical=true\n- allowed patternId values for this task: 6, N, heart, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C071.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C071",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "H",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "circle",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C071_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 71,
29
+ "name": "Reconstruct 071",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-071.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "circle",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "H",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "arrow_left",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "Z",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "4",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "9",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "circle",
77
+ "H",
78
+ "arrow_left",
79
+ "Z",
80
+ "4",
81
+ "9"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 3,
86
+ "grid_height": 5,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "circle",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "9",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "H",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "Z",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "4",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "arrow_left",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "9",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "H",
122
+ "rotation": 0,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "circle",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 3
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "circle",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "circle",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "H",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C071\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=0, flipVertical=true\n- step 2: patternId=circle, rotation=90, flipVertical=true\n- allowed patternId values for this task: H, circle, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C072.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C072",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "arrow_left",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "D",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "6",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C072_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 72,
36
+ "name": "Reconstruct 072",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-072.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "6",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "D",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "arrow_left",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "R",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "plus",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "J",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "6",
84
+ "D",
85
+ "arrow_left",
86
+ "R",
87
+ "plus",
88
+ "J"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "6",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "J",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "D",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "R",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "plus",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "arrow_left",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "J",
123
+ "rotation": 90,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "arrow_left",
129
+ "rotation": 0,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "D",
135
+ "rotation": 0,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "6",
141
+ "rotation": 180,
142
+ "x": 3,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "FRONT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "FRONT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "6",
161
+ "rotation": 90
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "D",
169
+ "rotation": 270
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "arrow_left",
181
+ "rotation": 180
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "6",
188
+ "rotation": 90
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "D",
196
+ "rotation": 270
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "arrow_left",
208
+ "rotation": 180
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C072\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_left, rotation=0, flipVertical=true\n- step 2: patternId=D, rotation=0, flipVertical=true\n- step 3: patternId=6, rotation=180, flipVertical=true\n- allowed patternId values for this task: arrow_left, D, 6, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C073.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C073",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "X",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "5",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C073_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 73,
29
+ "name": "Reconstruct 073",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-073.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "M",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "X",
46
+ "rotation": 90,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "smile",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "W",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "5",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "L",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "M",
77
+ "X",
78
+ "smile",
79
+ "W",
80
+ "5",
81
+ "L"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "M",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "L",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "X",
98
+ "rotation": 90
99
+ },
100
+ "BACK": {
101
+ "patternId": "W",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "5",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "smile",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "L",
116
+ "rotation": 180,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "X",
122
+ "rotation": 90,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "5",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "X",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "5",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "X",
181
+ "rotation": 90
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "5",
189
+ "rotation": 90
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C073\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=X, rotation=90, flipVertical=true\n- step 2: patternId=5, rotation=0, flipVertical=true\n- allowed patternId values for this task: X, 5, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C074.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C074",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "S",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "C",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C074_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 74,
29
+ "name": "Reconstruct 074",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-074.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "R",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "O",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "O",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "C",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "S",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "arrow_left",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "R",
77
+ "O",
78
+ "O",
79
+ "C",
80
+ "S",
81
+ "arrow_left"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "R",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "arrow_left",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "O",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "C",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "S",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "O",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "arrow_left",
116
+ "rotation": 90,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "S",
122
+ "rotation": 90,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "C",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "C",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "S",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "C",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "S",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C074\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=S, rotation=90, flipVertical=true\n- step 2: patternId=C, rotation=90, flipVertical=true\n- allowed patternId values for this task: S, C, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C075.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C075",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "6",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "F",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "6",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C075_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 75,
36
+ "name": "Reconstruct 075",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-075.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "6",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "F",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "6",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "3",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "arrow_down",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "C",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "6",
84
+ "F",
85
+ "6",
86
+ "3",
87
+ "arrow_down",
88
+ "C"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "6",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "C",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "F",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "3",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "arrow_down",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "6",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "C",
123
+ "rotation": 180,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "6",
129
+ "rotation": 0,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "F",
135
+ "rotation": 270,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "6",
141
+ "rotation": 90,
142
+ "x": 3,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "FRONT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "FRONT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "6",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "F",
169
+ "rotation": 180
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "6",
181
+ "rotation": 180
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "6",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "F",
196
+ "rotation": 180
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "6",
208
+ "rotation": 180
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C075\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=0, flipVertical=true\n- step 2: patternId=F, rotation=270, flipVertical=true\n- step 3: patternId=6, rotation=90, flipVertical=true\n- allowed patternId values for this task: 6, F, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C076.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C076",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "star",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "F",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C076_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 76,
29
+ "name": "Reconstruct 076",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-076.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "X",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "square",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "star",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "F",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "6",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "K",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "X",
77
+ "square",
78
+ "star",
79
+ "F",
80
+ "6",
81
+ "K"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "X",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "K",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "square",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "F",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "6",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "star",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "K",
116
+ "rotation": 180,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "star",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "F",
128
+ "rotation": 180,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "F",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "star",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "F",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "star",
193
+ "rotation": 180
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C076\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=0, flipVertical=true\n- step 2: patternId=F, rotation=180, flipVertical=true\n- allowed patternId values for this task: star, F, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C077.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C077",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "J",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "7",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "M",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C077_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 77,
36
+ "name": "Reconstruct 077",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-077.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "7",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "J",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "Y",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "M",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "heart",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "E",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "7",
84
+ "J",
85
+ "Y",
86
+ "M",
87
+ "heart",
88
+ "E"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 3,
93
+ "grid_height": 6,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "7",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "E",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "J",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "M",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "heart",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "Y",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "E",
123
+ "rotation": 90,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "J",
129
+ "rotation": 270,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "7",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 3
138
+ },
139
+ {
140
+ "patternId": "M",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 4
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "TOP",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "TOP",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "7",
161
+ "rotation": 180
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "J",
169
+ "rotation": 270
170
+ },
171
+ "BACK": {
172
+ "patternId": "M",
173
+ "rotation": 90
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "7",
188
+ "rotation": 180
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "J",
196
+ "rotation": 270
197
+ },
198
+ "BACK": {
199
+ "patternId": "M",
200
+ "rotation": 90
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C077\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=J, rotation=270, flipVertical=true\n- step 2: patternId=7, rotation=180, flipVertical=true\n- step 3: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: J, 7, M, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C078.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C078",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "E",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "M",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C078_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 78,
29
+ "name": "Reconstruct 078",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-078.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "M",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "Q",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "A",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "6",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "E",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "arrow_left",
70
+ "rotation": 0,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "M",
77
+ "Q",
78
+ "A",
79
+ "6",
80
+ "E",
81
+ "arrow_left"
82
+ ],
83
+ "start_x": 3,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "M",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "arrow_left",
94
+ "rotation": 0
95
+ },
96
+ "FRONT": {
97
+ "patternId": "Q",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "6",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "E",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "A",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "arrow_left",
116
+ "rotation": 0,
117
+ "x": 3,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "E",
122
+ "rotation": 90,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "M",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "M",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "E",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "M",
173
+ "rotation": 270
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "E",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C078\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=E, rotation=90, flipVertical=true\n- step 2: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: E, M, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C079.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C079",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "star",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "Q",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C079_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 79,
29
+ "name": "Reconstruct 079",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-079.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "Q",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "triangle",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "star",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "arrow_left",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "S",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "N",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "Q",
77
+ "triangle",
78
+ "star",
79
+ "arrow_left",
80
+ "S",
81
+ "N"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "Q",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "N",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "triangle",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "arrow_left",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "S",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "star",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "N",
116
+ "rotation": 90,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "star",
122
+ "rotation": 180,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "Q",
128
+ "rotation": 90,
129
+ "x": 3,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "Q",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "star",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "Q",
173
+ "rotation": 270
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "star",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C079\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=180, flipVertical=true\n- step 2: patternId=Q, rotation=90, flipVertical=true\n- allowed patternId values for this task: star, Q, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C080.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C080",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "6",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "plus",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C080_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 80,
29
+ "name": "Reconstruct 080",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-080.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "arrow_left",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "plus",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "6",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "circle",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "square",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "7",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "arrow_left",
77
+ "plus",
78
+ "6",
79
+ "circle",
80
+ "square",
81
+ "7"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "arrow_left",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "7",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "plus",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "circle",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "square",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "6",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "7",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "6",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "plus",
128
+ "rotation": 0,
129
+ "x": 2,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "FRONT"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "FRONT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "plus",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "6",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "plus",
181
+ "rotation": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "6",
193
+ "rotation": 180
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C080\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=0, flipVertical=true\n- step 2: patternId=plus, rotation=0, flipVertical=true\n- allowed patternId values for this task: 6, plus, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C081.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C081",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "C",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "plus",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "C",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C081_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 81,
36
+ "name": "Reconstruct 081",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-081.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "G",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "E",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "P",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "plus",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "C",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "1",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "G",
84
+ "E",
85
+ "P",
86
+ "plus",
87
+ "C",
88
+ "1"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "G",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "1",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "E",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "plus",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "C",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "P",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "1",
123
+ "rotation": 90,
124
+ "x": 2,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "C",
129
+ "rotation": 90,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "plus",
135
+ "rotation": 0,
136
+ "x": 1,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "C",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "BACK",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "BACK"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "?",
160
+ "rotation": 0
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "?",
168
+ "rotation": 0
169
+ },
170
+ "BACK": {
171
+ "patternId": "plus",
172
+ "rotation": 270
173
+ },
174
+ "LEFT": {
175
+ "patternId": "C",
176
+ "rotation": 270
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "BACK": {
198
+ "patternId": "plus",
199
+ "rotation": 270
200
+ },
201
+ "LEFT": {
202
+ "patternId": "C",
203
+ "rotation": 270
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C081\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=C, rotation=90, flipVertical=true\n- step 2: patternId=plus, rotation=0, flipVertical=true\n- step 3: patternId=C, rotation=90, flipVertical=true\n- allowed patternId values for this task: C, plus, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }