simver commited on
Commit
c8d26f0
·
verified ·
1 Parent(s): 6e94f1c

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/C285.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C285",
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 -> W -> E -> S -> 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
+ "S",
8
+ "W",
9
+ "E",
10
+ "S",
11
+ "W",
12
+ "N"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "O",
17
+ "rotation": 180,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "6",
23
+ "rotation": 0,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "diamond",
29
+ "rotation": 180,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "6",
35
+ "rotation": 0,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "S",
41
+ "rotation": 90,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "diamond",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "6",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C285_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 285,
64
+ "name": "Reconstruct 285",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-285.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "diamond",
75
+ "rotation": 270,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "6",
81
+ "rotation": 90,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "S",
87
+ "rotation": 90,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "C",
93
+ "rotation": 180,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "O",
99
+ "rotation": 0,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "arrow_right",
105
+ "rotation": 270,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "diamond",
112
+ "6",
113
+ "S",
114
+ "C",
115
+ "O",
116
+ "arrow_right"
117
+ ],
118
+ "start_x": 3,
119
+ "start_y": 1,
120
+ "grid_width": 5,
121
+ "grid_height": 5,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "diamond",
125
+ "rotation": 270
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "arrow_right",
129
+ "rotation": 270
130
+ },
131
+ "FRONT": {
132
+ "patternId": "6",
133
+ "rotation": 90
134
+ },
135
+ "BACK": {
136
+ "patternId": "C",
137
+ "rotation": 0
138
+ },
139
+ "LEFT": {
140
+ "patternId": "O",
141
+ "rotation": 270
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "S",
145
+ "rotation": 180
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "arrow_right",
151
+ "rotation": 270,
152
+ "x": 3,
153
+ "y": 1
154
+ },
155
+ {
156
+ "patternId": "O",
157
+ "rotation": 180,
158
+ "x": 2,
159
+ "y": 1
160
+ },
161
+ {
162
+ "patternId": "6",
163
+ "rotation": 0,
164
+ "x": 2,
165
+ "y": 2
166
+ },
167
+ {
168
+ "patternId": "diamond",
169
+ "rotation": 180,
170
+ "x": 1,
171
+ "y": 2
172
+ },
173
+ {
174
+ "patternId": "6",
175
+ "rotation": 0,
176
+ "x": 2,
177
+ "y": 2
178
+ },
179
+ {
180
+ "patternId": "S",
181
+ "rotation": 90,
182
+ "x": 2,
183
+ "y": 3
184
+ },
185
+ {
186
+ "patternId": "diamond",
187
+ "rotation": 270,
188
+ "x": 1,
189
+ "y": 3
190
+ },
191
+ {
192
+ "patternId": "6",
193
+ "rotation": 90,
194
+ "x": 1,
195
+ "y": 2
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "LEFT",
200
+ "FRONT",
201
+ "TOP",
202
+ "FRONT",
203
+ "RIGHT",
204
+ "TOP",
205
+ "FRONT"
206
+ ],
207
+ "required_slots": [
208
+ "LEFT",
209
+ "FRONT",
210
+ "TOP",
211
+ "RIGHT"
212
+ ],
213
+ "required_count": 4,
214
+ "answer": {
215
+ "faces": {
216
+ "TOP": {
217
+ "patternId": "diamond",
218
+ "rotation": 270
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ },
224
+ "FRONT": {
225
+ "patternId": "6",
226
+ "rotation": 90
227
+ },
228
+ "BACK": {
229
+ "patternId": "?",
230
+ "rotation": 0
231
+ },
232
+ "LEFT": {
233
+ "patternId": "O",
234
+ "rotation": 0
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "S",
238
+ "rotation": 90
239
+ }
240
+ }
241
+ },
242
+ "legacy_answer": {
243
+ "TOP": {
244
+ "patternId": "diamond",
245
+ "rotation": 270
246
+ },
247
+ "BOTTOM": {
248
+ "patternId": "?",
249
+ "rotation": 0
250
+ },
251
+ "FRONT": {
252
+ "patternId": "6",
253
+ "rotation": 90
254
+ },
255
+ "BACK": {
256
+ "patternId": "?",
257
+ "rotation": 0
258
+ },
259
+ "LEFT": {
260
+ "patternId": "O",
261
+ "rotation": 0
262
+ },
263
+ "RIGHT": {
264
+ "patternId": "S",
265
+ "rotation": 90
266
+ }
267
+ },
268
+ "prompt": {
269
+ "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.",
270
+ "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: C285\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W -> E -> S -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=O, rotation=180, flipVertical=true\n- step 2: patternId=6, rotation=0, flipVertical=true\n- step 3: patternId=diamond, rotation=180, flipVertical=true\n- step 4: patternId=6, rotation=0, flipVertical=true\n- step 5: patternId=S, rotation=90, flipVertical=true\n- step 6: patternId=diamond, rotation=270, flipVertical=true\n- step 7: patternId=6, rotation=90, flipVertical=true\n- allowed patternId values for this task: O, 6, diamond, 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."
271
+ }
272
+ }
cube1/data/C286.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C286",
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 -> W -> N -> 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
+ "W",
7
+ "S",
8
+ "W",
9
+ "N",
10
+ "E",
11
+ "E"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "3",
16
+ "rotation": 180,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "smile",
22
+ "rotation": 180,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "circle",
28
+ "rotation": 0,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "3",
34
+ "rotation": 270,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "smile",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "O",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C286_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 286,
57
+ "name": "Reconstruct 286",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-286.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "circle",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "smile",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "O",
80
+ "rotation": 180,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "R",
86
+ "rotation": 90,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "3",
92
+ "rotation": 0,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "T",
98
+ "rotation": 90,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "circle",
105
+ "smile",
106
+ "O",
107
+ "R",
108
+ "3",
109
+ "T"
110
+ ],
111
+ "start_x": 3,
112
+ "start_y": 1,
113
+ "grid_width": 5,
114
+ "grid_height": 4,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "circle",
118
+ "rotation": 90
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "T",
122
+ "rotation": 90
123
+ },
124
+ "FRONT": {
125
+ "patternId": "smile",
126
+ "rotation": 270
127
+ },
128
+ "BACK": {
129
+ "patternId": "R",
130
+ "rotation": 270
131
+ },
132
+ "LEFT": {
133
+ "patternId": "3",
134
+ "rotation": 270
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "O",
138
+ "rotation": 270
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "T",
144
+ "rotation": 90,
145
+ "x": 3,
146
+ "y": 1
147
+ },
148
+ {
149
+ "patternId": "3",
150
+ "rotation": 180,
151
+ "x": 2,
152
+ "y": 1
153
+ },
154
+ {
155
+ "patternId": "smile",
156
+ "rotation": 180,
157
+ "x": 2,
158
+ "y": 2
159
+ },
160
+ {
161
+ "patternId": "circle",
162
+ "rotation": 0,
163
+ "x": 1,
164
+ "y": 2
165
+ },
166
+ {
167
+ "patternId": "3",
168
+ "rotation": 270,
169
+ "x": 1,
170
+ "y": 1
171
+ },
172
+ {
173
+ "patternId": "smile",
174
+ "rotation": 270,
175
+ "x": 2,
176
+ "y": 1
177
+ },
178
+ {
179
+ "patternId": "O",
180
+ "rotation": 270,
181
+ "x": 3,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "LEFT",
187
+ "FRONT",
188
+ "TOP",
189
+ "LEFT",
190
+ "FRONT",
191
+ "RIGHT"
192
+ ],
193
+ "required_slots": [
194
+ "LEFT",
195
+ "FRONT",
196
+ "TOP",
197
+ "RIGHT"
198
+ ],
199
+ "required_count": 4,
200
+ "answer": {
201
+ "faces": {
202
+ "TOP": {
203
+ "patternId": "circle",
204
+ "rotation": 90
205
+ },
206
+ "BOTTOM": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ },
210
+ "FRONT": {
211
+ "patternId": "smile",
212
+ "rotation": 270
213
+ },
214
+ "BACK": {
215
+ "patternId": "?",
216
+ "rotation": 0
217
+ },
218
+ "LEFT": {
219
+ "patternId": "3",
220
+ "rotation": 0
221
+ },
222
+ "RIGHT": {
223
+ "patternId": "O",
224
+ "rotation": 180
225
+ }
226
+ }
227
+ },
228
+ "legacy_answer": {
229
+ "TOP": {
230
+ "patternId": "circle",
231
+ "rotation": 90
232
+ },
233
+ "BOTTOM": {
234
+ "patternId": "?",
235
+ "rotation": 0
236
+ },
237
+ "FRONT": {
238
+ "patternId": "smile",
239
+ "rotation": 270
240
+ },
241
+ "BACK": {
242
+ "patternId": "?",
243
+ "rotation": 0
244
+ },
245
+ "LEFT": {
246
+ "patternId": "3",
247
+ "rotation": 0
248
+ },
249
+ "RIGHT": {
250
+ "patternId": "O",
251
+ "rotation": 180
252
+ }
253
+ },
254
+ "prompt": {
255
+ "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.",
256
+ "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: C286\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W -> N -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=3, rotation=180, flipVertical=true\n- step 2: patternId=smile, rotation=180, flipVertical=true\n- step 3: patternId=circle, rotation=0, flipVertical=true\n- step 4: patternId=3, rotation=270, flipVertical=true\n- step 5: patternId=smile, rotation=270, flipVertical=true\n- step 6: patternId=O, rotation=270, flipVertical=true\n- allowed patternId values for this task: 3, smile, circle, 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."
257
+ }
258
+ }
cube1/data/C287.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C287",
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 -> W -> E -> 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
+ "W",
7
+ "N",
8
+ "W",
9
+ "E",
10
+ "N",
11
+ "W"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "I",
16
+ "rotation": 90,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "arrow_left",
22
+ "rotation": 180,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "K",
28
+ "rotation": 0,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "arrow_left",
34
+ "rotation": 180,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "D",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "K",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C287_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 287,
57
+ "name": "Reconstruct 287",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-287.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "K",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "circle",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "D",
80
+ "rotation": 270,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "arrow_left",
86
+ "rotation": 90,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "I",
92
+ "rotation": 270,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "J",
98
+ "rotation": 180,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "K",
105
+ "circle",
106
+ "D",
107
+ "arrow_left",
108
+ "I",
109
+ "J"
110
+ ],
111
+ "start_x": 3,
112
+ "start_y": 3,
113
+ "grid_width": 5,
114
+ "grid_height": 5,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "K",
118
+ "rotation": 270
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "J",
122
+ "rotation": 180
123
+ },
124
+ "FRONT": {
125
+ "patternId": "circle",
126
+ "rotation": 270
127
+ },
128
+ "BACK": {
129
+ "patternId": "arrow_left",
130
+ "rotation": 270
131
+ },
132
+ "LEFT": {
133
+ "patternId": "I",
134
+ "rotation": 180
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "D",
138
+ "rotation": 0
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "J",
144
+ "rotation": 180,
145
+ "x": 3,
146
+ "y": 3
147
+ },
148
+ {
149
+ "patternId": "I",
150
+ "rotation": 90,
151
+ "x": 2,
152
+ "y": 3
153
+ },
154
+ {
155
+ "patternId": "arrow_left",
156
+ "rotation": 180,
157
+ "x": 2,
158
+ "y": 2
159
+ },
160
+ {
161
+ "patternId": "K",
162
+ "rotation": 0,
163
+ "x": 1,
164
+ "y": 2
165
+ },
166
+ {
167
+ "patternId": "arrow_left",
168
+ "rotation": 180,
169
+ "x": 2,
170
+ "y": 2
171
+ },
172
+ {
173
+ "patternId": "D",
174
+ "rotation": 270,
175
+ "x": 2,
176
+ "y": 1
177
+ },
178
+ {
179
+ "patternId": "K",
180
+ "rotation": 270,
181
+ "x": 1,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "LEFT",
187
+ "BACK",
188
+ "TOP",
189
+ "BACK",
190
+ "RIGHT",
191
+ "TOP"
192
+ ],
193
+ "required_slots": [
194
+ "LEFT",
195
+ "BACK",
196
+ "TOP",
197
+ "RIGHT"
198
+ ],
199
+ "required_count": 4,
200
+ "answer": {
201
+ "faces": {
202
+ "TOP": {
203
+ "patternId": "K",
204
+ "rotation": 270
205
+ },
206
+ "BOTTOM": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ },
210
+ "FRONT": {
211
+ "patternId": "?",
212
+ "rotation": 0
213
+ },
214
+ "BACK": {
215
+ "patternId": "arrow_left",
216
+ "rotation": 90
217
+ },
218
+ "LEFT": {
219
+ "patternId": "I",
220
+ "rotation": 270
221
+ },
222
+ "RIGHT": {
223
+ "patternId": "D",
224
+ "rotation": 270
225
+ }
226
+ }
227
+ },
228
+ "legacy_answer": {
229
+ "TOP": {
230
+ "patternId": "K",
231
+ "rotation": 270
232
+ },
233
+ "BOTTOM": {
234
+ "patternId": "?",
235
+ "rotation": 0
236
+ },
237
+ "FRONT": {
238
+ "patternId": "?",
239
+ "rotation": 0
240
+ },
241
+ "BACK": {
242
+ "patternId": "arrow_left",
243
+ "rotation": 90
244
+ },
245
+ "LEFT": {
246
+ "patternId": "I",
247
+ "rotation": 270
248
+ },
249
+ "RIGHT": {
250
+ "patternId": "D",
251
+ "rotation": 270
252
+ }
253
+ },
254
+ "prompt": {
255
+ "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.",
256
+ "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: C287\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> W -> E -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=90, flipVertical=true\n- step 2: patternId=arrow_left, rotation=180, flipVertical=true\n- step 3: patternId=K, rotation=0, flipVertical=true\n- step 4: patternId=arrow_left, rotation=180, flipVertical=true\n- step 5: patternId=D, rotation=270, flipVertical=true\n- step 6: patternId=K, rotation=270, flipVertical=true\n- allowed patternId values for this task: I, arrow_left, K, D, ?\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."
257
+ }
258
+ }
cube1/data/C288.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C288",
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 -> E -> 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
+ "W",
7
+ "S",
8
+ "E",
9
+ "E",
10
+ "N",
11
+ "N"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "R",
16
+ "rotation": 180,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "plus",
22
+ "rotation": 90,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "9",
28
+ "rotation": 0,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "9",
34
+ "rotation": 270,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "R",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "plus",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C288_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 288,
57
+ "name": "Reconstruct 288",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-288.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "T",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "plus",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "4",
80
+ "rotation": 180,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "9",
86
+ "rotation": 0,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "R",
92
+ "rotation": 0,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "9",
98
+ "rotation": 90,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "T",
105
+ "plus",
106
+ "4",
107
+ "9",
108
+ "R",
109
+ "9"
110
+ ],
111
+ "start_x": 2,
112
+ "start_y": 2,
113
+ "grid_width": 5,
114
+ "grid_height": 5,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "T",
118
+ "rotation": 0
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "9",
122
+ "rotation": 90
123
+ },
124
+ "FRONT": {
125
+ "patternId": "plus",
126
+ "rotation": 180
127
+ },
128
+ "BACK": {
129
+ "patternId": "9",
130
+ "rotation": 180
131
+ },
132
+ "LEFT": {
133
+ "patternId": "R",
134
+ "rotation": 270
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "4",
138
+ "rotation": 270
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "9",
144
+ "rotation": 90,
145
+ "x": 2,
146
+ "y": 2
147
+ },
148
+ {
149
+ "patternId": "R",
150
+ "rotation": 180,
151
+ "x": 1,
152
+ "y": 2
153
+ },
154
+ {
155
+ "patternId": "plus",
156
+ "rotation": 90,
157
+ "x": 1,
158
+ "y": 3
159
+ },
160
+ {
161
+ "patternId": "9",
162
+ "rotation": 0,
163
+ "x": 2,
164
+ "y": 3
165
+ },
166
+ {
167
+ "patternId": "9",
168
+ "rotation": 270,
169
+ "x": 3,
170
+ "y": 3
171
+ },
172
+ {
173
+ "patternId": "R",
174
+ "rotation": 0,
175
+ "x": 3,
176
+ "y": 2
177
+ },
178
+ {
179
+ "patternId": "plus",
180
+ "rotation": 270,
181
+ "x": 3,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "LEFT",
187
+ "FRONT",
188
+ "BOTTOM",
189
+ "BACK",
190
+ "LEFT",
191
+ "FRONT"
192
+ ],
193
+ "required_slots": [
194
+ "LEFT",
195
+ "FRONT",
196
+ "BOTTOM",
197
+ "BACK"
198
+ ],
199
+ "required_count": 4,
200
+ "answer": {
201
+ "faces": {
202
+ "TOP": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "BOTTOM": {
207
+ "patternId": "9",
208
+ "rotation": 90
209
+ },
210
+ "FRONT": {
211
+ "patternId": "plus",
212
+ "rotation": 180
213
+ },
214
+ "BACK": {
215
+ "patternId": "9",
216
+ "rotation": 0
217
+ },
218
+ "LEFT": {
219
+ "patternId": "R",
220
+ "rotation": 0
221
+ },
222
+ "RIGHT": {
223
+ "patternId": "?",
224
+ "rotation": 0
225
+ }
226
+ }
227
+ },
228
+ "legacy_answer": {
229
+ "TOP": {
230
+ "patternId": "?",
231
+ "rotation": 0
232
+ },
233
+ "BOTTOM": {
234
+ "patternId": "9",
235
+ "rotation": 90
236
+ },
237
+ "FRONT": {
238
+ "patternId": "plus",
239
+ "rotation": 180
240
+ },
241
+ "BACK": {
242
+ "patternId": "9",
243
+ "rotation": 0
244
+ },
245
+ "LEFT": {
246
+ "patternId": "R",
247
+ "rotation": 0
248
+ },
249
+ "RIGHT": {
250
+ "patternId": "?",
251
+ "rotation": 0
252
+ }
253
+ },
254
+ "prompt": {
255
+ "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.",
256
+ "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: C288\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> E -> E -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=R, rotation=180, flipVertical=true\n- step 2: patternId=plus, rotation=90, flipVertical=true\n- step 3: patternId=9, rotation=0, flipVertical=true\n- step 4: patternId=9, rotation=270, flipVertical=true\n- step 5: patternId=R, rotation=0, flipVertical=true\n- step 6: patternId=plus, rotation=270, flipVertical=true\n- allowed patternId values for this task: R, plus, 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."
257
+ }
258
+ }
cube1/data/C289.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C289",
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 -> 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
+ "N",
7
+ "W",
8
+ "N",
9
+ "E",
10
+ "E",
11
+ "W"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "M",
16
+ "rotation": 0,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "Q",
22
+ "rotation": 270,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "E",
28
+ "rotation": 90,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "M",
34
+ "rotation": 90,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "arrow_up",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "M",
46
+ "rotation": 90,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C289_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 289,
57
+ "name": "Reconstruct 289",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-289.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "E",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "B",
74
+ "rotation": 0,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "arrow_right",
80
+ "rotation": 90,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "M",
86
+ "rotation": 0,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "Q",
92
+ "rotation": 180,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "arrow_up",
98
+ "rotation": 0,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "E",
105
+ "B",
106
+ "arrow_right",
107
+ "M",
108
+ "Q",
109
+ "arrow_up"
110
+ ],
111
+ "start_x": 2,
112
+ "start_y": 3,
113
+ "grid_width": 5,
114
+ "grid_height": 5,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "E",
118
+ "rotation": 0
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "arrow_up",
122
+ "rotation": 0
123
+ },
124
+ "FRONT": {
125
+ "patternId": "B",
126
+ "rotation": 0
127
+ },
128
+ "BACK": {
129
+ "patternId": "M",
130
+ "rotation": 180
131
+ },
132
+ "LEFT": {
133
+ "patternId": "Q",
134
+ "rotation": 90
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "arrow_right",
138
+ "rotation": 180
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "arrow_up",
144
+ "rotation": 0,
145
+ "x": 2,
146
+ "y": 3
147
+ },
148
+ {
149
+ "patternId": "M",
150
+ "rotation": 0,
151
+ "x": 2,
152
+ "y": 2
153
+ },
154
+ {
155
+ "patternId": "Q",
156
+ "rotation": 270,
157
+ "x": 1,
158
+ "y": 2
159
+ },
160
+ {
161
+ "patternId": "E",
162
+ "rotation": 90,
163
+ "x": 1,
164
+ "y": 1
165
+ },
166
+ {
167
+ "patternId": "M",
168
+ "rotation": 90,
169
+ "x": 2,
170
+ "y": 1
171
+ },
172
+ {
173
+ "patternId": "arrow_up",
174
+ "rotation": 90,
175
+ "x": 3,
176
+ "y": 1
177
+ },
178
+ {
179
+ "patternId": "M",
180
+ "rotation": 90,
181
+ "x": 2,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "BACK",
187
+ "LEFT",
188
+ "TOP",
189
+ "BACK",
190
+ "BOTTOM",
191
+ "BACK"
192
+ ],
193
+ "required_slots": [
194
+ "BACK",
195
+ "LEFT",
196
+ "TOP",
197
+ "BOTTOM"
198
+ ],
199
+ "required_count": 4,
200
+ "answer": {
201
+ "faces": {
202
+ "TOP": {
203
+ "patternId": "E",
204
+ "rotation": 0
205
+ },
206
+ "BOTTOM": {
207
+ "patternId": "arrow_up",
208
+ "rotation": 0
209
+ },
210
+ "FRONT": {
211
+ "patternId": "?",
212
+ "rotation": 0
213
+ },
214
+ "BACK": {
215
+ "patternId": "M",
216
+ "rotation": 0
217
+ },
218
+ "LEFT": {
219
+ "patternId": "Q",
220
+ "rotation": 180
221
+ },
222
+ "RIGHT": {
223
+ "patternId": "?",
224
+ "rotation": 0
225
+ }
226
+ }
227
+ },
228
+ "legacy_answer": {
229
+ "TOP": {
230
+ "patternId": "E",
231
+ "rotation": 0
232
+ },
233
+ "BOTTOM": {
234
+ "patternId": "arrow_up",
235
+ "rotation": 0
236
+ },
237
+ "FRONT": {
238
+ "patternId": "?",
239
+ "rotation": 0
240
+ },
241
+ "BACK": {
242
+ "patternId": "M",
243
+ "rotation": 0
244
+ },
245
+ "LEFT": {
246
+ "patternId": "Q",
247
+ "rotation": 180
248
+ },
249
+ "RIGHT": {
250
+ "patternId": "?",
251
+ "rotation": 0
252
+ }
253
+ },
254
+ "prompt": {
255
+ "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.",
256
+ "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: C289\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> N -> E -> E -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=M, rotation=0, flipVertical=true\n- step 2: patternId=Q, rotation=270, flipVertical=true\n- step 3: patternId=E, rotation=90, flipVertical=true\n- step 4: patternId=M, rotation=90, flipVertical=true\n- step 5: patternId=arrow_up, rotation=90, flipVertical=true\n- step 6: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: M, Q, E, 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."
257
+ }
258
+ }
cube1/data/C290.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C290",
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 -> 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
+ "E",
9
+ "S",
10
+ "S",
11
+ "S"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "J",
16
+ "rotation": 90,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "arrow_up",
22
+ "rotation": 0,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "K",
28
+ "rotation": 0,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "P",
34
+ "rotation": 180,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "J",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "J",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C290_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 290,
57
+ "name": "Reconstruct 290",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-290.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "arrow_up",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "J",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "K",
80
+ "rotation": 0,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "P",
86
+ "rotation": 90,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "J",
92
+ "rotation": 270,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "arrow_left",
98
+ "rotation": 180,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "arrow_up",
105
+ "J",
106
+ "K",
107
+ "P",
108
+ "J",
109
+ "arrow_left"
110
+ ],
111
+ "start_x": 1,
112
+ "start_y": 1,
113
+ "grid_width": 4,
114
+ "grid_height": 8,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "arrow_up",
118
+ "rotation": 0
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "arrow_left",
122
+ "rotation": 180
123
+ },
124
+ "FRONT": {
125
+ "patternId": "J",
126
+ "rotation": 90
127
+ },
128
+ "BACK": {
129
+ "patternId": "P",
130
+ "rotation": 270
131
+ },
132
+ "LEFT": {
133
+ "patternId": "J",
134
+ "rotation": 180
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "K",
138
+ "rotation": 90
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "arrow_left",
144
+ "rotation": 180,
145
+ "x": 1,
146
+ "y": 1
147
+ },
148
+ {
149
+ "patternId": "J",
150
+ "rotation": 90,
151
+ "x": 1,
152
+ "y": 2
153
+ },
154
+ {
155
+ "patternId": "arrow_up",
156
+ "rotation": 0,
157
+ "x": 1,
158
+ "y": 3
159
+ },
160
+ {
161
+ "patternId": "K",
162
+ "rotation": 0,
163
+ "x": 2,
164
+ "y": 3
165
+ },
166
+ {
167
+ "patternId": "P",
168
+ "rotation": 180,
169
+ "x": 2,
170
+ "y": 4
171
+ },
172
+ {
173
+ "patternId": "J",
174
+ "rotation": 90,
175
+ "x": 2,
176
+ "y": 5
177
+ },
178
+ {
179
+ "patternId": "J",
180
+ "rotation": 0,
181
+ "x": 2,
182
+ "y": 6
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "FRONT",
187
+ "TOP",
188
+ "RIGHT",
189
+ "BACK",
190
+ "LEFT",
191
+ "FRONT"
192
+ ],
193
+ "required_slots": [
194
+ "FRONT",
195
+ "TOP",
196
+ "RIGHT",
197
+ "BACK",
198
+ "LEFT"
199
+ ],
200
+ "required_count": 5,
201
+ "answer": {
202
+ "faces": {
203
+ "TOP": {
204
+ "patternId": "arrow_up",
205
+ "rotation": 0
206
+ },
207
+ "BOTTOM": {
208
+ "patternId": "?",
209
+ "rotation": 0
210
+ },
211
+ "FRONT": {
212
+ "patternId": "J",
213
+ "rotation": 90
214
+ },
215
+ "BACK": {
216
+ "patternId": "P",
217
+ "rotation": 90
218
+ },
219
+ "LEFT": {
220
+ "patternId": "J",
221
+ "rotation": 270
222
+ },
223
+ "RIGHT": {
224
+ "patternId": "K",
225
+ "rotation": 0
226
+ }
227
+ }
228
+ },
229
+ "legacy_answer": {
230
+ "TOP": {
231
+ "patternId": "arrow_up",
232
+ "rotation": 0
233
+ },
234
+ "BOTTOM": {
235
+ "patternId": "?",
236
+ "rotation": 0
237
+ },
238
+ "FRONT": {
239
+ "patternId": "J",
240
+ "rotation": 90
241
+ },
242
+ "BACK": {
243
+ "patternId": "P",
244
+ "rotation": 90
245
+ },
246
+ "LEFT": {
247
+ "patternId": "J",
248
+ "rotation": 270
249
+ },
250
+ "RIGHT": {
251
+ "patternId": "K",
252
+ "rotation": 0
253
+ }
254
+ },
255
+ "prompt": {
256
+ "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.",
257
+ "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: C290\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> E -> S -> S -> S\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=arrow_up, rotation=0, flipVertical=true\n- step 3: patternId=K, rotation=0, flipVertical=true\n- step 4: patternId=P, rotation=180, flipVertical=true\n- step 5: patternId=J, rotation=90, flipVertical=true\n- step 6: patternId=J, rotation=0, flipVertical=true\n- allowed patternId values for this task: J, arrow_up, K, 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."
258
+ }
259
+ }
cube1/data/C291.json ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C291",
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 -> S -> 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
+ "S",
9
+ "S",
10
+ "S",
11
+ "W"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "J",
16
+ "rotation": 90,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "C",
22
+ "rotation": 270,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "6",
28
+ "rotation": 0,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "G",
34
+ "rotation": 90,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "star",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "plus",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C291_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 291,
57
+ "name": "Reconstruct 291",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-291.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "6",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "J",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "G",
80
+ "rotation": 180,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "plus",
86
+ "rotation": 90,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "C",
92
+ "rotation": 0,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "star",
98
+ "rotation": 0,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "6",
105
+ "J",
106
+ "G",
107
+ "plus",
108
+ "C",
109
+ "star"
110
+ ],
111
+ "start_x": 3,
112
+ "start_y": 1,
113
+ "grid_width": 5,
114
+ "grid_height": 7,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "6",
118
+ "rotation": 90
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "star",
122
+ "rotation": 0
123
+ },
124
+ "FRONT": {
125
+ "patternId": "J",
126
+ "rotation": 90
127
+ },
128
+ "BACK": {
129
+ "patternId": "plus",
130
+ "rotation": 270
131
+ },
132
+ "LEFT": {
133
+ "patternId": "C",
134
+ "rotation": 270
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "G",
138
+ "rotation": 270
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "star",
144
+ "rotation": 0,
145
+ "x": 3,
146
+ "y": 1
147
+ },
148
+ {
149
+ "patternId": "J",
150
+ "rotation": 90,
151
+ "x": 3,
152
+ "y": 2
153
+ },
154
+ {
155
+ "patternId": "C",
156
+ "rotation": 270,
157
+ "x": 2,
158
+ "y": 2
159
+ },
160
+ {
161
+ "patternId": "6",
162
+ "rotation": 0,
163
+ "x": 2,
164
+ "y": 3
165
+ },
166
+ {
167
+ "patternId": "G",
168
+ "rotation": 90,
169
+ "x": 2,
170
+ "y": 4
171
+ },
172
+ {
173
+ "patternId": "star",
174
+ "rotation": 90,
175
+ "x": 2,
176
+ "y": 5
177
+ },
178
+ {
179
+ "patternId": "plus",
180
+ "rotation": 180,
181
+ "x": 1,
182
+ "y": 5
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "FRONT",
187
+ "LEFT",
188
+ "TOP",
189
+ "RIGHT",
190
+ "BOTTOM",
191
+ "BACK"
192
+ ],
193
+ "required_slots": [
194
+ "FRONT",
195
+ "LEFT",
196
+ "TOP",
197
+ "RIGHT",
198
+ "BOTTOM",
199
+ "BACK"
200
+ ],
201
+ "required_count": 6,
202
+ "answer": {
203
+ "faces": {
204
+ "TOP": {
205
+ "patternId": "6",
206
+ "rotation": 90
207
+ },
208
+ "BOTTOM": {
209
+ "patternId": "star",
210
+ "rotation": 0
211
+ },
212
+ "FRONT": {
213
+ "patternId": "J",
214
+ "rotation": 90
215
+ },
216
+ "BACK": {
217
+ "patternId": "plus",
218
+ "rotation": 90
219
+ },
220
+ "LEFT": {
221
+ "patternId": "C",
222
+ "rotation": 0
223
+ },
224
+ "RIGHT": {
225
+ "patternId": "G",
226
+ "rotation": 180
227
+ }
228
+ }
229
+ },
230
+ "legacy_answer": {
231
+ "TOP": {
232
+ "patternId": "6",
233
+ "rotation": 90
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "star",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "J",
241
+ "rotation": 90
242
+ },
243
+ "BACK": {
244
+ "patternId": "plus",
245
+ "rotation": 90
246
+ },
247
+ "LEFT": {
248
+ "patternId": "C",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "G",
253
+ "rotation": 180
254
+ }
255
+ },
256
+ "prompt": {
257
+ "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.",
258
+ "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: C291\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> S -> S -> 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=C, rotation=270, flipVertical=true\n- step 3: patternId=6, rotation=0, flipVertical=true\n- step 4: patternId=G, rotation=90, flipVertical=true\n- step 5: patternId=star, rotation=90, flipVertical=true\n- step 6: patternId=plus, rotation=180, flipVertical=true\n- allowed patternId values for this task: J, C, 6, G, star, 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."
259
+ }
260
+ }
cube1/data/C292.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C292",
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 -> S -> W -> N -> 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
+ "W",
7
+ "W",
8
+ "S",
9
+ "W",
10
+ "N",
11
+ "N",
12
+ "E"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "7",
17
+ "rotation": 180,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "K",
23
+ "rotation": 0,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "I",
29
+ "rotation": 180,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "S",
35
+ "rotation": 180,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "K",
41
+ "rotation": 90,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "7",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "I",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C292_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 292,
64
+ "name": "Reconstruct 292",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-292.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "K",
75
+ "rotation": 180,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "I",
81
+ "rotation": 0,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "S",
87
+ "rotation": 270,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "H",
93
+ "rotation": 90,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "7",
99
+ "rotation": 0,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "smile",
105
+ "rotation": 0,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "K",
112
+ "I",
113
+ "S",
114
+ "H",
115
+ "7",
116
+ "smile"
117
+ ],
118
+ "start_x": 4,
119
+ "start_y": 2,
120
+ "grid_width": 6,
121
+ "grid_height": 5,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "K",
125
+ "rotation": 180
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "smile",
129
+ "rotation": 0
130
+ },
131
+ "FRONT": {
132
+ "patternId": "I",
133
+ "rotation": 0
134
+ },
135
+ "BACK": {
136
+ "patternId": "H",
137
+ "rotation": 270
138
+ },
139
+ "LEFT": {
140
+ "patternId": "7",
141
+ "rotation": 270
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "S",
145
+ "rotation": 0
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "smile",
151
+ "rotation": 0,
152
+ "x": 4,
153
+ "y": 2
154
+ },
155
+ {
156
+ "patternId": "7",
157
+ "rotation": 180,
158
+ "x": 3,
159
+ "y": 2
160
+ },
161
+ {
162
+ "patternId": "K",
163
+ "rotation": 0,
164
+ "x": 2,
165
+ "y": 2
166
+ },
167
+ {
168
+ "patternId": "I",
169
+ "rotation": 180,
170
+ "x": 2,
171
+ "y": 3
172
+ },
173
+ {
174
+ "patternId": "S",
175
+ "rotation": 180,
176
+ "x": 1,
177
+ "y": 3
178
+ },
179
+ {
180
+ "patternId": "K",
181
+ "rotation": 90,
182
+ "x": 1,
183
+ "y": 2
184
+ },
185
+ {
186
+ "patternId": "7",
187
+ "rotation": 270,
188
+ "x": 1,
189
+ "y": 1
190
+ },
191
+ {
192
+ "patternId": "I",
193
+ "rotation": 0,
194
+ "x": 2,
195
+ "y": 1
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "LEFT",
200
+ "TOP",
201
+ "FRONT",
202
+ "RIGHT",
203
+ "TOP",
204
+ "LEFT",
205
+ "FRONT"
206
+ ],
207
+ "required_slots": [
208
+ "LEFT",
209
+ "TOP",
210
+ "FRONT",
211
+ "RIGHT"
212
+ ],
213
+ "required_count": 4,
214
+ "answer": {
215
+ "faces": {
216
+ "TOP": {
217
+ "patternId": "K",
218
+ "rotation": 180
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ },
224
+ "FRONT": {
225
+ "patternId": "I",
226
+ "rotation": 0
227
+ },
228
+ "BACK": {
229
+ "patternId": "?",
230
+ "rotation": 0
231
+ },
232
+ "LEFT": {
233
+ "patternId": "7",
234
+ "rotation": 0
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "S",
238
+ "rotation": 270
239
+ }
240
+ }
241
+ },
242
+ "legacy_answer": {
243
+ "TOP": {
244
+ "patternId": "K",
245
+ "rotation": 180
246
+ },
247
+ "BOTTOM": {
248
+ "patternId": "?",
249
+ "rotation": 0
250
+ },
251
+ "FRONT": {
252
+ "patternId": "I",
253
+ "rotation": 0
254
+ },
255
+ "BACK": {
256
+ "patternId": "?",
257
+ "rotation": 0
258
+ },
259
+ "LEFT": {
260
+ "patternId": "7",
261
+ "rotation": 0
262
+ },
263
+ "RIGHT": {
264
+ "patternId": "S",
265
+ "rotation": 270
266
+ }
267
+ },
268
+ "prompt": {
269
+ "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.",
270
+ "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: C292\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> S -> W -> N -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=7, rotation=180, flipVertical=true\n- step 2: patternId=K, rotation=0, flipVertical=true\n- step 3: patternId=I, rotation=180, flipVertical=true\n- step 4: patternId=S, rotation=180, flipVertical=true\n- step 5: patternId=K, rotation=90, flipVertical=true\n- step 6: patternId=7, rotation=270, flipVertical=true\n- step 7: patternId=I, rotation=0, flipVertical=true\n- allowed patternId values for this task: 7, K, I, 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."
271
+ }
272
+ }
cube1/data/C293.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C293",
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 -> E -> 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
+ "W",
7
+ "S",
8
+ "E",
9
+ "E",
10
+ "N",
11
+ "E"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "5",
16
+ "rotation": 180,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "K",
22
+ "rotation": 270,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "7",
28
+ "rotation": 180,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "D",
34
+ "rotation": 180,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "5",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "D",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C293_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 293,
57
+ "name": "Reconstruct 293",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-293.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "D",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "K",
74
+ "rotation": 0,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "6",
80
+ "rotation": 0,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "D",
86
+ "rotation": 270,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "5",
92
+ "rotation": 0,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "7",
98
+ "rotation": 270,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "D",
105
+ "K",
106
+ "6",
107
+ "D",
108
+ "5",
109
+ "7"
110
+ ],
111
+ "start_x": 2,
112
+ "start_y": 1,
113
+ "grid_width": 6,
114
+ "grid_height": 4,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "D",
118
+ "rotation": 180
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "7",
122
+ "rotation": 270
123
+ },
124
+ "FRONT": {
125
+ "patternId": "K",
126
+ "rotation": 0
127
+ },
128
+ "BACK": {
129
+ "patternId": "D",
130
+ "rotation": 90
131
+ },
132
+ "LEFT": {
133
+ "patternId": "5",
134
+ "rotation": 270
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "6",
138
+ "rotation": 90
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "7",
144
+ "rotation": 270,
145
+ "x": 2,
146
+ "y": 1
147
+ },
148
+ {
149
+ "patternId": "5",
150
+ "rotation": 180,
151
+ "x": 1,
152
+ "y": 1
153
+ },
154
+ {
155
+ "patternId": "K",
156
+ "rotation": 270,
157
+ "x": 1,
158
+ "y": 2
159
+ },
160
+ {
161
+ "patternId": "7",
162
+ "rotation": 180,
163
+ "x": 2,
164
+ "y": 2
165
+ },
166
+ {
167
+ "patternId": "D",
168
+ "rotation": 180,
169
+ "x": 3,
170
+ "y": 2
171
+ },
172
+ {
173
+ "patternId": "5",
174
+ "rotation": 0,
175
+ "x": 3,
176
+ "y": 1
177
+ },
178
+ {
179
+ "patternId": "D",
180
+ "rotation": 180,
181
+ "x": 4,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "LEFT",
187
+ "FRONT",
188
+ "BOTTOM",
189
+ "BACK",
190
+ "LEFT",
191
+ "TOP"
192
+ ],
193
+ "required_slots": [
194
+ "LEFT",
195
+ "FRONT",
196
+ "BOTTOM",
197
+ "BACK",
198
+ "TOP"
199
+ ],
200
+ "required_count": 5,
201
+ "answer": {
202
+ "faces": {
203
+ "TOP": {
204
+ "patternId": "D",
205
+ "rotation": 180
206
+ },
207
+ "BOTTOM": {
208
+ "patternId": "7",
209
+ "rotation": 270
210
+ },
211
+ "FRONT": {
212
+ "patternId": "K",
213
+ "rotation": 0
214
+ },
215
+ "BACK": {
216
+ "patternId": "D",
217
+ "rotation": 270
218
+ },
219
+ "LEFT": {
220
+ "patternId": "5",
221
+ "rotation": 0
222
+ },
223
+ "RIGHT": {
224
+ "patternId": "?",
225
+ "rotation": 0
226
+ }
227
+ }
228
+ },
229
+ "legacy_answer": {
230
+ "TOP": {
231
+ "patternId": "D",
232
+ "rotation": 180
233
+ },
234
+ "BOTTOM": {
235
+ "patternId": "7",
236
+ "rotation": 270
237
+ },
238
+ "FRONT": {
239
+ "patternId": "K",
240
+ "rotation": 0
241
+ },
242
+ "BACK": {
243
+ "patternId": "D",
244
+ "rotation": 270
245
+ },
246
+ "LEFT": {
247
+ "patternId": "5",
248
+ "rotation": 0
249
+ },
250
+ "RIGHT": {
251
+ "patternId": "?",
252
+ "rotation": 0
253
+ }
254
+ },
255
+ "prompt": {
256
+ "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.",
257
+ "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: C293\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> E -> E -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=5, rotation=180, flipVertical=true\n- step 2: patternId=K, rotation=270, flipVertical=true\n- step 3: patternId=7, rotation=180, flipVertical=true\n- step 4: patternId=D, rotation=180, flipVertical=true\n- step 5: patternId=5, rotation=0, flipVertical=true\n- step 6: patternId=D, rotation=180, flipVertical=true\n- allowed patternId values for this task: 5, K, 7, D, ?\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."
258
+ }
259
+ }
cube1/data/C294.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C294",
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 -> E -> S -> E -> 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
+ "N",
8
+ "E",
9
+ "S",
10
+ "E",
11
+ "S",
12
+ "N"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "3",
17
+ "rotation": 270,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "4",
23
+ "rotation": 0,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "3",
29
+ "rotation": 270,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "3",
35
+ "rotation": 0,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "Q",
41
+ "rotation": 90,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "P",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "Q",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C294_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 294,
64
+ "name": "Reconstruct 294",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-294.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "P",
75
+ "rotation": 270,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "Q",
81
+ "rotation": 90,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "S",
87
+ "rotation": 90,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "4",
93
+ "rotation": 270,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "3",
99
+ "rotation": 90,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "3",
105
+ "rotation": 180,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "P",
112
+ "Q",
113
+ "S",
114
+ "4",
115
+ "3",
116
+ "3"
117
+ ],
118
+ "start_x": 2,
119
+ "start_y": 2,
120
+ "grid_width": 5,
121
+ "grid_height": 5,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "P",
125
+ "rotation": 270
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "3",
129
+ "rotation": 180
130
+ },
131
+ "FRONT": {
132
+ "patternId": "Q",
133
+ "rotation": 90
134
+ },
135
+ "BACK": {
136
+ "patternId": "4",
137
+ "rotation": 90
138
+ },
139
+ "LEFT": {
140
+ "patternId": "3",
141
+ "rotation": 0
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "S",
145
+ "rotation": 180
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "3",
151
+ "rotation": 180,
152
+ "x": 2,
153
+ "y": 2
154
+ },
155
+ {
156
+ "patternId": "3",
157
+ "rotation": 270,
158
+ "x": 1,
159
+ "y": 2
160
+ },
161
+ {
162
+ "patternId": "4",
163
+ "rotation": 0,
164
+ "x": 1,
165
+ "y": 1
166
+ },
167
+ {
168
+ "patternId": "3",
169
+ "rotation": 270,
170
+ "x": 2,
171
+ "y": 1
172
+ },
173
+ {
174
+ "patternId": "3",
175
+ "rotation": 0,
176
+ "x": 2,
177
+ "y": 2
178
+ },
179
+ {
180
+ "patternId": "Q",
181
+ "rotation": 90,
182
+ "x": 3,
183
+ "y": 2
184
+ },
185
+ {
186
+ "patternId": "P",
187
+ "rotation": 270,
188
+ "x": 3,
189
+ "y": 3
190
+ },
191
+ {
192
+ "patternId": "Q",
193
+ "rotation": 90,
194
+ "x": 3,
195
+ "y": 2
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "LEFT",
200
+ "BACK",
201
+ "BOTTOM",
202
+ "LEFT",
203
+ "FRONT",
204
+ "TOP",
205
+ "FRONT"
206
+ ],
207
+ "required_slots": [
208
+ "LEFT",
209
+ "BACK",
210
+ "BOTTOM",
211
+ "FRONT",
212
+ "TOP"
213
+ ],
214
+ "required_count": 5,
215
+ "answer": {
216
+ "faces": {
217
+ "TOP": {
218
+ "patternId": "P",
219
+ "rotation": 270
220
+ },
221
+ "BOTTOM": {
222
+ "patternId": "3",
223
+ "rotation": 180
224
+ },
225
+ "FRONT": {
226
+ "patternId": "Q",
227
+ "rotation": 90
228
+ },
229
+ "BACK": {
230
+ "patternId": "4",
231
+ "rotation": 270
232
+ },
233
+ "LEFT": {
234
+ "patternId": "3",
235
+ "rotation": 90
236
+ },
237
+ "RIGHT": {
238
+ "patternId": "?",
239
+ "rotation": 0
240
+ }
241
+ }
242
+ },
243
+ "legacy_answer": {
244
+ "TOP": {
245
+ "patternId": "P",
246
+ "rotation": 270
247
+ },
248
+ "BOTTOM": {
249
+ "patternId": "3",
250
+ "rotation": 180
251
+ },
252
+ "FRONT": {
253
+ "patternId": "Q",
254
+ "rotation": 90
255
+ },
256
+ "BACK": {
257
+ "patternId": "4",
258
+ "rotation": 270
259
+ },
260
+ "LEFT": {
261
+ "patternId": "3",
262
+ "rotation": 90
263
+ },
264
+ "RIGHT": {
265
+ "patternId": "?",
266
+ "rotation": 0
267
+ }
268
+ },
269
+ "prompt": {
270
+ "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.",
271
+ "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: C294\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> E -> S -> E -> S -> 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=4, rotation=0, flipVertical=true\n- step 3: patternId=3, rotation=270, flipVertical=true\n- step 4: patternId=3, rotation=0, flipVertical=true\n- step 5: patternId=Q, rotation=90, flipVertical=true\n- step 6: patternId=P, rotation=270, flipVertical=true\n- step 7: patternId=Q, rotation=90, flipVertical=true\n- allowed patternId values for this task: 3, 4, 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."
272
+ }
273
+ }
cube1/data/C295.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C295",
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 -> W -> N -> W -> 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
+ "E",
7
+ "W",
8
+ "N",
9
+ "W",
10
+ "S",
11
+ "S",
12
+ "S"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "K",
17
+ "rotation": 90,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "Q",
23
+ "rotation": 270,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "C",
29
+ "rotation": 180,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "O",
35
+ "rotation": 0,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "Q",
41
+ "rotation": 180,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "K",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "2",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C295_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 295,
64
+ "name": "Reconstruct 295",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-295.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "2",
75
+ "rotation": 0,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "U",
81
+ "rotation": 180,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "K",
87
+ "rotation": 270,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "C",
93
+ "rotation": 180,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "O",
99
+ "rotation": 270,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "Q",
105
+ "rotation": 270,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "2",
112
+ "U",
113
+ "K",
114
+ "C",
115
+ "O",
116
+ "Q"
117
+ ],
118
+ "start_x": 2,
119
+ "start_y": 2,
120
+ "grid_width": 5,
121
+ "grid_height": 6,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "2",
125
+ "rotation": 0
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "Q",
129
+ "rotation": 270
130
+ },
131
+ "FRONT": {
132
+ "patternId": "U",
133
+ "rotation": 180
134
+ },
135
+ "BACK": {
136
+ "patternId": "C",
137
+ "rotation": 0
138
+ },
139
+ "LEFT": {
140
+ "patternId": "O",
141
+ "rotation": 180
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "K",
145
+ "rotation": 0
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "Q",
151
+ "rotation": 270,
152
+ "x": 2,
153
+ "y": 2
154
+ },
155
+ {
156
+ "patternId": "K",
157
+ "rotation": 90,
158
+ "x": 3,
159
+ "y": 2
160
+ },
161
+ {
162
+ "patternId": "Q",
163
+ "rotation": 270,
164
+ "x": 2,
165
+ "y": 2
166
+ },
167
+ {
168
+ "patternId": "C",
169
+ "rotation": 180,
170
+ "x": 2,
171
+ "y": 1
172
+ },
173
+ {
174
+ "patternId": "O",
175
+ "rotation": 0,
176
+ "x": 1,
177
+ "y": 1
178
+ },
179
+ {
180
+ "patternId": "Q",
181
+ "rotation": 180,
182
+ "x": 1,
183
+ "y": 2
184
+ },
185
+ {
186
+ "patternId": "K",
187
+ "rotation": 0,
188
+ "x": 1,
189
+ "y": 3
190
+ },
191
+ {
192
+ "patternId": "2",
193
+ "rotation": 90,
194
+ "x": 1,
195
+ "y": 4
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "RIGHT",
200
+ "BOTTOM",
201
+ "BACK",
202
+ "LEFT",
203
+ "BOTTOM",
204
+ "RIGHT",
205
+ "TOP"
206
+ ],
207
+ "required_slots": [
208
+ "RIGHT",
209
+ "BOTTOM",
210
+ "BACK",
211
+ "LEFT",
212
+ "TOP"
213
+ ],
214
+ "required_count": 5,
215
+ "answer": {
216
+ "faces": {
217
+ "TOP": {
218
+ "patternId": "2",
219
+ "rotation": 0
220
+ },
221
+ "BOTTOM": {
222
+ "patternId": "Q",
223
+ "rotation": 270
224
+ },
225
+ "FRONT": {
226
+ "patternId": "?",
227
+ "rotation": 0
228
+ },
229
+ "BACK": {
230
+ "patternId": "C",
231
+ "rotation": 180
232
+ },
233
+ "LEFT": {
234
+ "patternId": "O",
235
+ "rotation": 270
236
+ },
237
+ "RIGHT": {
238
+ "patternId": "K",
239
+ "rotation": 270
240
+ }
241
+ }
242
+ },
243
+ "legacy_answer": {
244
+ "TOP": {
245
+ "patternId": "2",
246
+ "rotation": 0
247
+ },
248
+ "BOTTOM": {
249
+ "patternId": "Q",
250
+ "rotation": 270
251
+ },
252
+ "FRONT": {
253
+ "patternId": "?",
254
+ "rotation": 0
255
+ },
256
+ "BACK": {
257
+ "patternId": "C",
258
+ "rotation": 180
259
+ },
260
+ "LEFT": {
261
+ "patternId": "O",
262
+ "rotation": 270
263
+ },
264
+ "RIGHT": {
265
+ "patternId": "K",
266
+ "rotation": 270
267
+ }
268
+ },
269
+ "prompt": {
270
+ "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.",
271
+ "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: C295\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): E -> W -> N -> W -> S -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=K, rotation=90, flipVertical=true\n- step 2: patternId=Q, rotation=270, flipVertical=true\n- step 3: patternId=C, rotation=180, flipVertical=true\n- step 4: patternId=O, rotation=0, flipVertical=true\n- step 5: patternId=Q, rotation=180, flipVertical=true\n- step 6: patternId=K, rotation=0, flipVertical=true\n- step 7: patternId=2, rotation=90, flipVertical=true\n- allowed patternId values for this task: K, Q, C, O, 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."
272
+ }
273
+ }
cube1/data/C296.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C296",
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 -> W -> 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
+ "S",
7
+ "W",
8
+ "S",
9
+ "W",
10
+ "W",
11
+ "N",
12
+ "S"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "7",
17
+ "rotation": 90,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "3",
23
+ "rotation": 90,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "R",
29
+ "rotation": 0,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "D",
35
+ "rotation": 270,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "M",
41
+ "rotation": 90,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "3",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "M",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C296_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 296,
64
+ "name": "Reconstruct 296",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-296.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "R",
75
+ "rotation": 90,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "7",
81
+ "rotation": 90,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "diamond",
87
+ "rotation": 270,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "D",
93
+ "rotation": 0,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "3",
99
+ "rotation": 180,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "M",
105
+ "rotation": 180,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "R",
112
+ "7",
113
+ "diamond",
114
+ "D",
115
+ "3",
116
+ "M"
117
+ ],
118
+ "start_x": 4,
119
+ "start_y": 1,
120
+ "grid_width": 6,
121
+ "grid_height": 5,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "R",
125
+ "rotation": 90
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "M",
129
+ "rotation": 180
130
+ },
131
+ "FRONT": {
132
+ "patternId": "7",
133
+ "rotation": 90
134
+ },
135
+ "BACK": {
136
+ "patternId": "D",
137
+ "rotation": 180
138
+ },
139
+ "LEFT": {
140
+ "patternId": "3",
141
+ "rotation": 90
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "diamond",
145
+ "rotation": 0
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "M",
151
+ "rotation": 180,
152
+ "x": 4,
153
+ "y": 1
154
+ },
155
+ {
156
+ "patternId": "7",
157
+ "rotation": 90,
158
+ "x": 4,
159
+ "y": 2
160
+ },
161
+ {
162
+ "patternId": "3",
163
+ "rotation": 90,
164
+ "x": 3,
165
+ "y": 2
166
+ },
167
+ {
168
+ "patternId": "R",
169
+ "rotation": 0,
170
+ "x": 3,
171
+ "y": 3
172
+ },
173
+ {
174
+ "patternId": "D",
175
+ "rotation": 270,
176
+ "x": 2,
177
+ "y": 3
178
+ },
179
+ {
180
+ "patternId": "M",
181
+ "rotation": 90,
182
+ "x": 1,
183
+ "y": 3
184
+ },
185
+ {
186
+ "patternId": "3",
187
+ "rotation": 270,
188
+ "x": 1,
189
+ "y": 2
190
+ },
191
+ {
192
+ "patternId": "M",
193
+ "rotation": 90,
194
+ "x": 1,
195
+ "y": 3
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "FRONT",
200
+ "LEFT",
201
+ "TOP",
202
+ "BACK",
203
+ "BOTTOM",
204
+ "LEFT",
205
+ "BOTTOM"
206
+ ],
207
+ "required_slots": [
208
+ "FRONT",
209
+ "LEFT",
210
+ "TOP",
211
+ "BACK",
212
+ "BOTTOM"
213
+ ],
214
+ "required_count": 5,
215
+ "answer": {
216
+ "faces": {
217
+ "TOP": {
218
+ "patternId": "R",
219
+ "rotation": 90
220
+ },
221
+ "BOTTOM": {
222
+ "patternId": "M",
223
+ "rotation": 180
224
+ },
225
+ "FRONT": {
226
+ "patternId": "7",
227
+ "rotation": 90
228
+ },
229
+ "BACK": {
230
+ "patternId": "D",
231
+ "rotation": 0
232
+ },
233
+ "LEFT": {
234
+ "patternId": "3",
235
+ "rotation": 180
236
+ },
237
+ "RIGHT": {
238
+ "patternId": "?",
239
+ "rotation": 0
240
+ }
241
+ }
242
+ },
243
+ "legacy_answer": {
244
+ "TOP": {
245
+ "patternId": "R",
246
+ "rotation": 90
247
+ },
248
+ "BOTTOM": {
249
+ "patternId": "M",
250
+ "rotation": 180
251
+ },
252
+ "FRONT": {
253
+ "patternId": "7",
254
+ "rotation": 90
255
+ },
256
+ "BACK": {
257
+ "patternId": "D",
258
+ "rotation": 0
259
+ },
260
+ "LEFT": {
261
+ "patternId": "3",
262
+ "rotation": 180
263
+ },
264
+ "RIGHT": {
265
+ "patternId": "?",
266
+ "rotation": 0
267
+ }
268
+ },
269
+ "prompt": {
270
+ "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.",
271
+ "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: C296\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> S -> W -> W -> N -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=7, rotation=90, flipVertical=true\n- step 2: patternId=3, rotation=90, flipVertical=true\n- step 3: patternId=R, rotation=0, flipVertical=true\n- step 4: patternId=D, rotation=270, flipVertical=true\n- step 5: patternId=M, rotation=90, flipVertical=true\n- step 6: patternId=3, rotation=270, flipVertical=true\n- step 7: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: 7, 3, R, D, 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."
272
+ }
273
+ }
cube1/data/C297.json ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C297",
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 -> W -> E -> 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
+ "N",
7
+ "W",
8
+ "W",
9
+ "E",
10
+ "E",
11
+ "E"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "6",
16
+ "rotation": 0,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "8",
22
+ "rotation": 0,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "C",
28
+ "rotation": 90,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "8",
34
+ "rotation": 0,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "6",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "M",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C297_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 297,
57
+ "name": "Reconstruct 297",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-297.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "9",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "C",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "M",
80
+ "rotation": 270,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "6",
86
+ "rotation": 0,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "8",
92
+ "rotation": 270,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "9",
98
+ "rotation": 90,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "9",
105
+ "C",
106
+ "M",
107
+ "6",
108
+ "8",
109
+ "9"
110
+ ],
111
+ "start_x": 3,
112
+ "start_y": 2,
113
+ "grid_width": 6,
114
+ "grid_height": 4,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "9",
118
+ "rotation": 180
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "9",
122
+ "rotation": 90
123
+ },
124
+ "FRONT": {
125
+ "patternId": "C",
126
+ "rotation": 270
127
+ },
128
+ "BACK": {
129
+ "patternId": "6",
130
+ "rotation": 180
131
+ },
132
+ "LEFT": {
133
+ "patternId": "8",
134
+ "rotation": 180
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "M",
138
+ "rotation": 0
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "9",
144
+ "rotation": 90,
145
+ "x": 3,
146
+ "y": 2
147
+ },
148
+ {
149
+ "patternId": "6",
150
+ "rotation": 0,
151
+ "x": 3,
152
+ "y": 1
153
+ },
154
+ {
155
+ "patternId": "8",
156
+ "rotation": 0,
157
+ "x": 2,
158
+ "y": 1
159
+ },
160
+ {
161
+ "patternId": "C",
162
+ "rotation": 90,
163
+ "x": 1,
164
+ "y": 1
165
+ },
166
+ {
167
+ "patternId": "8",
168
+ "rotation": 0,
169
+ "x": 2,
170
+ "y": 1
171
+ },
172
+ {
173
+ "patternId": "6",
174
+ "rotation": 0,
175
+ "x": 3,
176
+ "y": 1
177
+ },
178
+ {
179
+ "patternId": "M",
180
+ "rotation": 180,
181
+ "x": 4,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "BACK",
187
+ "LEFT",
188
+ "FRONT",
189
+ "LEFT",
190
+ "BACK",
191
+ "RIGHT"
192
+ ],
193
+ "required_slots": [
194
+ "BACK",
195
+ "LEFT",
196
+ "FRONT",
197
+ "RIGHT"
198
+ ],
199
+ "required_count": 4,
200
+ "answer": {
201
+ "faces": {
202
+ "TOP": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "BOTTOM": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ },
210
+ "FRONT": {
211
+ "patternId": "C",
212
+ "rotation": 270
213
+ },
214
+ "BACK": {
215
+ "patternId": "6",
216
+ "rotation": 0
217
+ },
218
+ "LEFT": {
219
+ "patternId": "8",
220
+ "rotation": 270
221
+ },
222
+ "RIGHT": {
223
+ "patternId": "M",
224
+ "rotation": 270
225
+ }
226
+ }
227
+ },
228
+ "legacy_answer": {
229
+ "TOP": {
230
+ "patternId": "?",
231
+ "rotation": 0
232
+ },
233
+ "BOTTOM": {
234
+ "patternId": "?",
235
+ "rotation": 0
236
+ },
237
+ "FRONT": {
238
+ "patternId": "C",
239
+ "rotation": 270
240
+ },
241
+ "BACK": {
242
+ "patternId": "6",
243
+ "rotation": 0
244
+ },
245
+ "LEFT": {
246
+ "patternId": "8",
247
+ "rotation": 270
248
+ },
249
+ "RIGHT": {
250
+ "patternId": "M",
251
+ "rotation": 270
252
+ }
253
+ },
254
+ "prompt": {
255
+ "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.",
256
+ "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: C297\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> W -> E -> E -> 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=8, rotation=0, flipVertical=true\n- step 3: patternId=C, rotation=90, flipVertical=true\n- step 4: patternId=8, rotation=0, flipVertical=true\n- step 5: patternId=6, rotation=0, flipVertical=true\n- step 6: patternId=M, rotation=180, flipVertical=true\n- allowed patternId values for this task: 6, 8, C, 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."
257
+ }
258
+ }
cube1/data/C298.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C298",
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 -> W -> 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
+ "S",
7
+ "W",
8
+ "W",
9
+ "W",
10
+ "N",
11
+ "W"
12
+ ],
13
+ "observed_path_faces": [
14
+ {
15
+ "patternId": "M",
16
+ "rotation": 180,
17
+ "flipHorizontal": false,
18
+ "flipVertical": true
19
+ },
20
+ {
21
+ "patternId": "M",
22
+ "rotation": 0,
23
+ "flipHorizontal": false,
24
+ "flipVertical": true
25
+ },
26
+ {
27
+ "patternId": "5",
28
+ "rotation": 0,
29
+ "flipHorizontal": false,
30
+ "flipVertical": true
31
+ },
32
+ {
33
+ "patternId": "T",
34
+ "rotation": 0,
35
+ "flipHorizontal": false,
36
+ "flipVertical": true
37
+ },
38
+ {
39
+ "patternId": "I",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": true
43
+ },
44
+ {
45
+ "patternId": "M",
46
+ "rotation": 90,
47
+ "flipHorizontal": false,
48
+ "flipVertical": true
49
+ }
50
+ ],
51
+ "image_paths": {
52
+ "blank_net_image": "images/blank_nets/open.png",
53
+ "path_sequence_image": "images/path_sequences/C298_path_sequence.png"
54
+ },
55
+ "metadata": {
56
+ "level_id": 298,
57
+ "name": "Reconstruct 298",
58
+ "difficulty": 3,
59
+ "move_count": 6,
60
+ "tier": 3,
61
+ "source_level_path": "levels/reconstruct/generated-298.json",
62
+ "tier_label": "Difficulty 3"
63
+ },
64
+ "description": "6-move reconstruct puzzle",
65
+ "net_faces": [
66
+ {
67
+ "patternId": "Q",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": false
71
+ },
72
+ {
73
+ "patternId": "M",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": false
77
+ },
78
+ {
79
+ "patternId": "T",
80
+ "rotation": 270,
81
+ "flipHorizontal": false,
82
+ "flipVertical": false
83
+ },
84
+ {
85
+ "patternId": "5",
86
+ "rotation": 180,
87
+ "flipHorizontal": false,
88
+ "flipVertical": false
89
+ },
90
+ {
91
+ "patternId": "M",
92
+ "rotation": 90,
93
+ "flipHorizontal": false,
94
+ "flipVertical": false
95
+ },
96
+ {
97
+ "patternId": "I",
98
+ "rotation": 270,
99
+ "flipHorizontal": false,
100
+ "flipVertical": false
101
+ }
102
+ ],
103
+ "net_patterns": [
104
+ "Q",
105
+ "M",
106
+ "T",
107
+ "5",
108
+ "M",
109
+ "I"
110
+ ],
111
+ "start_x": 5,
112
+ "start_y": 1,
113
+ "grid_width": 7,
114
+ "grid_height": 4,
115
+ "true_solution_faces": {
116
+ "TOP": {
117
+ "patternId": "Q",
118
+ "rotation": 0
119
+ },
120
+ "BOTTOM": {
121
+ "patternId": "I",
122
+ "rotation": 270
123
+ },
124
+ "FRONT": {
125
+ "patternId": "M",
126
+ "rotation": 180
127
+ },
128
+ "BACK": {
129
+ "patternId": "5",
130
+ "rotation": 0
131
+ },
132
+ "LEFT": {
133
+ "patternId": "M",
134
+ "rotation": 0
135
+ },
136
+ "RIGHT": {
137
+ "patternId": "T",
138
+ "rotation": 0
139
+ }
140
+ },
141
+ "bottom_faces": [
142
+ {
143
+ "patternId": "I",
144
+ "rotation": 270,
145
+ "x": 5,
146
+ "y": 1
147
+ },
148
+ {
149
+ "patternId": "M",
150
+ "rotation": 180,
151
+ "x": 5,
152
+ "y": 2
153
+ },
154
+ {
155
+ "patternId": "M",
156
+ "rotation": 0,
157
+ "x": 4,
158
+ "y": 2
159
+ },
160
+ {
161
+ "patternId": "5",
162
+ "rotation": 0,
163
+ "x": 3,
164
+ "y": 2
165
+ },
166
+ {
167
+ "patternId": "T",
168
+ "rotation": 0,
169
+ "x": 2,
170
+ "y": 2
171
+ },
172
+ {
173
+ "patternId": "I",
174
+ "rotation": 180,
175
+ "x": 2,
176
+ "y": 1
177
+ },
178
+ {
179
+ "patternId": "M",
180
+ "rotation": 90,
181
+ "x": 1,
182
+ "y": 1
183
+ }
184
+ ],
185
+ "slot_sequence": [
186
+ "FRONT",
187
+ "LEFT",
188
+ "BACK",
189
+ "RIGHT",
190
+ "BOTTOM",
191
+ "FRONT"
192
+ ],
193
+ "required_slots": [
194
+ "FRONT",
195
+ "LEFT",
196
+ "BACK",
197
+ "RIGHT",
198
+ "BOTTOM"
199
+ ],
200
+ "required_count": 5,
201
+ "answer": {
202
+ "faces": {
203
+ "TOP": {
204
+ "patternId": "?",
205
+ "rotation": 0
206
+ },
207
+ "BOTTOM": {
208
+ "patternId": "I",
209
+ "rotation": 270
210
+ },
211
+ "FRONT": {
212
+ "patternId": "M",
213
+ "rotation": 180
214
+ },
215
+ "BACK": {
216
+ "patternId": "5",
217
+ "rotation": 180
218
+ },
219
+ "LEFT": {
220
+ "patternId": "M",
221
+ "rotation": 90
222
+ },
223
+ "RIGHT": {
224
+ "patternId": "T",
225
+ "rotation": 270
226
+ }
227
+ }
228
+ },
229
+ "legacy_answer": {
230
+ "TOP": {
231
+ "patternId": "?",
232
+ "rotation": 0
233
+ },
234
+ "BOTTOM": {
235
+ "patternId": "I",
236
+ "rotation": 270
237
+ },
238
+ "FRONT": {
239
+ "patternId": "M",
240
+ "rotation": 180
241
+ },
242
+ "BACK": {
243
+ "patternId": "5",
244
+ "rotation": 180
245
+ },
246
+ "LEFT": {
247
+ "patternId": "M",
248
+ "rotation": 90
249
+ },
250
+ "RIGHT": {
251
+ "patternId": "T",
252
+ "rotation": 270
253
+ }
254
+ },
255
+ "prompt": {
256
+ "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.",
257
+ "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: C298\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 6\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W -> W -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=M, rotation=180, flipVertical=true\n- step 2: patternId=M, rotation=0, flipVertical=true\n- step 3: patternId=5, rotation=0, flipVertical=true\n- step 4: patternId=T, rotation=0, flipVertical=true\n- step 5: patternId=I, rotation=180, flipVertical=true\n- step 6: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: M, 5, T, I, ?\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."
258
+ }
259
+ }
cube1/data/C299.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C299",
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 -> N -> S -> E -> 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
+ "S",
7
+ "E",
8
+ "N",
9
+ "S",
10
+ "E",
11
+ "E",
12
+ "E"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "Y",
17
+ "rotation": 90,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "G",
23
+ "rotation": 270,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "T",
29
+ "rotation": 270,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "G",
35
+ "rotation": 270,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "C",
41
+ "rotation": 270,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "G",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "Y",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C299_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 299,
64
+ "name": "Reconstruct 299",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-299.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "O",
75
+ "rotation": 180,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "Y",
81
+ "rotation": 90,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "G",
87
+ "rotation": 180,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "C",
93
+ "rotation": 90,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "G",
99
+ "rotation": 180,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "T",
105
+ "rotation": 0,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "O",
112
+ "Y",
113
+ "G",
114
+ "C",
115
+ "G",
116
+ "T"
117
+ ],
118
+ "start_x": 1,
119
+ "start_y": 1,
120
+ "grid_width": 7,
121
+ "grid_height": 4,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "O",
125
+ "rotation": 180
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "T",
129
+ "rotation": 0
130
+ },
131
+ "FRONT": {
132
+ "patternId": "Y",
133
+ "rotation": 90
134
+ },
135
+ "BACK": {
136
+ "patternId": "C",
137
+ "rotation": 270
138
+ },
139
+ "LEFT": {
140
+ "patternId": "G",
141
+ "rotation": 90
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "G",
145
+ "rotation": 270
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "T",
151
+ "rotation": 0,
152
+ "x": 1,
153
+ "y": 1
154
+ },
155
+ {
156
+ "patternId": "Y",
157
+ "rotation": 90,
158
+ "x": 1,
159
+ "y": 2
160
+ },
161
+ {
162
+ "patternId": "G",
163
+ "rotation": 270,
164
+ "x": 2,
165
+ "y": 2
166
+ },
167
+ {
168
+ "patternId": "T",
169
+ "rotation": 270,
170
+ "x": 2,
171
+ "y": 1
172
+ },
173
+ {
174
+ "patternId": "G",
175
+ "rotation": 270,
176
+ "x": 2,
177
+ "y": 2
178
+ },
179
+ {
180
+ "patternId": "C",
181
+ "rotation": 270,
182
+ "x": 3,
183
+ "y": 2
184
+ },
185
+ {
186
+ "patternId": "G",
187
+ "rotation": 90,
188
+ "x": 4,
189
+ "y": 2
190
+ },
191
+ {
192
+ "patternId": "Y",
193
+ "rotation": 90,
194
+ "x": 5,
195
+ "y": 2
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "FRONT",
200
+ "RIGHT",
201
+ "BOTTOM",
202
+ "RIGHT",
203
+ "BACK",
204
+ "LEFT",
205
+ "FRONT"
206
+ ],
207
+ "required_slots": [
208
+ "FRONT",
209
+ "RIGHT",
210
+ "BOTTOM",
211
+ "BACK",
212
+ "LEFT"
213
+ ],
214
+ "required_count": 5,
215
+ "answer": {
216
+ "faces": {
217
+ "TOP": {
218
+ "patternId": "?",
219
+ "rotation": 0
220
+ },
221
+ "BOTTOM": {
222
+ "patternId": "T",
223
+ "rotation": 0
224
+ },
225
+ "FRONT": {
226
+ "patternId": "Y",
227
+ "rotation": 90
228
+ },
229
+ "BACK": {
230
+ "patternId": "C",
231
+ "rotation": 90
232
+ },
233
+ "LEFT": {
234
+ "patternId": "G",
235
+ "rotation": 180
236
+ },
237
+ "RIGHT": {
238
+ "patternId": "G",
239
+ "rotation": 180
240
+ }
241
+ }
242
+ },
243
+ "legacy_answer": {
244
+ "TOP": {
245
+ "patternId": "?",
246
+ "rotation": 0
247
+ },
248
+ "BOTTOM": {
249
+ "patternId": "T",
250
+ "rotation": 0
251
+ },
252
+ "FRONT": {
253
+ "patternId": "Y",
254
+ "rotation": 90
255
+ },
256
+ "BACK": {
257
+ "patternId": "C",
258
+ "rotation": 90
259
+ },
260
+ "LEFT": {
261
+ "patternId": "G",
262
+ "rotation": 180
263
+ },
264
+ "RIGHT": {
265
+ "patternId": "G",
266
+ "rotation": 180
267
+ }
268
+ },
269
+ "prompt": {
270
+ "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.",
271
+ "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: C299\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> N -> S -> E -> E -> E\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=G, rotation=270, flipVertical=true\n- step 3: patternId=T, rotation=270, flipVertical=true\n- step 4: patternId=G, rotation=270, flipVertical=true\n- step 5: patternId=C, rotation=270, flipVertical=true\n- step 6: patternId=G, rotation=90, flipVertical=true\n- step 7: patternId=Y, rotation=90, flipVertical=true\n- allowed patternId values for this task: Y, G, T, 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."
272
+ }
273
+ }
cube1/data/C300.json ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C300",
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 -> W -> E -> N -> 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
+ "N",
7
+ "N",
8
+ "W",
9
+ "E",
10
+ "N",
11
+ "E",
12
+ "N"
13
+ ],
14
+ "observed_path_faces": [
15
+ {
16
+ "patternId": "R",
17
+ "rotation": 90,
18
+ "flipHorizontal": false,
19
+ "flipVertical": true
20
+ },
21
+ {
22
+ "patternId": "N",
23
+ "rotation": 90,
24
+ "flipHorizontal": false,
25
+ "flipVertical": true
26
+ },
27
+ {
28
+ "patternId": "5",
29
+ "rotation": 180,
30
+ "flipHorizontal": false,
31
+ "flipVertical": true
32
+ },
33
+ {
34
+ "patternId": "N",
35
+ "rotation": 90,
36
+ "flipHorizontal": false,
37
+ "flipVertical": true
38
+ },
39
+ {
40
+ "patternId": "Q",
41
+ "rotation": 0,
42
+ "flipHorizontal": false,
43
+ "flipVertical": true
44
+ },
45
+ {
46
+ "patternId": "5",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": true
50
+ },
51
+ {
52
+ "patternId": "S",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": true
56
+ }
57
+ ],
58
+ "image_paths": {
59
+ "blank_net_image": "images/blank_nets/open.png",
60
+ "path_sequence_image": "images/path_sequences/C300_path_sequence.png"
61
+ },
62
+ "metadata": {
63
+ "level_id": 300,
64
+ "name": "Reconstruct 300",
65
+ "difficulty": 3,
66
+ "move_count": 7,
67
+ "tier": 3,
68
+ "source_level_path": "levels/reconstruct/generated-300.json",
69
+ "tier_label": "Difficulty 3"
70
+ },
71
+ "description": "7-move reconstruct puzzle",
72
+ "net_faces": [
73
+ {
74
+ "patternId": "N",
75
+ "rotation": 90,
76
+ "flipHorizontal": false,
77
+ "flipVertical": false
78
+ },
79
+ {
80
+ "patternId": "Q",
81
+ "rotation": 0,
82
+ "flipHorizontal": false,
83
+ "flipVertical": false
84
+ },
85
+ {
86
+ "patternId": "5",
87
+ "rotation": 0,
88
+ "flipHorizontal": false,
89
+ "flipVertical": false
90
+ },
91
+ {
92
+ "patternId": "R",
93
+ "rotation": 90,
94
+ "flipHorizontal": false,
95
+ "flipVertical": false
96
+ },
97
+ {
98
+ "patternId": "5",
99
+ "rotation": 180,
100
+ "flipHorizontal": false,
101
+ "flipVertical": false
102
+ },
103
+ {
104
+ "patternId": "S",
105
+ "rotation": 270,
106
+ "flipHorizontal": false,
107
+ "flipVertical": false
108
+ }
109
+ ],
110
+ "net_patterns": [
111
+ "N",
112
+ "Q",
113
+ "5",
114
+ "R",
115
+ "5",
116
+ "S"
117
+ ],
118
+ "start_x": 2,
119
+ "start_y": 5,
120
+ "grid_width": 5,
121
+ "grid_height": 7,
122
+ "true_solution_faces": {
123
+ "TOP": {
124
+ "patternId": "N",
125
+ "rotation": 90
126
+ },
127
+ "BOTTOM": {
128
+ "patternId": "S",
129
+ "rotation": 270
130
+ },
131
+ "FRONT": {
132
+ "patternId": "Q",
133
+ "rotation": 0
134
+ },
135
+ "BACK": {
136
+ "patternId": "R",
137
+ "rotation": 270
138
+ },
139
+ "LEFT": {
140
+ "patternId": "5",
141
+ "rotation": 90
142
+ },
143
+ "RIGHT": {
144
+ "patternId": "5",
145
+ "rotation": 90
146
+ }
147
+ },
148
+ "bottom_faces": [
149
+ {
150
+ "patternId": "S",
151
+ "rotation": 270,
152
+ "x": 2,
153
+ "y": 5
154
+ },
155
+ {
156
+ "patternId": "R",
157
+ "rotation": 90,
158
+ "x": 2,
159
+ "y": 4
160
+ },
161
+ {
162
+ "patternId": "N",
163
+ "rotation": 90,
164
+ "x": 2,
165
+ "y": 3
166
+ },
167
+ {
168
+ "patternId": "5",
169
+ "rotation": 180,
170
+ "x": 1,
171
+ "y": 3
172
+ },
173
+ {
174
+ "patternId": "N",
175
+ "rotation": 90,
176
+ "x": 2,
177
+ "y": 3
178
+ },
179
+ {
180
+ "patternId": "Q",
181
+ "rotation": 0,
182
+ "x": 2,
183
+ "y": 2
184
+ },
185
+ {
186
+ "patternId": "5",
187
+ "rotation": 90,
188
+ "x": 3,
189
+ "y": 2
190
+ },
191
+ {
192
+ "patternId": "S",
193
+ "rotation": 180,
194
+ "x": 3,
195
+ "y": 1
196
+ }
197
+ ],
198
+ "slot_sequence": [
199
+ "BACK",
200
+ "TOP",
201
+ "LEFT",
202
+ "TOP",
203
+ "FRONT",
204
+ "RIGHT",
205
+ "BOTTOM"
206
+ ],
207
+ "required_slots": [
208
+ "BACK",
209
+ "TOP",
210
+ "LEFT",
211
+ "FRONT",
212
+ "RIGHT",
213
+ "BOTTOM"
214
+ ],
215
+ "required_count": 6,
216
+ "answer": {
217
+ "faces": {
218
+ "TOP": {
219
+ "patternId": "N",
220
+ "rotation": 90
221
+ },
222
+ "BOTTOM": {
223
+ "patternId": "S",
224
+ "rotation": 270
225
+ },
226
+ "FRONT": {
227
+ "patternId": "Q",
228
+ "rotation": 0
229
+ },
230
+ "BACK": {
231
+ "patternId": "R",
232
+ "rotation": 90
233
+ },
234
+ "LEFT": {
235
+ "patternId": "5",
236
+ "rotation": 180
237
+ },
238
+ "RIGHT": {
239
+ "patternId": "5",
240
+ "rotation": 0
241
+ }
242
+ }
243
+ },
244
+ "legacy_answer": {
245
+ "TOP": {
246
+ "patternId": "N",
247
+ "rotation": 90
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "S",
251
+ "rotation": 270
252
+ },
253
+ "FRONT": {
254
+ "patternId": "Q",
255
+ "rotation": 0
256
+ },
257
+ "BACK": {
258
+ "patternId": "R",
259
+ "rotation": 90
260
+ },
261
+ "LEFT": {
262
+ "patternId": "5",
263
+ "rotation": 180
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "5",
267
+ "rotation": 0
268
+ }
269
+ },
270
+ "prompt": {
271
+ "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.",
272
+ "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: C300\n- net_layout: standard_cross\n- difficulty: 3\n- move_count: 7\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> W -> E -> N -> E -> 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=N, rotation=90, flipVertical=true\n- step 3: patternId=5, rotation=180, flipVertical=true\n- step 4: patternId=N, rotation=90, flipVertical=true\n- step 5: patternId=Q, rotation=0, flipVertical=true\n- step 6: patternId=5, rotation=90, flipVertical=true\n- step 7: patternId=S, rotation=180, flipVertical=true\n- allowed patternId values for this task: R, N, 5, Q, 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."
273
+ }
274
+ }
cube1/data/C301.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C301",
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 -> W -> W -> W -> E -> S -> S -> 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
+ "W",
8
+ "W",
9
+ "W",
10
+ "E",
11
+ "S",
12
+ "S",
13
+ "N",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "2",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "P",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "arrow_left",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "arrow_down",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "arrow_left",
43
+ "rotation": 180,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "arrow_up",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "2",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "arrow_up",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "P",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C301_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 301,
78
+ "name": "Reconstruct 301",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-301.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "arrow_down",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "arrow_up",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "2",
101
+ "rotation": 270,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "diamond",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "arrow_left",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "P",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "arrow_down",
126
+ "arrow_up",
127
+ "2",
128
+ "diamond",
129
+ "arrow_left",
130
+ "P"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 1,
134
+ "grid_width": 6,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "arrow_down",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "P",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "arrow_up",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "diamond",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "arrow_left",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "2",
159
+ "rotation": 0
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "P",
165
+ "rotation": 180,
166
+ "x": 3,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "2",
171
+ "rotation": 90,
172
+ "x": 4,
173
+ "y": 1
174
+ },
175
+ {
176
+ "patternId": "P",
177
+ "rotation": 180,
178
+ "x": 3,
179
+ "y": 1
180
+ },
181
+ {
182
+ "patternId": "arrow_left",
183
+ "rotation": 180,
184
+ "x": 2,
185
+ "y": 1
186
+ },
187
+ {
188
+ "patternId": "arrow_down",
189
+ "rotation": 180,
190
+ "x": 1,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "arrow_left",
195
+ "rotation": 180,
196
+ "x": 2,
197
+ "y": 1
198
+ },
199
+ {
200
+ "patternId": "arrow_up",
201
+ "rotation": 180,
202
+ "x": 2,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "2",
207
+ "rotation": 270,
208
+ "x": 2,
209
+ "y": 3
210
+ },
211
+ {
212
+ "patternId": "arrow_up",
213
+ "rotation": 180,
214
+ "x": 2,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "P",
219
+ "rotation": 90,
220
+ "x": 3,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BOTTOM",
227
+ "LEFT",
228
+ "TOP",
229
+ "LEFT",
230
+ "FRONT",
231
+ "RIGHT",
232
+ "FRONT",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BOTTOM",
238
+ "LEFT",
239
+ "TOP",
240
+ "FRONT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "arrow_down",
247
+ "rotation": 0
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "P",
251
+ "rotation": 180
252
+ },
253
+ "FRONT": {
254
+ "patternId": "arrow_up",
255
+ "rotation": 270
256
+ },
257
+ "BACK": {
258
+ "patternId": "?",
259
+ "rotation": 0
260
+ },
261
+ "LEFT": {
262
+ "patternId": "arrow_left",
263
+ "rotation": 0
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "2",
267
+ "rotation": 270
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "arrow_down",
274
+ "rotation": 0
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "P",
278
+ "rotation": 180
279
+ },
280
+ "FRONT": {
281
+ "patternId": "arrow_up",
282
+ "rotation": 270
283
+ },
284
+ "BACK": {
285
+ "patternId": "?",
286
+ "rotation": 0
287
+ },
288
+ "LEFT": {
289
+ "patternId": "arrow_left",
290
+ "rotation": 0
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "2",
294
+ "rotation": 270
295
+ }
296
+ },
297
+ "prompt": {
298
+ "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.",
299
+ "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: C301\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> W -> W -> W -> E -> S -> S -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=2, rotation=90, flipVertical=true\n- step 2: patternId=P, rotation=180, flipVertical=true\n- step 3: patternId=arrow_left, rotation=180, flipVertical=true\n- step 4: patternId=arrow_down, rotation=180, flipVertical=true\n- step 5: patternId=arrow_left, rotation=180, flipVertical=true\n- step 6: patternId=arrow_up, rotation=180, flipVertical=true\n- step 7: patternId=2, rotation=270, flipVertical=true\n- step 8: patternId=arrow_up, rotation=180, flipVertical=true\n- step 9: patternId=P, rotation=90, flipVertical=true\n- allowed patternId values for this task: 2, P, arrow_left, arrow_down, 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."
300
+ }
301
+ }
cube1/data/C302.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C302",
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 -> S -> W -> W -> N -> 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
+ "N",
7
+ "E",
8
+ "S",
9
+ "W",
10
+ "W",
11
+ "N",
12
+ "W",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "diamond",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "1",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "E",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "diamond",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "3",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "1",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "V",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "3",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C302_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 302,
71
+ "name": "Reconstruct 302",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-302.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "3",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "V",
88
+ "rotation": 90,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "1",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "diamond",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "L",
106
+ "rotation": 90,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "E",
112
+ "rotation": 270,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "3",
119
+ "V",
120
+ "1",
121
+ "diamond",
122
+ "L",
123
+ "E"
124
+ ],
125
+ "start_x": 3,
126
+ "start_y": 2,
127
+ "grid_width": 6,
128
+ "grid_height": 4,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "3",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "E",
136
+ "rotation": 270
137
+ },
138
+ "FRONT": {
139
+ "patternId": "V",
140
+ "rotation": 90
141
+ },
142
+ "BACK": {
143
+ "patternId": "diamond",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "L",
148
+ "rotation": 0
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "1",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "E",
158
+ "rotation": 270,
159
+ "x": 3,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "diamond",
164
+ "rotation": 180,
165
+ "x": 3,
166
+ "y": 1
167
+ },
168
+ {
169
+ "patternId": "1",
170
+ "rotation": 0,
171
+ "x": 4,
172
+ "y": 1
173
+ },
174
+ {
175
+ "patternId": "E",
176
+ "rotation": 0,
177
+ "x": 4,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "diamond",
182
+ "rotation": 270,
183
+ "x": 3,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "3",
188
+ "rotation": 90,
189
+ "x": 2,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "1",
194
+ "rotation": 180,
195
+ "x": 2,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "V",
200
+ "rotation": 90,
201
+ "x": 1,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "3",
206
+ "rotation": 0,
207
+ "x": 1,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "BACK",
213
+ "RIGHT",
214
+ "BOTTOM",
215
+ "BACK",
216
+ "TOP",
217
+ "RIGHT",
218
+ "FRONT",
219
+ "TOP"
220
+ ],
221
+ "required_slots": [
222
+ "BACK",
223
+ "RIGHT",
224
+ "BOTTOM",
225
+ "TOP",
226
+ "FRONT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "3",
233
+ "rotation": 0
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "E",
237
+ "rotation": 270
238
+ },
239
+ "FRONT": {
240
+ "patternId": "V",
241
+ "rotation": 90
242
+ },
243
+ "BACK": {
244
+ "patternId": "diamond",
245
+ "rotation": 180
246
+ },
247
+ "LEFT": {
248
+ "patternId": "?",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "1",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "3",
260
+ "rotation": 0
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "E",
264
+ "rotation": 270
265
+ },
266
+ "FRONT": {
267
+ "patternId": "V",
268
+ "rotation": 90
269
+ },
270
+ "BACK": {
271
+ "patternId": "diamond",
272
+ "rotation": 180
273
+ },
274
+ "LEFT": {
275
+ "patternId": "?",
276
+ "rotation": 0
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "1",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "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.",
285
+ "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: C302\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> S -> W -> W -> N -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=diamond, rotation=180, flipVertical=true\n- step 2: patternId=1, rotation=0, flipVertical=true\n- step 3: patternId=E, rotation=0, flipVertical=true\n- step 4: patternId=diamond, rotation=270, flipVertical=true\n- step 5: patternId=3, rotation=90, flipVertical=true\n- step 6: patternId=1, rotation=180, flipVertical=true\n- step 7: patternId=V, rotation=90, flipVertical=true\n- step 8: patternId=3, rotation=0, flipVertical=true\n- allowed patternId values for this task: diamond, 1, E, 3, 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."
286
+ }
287
+ }
cube1/data/C303.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C303",
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 -> S -> S -> E -> S -> 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
+ "W",
7
+ "S",
8
+ "S",
9
+ "S",
10
+ "E",
11
+ "S",
12
+ "E",
13
+ "N",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "9",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "I",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "X",
31
+ "rotation": 0,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "plus",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "triangle",
43
+ "rotation": 90,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "9",
49
+ "rotation": 0,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "I",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "triangle",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "X",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C303_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 303,
78
+ "name": "Reconstruct 303",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-303.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "1",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "I",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "X",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "plus",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "9",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "triangle",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "1",
126
+ "I",
127
+ "X",
128
+ "plus",
129
+ "9",
130
+ "triangle"
131
+ ],
132
+ "start_x": 2,
133
+ "start_y": 1,
134
+ "grid_width": 6,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "1",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "triangle",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "I",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "plus",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "9",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "X",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "triangle",
165
+ "rotation": 0,
166
+ "x": 2,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "9",
171
+ "rotation": 270,
172
+ "x": 1,
173
+ "y": 1
174
+ },
175
+ {
176
+ "patternId": "I",
177
+ "rotation": 180,
178
+ "x": 1,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "X",
183
+ "rotation": 0,
184
+ "x": 1,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "plus",
189
+ "rotation": 0,
190
+ "x": 1,
191
+ "y": 4
192
+ },
193
+ {
194
+ "patternId": "triangle",
195
+ "rotation": 90,
196
+ "x": 2,
197
+ "y": 4
198
+ },
199
+ {
200
+ "patternId": "9",
201
+ "rotation": 0,
202
+ "x": 2,
203
+ "y": 5
204
+ },
205
+ {
206
+ "patternId": "I",
207
+ "rotation": 270,
208
+ "x": 3,
209
+ "y": 5
210
+ },
211
+ {
212
+ "patternId": "triangle",
213
+ "rotation": 0,
214
+ "x": 3,
215
+ "y": 4
216
+ },
217
+ {
218
+ "patternId": "X",
219
+ "rotation": 180,
220
+ "x": 4,
221
+ "y": 4
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "FRONT",
227
+ "RIGHT",
228
+ "BACK",
229
+ "BOTTOM",
230
+ "LEFT",
231
+ "FRONT",
232
+ "BOTTOM",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "FRONT",
238
+ "RIGHT",
239
+ "BACK",
240
+ "BOTTOM"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "?",
247
+ "rotation": 0
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "triangle",
251
+ "rotation": 0
252
+ },
253
+ "FRONT": {
254
+ "patternId": "I",
255
+ "rotation": 270
256
+ },
257
+ "BACK": {
258
+ "patternId": "plus",
259
+ "rotation": 270
260
+ },
261
+ "LEFT": {
262
+ "patternId": "9",
263
+ "rotation": 90
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "X",
267
+ "rotation": 0
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "?",
274
+ "rotation": 0
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "triangle",
278
+ "rotation": 0
279
+ },
280
+ "FRONT": {
281
+ "patternId": "I",
282
+ "rotation": 270
283
+ },
284
+ "BACK": {
285
+ "patternId": "plus",
286
+ "rotation": 270
287
+ },
288
+ "LEFT": {
289
+ "patternId": "9",
290
+ "rotation": 90
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "X",
294
+ "rotation": 0
295
+ }
296
+ },
297
+ "prompt": {
298
+ "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.",
299
+ "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: C303\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> S -> S -> E -> S -> E -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=9, rotation=270, flipVertical=true\n- step 2: patternId=I, rotation=180, flipVertical=true\n- step 3: patternId=X, rotation=0, flipVertical=true\n- step 4: patternId=plus, rotation=0, flipVertical=true\n- step 5: patternId=triangle, rotation=90, flipVertical=true\n- step 6: patternId=9, rotation=0, flipVertical=true\n- step 7: patternId=I, rotation=270, flipVertical=true\n- step 8: patternId=triangle, rotation=0, flipVertical=true\n- step 9: patternId=X, rotation=180, flipVertical=true\n- allowed patternId values for this task: 9, I, X, plus, triangle, ?\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."
300
+ }
301
+ }
cube1/data/C304.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C304",
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 -> E -> N -> 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
+ "W",
7
+ "S",
8
+ "N",
9
+ "E",
10
+ "N",
11
+ "S",
12
+ "W",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "8",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "R",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "8",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "E",
36
+ "rotation": 0,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "arrow_left",
42
+ "rotation": 180,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "E",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "8",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "2",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C304_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 304,
71
+ "name": "Reconstruct 304",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-304.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "2",
82
+ "rotation": 90,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "R",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "5",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "arrow_left",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "8",
106
+ "rotation": 90,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "E",
112
+ "rotation": 0,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "2",
119
+ "R",
120
+ "5",
121
+ "arrow_left",
122
+ "8",
123
+ "E"
124
+ ],
125
+ "start_x": 3,
126
+ "start_y": 2,
127
+ "grid_width": 5,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "2",
132
+ "rotation": 90
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "E",
136
+ "rotation": 0
137
+ },
138
+ "FRONT": {
139
+ "patternId": "R",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "arrow_left",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "8",
148
+ "rotation": 0
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "5",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "E",
158
+ "rotation": 0,
159
+ "x": 3,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "8",
164
+ "rotation": 270,
165
+ "x": 2,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "R",
170
+ "rotation": 180,
171
+ "x": 2,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "8",
176
+ "rotation": 270,
177
+ "x": 2,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "E",
182
+ "rotation": 0,
183
+ "x": 3,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "arrow_left",
188
+ "rotation": 180,
189
+ "x": 3,
190
+ "y": 1
191
+ },
192
+ {
193
+ "patternId": "E",
194
+ "rotation": 0,
195
+ "x": 3,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "8",
200
+ "rotation": 270,
201
+ "x": 2,
202
+ "y": 2
203
+ },
204
+ {
205
+ "patternId": "2",
206
+ "rotation": 270,
207
+ "x": 1,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "LEFT",
213
+ "FRONT",
214
+ "LEFT",
215
+ "BOTTOM",
216
+ "BACK",
217
+ "BOTTOM",
218
+ "LEFT",
219
+ "TOP"
220
+ ],
221
+ "required_slots": [
222
+ "LEFT",
223
+ "FRONT",
224
+ "BOTTOM",
225
+ "BACK",
226
+ "TOP"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "2",
233
+ "rotation": 90
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "E",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "R",
241
+ "rotation": 270
242
+ },
243
+ "BACK": {
244
+ "patternId": "arrow_left",
245
+ "rotation": 180
246
+ },
247
+ "LEFT": {
248
+ "patternId": "8",
249
+ "rotation": 90
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "?",
253
+ "rotation": 0
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "2",
260
+ "rotation": 90
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "E",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "R",
268
+ "rotation": 270
269
+ },
270
+ "BACK": {
271
+ "patternId": "arrow_left",
272
+ "rotation": 180
273
+ },
274
+ "LEFT": {
275
+ "patternId": "8",
276
+ "rotation": 90
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "?",
280
+ "rotation": 0
281
+ }
282
+ },
283
+ "prompt": {
284
+ "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.",
285
+ "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: C304\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> N -> E -> N -> S -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=8, rotation=270, flipVertical=true\n- step 2: patternId=R, rotation=180, flipVertical=true\n- step 3: patternId=8, rotation=270, flipVertical=true\n- step 4: patternId=E, rotation=0, flipVertical=true\n- step 5: patternId=arrow_left, rotation=180, flipVertical=true\n- step 6: patternId=E, rotation=0, flipVertical=true\n- step 7: patternId=8, rotation=270, flipVertical=true\n- step 8: patternId=2, rotation=270, flipVertical=true\n- allowed patternId values for this task: 8, R, E, arrow_left, 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."
286
+ }
287
+ }
cube1/data/C305.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C305",
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 -> E -> S -> W -> 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
+ "N",
8
+ "E",
9
+ "E",
10
+ "S",
11
+ "W",
12
+ "S",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "Q",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "I",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "8",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "triangle",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "Q",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "8",
48
+ "rotation": 90,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "I",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "Y",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C305_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 305,
71
+ "name": "Reconstruct 305",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-305.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "8",
82
+ "rotation": 90,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "triangle",
88
+ "rotation": 180,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "Q",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "I",
100
+ "rotation": 270,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "Y",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "3",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "8",
119
+ "triangle",
120
+ "Q",
121
+ "I",
122
+ "Y",
123
+ "3"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 2,
127
+ "grid_width": 6,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "8",
132
+ "rotation": 90
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "3",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "triangle",
140
+ "rotation": 180
141
+ },
142
+ "BACK": {
143
+ "patternId": "I",
144
+ "rotation": 90
145
+ },
146
+ "LEFT": {
147
+ "patternId": "Y",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "Q",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "3",
158
+ "rotation": 90,
159
+ "x": 1,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "Q",
164
+ "rotation": 270,
165
+ "x": 2,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "I",
170
+ "rotation": 180,
171
+ "x": 2,
172
+ "y": 1
173
+ },
174
+ {
175
+ "patternId": "8",
176
+ "rotation": 0,
177
+ "x": 3,
178
+ "y": 1
179
+ },
180
+ {
181
+ "patternId": "triangle",
182
+ "rotation": 90,
183
+ "x": 4,
184
+ "y": 1
185
+ },
186
+ {
187
+ "patternId": "Q",
188
+ "rotation": 90,
189
+ "x": 4,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "8",
194
+ "rotation": 90,
195
+ "x": 3,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "I",
200
+ "rotation": 270,
201
+ "x": 3,
202
+ "y": 3
203
+ },
204
+ {
205
+ "patternId": "Y",
206
+ "rotation": 90,
207
+ "x": 2,
208
+ "y": 3
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "RIGHT",
213
+ "BACK",
214
+ "TOP",
215
+ "FRONT",
216
+ "RIGHT",
217
+ "TOP",
218
+ "BACK",
219
+ "LEFT"
220
+ ],
221
+ "required_slots": [
222
+ "RIGHT",
223
+ "BACK",
224
+ "TOP",
225
+ "FRONT",
226
+ "LEFT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "8",
233
+ "rotation": 90
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "triangle",
241
+ "rotation": 180
242
+ },
243
+ "BACK": {
244
+ "patternId": "I",
245
+ "rotation": 270
246
+ },
247
+ "LEFT": {
248
+ "patternId": "Y",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "Q",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "8",
260
+ "rotation": 90
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "?",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "triangle",
268
+ "rotation": 180
269
+ },
270
+ "BACK": {
271
+ "patternId": "I",
272
+ "rotation": 270
273
+ },
274
+ "LEFT": {
275
+ "patternId": "Y",
276
+ "rotation": 0
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "Q",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "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.",
285
+ "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: C305\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> E -> E -> S -> W -> S -> W\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=I, rotation=180, flipVertical=true\n- step 3: patternId=8, rotation=0, flipVertical=true\n- step 4: patternId=triangle, rotation=90, flipVertical=true\n- step 5: patternId=Q, rotation=90, flipVertical=true\n- step 6: patternId=8, rotation=90, flipVertical=true\n- step 7: patternId=I, rotation=270, flipVertical=true\n- step 8: patternId=Y, rotation=90, flipVertical=true\n- allowed patternId values for this task: Q, I, 8, triangle, 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."
286
+ }
287
+ }
cube1/data/C307.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C307",
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 -> S -> N -> W -> N -> N -> 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
+ "S",
9
+ "N",
10
+ "W",
11
+ "N",
12
+ "N",
13
+ "W",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "D",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "P",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "5",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "P",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "F",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "D",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "heart",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "B",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "D",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C307_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 307,
78
+ "name": "Reconstruct 307",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-307.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "F",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "P",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "5",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "B",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "D",
113
+ "rotation": 270,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "heart",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "F",
126
+ "P",
127
+ "5",
128
+ "B",
129
+ "D",
130
+ "heart"
131
+ ],
132
+ "start_x": 4,
133
+ "start_y": 2,
134
+ "grid_width": 6,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "F",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "heart",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "P",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "B",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "D",
155
+ "rotation": 180
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "5",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "heart",
165
+ "rotation": 90,
166
+ "x": 4,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "D",
171
+ "rotation": 90,
172
+ "x": 3,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "P",
177
+ "rotation": 180,
178
+ "x": 3,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "5",
183
+ "rotation": 180,
184
+ "x": 3,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "P",
189
+ "rotation": 180,
190
+ "x": 3,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "F",
195
+ "rotation": 270,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "D",
201
+ "rotation": 180,
202
+ "x": 2,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "heart",
207
+ "rotation": 180,
208
+ "x": 2,
209
+ "y": 1
210
+ },
211
+ {
212
+ "patternId": "B",
213
+ "rotation": 0,
214
+ "x": 1,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "D",
219
+ "rotation": 90,
220
+ "x": 1,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "FRONT",
227
+ "RIGHT",
228
+ "FRONT",
229
+ "TOP",
230
+ "LEFT",
231
+ "BOTTOM",
232
+ "BACK",
233
+ "LEFT"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "FRONT",
238
+ "RIGHT",
239
+ "TOP",
240
+ "BOTTOM",
241
+ "BACK"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "F",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "heart",
252
+ "rotation": 90
253
+ },
254
+ "FRONT": {
255
+ "patternId": "P",
256
+ "rotation": 270
257
+ },
258
+ "BACK": {
259
+ "patternId": "B",
260
+ "rotation": 270
261
+ },
262
+ "LEFT": {
263
+ "patternId": "D",
264
+ "rotation": 270
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "5",
268
+ "rotation": 180
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "F",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "heart",
279
+ "rotation": 90
280
+ },
281
+ "FRONT": {
282
+ "patternId": "P",
283
+ "rotation": 270
284
+ },
285
+ "BACK": {
286
+ "patternId": "B",
287
+ "rotation": 270
288
+ },
289
+ "LEFT": {
290
+ "patternId": "D",
291
+ "rotation": 270
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "5",
295
+ "rotation": 180
296
+ }
297
+ },
298
+ "prompt": {
299
+ "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.",
300
+ "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: C307\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> S -> N -> W -> N -> N -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=D, rotation=90, flipVertical=true\n- step 2: patternId=P, rotation=180, flipVertical=true\n- step 3: patternId=5, rotation=180, flipVertical=true\n- step 4: patternId=P, rotation=180, flipVertical=true\n- step 5: patternId=F, rotation=270, flipVertical=true\n- step 6: patternId=D, rotation=180, flipVertical=true\n- step 7: patternId=heart, rotation=180, flipVertical=true\n- step 8: patternId=B, rotation=0, flipVertical=true\n- step 9: patternId=D, rotation=90, flipVertical=true\n- allowed patternId values for this task: D, P, 5, F, heart, 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."
301
+ }
302
+ }
cube1/data/C407.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C407",
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 -> S -> W -> S -> W -> S -> 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
+ "S",
10
+ "W",
11
+ "S",
12
+ "W",
13
+ "S",
14
+ "W",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "arrow_down",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "8",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "B",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "8",
38
+ "rotation": 180,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "S",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "U",
50
+ "rotation": 270,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "2",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "arrow_down",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "B",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "2",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C407_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 407,
85
+ "name": "Reconstruct 407",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-407.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "8",
96
+ "rotation": 0,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "U",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "S",
108
+ "rotation": 90,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "B",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "arrow_down",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "2",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "8",
133
+ "U",
134
+ "S",
135
+ "B",
136
+ "arrow_down",
137
+ "2"
138
+ ],
139
+ "start_x": 6,
140
+ "start_y": 2,
141
+ "grid_width": 8,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "8",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "2",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "U",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "B",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "arrow_down",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "S",
166
+ "rotation": 180
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "2",
172
+ "rotation": 0,
173
+ "x": 6,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "arrow_down",
178
+ "rotation": 270,
179
+ "x": 5,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "8",
184
+ "rotation": 180,
185
+ "x": 4,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "B",
190
+ "rotation": 0,
191
+ "x": 4,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "8",
196
+ "rotation": 180,
197
+ "x": 4,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "S",
202
+ "rotation": 270,
203
+ "x": 3,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "U",
208
+ "rotation": 270,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "2",
214
+ "rotation": 90,
215
+ "x": 2,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "arrow_down",
220
+ "rotation": 0,
221
+ "x": 2,
222
+ "y": 4
223
+ },
224
+ {
225
+ "patternId": "B",
226
+ "rotation": 0,
227
+ "x": 1,
228
+ "y": 4
229
+ },
230
+ {
231
+ "patternId": "2",
232
+ "rotation": 180,
233
+ "x": 1,
234
+ "y": 3
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "TOP",
240
+ "BACK",
241
+ "TOP",
242
+ "RIGHT",
243
+ "FRONT",
244
+ "BOTTOM",
245
+ "LEFT",
246
+ "BACK",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "TOP",
252
+ "BACK",
253
+ "RIGHT",
254
+ "FRONT",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "8",
262
+ "rotation": 0
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "2",
266
+ "rotation": 0
267
+ },
268
+ "FRONT": {
269
+ "patternId": "U",
270
+ "rotation": 180
271
+ },
272
+ "BACK": {
273
+ "patternId": "B",
274
+ "rotation": 180
275
+ },
276
+ "LEFT": {
277
+ "patternId": "arrow_down",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "S",
282
+ "rotation": 90
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "8",
289
+ "rotation": 0
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "2",
293
+ "rotation": 0
294
+ },
295
+ "FRONT": {
296
+ "patternId": "U",
297
+ "rotation": 180
298
+ },
299
+ "BACK": {
300
+ "patternId": "B",
301
+ "rotation": 180
302
+ },
303
+ "LEFT": {
304
+ "patternId": "arrow_down",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "S",
309
+ "rotation": 90
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C407\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> N -> S -> W -> S -> W -> S -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_down, rotation=270, flipVertical=true\n- step 2: patternId=8, rotation=180, flipVertical=true\n- step 3: patternId=B, rotation=0, flipVertical=true\n- step 4: patternId=8, rotation=180, flipVertical=true\n- step 5: patternId=S, rotation=270, flipVertical=true\n- step 6: patternId=U, rotation=270, flipVertical=true\n- step 7: patternId=2, rotation=90, flipVertical=true\n- step 8: patternId=arrow_down, rotation=0, flipVertical=true\n- step 9: patternId=B, rotation=0, flipVertical=true\n- step 10: patternId=2, rotation=180, flipVertical=true\n- allowed patternId values for this task: arrow_down, 8, B, S, U, 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."
315
+ }
316
+ }
cube1/data/C408.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C408",
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 -> S -> W -> N -> W -> S -> 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
+ "S",
9
+ "S",
10
+ "W",
11
+ "N",
12
+ "W",
13
+ "S",
14
+ "S",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "M",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "Q",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "2",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "L",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "Z",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "2",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "Q",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "Z",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "L",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "A",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C408_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 408,
85
+ "name": "Reconstruct 408",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-408.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "2",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "M",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "L",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "Z",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "Q",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "A",
126
+ "rotation": 180,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "2",
133
+ "M",
134
+ "L",
135
+ "Z",
136
+ "Q",
137
+ "A"
138
+ ],
139
+ "start_x": 5,
140
+ "start_y": 1,
141
+ "grid_width": 7,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "2",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "A",
150
+ "rotation": 180
151
+ },
152
+ "FRONT": {
153
+ "patternId": "M",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "Z",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "Q",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "L",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "A",
172
+ "rotation": 180,
173
+ "x": 5,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "M",
178
+ "rotation": 270,
179
+ "x": 5,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "Q",
184
+ "rotation": 0,
185
+ "x": 4,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "2",
190
+ "rotation": 90,
191
+ "x": 4,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "L",
196
+ "rotation": 90,
197
+ "x": 4,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "Z",
202
+ "rotation": 270,
203
+ "x": 3,
204
+ "y": 4
205
+ },
206
+ {
207
+ "patternId": "2",
208
+ "rotation": 180,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "Q",
214
+ "rotation": 90,
215
+ "x": 2,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "Z",
220
+ "rotation": 180,
221
+ "x": 2,
222
+ "y": 4
223
+ },
224
+ {
225
+ "patternId": "L",
226
+ "rotation": 0,
227
+ "x": 2,
228
+ "y": 5
229
+ },
230
+ {
231
+ "patternId": "A",
232
+ "rotation": 180,
233
+ "x": 1,
234
+ "y": 5
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "LEFT",
240
+ "TOP",
241
+ "RIGHT",
242
+ "BACK",
243
+ "TOP",
244
+ "LEFT",
245
+ "BACK",
246
+ "RIGHT",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "LEFT",
252
+ "TOP",
253
+ "RIGHT",
254
+ "BACK",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "2",
262
+ "rotation": 180
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "A",
266
+ "rotation": 180
267
+ },
268
+ "FRONT": {
269
+ "patternId": "M",
270
+ "rotation": 270
271
+ },
272
+ "BACK": {
273
+ "patternId": "Z",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "Q",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "L",
282
+ "rotation": 180
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "2",
289
+ "rotation": 180
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "A",
293
+ "rotation": 180
294
+ },
295
+ "FRONT": {
296
+ "patternId": "M",
297
+ "rotation": 270
298
+ },
299
+ "BACK": {
300
+ "patternId": "Z",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "Q",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "L",
309
+ "rotation": 180
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C408\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> S -> S -> W -> N -> W -> S -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=M, rotation=270, flipVertical=true\n- step 2: patternId=Q, rotation=0, flipVertical=true\n- step 3: patternId=2, rotation=90, flipVertical=true\n- step 4: patternId=L, rotation=90, flipVertical=true\n- step 5: patternId=Z, rotation=270, flipVertical=true\n- step 6: patternId=2, rotation=180, flipVertical=true\n- step 7: patternId=Q, rotation=90, flipVertical=true\n- step 8: patternId=Z, rotation=180, flipVertical=true\n- step 9: patternId=L, rotation=0, flipVertical=true\n- step 10: patternId=A, rotation=180, flipVertical=true\n- allowed patternId values for this task: M, Q, 2, L, Z, A, ?\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."
315
+ }
316
+ }
cube1/data/C409.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C409",
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 -> S -> E -> S -> E -> E -> 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
+ "N",
7
+ "W",
8
+ "S",
9
+ "E",
10
+ "S",
11
+ "E",
12
+ "E",
13
+ "S",
14
+ "S",
15
+ "E"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "A",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "M",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "K",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "A",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "P",
44
+ "rotation": 180,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "N",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "M",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "V",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "P",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "K",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C409_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 409,
85
+ "name": "Reconstruct 409",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-409.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "N",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "V",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "P",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "A",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "M",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "K",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "N",
133
+ "V",
134
+ "P",
135
+ "A",
136
+ "M",
137
+ "K"
138
+ ],
139
+ "start_x": 2,
140
+ "start_y": 2,
141
+ "grid_width": 7,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "N",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "K",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "V",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "A",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "M",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "P",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "K",
172
+ "rotation": 270,
173
+ "x": 2,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "A",
178
+ "rotation": 180,
179
+ "x": 2,
180
+ "y": 1
181
+ },
182
+ {
183
+ "patternId": "M",
184
+ "rotation": 270,
185
+ "x": 1,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "K",
190
+ "rotation": 180,
191
+ "x": 1,
192
+ "y": 2
193
+ },
194
+ {
195
+ "patternId": "A",
196
+ "rotation": 90,
197
+ "x": 2,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "P",
202
+ "rotation": 180,
203
+ "x": 2,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "N",
208
+ "rotation": 0,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "M",
214
+ "rotation": 0,
215
+ "x": 4,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "V",
220
+ "rotation": 180,
221
+ "x": 4,
222
+ "y": 4
223
+ },
224
+ {
225
+ "patternId": "P",
226
+ "rotation": 0,
227
+ "x": 4,
228
+ "y": 5
229
+ },
230
+ {
231
+ "patternId": "K",
232
+ "rotation": 90,
233
+ "x": 5,
234
+ "y": 5
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "BACK",
239
+ "LEFT",
240
+ "BOTTOM",
241
+ "BACK",
242
+ "RIGHT",
243
+ "TOP",
244
+ "LEFT",
245
+ "FRONT",
246
+ "RIGHT",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "BACK",
251
+ "LEFT",
252
+ "BOTTOM",
253
+ "RIGHT",
254
+ "TOP",
255
+ "FRONT"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "N",
262
+ "rotation": 180
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "K",
266
+ "rotation": 270
267
+ },
268
+ "FRONT": {
269
+ "patternId": "V",
270
+ "rotation": 270
271
+ },
272
+ "BACK": {
273
+ "patternId": "A",
274
+ "rotation": 180
275
+ },
276
+ "LEFT": {
277
+ "patternId": "M",
278
+ "rotation": 180
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "P",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "N",
289
+ "rotation": 180
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "K",
293
+ "rotation": 270
294
+ },
295
+ "FRONT": {
296
+ "patternId": "V",
297
+ "rotation": 270
298
+ },
299
+ "BACK": {
300
+ "patternId": "A",
301
+ "rotation": 180
302
+ },
303
+ "LEFT": {
304
+ "patternId": "M",
305
+ "rotation": 180
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "P",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C409\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> S -> E -> S -> E -> E -> S -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=A, rotation=180, flipVertical=true\n- step 2: patternId=M, rotation=270, flipVertical=true\n- step 3: patternId=K, rotation=180, flipVertical=true\n- step 4: patternId=A, rotation=90, flipVertical=true\n- step 5: patternId=P, rotation=180, flipVertical=true\n- step 6: patternId=N, rotation=0, flipVertical=true\n- step 7: patternId=M, rotation=0, flipVertical=true\n- step 8: patternId=V, rotation=180, flipVertical=true\n- step 9: patternId=P, rotation=0, flipVertical=true\n- step 10: patternId=K, rotation=90, flipVertical=true\n- allowed patternId values for this task: A, M, K, P, N, 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."
315
+ }
316
+ }
cube1/data/C410.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C410",
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 -> E -> E -> E -> S -> S -> S -> 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
+ "N",
8
+ "E",
9
+ "E",
10
+ "E",
11
+ "S",
12
+ "S",
13
+ "S",
14
+ "N",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "4",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "3",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "A",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "circle",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "C",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "4",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "A",
56
+ "rotation": 270,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "B",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "A",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "circle",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C410_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 410,
85
+ "name": "Reconstruct 410",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-410.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "3",
96
+ "rotation": 0,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "B",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "A",
108
+ "rotation": 90,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "4",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "C",
120
+ "rotation": 270,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "circle",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "3",
133
+ "B",
134
+ "A",
135
+ "4",
136
+ "C",
137
+ "circle"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 3,
141
+ "grid_width": 6,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "3",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "circle",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "B",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "4",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "C",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "A",
166
+ "rotation": 180
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "circle",
172
+ "rotation": 90,
173
+ "x": 1,
174
+ "y": 3
175
+ },
176
+ {
177
+ "patternId": "4",
178
+ "rotation": 180,
179
+ "x": 1,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "3",
184
+ "rotation": 0,
185
+ "x": 1,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "A",
190
+ "rotation": 90,
191
+ "x": 2,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "circle",
196
+ "rotation": 270,
197
+ "x": 3,
198
+ "y": 1
199
+ },
200
+ {
201
+ "patternId": "C",
202
+ "rotation": 270,
203
+ "x": 4,
204
+ "y": 1
205
+ },
206
+ {
207
+ "patternId": "4",
208
+ "rotation": 90,
209
+ "x": 4,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "A",
214
+ "rotation": 270,
215
+ "x": 4,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "B",
220
+ "rotation": 0,
221
+ "x": 4,
222
+ "y": 4
223
+ },
224
+ {
225
+ "patternId": "A",
226
+ "rotation": 270,
227
+ "x": 4,
228
+ "y": 3
229
+ },
230
+ {
231
+ "patternId": "circle",
232
+ "rotation": 90,
233
+ "x": 3,
234
+ "y": 3
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "BACK",
239
+ "TOP",
240
+ "RIGHT",
241
+ "BOTTOM",
242
+ "LEFT",
243
+ "BACK",
244
+ "RIGHT",
245
+ "FRONT",
246
+ "RIGHT",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "BACK",
251
+ "TOP",
252
+ "RIGHT",
253
+ "BOTTOM",
254
+ "LEFT",
255
+ "FRONT"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "3",
262
+ "rotation": 0
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "circle",
266
+ "rotation": 90
267
+ },
268
+ "FRONT": {
269
+ "patternId": "B",
270
+ "rotation": 270
271
+ },
272
+ "BACK": {
273
+ "patternId": "4",
274
+ "rotation": 180
275
+ },
276
+ "LEFT": {
277
+ "patternId": "C",
278
+ "rotation": 270
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "A",
282
+ "rotation": 90
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "3",
289
+ "rotation": 0
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "circle",
293
+ "rotation": 90
294
+ },
295
+ "FRONT": {
296
+ "patternId": "B",
297
+ "rotation": 270
298
+ },
299
+ "BACK": {
300
+ "patternId": "4",
301
+ "rotation": 180
302
+ },
303
+ "LEFT": {
304
+ "patternId": "C",
305
+ "rotation": 270
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "A",
309
+ "rotation": 90
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C410\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> E -> E -> E -> S -> S -> S -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=4, rotation=180, flipVertical=true\n- step 2: patternId=3, rotation=0, flipVertical=true\n- step 3: patternId=A, rotation=90, flipVertical=true\n- step 4: patternId=circle, rotation=270, flipVertical=true\n- step 5: patternId=C, rotation=270, flipVertical=true\n- step 6: patternId=4, rotation=90, flipVertical=true\n- step 7: patternId=A, rotation=270, flipVertical=true\n- step 8: patternId=B, rotation=0, flipVertical=true\n- step 9: patternId=A, rotation=270, flipVertical=true\n- step 10: patternId=circle, rotation=90, flipVertical=true\n- allowed patternId values for this task: 4, 3, A, circle, C, 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."
315
+ }
316
+ }
cube1/data/C411.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C411",
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 -> S -> E -> S -> W -> S -> 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
+ "E",
8
+ "S",
9
+ "E",
10
+ "S",
11
+ "W",
12
+ "S",
13
+ "W",
14
+ "S",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "arrow_up",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "Z",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "O",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "heart",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "W",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "O",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "arrow_up",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "Z",
62
+ "rotation": 90,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "6",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "Z",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C411_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 411,
85
+ "name": "Reconstruct 411",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-411.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "W",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "O",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "heart",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "6",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "arrow_up",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "Z",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "W",
133
+ "O",
134
+ "heart",
135
+ "6",
136
+ "arrow_up",
137
+ "Z"
138
+ ],
139
+ "start_x": 2,
140
+ "start_y": 1,
141
+ "grid_width": 5,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "W",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "Z",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "O",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "6",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "arrow_up",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "heart",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "Z",
172
+ "rotation": 270,
173
+ "x": 2,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "arrow_up",
178
+ "rotation": 270,
179
+ "x": 1,
180
+ "y": 1
181
+ },
182
+ {
183
+ "patternId": "Z",
184
+ "rotation": 270,
185
+ "x": 2,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "O",
190
+ "rotation": 90,
191
+ "x": 2,
192
+ "y": 2
193
+ },
194
+ {
195
+ "patternId": "heart",
196
+ "rotation": 270,
197
+ "x": 3,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "W",
202
+ "rotation": 270,
203
+ "x": 3,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "O",
208
+ "rotation": 180,
209
+ "x": 2,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "arrow_up",
214
+ "rotation": 90,
215
+ "x": 2,
216
+ "y": 4
217
+ },
218
+ {
219
+ "patternId": "Z",
220
+ "rotation": 90,
221
+ "x": 1,
222
+ "y": 4
223
+ },
224
+ {
225
+ "patternId": "6",
226
+ "rotation": 270,
227
+ "x": 1,
228
+ "y": 5
229
+ },
230
+ {
231
+ "patternId": "Z",
232
+ "rotation": 90,
233
+ "x": 1,
234
+ "y": 4
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "BOTTOM",
240
+ "FRONT",
241
+ "RIGHT",
242
+ "TOP",
243
+ "FRONT",
244
+ "LEFT",
245
+ "BOTTOM",
246
+ "BACK",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "BOTTOM",
252
+ "FRONT",
253
+ "RIGHT",
254
+ "TOP",
255
+ "BACK"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "W",
262
+ "rotation": 180
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "Z",
266
+ "rotation": 270
267
+ },
268
+ "FRONT": {
269
+ "patternId": "O",
270
+ "rotation": 90
271
+ },
272
+ "BACK": {
273
+ "patternId": "6",
274
+ "rotation": 90
275
+ },
276
+ "LEFT": {
277
+ "patternId": "arrow_up",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "heart",
282
+ "rotation": 180
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "W",
289
+ "rotation": 180
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "Z",
293
+ "rotation": 270
294
+ },
295
+ "FRONT": {
296
+ "patternId": "O",
297
+ "rotation": 90
298
+ },
299
+ "BACK": {
300
+ "patternId": "6",
301
+ "rotation": 90
302
+ },
303
+ "LEFT": {
304
+ "patternId": "arrow_up",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "heart",
309
+ "rotation": 180
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C411\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> E -> S -> E -> S -> W -> S -> W -> S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_up, rotation=270, flipVertical=true\n- step 2: patternId=Z, rotation=270, flipVertical=true\n- step 3: patternId=O, rotation=90, flipVertical=true\n- step 4: patternId=heart, rotation=270, flipVertical=true\n- step 5: patternId=W, rotation=270, flipVertical=true\n- step 6: patternId=O, rotation=180, flipVertical=true\n- step 7: patternId=arrow_up, rotation=90, flipVertical=true\n- step 8: patternId=Z, rotation=90, flipVertical=true\n- step 9: patternId=6, rotation=270, flipVertical=true\n- step 10: patternId=Z, rotation=90, flipVertical=true\n- allowed patternId values for this task: arrow_up, Z, O, heart, W, 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."
315
+ }
316
+ }
cube1/data/C412.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C412",
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 -> E -> E -> S -> W -> W -> 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
+ "N",
7
+ "E",
8
+ "E",
9
+ "E",
10
+ "S",
11
+ "W",
12
+ "W",
13
+ "W",
14
+ "N",
15
+ "S"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "arrow_up",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "1",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "S",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "1",
38
+ "rotation": 180,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "arrow_right",
44
+ "rotation": 90,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "S",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "U",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "arrow_up",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "1",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "arrow_up",
74
+ "rotation": 0,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C412_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 412,
85
+ "name": "Reconstruct 412",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-412.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "U",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "S",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "1",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "arrow_up",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "1",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "arrow_right",
126
+ "rotation": 180,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "U",
133
+ "S",
134
+ "1",
135
+ "arrow_up",
136
+ "1",
137
+ "arrow_right"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 2,
141
+ "grid_width": 6,
142
+ "grid_height": 4,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "U",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "arrow_right",
150
+ "rotation": 180
151
+ },
152
+ "FRONT": {
153
+ "patternId": "S",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "arrow_up",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "1",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "1",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "arrow_right",
172
+ "rotation": 180,
173
+ "x": 1,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "arrow_up",
178
+ "rotation": 90,
179
+ "x": 1,
180
+ "y": 1
181
+ },
182
+ {
183
+ "patternId": "1",
184
+ "rotation": 270,
185
+ "x": 2,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "S",
190
+ "rotation": 0,
191
+ "x": 3,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "1",
196
+ "rotation": 180,
197
+ "x": 4,
198
+ "y": 1
199
+ },
200
+ {
201
+ "patternId": "arrow_right",
202
+ "rotation": 90,
203
+ "x": 4,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "S",
208
+ "rotation": 90,
209
+ "x": 3,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "U",
214
+ "rotation": 0,
215
+ "x": 2,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "arrow_up",
220
+ "rotation": 0,
221
+ "x": 1,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "1",
226
+ "rotation": 90,
227
+ "x": 1,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "arrow_up",
232
+ "rotation": 0,
233
+ "x": 1,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "BACK",
239
+ "RIGHT",
240
+ "FRONT",
241
+ "LEFT",
242
+ "BOTTOM",
243
+ "FRONT",
244
+ "TOP",
245
+ "BACK",
246
+ "LEFT",
247
+ "BACK"
248
+ ],
249
+ "required_slots": [
250
+ "BACK",
251
+ "RIGHT",
252
+ "FRONT",
253
+ "LEFT",
254
+ "BOTTOM",
255
+ "TOP"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "U",
262
+ "rotation": 90
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "arrow_right",
266
+ "rotation": 180
267
+ },
268
+ "FRONT": {
269
+ "patternId": "S",
270
+ "rotation": 180
271
+ },
272
+ "BACK": {
273
+ "patternId": "arrow_up",
274
+ "rotation": 90
275
+ },
276
+ "LEFT": {
277
+ "patternId": "1",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "1",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "U",
289
+ "rotation": 90
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "arrow_right",
293
+ "rotation": 180
294
+ },
295
+ "FRONT": {
296
+ "patternId": "S",
297
+ "rotation": 180
298
+ },
299
+ "BACK": {
300
+ "patternId": "arrow_up",
301
+ "rotation": 90
302
+ },
303
+ "LEFT": {
304
+ "patternId": "1",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "1",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C412\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> E -> E -> S -> W -> W -> W -> N -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_up, rotation=90, flipVertical=true\n- step 2: patternId=1, rotation=270, flipVertical=true\n- step 3: patternId=S, rotation=0, flipVertical=true\n- step 4: patternId=1, rotation=180, flipVertical=true\n- step 5: patternId=arrow_right, rotation=90, flipVertical=true\n- step 6: patternId=S, rotation=90, flipVertical=true\n- step 7: patternId=U, rotation=0, flipVertical=true\n- step 8: patternId=arrow_up, rotation=0, flipVertical=true\n- step 9: patternId=1, rotation=90, flipVertical=true\n- step 10: patternId=arrow_up, rotation=0, flipVertical=true\n- allowed patternId values for this task: arrow_up, 1, S, arrow_right, 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."
315
+ }
316
+ }
cube1/data/C413.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C413",
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 -> N -> N -> W -> N -> N -> W -> 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
+ "S",
7
+ "W",
8
+ "N",
9
+ "N",
10
+ "W",
11
+ "N",
12
+ "N",
13
+ "W",
14
+ "E",
15
+ "S"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "5",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "arrow_left",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "1",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "5",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "circle",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "O",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "5",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "arrow_left",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "5",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "O",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C413_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 413,
85
+ "name": "Reconstruct 413",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-413.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "O",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "5",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "5",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "circle",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "arrow_left",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "1",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "O",
133
+ "5",
134
+ "5",
135
+ "circle",
136
+ "arrow_left",
137
+ "1"
138
+ ],
139
+ "start_x": 4,
140
+ "start_y": 4,
141
+ "grid_width": 6,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "O",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "1",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "5",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "circle",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "arrow_left",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "5",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "1",
172
+ "rotation": 90,
173
+ "x": 4,
174
+ "y": 4
175
+ },
176
+ {
177
+ "patternId": "5",
178
+ "rotation": 90,
179
+ "x": 4,
180
+ "y": 5
181
+ },
182
+ {
183
+ "patternId": "arrow_left",
184
+ "rotation": 0,
185
+ "x": 3,
186
+ "y": 5
187
+ },
188
+ {
189
+ "patternId": "1",
190
+ "rotation": 180,
191
+ "x": 3,
192
+ "y": 4
193
+ },
194
+ {
195
+ "patternId": "5",
196
+ "rotation": 270,
197
+ "x": 3,
198
+ "y": 3
199
+ },
200
+ {
201
+ "patternId": "circle",
202
+ "rotation": 270,
203
+ "x": 2,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "O",
208
+ "rotation": 180,
209
+ "x": 2,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "5",
214
+ "rotation": 90,
215
+ "x": 2,
216
+ "y": 1
217
+ },
218
+ {
219
+ "patternId": "arrow_left",
220
+ "rotation": 0,
221
+ "x": 1,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "5",
226
+ "rotation": 90,
227
+ "x": 2,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "O",
232
+ "rotation": 180,
233
+ "x": 2,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "LEFT",
240
+ "BOTTOM",
241
+ "RIGHT",
242
+ "BACK",
243
+ "TOP",
244
+ "FRONT",
245
+ "LEFT",
246
+ "FRONT",
247
+ "TOP"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "LEFT",
252
+ "BOTTOM",
253
+ "RIGHT",
254
+ "BACK",
255
+ "TOP"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "O",
262
+ "rotation": 180
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "1",
266
+ "rotation": 90
267
+ },
268
+ "FRONT": {
269
+ "patternId": "5",
270
+ "rotation": 90
271
+ },
272
+ "BACK": {
273
+ "patternId": "circle",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "arrow_left",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "5",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "O",
289
+ "rotation": 180
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "1",
293
+ "rotation": 90
294
+ },
295
+ "FRONT": {
296
+ "patternId": "5",
297
+ "rotation": 90
298
+ },
299
+ "BACK": {
300
+ "patternId": "circle",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "arrow_left",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "5",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C413\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> N -> N -> W -> N -> N -> W -> E -> S\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=arrow_left, rotation=0, flipVertical=true\n- step 3: patternId=1, rotation=180, flipVertical=true\n- step 4: patternId=5, rotation=270, flipVertical=true\n- step 5: patternId=circle, rotation=270, flipVertical=true\n- step 6: patternId=O, rotation=180, flipVertical=true\n- step 7: patternId=5, rotation=90, flipVertical=true\n- step 8: patternId=arrow_left, rotation=0, flipVertical=true\n- step 9: patternId=5, rotation=90, flipVertical=true\n- step 10: patternId=O, rotation=180, flipVertical=true\n- allowed patternId values for this task: 5, arrow_left, 1, circle, 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."
315
+ }
316
+ }
cube1/data/C414.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C414",
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 -> W -> W -> S -> S -> N -> E -> 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
+ "W",
7
+ "N",
8
+ "W",
9
+ "W",
10
+ "S",
11
+ "S",
12
+ "N",
13
+ "E",
14
+ "E",
15
+ "E"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "plus",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "star",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "B",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "triangle",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "plus",
44
+ "rotation": 180,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "star",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "plus",
56
+ "rotation": 180,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "B",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "star",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "9",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C414_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 414,
85
+ "name": "Reconstruct 414",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-414.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "B",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "triangle",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "star",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "star",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "plus",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "9",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "B",
133
+ "triangle",
134
+ "star",
135
+ "star",
136
+ "plus",
137
+ "9"
138
+ ],
139
+ "start_x": 4,
140
+ "start_y": 2,
141
+ "grid_width": 6,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "B",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "9",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "triangle",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "star",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "plus",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "star",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "9",
172
+ "rotation": 270,
173
+ "x": 4,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "plus",
178
+ "rotation": 0,
179
+ "x": 3,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "star",
184
+ "rotation": 270,
185
+ "x": 3,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "B",
190
+ "rotation": 0,
191
+ "x": 2,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "triangle",
196
+ "rotation": 270,
197
+ "x": 1,
198
+ "y": 1
199
+ },
200
+ {
201
+ "patternId": "plus",
202
+ "rotation": 180,
203
+ "x": 1,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "star",
208
+ "rotation": 90,
209
+ "x": 1,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "plus",
214
+ "rotation": 180,
215
+ "x": 1,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "B",
220
+ "rotation": 270,
221
+ "x": 2,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "star",
226
+ "rotation": 180,
227
+ "x": 3,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "9",
232
+ "rotation": 90,
233
+ "x": 4,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "BACK",
240
+ "TOP",
241
+ "FRONT",
242
+ "LEFT",
243
+ "BACK",
244
+ "LEFT",
245
+ "TOP",
246
+ "RIGHT",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "BACK",
252
+ "TOP",
253
+ "FRONT",
254
+ "RIGHT",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "B",
262
+ "rotation": 270
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "9",
266
+ "rotation": 270
267
+ },
268
+ "FRONT": {
269
+ "patternId": "triangle",
270
+ "rotation": 180
271
+ },
272
+ "BACK": {
273
+ "patternId": "star",
274
+ "rotation": 180
275
+ },
276
+ "LEFT": {
277
+ "patternId": "plus",
278
+ "rotation": 180
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "star",
282
+ "rotation": 180
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "B",
289
+ "rotation": 270
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "9",
293
+ "rotation": 270
294
+ },
295
+ "FRONT": {
296
+ "patternId": "triangle",
297
+ "rotation": 180
298
+ },
299
+ "BACK": {
300
+ "patternId": "star",
301
+ "rotation": 180
302
+ },
303
+ "LEFT": {
304
+ "patternId": "plus",
305
+ "rotation": 180
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "star",
309
+ "rotation": 180
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C414\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> W -> W -> S -> S -> N -> E -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=plus, rotation=0, flipVertical=true\n- step 2: patternId=star, rotation=270, flipVertical=true\n- step 3: patternId=B, rotation=0, flipVertical=true\n- step 4: patternId=triangle, rotation=270, flipVertical=true\n- step 5: patternId=plus, rotation=180, flipVertical=true\n- step 6: patternId=star, rotation=90, flipVertical=true\n- step 7: patternId=plus, rotation=180, flipVertical=true\n- step 8: patternId=B, rotation=270, flipVertical=true\n- step 9: patternId=star, rotation=180, flipVertical=true\n- step 10: patternId=9, rotation=90, flipVertical=true\n- allowed patternId values for this task: plus, star, B, triangle, 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."
315
+ }
316
+ }
cube1/data/C415.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C415",
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 -> S -> S -> N -> W -> W -> 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
+ "S",
7
+ "S",
8
+ "E",
9
+ "S",
10
+ "S",
11
+ "N",
12
+ "W",
13
+ "W",
14
+ "N",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "G",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "smile",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "8",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "Y",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "arrow_down",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "Y",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "smile",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "G",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "8",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "P",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C415_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 415,
85
+ "name": "Reconstruct 415",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-415.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "smile",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "G",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "8",
108
+ "rotation": 270,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "Y",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "arrow_down",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "P",
126
+ "rotation": 180,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "smile",
133
+ "G",
134
+ "8",
135
+ "Y",
136
+ "arrow_down",
137
+ "P"
138
+ ],
139
+ "start_x": 3,
140
+ "start_y": 1,
141
+ "grid_width": 6,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "smile",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "P",
150
+ "rotation": 180
151
+ },
152
+ "FRONT": {
153
+ "patternId": "G",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "Y",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "arrow_down",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "8",
166
+ "rotation": 0
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "P",
172
+ "rotation": 180,
173
+ "x": 3,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "G",
178
+ "rotation": 90,
179
+ "x": 3,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "smile",
184
+ "rotation": 270,
185
+ "x": 3,
186
+ "y": 3
187
+ },
188
+ {
189
+ "patternId": "8",
190
+ "rotation": 270,
191
+ "x": 4,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "Y",
196
+ "rotation": 0,
197
+ "x": 4,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "arrow_down",
202
+ "rotation": 0,
203
+ "x": 4,
204
+ "y": 5
205
+ },
206
+ {
207
+ "patternId": "Y",
208
+ "rotation": 0,
209
+ "x": 4,
210
+ "y": 4
211
+ },
212
+ {
213
+ "patternId": "smile",
214
+ "rotation": 0,
215
+ "x": 3,
216
+ "y": 4
217
+ },
218
+ {
219
+ "patternId": "G",
220
+ "rotation": 180,
221
+ "x": 2,
222
+ "y": 4
223
+ },
224
+ {
225
+ "patternId": "8",
226
+ "rotation": 90,
227
+ "x": 2,
228
+ "y": 3
229
+ },
230
+ {
231
+ "patternId": "P",
232
+ "rotation": 180,
233
+ "x": 1,
234
+ "y": 3
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "TOP",
240
+ "RIGHT",
241
+ "BACK",
242
+ "LEFT",
243
+ "BACK",
244
+ "TOP",
245
+ "FRONT",
246
+ "RIGHT",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "TOP",
252
+ "RIGHT",
253
+ "BACK",
254
+ "LEFT",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "smile",
262
+ "rotation": 270
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "P",
266
+ "rotation": 180
267
+ },
268
+ "FRONT": {
269
+ "patternId": "G",
270
+ "rotation": 90
271
+ },
272
+ "BACK": {
273
+ "patternId": "Y",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "arrow_down",
278
+ "rotation": 180
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "8",
282
+ "rotation": 270
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "smile",
289
+ "rotation": 270
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "P",
293
+ "rotation": 180
294
+ },
295
+ "FRONT": {
296
+ "patternId": "G",
297
+ "rotation": 90
298
+ },
299
+ "BACK": {
300
+ "patternId": "Y",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "arrow_down",
305
+ "rotation": 180
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "8",
309
+ "rotation": 270
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C415\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> E -> S -> S -> N -> W -> W -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=G, rotation=90, flipVertical=true\n- step 2: patternId=smile, rotation=270, flipVertical=true\n- step 3: patternId=8, rotation=270, flipVertical=true\n- step 4: patternId=Y, rotation=0, flipVertical=true\n- step 5: patternId=arrow_down, rotation=0, flipVertical=true\n- step 6: patternId=Y, rotation=0, flipVertical=true\n- step 7: patternId=smile, rotation=0, flipVertical=true\n- step 8: patternId=G, rotation=180, flipVertical=true\n- step 9: patternId=8, rotation=90, flipVertical=true\n- step 10: patternId=P, rotation=180, flipVertical=true\n- allowed patternId values for this task: G, smile, 8, Y, 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."
315
+ }
316
+ }
cube1/data/C416.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C416",
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 -> N -> W -> W -> W -> E -> 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
+ "S",
7
+ "W",
8
+ "S",
9
+ "N",
10
+ "W",
11
+ "W",
12
+ "W",
13
+ "E",
14
+ "E",
15
+ "S"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "plus",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "6",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "G",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "6",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "arrow_down",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "smile",
50
+ "rotation": 270,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "plus",
56
+ "rotation": 270,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "smile",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "arrow_down",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "G",
74
+ "rotation": 0,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C416_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 416,
85
+ "name": "Reconstruct 416",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-416.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "G",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "plus",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "smile",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "arrow_down",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "6",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "X",
126
+ "rotation": 180,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "G",
133
+ "plus",
134
+ "smile",
135
+ "arrow_down",
136
+ "6",
137
+ "X"
138
+ ],
139
+ "start_x": 5,
140
+ "start_y": 1,
141
+ "grid_width": 7,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "G",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "X",
150
+ "rotation": 180
151
+ },
152
+ "FRONT": {
153
+ "patternId": "plus",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "arrow_down",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "6",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "smile",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "X",
172
+ "rotation": 180,
173
+ "x": 5,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "plus",
178
+ "rotation": 270,
179
+ "x": 5,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "6",
184
+ "rotation": 0,
185
+ "x": 4,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "G",
190
+ "rotation": 90,
191
+ "x": 4,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "6",
196
+ "rotation": 0,
197
+ "x": 4,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "arrow_down",
202
+ "rotation": 0,
203
+ "x": 3,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "smile",
208
+ "rotation": 270,
209
+ "x": 2,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "plus",
214
+ "rotation": 270,
215
+ "x": 1,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "smile",
220
+ "rotation": 270,
221
+ "x": 2,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "arrow_down",
226
+ "rotation": 0,
227
+ "x": 3,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "G",
232
+ "rotation": 0,
233
+ "x": 3,
234
+ "y": 3
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "LEFT",
240
+ "TOP",
241
+ "LEFT",
242
+ "BACK",
243
+ "RIGHT",
244
+ "FRONT",
245
+ "RIGHT",
246
+ "BACK",
247
+ "TOP"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "LEFT",
252
+ "TOP",
253
+ "BACK",
254
+ "RIGHT"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "G",
261
+ "rotation": 180
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "?",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "plus",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "arrow_down",
273
+ "rotation": 180
274
+ },
275
+ "LEFT": {
276
+ "patternId": "6",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "smile",
281
+ "rotation": 180
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "G",
288
+ "rotation": 180
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "?",
292
+ "rotation": 0
293
+ },
294
+ "FRONT": {
295
+ "patternId": "plus",
296
+ "rotation": 270
297
+ },
298
+ "BACK": {
299
+ "patternId": "arrow_down",
300
+ "rotation": 180
301
+ },
302
+ "LEFT": {
303
+ "patternId": "6",
304
+ "rotation": 90
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "smile",
308
+ "rotation": 180
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C416\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> S -> N -> W -> W -> W -> E -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=plus, rotation=270, flipVertical=true\n- step 2: patternId=6, rotation=0, flipVertical=true\n- step 3: patternId=G, rotation=90, flipVertical=true\n- step 4: patternId=6, rotation=0, flipVertical=true\n- step 5: patternId=arrow_down, rotation=0, flipVertical=true\n- step 6: patternId=smile, rotation=270, flipVertical=true\n- step 7: patternId=plus, rotation=270, flipVertical=true\n- step 8: patternId=smile, rotation=270, flipVertical=true\n- step 9: patternId=arrow_down, rotation=0, flipVertical=true\n- step 10: patternId=G, rotation=0, flipVertical=true\n- allowed patternId values for this task: plus, 6, G, arrow_down, 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."
314
+ }
315
+ }
cube1/data/C417.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C417",
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 -> S -> E -> E -> N -> E -> N -> 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
+ "N",
7
+ "E",
8
+ "S",
9
+ "E",
10
+ "E",
11
+ "N",
12
+ "E",
13
+ "N",
14
+ "W",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "Z",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "4",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "square",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "heart",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "K",
44
+ "rotation": 180,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "4",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "Z",
56
+ "rotation": 270,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "square",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "4",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "K",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C417_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 417,
85
+ "name": "Reconstruct 417",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-417.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "K",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "heart",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "4",
108
+ "rotation": 270,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "Z",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "B",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "square",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "K",
133
+ "heart",
134
+ "4",
135
+ "Z",
136
+ "B",
137
+ "square"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 3,
141
+ "grid_width": 7,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "K",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "square",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "heart",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "Z",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "B",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "4",
166
+ "rotation": 0
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "square",
172
+ "rotation": 90,
173
+ "x": 1,
174
+ "y": 3
175
+ },
176
+ {
177
+ "patternId": "Z",
178
+ "rotation": 90,
179
+ "x": 1,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "4",
184
+ "rotation": 180,
185
+ "x": 2,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "square",
190
+ "rotation": 180,
191
+ "x": 2,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "heart",
196
+ "rotation": 270,
197
+ "x": 3,
198
+ "y": 3
199
+ },
200
+ {
201
+ "patternId": "K",
202
+ "rotation": 180,
203
+ "x": 4,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "4",
208
+ "rotation": 0,
209
+ "x": 4,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "Z",
214
+ "rotation": 270,
215
+ "x": 5,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "square",
220
+ "rotation": 270,
221
+ "x": 5,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "4",
226
+ "rotation": 270,
227
+ "x": 4,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "K",
232
+ "rotation": 90,
233
+ "x": 3,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "BACK",
239
+ "RIGHT",
240
+ "BOTTOM",
241
+ "FRONT",
242
+ "TOP",
243
+ "RIGHT",
244
+ "BACK",
245
+ "BOTTOM",
246
+ "RIGHT",
247
+ "TOP"
248
+ ],
249
+ "required_slots": [
250
+ "BACK",
251
+ "RIGHT",
252
+ "BOTTOM",
253
+ "FRONT",
254
+ "TOP"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "K",
261
+ "rotation": 90
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "square",
265
+ "rotation": 90
266
+ },
267
+ "FRONT": {
268
+ "patternId": "heart",
269
+ "rotation": 180
270
+ },
271
+ "BACK": {
272
+ "patternId": "Z",
273
+ "rotation": 90
274
+ },
275
+ "LEFT": {
276
+ "patternId": "?",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "4",
281
+ "rotation": 270
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "K",
288
+ "rotation": 90
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "square",
292
+ "rotation": 90
293
+ },
294
+ "FRONT": {
295
+ "patternId": "heart",
296
+ "rotation": 180
297
+ },
298
+ "BACK": {
299
+ "patternId": "Z",
300
+ "rotation": 90
301
+ },
302
+ "LEFT": {
303
+ "patternId": "?",
304
+ "rotation": 0
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "4",
308
+ "rotation": 270
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C417\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> S -> E -> E -> N -> E -> N -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Z, rotation=90, flipVertical=true\n- step 2: patternId=4, rotation=180, flipVertical=true\n- step 3: patternId=square, rotation=180, flipVertical=true\n- step 4: patternId=heart, rotation=270, flipVertical=true\n- step 5: patternId=K, rotation=180, flipVertical=true\n- step 6: patternId=4, rotation=0, flipVertical=true\n- step 7: patternId=Z, rotation=270, flipVertical=true\n- step 8: patternId=square, rotation=270, flipVertical=true\n- step 9: patternId=4, rotation=270, flipVertical=true\n- step 10: patternId=K, rotation=90, flipVertical=true\n- allowed patternId values for this task: Z, 4, square, heart, 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."
314
+ }
315
+ }
cube1/data/C418.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C418",
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 -> S -> W -> E -> S -> W -> N -> 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
+ "E",
7
+ "E",
8
+ "S",
9
+ "W",
10
+ "E",
11
+ "S",
12
+ "W",
13
+ "N",
14
+ "W",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "J",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "plus",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "N",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "J",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "N",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "arrow_right",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "J",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "N",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "plus",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "1",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C418_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 418,
85
+ "name": "Reconstruct 418",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-418.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "plus",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "N",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "J",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "1",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "triangle",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "arrow_right",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "plus",
133
+ "N",
134
+ "J",
135
+ "1",
136
+ "triangle",
137
+ "arrow_right"
138
+ ],
139
+ "start_x": 2,
140
+ "start_y": 1,
141
+ "grid_width": 6,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "plus",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "arrow_right",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "N",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "1",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "triangle",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "J",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "arrow_right",
172
+ "rotation": 0,
173
+ "x": 2,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "J",
178
+ "rotation": 180,
179
+ "x": 3,
180
+ "y": 1
181
+ },
182
+ {
183
+ "patternId": "plus",
184
+ "rotation": 0,
185
+ "x": 4,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "N",
190
+ "rotation": 270,
191
+ "x": 4,
192
+ "y": 2
193
+ },
194
+ {
195
+ "patternId": "J",
196
+ "rotation": 270,
197
+ "x": 3,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "N",
202
+ "rotation": 270,
203
+ "x": 4,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "arrow_right",
208
+ "rotation": 180,
209
+ "x": 4,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "J",
214
+ "rotation": 0,
215
+ "x": 3,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "N",
220
+ "rotation": 0,
221
+ "x": 3,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "plus",
226
+ "rotation": 90,
227
+ "x": 2,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "1",
232
+ "rotation": 90,
233
+ "x": 1,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "RIGHT",
239
+ "TOP",
240
+ "FRONT",
241
+ "RIGHT",
242
+ "FRONT",
243
+ "BOTTOM",
244
+ "RIGHT",
245
+ "FRONT",
246
+ "TOP",
247
+ "BACK"
248
+ ],
249
+ "required_slots": [
250
+ "RIGHT",
251
+ "TOP",
252
+ "FRONT",
253
+ "BOTTOM",
254
+ "BACK"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "plus",
261
+ "rotation": 180
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "arrow_right",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "N",
269
+ "rotation": 90
270
+ },
271
+ "BACK": {
272
+ "patternId": "1",
273
+ "rotation": 180
274
+ },
275
+ "LEFT": {
276
+ "patternId": "?",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "J",
281
+ "rotation": 0
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "plus",
288
+ "rotation": 180
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "arrow_right",
292
+ "rotation": 0
293
+ },
294
+ "FRONT": {
295
+ "patternId": "N",
296
+ "rotation": 90
297
+ },
298
+ "BACK": {
299
+ "patternId": "1",
300
+ "rotation": 180
301
+ },
302
+ "LEFT": {
303
+ "patternId": "?",
304
+ "rotation": 0
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "J",
308
+ "rotation": 0
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C418\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> S -> W -> E -> S -> W -> N -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=J, rotation=180, flipVertical=true\n- step 2: patternId=plus, rotation=0, flipVertical=true\n- step 3: patternId=N, rotation=270, flipVertical=true\n- step 4: patternId=J, rotation=270, flipVertical=true\n- step 5: patternId=N, rotation=270, flipVertical=true\n- step 6: patternId=arrow_right, rotation=180, flipVertical=true\n- step 7: patternId=J, rotation=0, flipVertical=true\n- step 8: patternId=N, rotation=0, flipVertical=true\n- step 9: patternId=plus, rotation=90, flipVertical=true\n- step 10: patternId=1, rotation=90, flipVertical=true\n- allowed patternId values for this task: J, plus, N, arrow_right, 1, ?\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."
314
+ }
315
+ }
cube1/data/C419.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C419",
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 -> S -> W -> S -> E -> S -> E -> 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
+ "S",
7
+ "E",
8
+ "S",
9
+ "W",
10
+ "S",
11
+ "E",
12
+ "S",
13
+ "E",
14
+ "E",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "H",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "2",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "5",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "H",
38
+ "rotation": 180,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "R",
44
+ "rotation": 90,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "5",
50
+ "rotation": 270,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "3",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "2",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "H",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "5",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C419_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 419,
85
+ "name": "Reconstruct 419",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-419.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "5",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "H",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "2",
108
+ "rotation": 270,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "3",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "R",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "diamond",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "5",
133
+ "H",
134
+ "2",
135
+ "3",
136
+ "R",
137
+ "diamond"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 1,
141
+ "grid_width": 6,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "5",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "diamond",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "3",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "R",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "2",
166
+ "rotation": 0
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "diamond",
172
+ "rotation": 270,
173
+ "x": 1,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "H",
178
+ "rotation": 90,
179
+ "x": 1,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "2",
184
+ "rotation": 0,
185
+ "x": 2,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "5",
190
+ "rotation": 0,
191
+ "x": 2,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "H",
196
+ "rotation": 180,
197
+ "x": 1,
198
+ "y": 3
199
+ },
200
+ {
201
+ "patternId": "R",
202
+ "rotation": 90,
203
+ "x": 1,
204
+ "y": 4
205
+ },
206
+ {
207
+ "patternId": "5",
208
+ "rotation": 270,
209
+ "x": 2,
210
+ "y": 4
211
+ },
212
+ {
213
+ "patternId": "3",
214
+ "rotation": 90,
215
+ "x": 2,
216
+ "y": 5
217
+ },
218
+ {
219
+ "patternId": "2",
220
+ "rotation": 180,
221
+ "x": 3,
222
+ "y": 5
223
+ },
224
+ {
225
+ "patternId": "H",
226
+ "rotation": 270,
227
+ "x": 4,
228
+ "y": 5
229
+ },
230
+ {
231
+ "patternId": "5",
232
+ "rotation": 90,
233
+ "x": 4,
234
+ "y": 4
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "RIGHT",
240
+ "TOP",
241
+ "FRONT",
242
+ "LEFT",
243
+ "TOP",
244
+ "BACK",
245
+ "RIGHT",
246
+ "FRONT",
247
+ "TOP"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "RIGHT",
252
+ "TOP",
253
+ "LEFT",
254
+ "BACK"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "5",
261
+ "rotation": 270
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "?",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "H",
269
+ "rotation": 90
270
+ },
271
+ "BACK": {
272
+ "patternId": "3",
273
+ "rotation": 90
274
+ },
275
+ "LEFT": {
276
+ "patternId": "R",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "2",
281
+ "rotation": 270
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "5",
288
+ "rotation": 270
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "?",
292
+ "rotation": 0
293
+ },
294
+ "FRONT": {
295
+ "patternId": "H",
296
+ "rotation": 90
297
+ },
298
+ "BACK": {
299
+ "patternId": "3",
300
+ "rotation": 90
301
+ },
302
+ "LEFT": {
303
+ "patternId": "R",
304
+ "rotation": 90
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "2",
308
+ "rotation": 270
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C419\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> S -> W -> S -> E -> S -> E -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=90, flipVertical=true\n- step 2: patternId=2, rotation=0, flipVertical=true\n- step 3: patternId=5, rotation=0, flipVertical=true\n- step 4: patternId=H, rotation=180, flipVertical=true\n- step 5: patternId=R, rotation=90, flipVertical=true\n- step 6: patternId=5, rotation=270, flipVertical=true\n- step 7: patternId=3, rotation=90, flipVertical=true\n- step 8: patternId=2, rotation=180, flipVertical=true\n- step 9: patternId=H, rotation=270, flipVertical=true\n- step 10: patternId=5, rotation=90, flipVertical=true\n- allowed patternId values for this task: H, 2, 5, R, 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."
314
+ }
315
+ }
cube1/data/C420.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C420",
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 -> W -> W -> N -> E -> N -> 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
+ "N",
8
+ "W",
9
+ "W",
10
+ "N",
11
+ "E",
12
+ "N",
13
+ "E",
14
+ "S",
15
+ "E"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "I",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "K",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "8",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "H",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "I",
44
+ "rotation": 90,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "8",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "K",
56
+ "rotation": 270,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "I",
62
+ "rotation": 90,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "8",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "H",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C420_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 420,
85
+ "name": "Reconstruct 420",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-420.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "Z",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "H",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "I",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "K",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "I",
120
+ "rotation": 270,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "8",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "Z",
133
+ "H",
134
+ "I",
135
+ "K",
136
+ "I",
137
+ "8"
138
+ ],
139
+ "start_x": 2,
140
+ "start_y": 4,
141
+ "grid_width": 6,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "Z",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "8",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "K",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "I",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "I",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "8",
172
+ "rotation": 0,
173
+ "x": 2,
174
+ "y": 4
175
+ },
176
+ {
177
+ "patternId": "I",
178
+ "rotation": 0,
179
+ "x": 3,
180
+ "y": 4
181
+ },
182
+ {
183
+ "patternId": "K",
184
+ "rotation": 180,
185
+ "x": 3,
186
+ "y": 3
187
+ },
188
+ {
189
+ "patternId": "8",
190
+ "rotation": 270,
191
+ "x": 2,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "H",
196
+ "rotation": 90,
197
+ "x": 1,
198
+ "y": 3
199
+ },
200
+ {
201
+ "patternId": "I",
202
+ "rotation": 90,
203
+ "x": 1,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "8",
208
+ "rotation": 0,
209
+ "x": 2,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "K",
214
+ "rotation": 270,
215
+ "x": 2,
216
+ "y": 1
217
+ },
218
+ {
219
+ "patternId": "I",
220
+ "rotation": 90,
221
+ "x": 3,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "8",
226
+ "rotation": 90,
227
+ "x": 3,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "H",
232
+ "rotation": 270,
233
+ "x": 4,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "RIGHT",
239
+ "BACK",
240
+ "BOTTOM",
241
+ "FRONT",
242
+ "LEFT",
243
+ "BOTTOM",
244
+ "BACK",
245
+ "RIGHT",
246
+ "BOTTOM",
247
+ "FRONT"
248
+ ],
249
+ "required_slots": [
250
+ "RIGHT",
251
+ "BACK",
252
+ "BOTTOM",
253
+ "FRONT",
254
+ "LEFT"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "?",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "8",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "H",
269
+ "rotation": 180
270
+ },
271
+ "BACK": {
272
+ "patternId": "K",
273
+ "rotation": 270
274
+ },
275
+ "LEFT": {
276
+ "patternId": "I",
277
+ "rotation": 270
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "I",
281
+ "rotation": 180
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "?",
288
+ "rotation": 0
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "8",
292
+ "rotation": 0
293
+ },
294
+ "FRONT": {
295
+ "patternId": "H",
296
+ "rotation": 180
297
+ },
298
+ "BACK": {
299
+ "patternId": "K",
300
+ "rotation": 270
301
+ },
302
+ "LEFT": {
303
+ "patternId": "I",
304
+ "rotation": 270
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "I",
308
+ "rotation": 180
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C420\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> W -> W -> N -> E -> N -> E -> S -> E\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=K, rotation=180, flipVertical=true\n- step 3: patternId=8, rotation=270, flipVertical=true\n- step 4: patternId=H, rotation=90, flipVertical=true\n- step 5: patternId=I, rotation=90, flipVertical=true\n- step 6: patternId=8, rotation=0, flipVertical=true\n- step 7: patternId=K, rotation=270, flipVertical=true\n- step 8: patternId=I, rotation=90, flipVertical=true\n- step 9: patternId=8, rotation=90, flipVertical=true\n- step 10: patternId=H, rotation=270, flipVertical=true\n- allowed patternId values for this task: I, K, 8, 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."
314
+ }
315
+ }
cube1/data/C421.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C421",
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 -> W -> S -> E -> W -> E -> N -> 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
+ "E",
7
+ "W",
8
+ "S",
9
+ "E",
10
+ "W",
11
+ "E",
12
+ "N",
13
+ "W",
14
+ "N",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "C",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "W",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "V",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "C",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "V",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "C",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "W",
56
+ "rotation": 180,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "V",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "3",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "M",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C421_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 421,
85
+ "name": "Reconstruct 421",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-421.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "8",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "V",
102
+ "rotation": 0,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "C",
108
+ "rotation": 270,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "M",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "3",
120
+ "rotation": 270,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "W",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "8",
133
+ "V",
134
+ "C",
135
+ "M",
136
+ "3",
137
+ "W"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 3,
141
+ "grid_width": 4,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "8",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "W",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "V",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "M",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "3",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "C",
166
+ "rotation": 0
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "W",
172
+ "rotation": 270,
173
+ "x": 1,
174
+ "y": 3
175
+ },
176
+ {
177
+ "patternId": "C",
178
+ "rotation": 90,
179
+ "x": 2,
180
+ "y": 3
181
+ },
182
+ {
183
+ "patternId": "W",
184
+ "rotation": 270,
185
+ "x": 1,
186
+ "y": 3
187
+ },
188
+ {
189
+ "patternId": "V",
190
+ "rotation": 0,
191
+ "x": 1,
192
+ "y": 4
193
+ },
194
+ {
195
+ "patternId": "C",
196
+ "rotation": 0,
197
+ "x": 2,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "V",
202
+ "rotation": 0,
203
+ "x": 1,
204
+ "y": 4
205
+ },
206
+ {
207
+ "patternId": "C",
208
+ "rotation": 0,
209
+ "x": 2,
210
+ "y": 4
211
+ },
212
+ {
213
+ "patternId": "W",
214
+ "rotation": 180,
215
+ "x": 2,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "V",
220
+ "rotation": 270,
221
+ "x": 1,
222
+ "y": 3
223
+ },
224
+ {
225
+ "patternId": "3",
226
+ "rotation": 90,
227
+ "x": 1,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "M",
232
+ "rotation": 180,
233
+ "x": 1,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "RIGHT",
239
+ "BOTTOM",
240
+ "FRONT",
241
+ "RIGHT",
242
+ "FRONT",
243
+ "RIGHT",
244
+ "BOTTOM",
245
+ "FRONT",
246
+ "LEFT",
247
+ "BACK"
248
+ ],
249
+ "required_slots": [
250
+ "RIGHT",
251
+ "BOTTOM",
252
+ "FRONT",
253
+ "LEFT",
254
+ "BACK"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "?",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "W",
265
+ "rotation": 270
266
+ },
267
+ "FRONT": {
268
+ "patternId": "V",
269
+ "rotation": 0
270
+ },
271
+ "BACK": {
272
+ "patternId": "M",
273
+ "rotation": 90
274
+ },
275
+ "LEFT": {
276
+ "patternId": "3",
277
+ "rotation": 270
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "C",
281
+ "rotation": 270
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "?",
288
+ "rotation": 0
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "W",
292
+ "rotation": 270
293
+ },
294
+ "FRONT": {
295
+ "patternId": "V",
296
+ "rotation": 0
297
+ },
298
+ "BACK": {
299
+ "patternId": "M",
300
+ "rotation": 90
301
+ },
302
+ "LEFT": {
303
+ "patternId": "3",
304
+ "rotation": 270
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "C",
308
+ "rotation": 270
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C421\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): E -> W -> S -> E -> W -> E -> N -> W -> N -> N\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=W, rotation=270, flipVertical=true\n- step 3: patternId=V, rotation=0, flipVertical=true\n- step 4: patternId=C, rotation=0, flipVertical=true\n- step 5: patternId=V, rotation=0, flipVertical=true\n- step 6: patternId=C, rotation=0, flipVertical=true\n- step 7: patternId=W, rotation=180, flipVertical=true\n- step 8: patternId=V, rotation=270, flipVertical=true\n- step 9: patternId=3, rotation=90, flipVertical=true\n- step 10: patternId=M, rotation=180, flipVertical=true\n- allowed patternId values for this task: C, W, V, 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."
314
+ }
315
+ }
cube1/data/C422.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C422",
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 -> N -> W -> W -> W -> S -> 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
+ "E",
7
+ "E",
8
+ "N",
9
+ "W",
10
+ "W",
11
+ "W",
12
+ "S",
13
+ "S",
14
+ "W",
15
+ "S"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "E",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "5",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "circle",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "E",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "H",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "V",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "5",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "E",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "circle",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "1",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C422_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 422,
85
+ "name": "Reconstruct 422",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-422.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "5",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "H",
102
+ "rotation": 0,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "E",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "circle",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "V",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "1",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "5",
133
+ "H",
134
+ "E",
135
+ "circle",
136
+ "V",
137
+ "1"
138
+ ],
139
+ "start_x": 3,
140
+ "start_y": 2,
141
+ "grid_width": 7,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "5",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "1",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "circle",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "V",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "E",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "1",
172
+ "rotation": 90,
173
+ "x": 3,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "E",
178
+ "rotation": 180,
179
+ "x": 4,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "5",
184
+ "rotation": 270,
185
+ "x": 5,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "circle",
190
+ "rotation": 90,
191
+ "x": 5,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "E",
196
+ "rotation": 90,
197
+ "x": 4,
198
+ "y": 1
199
+ },
200
+ {
201
+ "patternId": "H",
202
+ "rotation": 0,
203
+ "x": 3,
204
+ "y": 1
205
+ },
206
+ {
207
+ "patternId": "V",
208
+ "rotation": 0,
209
+ "x": 2,
210
+ "y": 1
211
+ },
212
+ {
213
+ "patternId": "5",
214
+ "rotation": 0,
215
+ "x": 2,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "E",
220
+ "rotation": 270,
221
+ "x": 2,
222
+ "y": 3
223
+ },
224
+ {
225
+ "patternId": "circle",
226
+ "rotation": 270,
227
+ "x": 1,
228
+ "y": 3
229
+ },
230
+ {
231
+ "patternId": "1",
232
+ "rotation": 90,
233
+ "x": 1,
234
+ "y": 4
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "RIGHT",
239
+ "TOP",
240
+ "BACK",
241
+ "RIGHT",
242
+ "FRONT",
243
+ "LEFT",
244
+ "TOP",
245
+ "RIGHT",
246
+ "BACK",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "RIGHT",
251
+ "TOP",
252
+ "BACK",
253
+ "FRONT",
254
+ "LEFT",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "5",
262
+ "rotation": 90
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "1",
266
+ "rotation": 90
267
+ },
268
+ "FRONT": {
269
+ "patternId": "H",
270
+ "rotation": 0
271
+ },
272
+ "BACK": {
273
+ "patternId": "circle",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "V",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "E",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "5",
289
+ "rotation": 90
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "1",
293
+ "rotation": 90
294
+ },
295
+ "FRONT": {
296
+ "patternId": "H",
297
+ "rotation": 0
298
+ },
299
+ "BACK": {
300
+ "patternId": "circle",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "V",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "E",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C422\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> N -> W -> W -> W -> S -> S -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=E, rotation=180, flipVertical=true\n- step 2: patternId=5, rotation=270, flipVertical=true\n- step 3: patternId=circle, rotation=90, flipVertical=true\n- step 4: patternId=E, rotation=90, flipVertical=true\n- step 5: patternId=H, rotation=0, flipVertical=true\n- step 6: patternId=V, rotation=0, flipVertical=true\n- step 7: patternId=5, rotation=0, flipVertical=true\n- step 8: patternId=E, rotation=270, flipVertical=true\n- step 9: patternId=circle, rotation=270, flipVertical=true\n- step 10: patternId=1, rotation=90, flipVertical=true\n- allowed patternId values for this task: E, 5, circle, H, V, 1, ?\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."
315
+ }
316
+ }
cube1/data/C423.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C423",
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 -> N -> E -> S -> E -> N -> W -> 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
+ "S",
7
+ "E",
8
+ "N",
9
+ "E",
10
+ "S",
11
+ "E",
12
+ "N",
13
+ "W",
14
+ "N",
15
+ "E"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "heart",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "F",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "F",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "M",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "F",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "B",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "M",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "F",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "F",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "M",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C423_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 423,
85
+ "name": "Reconstruct 423",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-423.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "B",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "heart",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "F",
108
+ "rotation": 90,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "M",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "Q",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "F",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "B",
133
+ "heart",
134
+ "F",
135
+ "M",
136
+ "Q",
137
+ "F"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 2,
141
+ "grid_width": 6,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "B",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "F",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "heart",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "M",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "Q",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "F",
166
+ "rotation": 180
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "F",
172
+ "rotation": 270,
173
+ "x": 1,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "heart",
178
+ "rotation": 270,
179
+ "x": 1,
180
+ "y": 3
181
+ },
182
+ {
183
+ "patternId": "F",
184
+ "rotation": 180,
185
+ "x": 2,
186
+ "y": 3
187
+ },
188
+ {
189
+ "patternId": "F",
190
+ "rotation": 180,
191
+ "x": 2,
192
+ "y": 2
193
+ },
194
+ {
195
+ "patternId": "M",
196
+ "rotation": 90,
197
+ "x": 3,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "F",
202
+ "rotation": 270,
203
+ "x": 3,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "B",
208
+ "rotation": 90,
209
+ "x": 4,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "M",
214
+ "rotation": 0,
215
+ "x": 4,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "F",
220
+ "rotation": 180,
221
+ "x": 3,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "F",
226
+ "rotation": 180,
227
+ "x": 3,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "M",
232
+ "rotation": 90,
233
+ "x": 4,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "RIGHT",
240
+ "BOTTOM",
241
+ "BACK",
242
+ "RIGHT",
243
+ "TOP",
244
+ "BACK",
245
+ "RIGHT",
246
+ "BOTTOM",
247
+ "BACK"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "RIGHT",
252
+ "BOTTOM",
253
+ "BACK",
254
+ "TOP"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "B",
261
+ "rotation": 270
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "F",
265
+ "rotation": 270
266
+ },
267
+ "FRONT": {
268
+ "patternId": "heart",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "M",
273
+ "rotation": 180
274
+ },
275
+ "LEFT": {
276
+ "patternId": "?",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "F",
281
+ "rotation": 90
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "B",
288
+ "rotation": 270
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "F",
292
+ "rotation": 270
293
+ },
294
+ "FRONT": {
295
+ "patternId": "heart",
296
+ "rotation": 270
297
+ },
298
+ "BACK": {
299
+ "patternId": "M",
300
+ "rotation": 180
301
+ },
302
+ "LEFT": {
303
+ "patternId": "?",
304
+ "rotation": 0
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "F",
308
+ "rotation": 90
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C423\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> N -> E -> S -> E -> N -> W -> N -> E\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=F, rotation=180, flipVertical=true\n- step 3: patternId=F, rotation=180, flipVertical=true\n- step 4: patternId=M, rotation=90, flipVertical=true\n- step 5: patternId=F, rotation=270, flipVertical=true\n- step 6: patternId=B, rotation=90, flipVertical=true\n- step 7: patternId=M, rotation=0, flipVertical=true\n- step 8: patternId=F, rotation=180, flipVertical=true\n- step 9: patternId=F, rotation=180, flipVertical=true\n- step 10: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: heart, F, M, 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."
314
+ }
315
+ }
cube1/data/C424.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C424",
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 -> E -> N -> E -> E -> N -> 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
+ "N",
8
+ "N",
9
+ "E",
10
+ "N",
11
+ "E",
12
+ "E",
13
+ "N",
14
+ "E",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "D",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "diamond",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "U",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "heart",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "Z",
44
+ "rotation": 180,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "D",
50
+ "rotation": 270,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "diamond",
56
+ "rotation": 270,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "A",
62
+ "rotation": 90,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "U",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "Z",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C424_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 424,
85
+ "name": "Reconstruct 424",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-424.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "A",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "Z",
102
+ "rotation": 0,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "U",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "diamond",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "D",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "heart",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "A",
133
+ "Z",
134
+ "U",
135
+ "diamond",
136
+ "D",
137
+ "heart"
138
+ ],
139
+ "start_x": 2,
140
+ "start_y": 6,
141
+ "grid_width": 7,
142
+ "grid_height": 8,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "A",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "heart",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "Z",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "diamond",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "D",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "U",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "heart",
172
+ "rotation": 90,
173
+ "x": 2,
174
+ "y": 6
175
+ },
176
+ {
177
+ "patternId": "D",
178
+ "rotation": 0,
179
+ "x": 1,
180
+ "y": 6
181
+ },
182
+ {
183
+ "patternId": "diamond",
184
+ "rotation": 0,
185
+ "x": 1,
186
+ "y": 5
187
+ },
188
+ {
189
+ "patternId": "U",
190
+ "rotation": 0,
191
+ "x": 1,
192
+ "y": 4
193
+ },
194
+ {
195
+ "patternId": "heart",
196
+ "rotation": 270,
197
+ "x": 2,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "Z",
202
+ "rotation": 180,
203
+ "x": 2,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "D",
208
+ "rotation": 270,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "diamond",
214
+ "rotation": 270,
215
+ "x": 4,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "A",
220
+ "rotation": 90,
221
+ "x": 4,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "U",
226
+ "rotation": 0,
227
+ "x": 5,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "Z",
232
+ "rotation": 270,
233
+ "x": 5,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "BACK",
240
+ "RIGHT",
241
+ "BOTTOM",
242
+ "FRONT",
243
+ "LEFT",
244
+ "BACK",
245
+ "TOP",
246
+ "RIGHT",
247
+ "FRONT"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "BACK",
252
+ "RIGHT",
253
+ "BOTTOM",
254
+ "FRONT",
255
+ "TOP"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "A",
262
+ "rotation": 90
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "heart",
266
+ "rotation": 90
267
+ },
268
+ "FRONT": {
269
+ "patternId": "Z",
270
+ "rotation": 0
271
+ },
272
+ "BACK": {
273
+ "patternId": "diamond",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "D",
278
+ "rotation": 180
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "U",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "A",
289
+ "rotation": 90
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "heart",
293
+ "rotation": 90
294
+ },
295
+ "FRONT": {
296
+ "patternId": "Z",
297
+ "rotation": 0
298
+ },
299
+ "BACK": {
300
+ "patternId": "diamond",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "D",
305
+ "rotation": 180
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "U",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C424\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> N -> E -> N -> E -> E -> N -> E -> N\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=diamond, rotation=0, flipVertical=true\n- step 3: patternId=U, rotation=0, flipVertical=true\n- step 4: patternId=heart, rotation=270, flipVertical=true\n- step 5: patternId=Z, rotation=180, flipVertical=true\n- step 6: patternId=D, rotation=270, flipVertical=true\n- step 7: patternId=diamond, rotation=270, flipVertical=true\n- step 8: patternId=A, rotation=90, flipVertical=true\n- step 9: patternId=U, rotation=0, flipVertical=true\n- step 10: patternId=Z, rotation=270, flipVertical=true\n- allowed patternId values for this task: D, diamond, U, heart, Z, A, ?\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."
315
+ }
316
+ }
cube1/data/C425.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C425",
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 -> E -> E -> N -> N -> N -> 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
+ "W",
9
+ "E",
10
+ "E",
11
+ "N",
12
+ "N",
13
+ "N",
14
+ "W",
15
+ "S"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "4",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "I",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "3",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "I",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "4",
44
+ "rotation": 90,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "7",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "3",
56
+ "rotation": 180,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "I",
62
+ "rotation": 90,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "I",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "3",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C425_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 425,
85
+ "name": "Reconstruct 425",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-425.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "I",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "4",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "O",
108
+ "rotation": 90,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "3",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "I",
120
+ "rotation": 180,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "7",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "I",
133
+ "4",
134
+ "O",
135
+ "3",
136
+ "I",
137
+ "7"
138
+ ],
139
+ "start_x": 3,
140
+ "start_y": 3,
141
+ "grid_width": 5,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "I",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "7",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "4",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "3",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "I",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "O",
166
+ "rotation": 180
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "7",
172
+ "rotation": 90,
173
+ "x": 3,
174
+ "y": 3
175
+ },
176
+ {
177
+ "patternId": "4",
178
+ "rotation": 90,
179
+ "x": 3,
180
+ "y": 4
181
+ },
182
+ {
183
+ "patternId": "I",
184
+ "rotation": 90,
185
+ "x": 2,
186
+ "y": 4
187
+ },
188
+ {
189
+ "patternId": "3",
190
+ "rotation": 0,
191
+ "x": 1,
192
+ "y": 4
193
+ },
194
+ {
195
+ "patternId": "I",
196
+ "rotation": 90,
197
+ "x": 2,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "4",
202
+ "rotation": 90,
203
+ "x": 3,
204
+ "y": 4
205
+ },
206
+ {
207
+ "patternId": "7",
208
+ "rotation": 90,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "3",
214
+ "rotation": 180,
215
+ "x": 3,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "I",
220
+ "rotation": 90,
221
+ "x": 3,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "I",
226
+ "rotation": 180,
227
+ "x": 2,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "3",
232
+ "rotation": 90,
233
+ "x": 2,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "LEFT",
240
+ "BACK",
241
+ "LEFT",
242
+ "FRONT",
243
+ "BOTTOM",
244
+ "BACK",
245
+ "TOP",
246
+ "LEFT",
247
+ "BACK"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "LEFT",
252
+ "BACK",
253
+ "BOTTOM",
254
+ "TOP"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "I",
261
+ "rotation": 90
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "7",
265
+ "rotation": 90
266
+ },
267
+ "FRONT": {
268
+ "patternId": "4",
269
+ "rotation": 90
270
+ },
271
+ "BACK": {
272
+ "patternId": "3",
273
+ "rotation": 180
274
+ },
275
+ "LEFT": {
276
+ "patternId": "I",
277
+ "rotation": 180
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "?",
281
+ "rotation": 0
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "I",
288
+ "rotation": 90
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "7",
292
+ "rotation": 90
293
+ },
294
+ "FRONT": {
295
+ "patternId": "4",
296
+ "rotation": 90
297
+ },
298
+ "BACK": {
299
+ "patternId": "3",
300
+ "rotation": 180
301
+ },
302
+ "LEFT": {
303
+ "patternId": "I",
304
+ "rotation": 180
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "?",
308
+ "rotation": 0
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C425\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W -> E -> E -> N -> N -> N -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=4, rotation=90, flipVertical=true\n- step 2: patternId=I, rotation=90, flipVertical=true\n- step 3: patternId=3, rotation=0, flipVertical=true\n- step 4: patternId=I, rotation=90, flipVertical=true\n- step 5: patternId=4, rotation=90, flipVertical=true\n- step 6: patternId=7, rotation=90, flipVertical=true\n- step 7: patternId=3, rotation=180, flipVertical=true\n- step 8: patternId=I, rotation=90, flipVertical=true\n- step 9: patternId=I, rotation=180, flipVertical=true\n- step 10: patternId=3, rotation=90, flipVertical=true\n- allowed patternId values for this task: 4, I, 3, 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."
314
+ }
315
+ }
cube1/data/C426.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C426",
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 -> S -> S -> W -> S -> W -> S -> 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
+ "N",
7
+ "S",
8
+ "S",
9
+ "W",
10
+ "S",
11
+ "W",
12
+ "S",
13
+ "E",
14
+ "S",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "star",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "heart",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "F",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "9",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "triangle",
44
+ "rotation": 180,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "star",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "X",
56
+ "rotation": 180,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "triangle",
62
+ "rotation": 90,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "F",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "X",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C426_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 426,
85
+ "name": "Reconstruct 426",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-426.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "triangle",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "F",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "X",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "star",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "9",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "heart",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "triangle",
133
+ "F",
134
+ "X",
135
+ "star",
136
+ "9",
137
+ "heart"
138
+ ],
139
+ "start_x": 3,
140
+ "start_y": 2,
141
+ "grid_width": 5,
142
+ "grid_height": 8,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "triangle",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "heart",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "F",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "star",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "9",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "X",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "heart",
172
+ "rotation": 90,
173
+ "x": 3,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "star",
178
+ "rotation": 270,
179
+ "x": 3,
180
+ "y": 1
181
+ },
182
+ {
183
+ "patternId": "heart",
184
+ "rotation": 90,
185
+ "x": 3,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "F",
190
+ "rotation": 270,
191
+ "x": 3,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "9",
196
+ "rotation": 0,
197
+ "x": 2,
198
+ "y": 3
199
+ },
200
+ {
201
+ "patternId": "triangle",
202
+ "rotation": 180,
203
+ "x": 2,
204
+ "y": 4
205
+ },
206
+ {
207
+ "patternId": "star",
208
+ "rotation": 180,
209
+ "x": 1,
210
+ "y": 4
211
+ },
212
+ {
213
+ "patternId": "X",
214
+ "rotation": 180,
215
+ "x": 1,
216
+ "y": 5
217
+ },
218
+ {
219
+ "patternId": "triangle",
220
+ "rotation": 90,
221
+ "x": 2,
222
+ "y": 5
223
+ },
224
+ {
225
+ "patternId": "F",
226
+ "rotation": 90,
227
+ "x": 2,
228
+ "y": 6
229
+ },
230
+ {
231
+ "patternId": "X",
232
+ "rotation": 270,
233
+ "x": 1,
234
+ "y": 6
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "BACK",
239
+ "BOTTOM",
240
+ "FRONT",
241
+ "LEFT",
242
+ "TOP",
243
+ "BACK",
244
+ "RIGHT",
245
+ "TOP",
246
+ "FRONT",
247
+ "RIGHT"
248
+ ],
249
+ "required_slots": [
250
+ "BACK",
251
+ "BOTTOM",
252
+ "FRONT",
253
+ "LEFT",
254
+ "TOP",
255
+ "RIGHT"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "triangle",
262
+ "rotation": 270
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "heart",
266
+ "rotation": 90
267
+ },
268
+ "FRONT": {
269
+ "patternId": "F",
270
+ "rotation": 270
271
+ },
272
+ "BACK": {
273
+ "patternId": "star",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "9",
278
+ "rotation": 90
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "X",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "triangle",
289
+ "rotation": 270
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "heart",
293
+ "rotation": 90
294
+ },
295
+ "FRONT": {
296
+ "patternId": "F",
297
+ "rotation": 270
298
+ },
299
+ "BACK": {
300
+ "patternId": "star",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "9",
305
+ "rotation": 90
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "X",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C426\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): N -> S -> S -> W -> S -> W -> S -> E -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=270, flipVertical=true\n- step 2: patternId=heart, rotation=90, flipVertical=true\n- step 3: patternId=F, rotation=270, flipVertical=true\n- step 4: patternId=9, rotation=0, flipVertical=true\n- step 5: patternId=triangle, rotation=180, flipVertical=true\n- step 6: patternId=star, rotation=180, flipVertical=true\n- step 7: patternId=X, rotation=180, flipVertical=true\n- step 8: patternId=triangle, rotation=90, flipVertical=true\n- step 9: patternId=F, rotation=90, flipVertical=true\n- step 10: patternId=X, rotation=270, flipVertical=true\n- allowed patternId values for this task: star, heart, F, 9, triangle, X, ?\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."
315
+ }
316
+ }
cube1/data/C427.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C427",
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 -> S -> E -> N -> E -> N -> N -> 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
+ "N",
7
+ "N",
8
+ "S",
9
+ "E",
10
+ "N",
11
+ "E",
12
+ "N",
13
+ "N",
14
+ "E",
15
+ "E"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "X",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "X",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "X",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "E",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "X",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "star",
50
+ "rotation": 270,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "B",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "X",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "D",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "star",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C427_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 427,
85
+ "name": "Reconstruct 427",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-427.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "X",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "star",
102
+ "rotation": 0,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "E",
108
+ "rotation": 90,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "X",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "B",
120
+ "rotation": 270,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "D",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "X",
133
+ "star",
134
+ "E",
135
+ "X",
136
+ "B",
137
+ "D"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 5,
141
+ "grid_width": 7,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "X",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "D",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "star",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "X",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "B",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "E",
166
+ "rotation": 180
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "D",
172
+ "rotation": 0,
173
+ "x": 1,
174
+ "y": 5
175
+ },
176
+ {
177
+ "patternId": "X",
178
+ "rotation": 90,
179
+ "x": 1,
180
+ "y": 4
181
+ },
182
+ {
183
+ "patternId": "X",
184
+ "rotation": 90,
185
+ "x": 1,
186
+ "y": 3
187
+ },
188
+ {
189
+ "patternId": "X",
190
+ "rotation": 90,
191
+ "x": 1,
192
+ "y": 4
193
+ },
194
+ {
195
+ "patternId": "E",
196
+ "rotation": 0,
197
+ "x": 2,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "X",
202
+ "rotation": 0,
203
+ "x": 2,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "star",
208
+ "rotation": 270,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "B",
214
+ "rotation": 90,
215
+ "x": 3,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "X",
220
+ "rotation": 180,
221
+ "x": 3,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "D",
226
+ "rotation": 90,
227
+ "x": 4,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "star",
232
+ "rotation": 90,
233
+ "x": 5,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "BACK",
239
+ "TOP",
240
+ "BACK",
241
+ "RIGHT",
242
+ "TOP",
243
+ "FRONT",
244
+ "LEFT",
245
+ "BACK",
246
+ "BOTTOM",
247
+ "FRONT"
248
+ ],
249
+ "required_slots": [
250
+ "BACK",
251
+ "TOP",
252
+ "RIGHT",
253
+ "FRONT",
254
+ "LEFT",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "X",
262
+ "rotation": 90
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "D",
266
+ "rotation": 0
267
+ },
268
+ "FRONT": {
269
+ "patternId": "star",
270
+ "rotation": 0
271
+ },
272
+ "BACK": {
273
+ "patternId": "X",
274
+ "rotation": 90
275
+ },
276
+ "LEFT": {
277
+ "patternId": "B",
278
+ "rotation": 270
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "E",
282
+ "rotation": 90
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "X",
289
+ "rotation": 90
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "D",
293
+ "rotation": 0
294
+ },
295
+ "FRONT": {
296
+ "patternId": "star",
297
+ "rotation": 0
298
+ },
299
+ "BACK": {
300
+ "patternId": "X",
301
+ "rotation": 90
302
+ },
303
+ "LEFT": {
304
+ "patternId": "B",
305
+ "rotation": 270
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "E",
309
+ "rotation": 90
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C427\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> S -> E -> N -> E -> N -> N -> E -> E\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=X, rotation=90, flipVertical=true\n- step 3: patternId=X, rotation=90, flipVertical=true\n- step 4: patternId=E, rotation=0, flipVertical=true\n- step 5: patternId=X, rotation=0, flipVertical=true\n- step 6: patternId=star, rotation=270, flipVertical=true\n- step 7: patternId=B, rotation=90, flipVertical=true\n- step 8: patternId=X, rotation=180, flipVertical=true\n- step 9: patternId=D, rotation=90, flipVertical=true\n- step 10: patternId=star, rotation=90, flipVertical=true\n- allowed patternId values for this task: X, E, star, B, D, ?\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."
315
+ }
316
+ }
cube1/data/C428.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C428",
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 -> N -> N -> E -> N -> E -> N -> N -> 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
+ "N",
8
+ "N",
9
+ "E",
10
+ "N",
11
+ "E",
12
+ "N",
13
+ "N",
14
+ "W",
15
+ "W"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "square",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "R",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "Q",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "A",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "star",
44
+ "rotation": 90,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "square",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "diamond",
56
+ "rotation": 180,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "Q",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "star",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "square",
74
+ "rotation": 0,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C428_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 428,
85
+ "name": "Reconstruct 428",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-428.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "star",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "square",
102
+ "rotation": 270,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "A",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "Q",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "diamond",
120
+ "rotation": 0,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "R",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "star",
133
+ "square",
134
+ "A",
135
+ "Q",
136
+ "diamond",
137
+ "R"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 5,
141
+ "grid_width": 5,
142
+ "grid_height": 8,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "star",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "R",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "square",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "Q",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "diamond",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "A",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "R",
172
+ "rotation": 90,
173
+ "x": 1,
174
+ "y": 5
175
+ },
176
+ {
177
+ "patternId": "square",
178
+ "rotation": 270,
179
+ "x": 1,
180
+ "y": 6
181
+ },
182
+ {
183
+ "patternId": "R",
184
+ "rotation": 90,
185
+ "x": 1,
186
+ "y": 5
187
+ },
188
+ {
189
+ "patternId": "Q",
190
+ "rotation": 270,
191
+ "x": 1,
192
+ "y": 4
193
+ },
194
+ {
195
+ "patternId": "A",
196
+ "rotation": 270,
197
+ "x": 2,
198
+ "y": 4
199
+ },
200
+ {
201
+ "patternId": "star",
202
+ "rotation": 90,
203
+ "x": 2,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "square",
208
+ "rotation": 180,
209
+ "x": 3,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "diamond",
214
+ "rotation": 180,
215
+ "x": 3,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "Q",
220
+ "rotation": 0,
221
+ "x": 3,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "star",
226
+ "rotation": 270,
227
+ "x": 2,
228
+ "y": 1
229
+ },
230
+ {
231
+ "patternId": "square",
232
+ "rotation": 0,
233
+ "x": 1,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "BOTTOM",
240
+ "BACK",
241
+ "RIGHT",
242
+ "TOP",
243
+ "FRONT",
244
+ "LEFT",
245
+ "BACK",
246
+ "TOP",
247
+ "FRONT"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "BOTTOM",
252
+ "BACK",
253
+ "RIGHT",
254
+ "TOP",
255
+ "LEFT"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "star",
262
+ "rotation": 180
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "R",
266
+ "rotation": 90
267
+ },
268
+ "FRONT": {
269
+ "patternId": "square",
270
+ "rotation": 270
271
+ },
272
+ "BACK": {
273
+ "patternId": "Q",
274
+ "rotation": 270
275
+ },
276
+ "LEFT": {
277
+ "patternId": "diamond",
278
+ "rotation": 0
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "A",
282
+ "rotation": 0
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "star",
289
+ "rotation": 180
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "R",
293
+ "rotation": 90
294
+ },
295
+ "FRONT": {
296
+ "patternId": "square",
297
+ "rotation": 270
298
+ },
299
+ "BACK": {
300
+ "patternId": "Q",
301
+ "rotation": 270
302
+ },
303
+ "LEFT": {
304
+ "patternId": "diamond",
305
+ "rotation": 0
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "A",
309
+ "rotation": 0
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C428\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N -> N -> E -> N -> E -> N -> N -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=square, rotation=270, flipVertical=true\n- step 2: patternId=R, rotation=90, flipVertical=true\n- step 3: patternId=Q, rotation=270, flipVertical=true\n- step 4: patternId=A, rotation=270, flipVertical=true\n- step 5: patternId=star, rotation=90, flipVertical=true\n- step 6: patternId=square, rotation=180, flipVertical=true\n- step 7: patternId=diamond, rotation=180, flipVertical=true\n- step 8: patternId=Q, rotation=0, flipVertical=true\n- step 9: patternId=star, rotation=270, flipVertical=true\n- step 10: patternId=square, rotation=0, flipVertical=true\n- allowed patternId values for this task: square, R, Q, A, star, 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."
315
+ }
316
+ }
cube1/data/C429.json ADDED
@@ -0,0 +1,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C429",
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 -> W -> N -> N -> S -> N -> 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
+ "W",
7
+ "N",
8
+ "N",
9
+ "W",
10
+ "N",
11
+ "N",
12
+ "S",
13
+ "N",
14
+ "S",
15
+ "E"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "circle",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "E",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "6",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "6",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "P",
44
+ "rotation": 90,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "E",
50
+ "rotation": 0,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "P",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "E",
62
+ "rotation": 0,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "P",
68
+ "rotation": 90,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "6",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C429_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 429,
85
+ "name": "Reconstruct 429",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-429.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "6",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "P",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "6",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "E",
114
+ "rotation": 0,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "circle",
120
+ "rotation": 0,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "E",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "6",
133
+ "P",
134
+ "6",
135
+ "E",
136
+ "circle",
137
+ "E"
138
+ ],
139
+ "start_x": 3,
140
+ "start_y": 5,
141
+ "grid_width": 5,
142
+ "grid_height": 7,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "6",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "E",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "P",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "E",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "circle",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "6",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "E",
172
+ "rotation": 0,
173
+ "x": 3,
174
+ "y": 5
175
+ },
176
+ {
177
+ "patternId": "circle",
178
+ "rotation": 180,
179
+ "x": 2,
180
+ "y": 5
181
+ },
182
+ {
183
+ "patternId": "E",
184
+ "rotation": 90,
185
+ "x": 2,
186
+ "y": 4
187
+ },
188
+ {
189
+ "patternId": "6",
190
+ "rotation": 180,
191
+ "x": 2,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "6",
196
+ "rotation": 270,
197
+ "x": 1,
198
+ "y": 3
199
+ },
200
+ {
201
+ "patternId": "P",
202
+ "rotation": 90,
203
+ "x": 1,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "E",
208
+ "rotation": 0,
209
+ "x": 1,
210
+ "y": 1
211
+ },
212
+ {
213
+ "patternId": "P",
214
+ "rotation": 90,
215
+ "x": 1,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "E",
220
+ "rotation": 0,
221
+ "x": 1,
222
+ "y": 1
223
+ },
224
+ {
225
+ "patternId": "P",
226
+ "rotation": 90,
227
+ "x": 1,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "6",
232
+ "rotation": 270,
233
+ "x": 2,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "BACK",
240
+ "RIGHT",
241
+ "TOP",
242
+ "FRONT",
243
+ "BOTTOM",
244
+ "FRONT",
245
+ "BOTTOM",
246
+ "FRONT",
247
+ "RIGHT"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "BACK",
252
+ "RIGHT",
253
+ "TOP",
254
+ "FRONT",
255
+ "BOTTOM"
256
+ ],
257
+ "required_count": 6,
258
+ "answer": {
259
+ "faces": {
260
+ "TOP": {
261
+ "patternId": "6",
262
+ "rotation": 270
263
+ },
264
+ "BOTTOM": {
265
+ "patternId": "E",
266
+ "rotation": 0
267
+ },
268
+ "FRONT": {
269
+ "patternId": "P",
270
+ "rotation": 90
271
+ },
272
+ "BACK": {
273
+ "patternId": "E",
274
+ "rotation": 0
275
+ },
276
+ "LEFT": {
277
+ "patternId": "circle",
278
+ "rotation": 0
279
+ },
280
+ "RIGHT": {
281
+ "patternId": "6",
282
+ "rotation": 180
283
+ }
284
+ }
285
+ },
286
+ "legacy_answer": {
287
+ "TOP": {
288
+ "patternId": "6",
289
+ "rotation": 270
290
+ },
291
+ "BOTTOM": {
292
+ "patternId": "E",
293
+ "rotation": 0
294
+ },
295
+ "FRONT": {
296
+ "patternId": "P",
297
+ "rotation": 90
298
+ },
299
+ "BACK": {
300
+ "patternId": "E",
301
+ "rotation": 0
302
+ },
303
+ "LEFT": {
304
+ "patternId": "circle",
305
+ "rotation": 0
306
+ },
307
+ "RIGHT": {
308
+ "patternId": "6",
309
+ "rotation": 180
310
+ }
311
+ },
312
+ "prompt": {
313
+ "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.",
314
+ "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: C429\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> N -> W -> N -> N -> S -> N -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=circle, rotation=180, flipVertical=true\n- step 2: patternId=E, rotation=90, flipVertical=true\n- step 3: patternId=6, rotation=180, flipVertical=true\n- step 4: patternId=6, rotation=270, flipVertical=true\n- step 5: patternId=P, rotation=90, flipVertical=true\n- step 6: patternId=E, rotation=0, flipVertical=true\n- step 7: patternId=P, rotation=90, flipVertical=true\n- step 8: patternId=E, rotation=0, flipVertical=true\n- step 9: patternId=P, rotation=90, flipVertical=true\n- step 10: patternId=6, rotation=270, flipVertical=true\n- allowed patternId values for this task: circle, E, 6, 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."
315
+ }
316
+ }
cube1/data/C430.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C430",
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 -> N -> W -> S -> E -> 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
+ "W",
7
+ "W",
8
+ "N",
9
+ "N",
10
+ "W",
11
+ "S",
12
+ "E",
13
+ "N",
14
+ "W",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "smile",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "heart",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "9",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "K",
38
+ "rotation": 270,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "arrow_up",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "9",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "K",
56
+ "rotation": 180,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "arrow_up",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "9",
68
+ "rotation": 0,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "heart",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C430_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 430,
85
+ "name": "Reconstruct 430",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-430.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "heart",
96
+ "rotation": 90,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "Y",
102
+ "rotation": 0,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "arrow_up",
108
+ "rotation": 0,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "9",
114
+ "rotation": 0,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "smile",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "K",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "heart",
133
+ "Y",
134
+ "arrow_up",
135
+ "9",
136
+ "smile",
137
+ "K"
138
+ ],
139
+ "start_x": 4,
140
+ "start_y": 4,
141
+ "grid_width": 6,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "heart",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "K",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "Y",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "9",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "smile",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "arrow_up",
166
+ "rotation": 90
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "K",
172
+ "rotation": 90,
173
+ "x": 4,
174
+ "y": 4
175
+ },
176
+ {
177
+ "patternId": "smile",
178
+ "rotation": 270,
179
+ "x": 3,
180
+ "y": 4
181
+ },
182
+ {
183
+ "patternId": "heart",
184
+ "rotation": 270,
185
+ "x": 2,
186
+ "y": 4
187
+ },
188
+ {
189
+ "patternId": "9",
190
+ "rotation": 180,
191
+ "x": 2,
192
+ "y": 3
193
+ },
194
+ {
195
+ "patternId": "K",
196
+ "rotation": 270,
197
+ "x": 2,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "arrow_up",
202
+ "rotation": 0,
203
+ "x": 1,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "9",
208
+ "rotation": 90,
209
+ "x": 1,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "K",
214
+ "rotation": 180,
215
+ "x": 2,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "arrow_up",
220
+ "rotation": 270,
221
+ "x": 2,
222
+ "y": 2
223
+ },
224
+ {
225
+ "patternId": "9",
226
+ "rotation": 0,
227
+ "x": 1,
228
+ "y": 2
229
+ },
230
+ {
231
+ "patternId": "heart",
232
+ "rotation": 90,
233
+ "x": 1,
234
+ "y": 1
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "TOP",
240
+ "BACK",
241
+ "BOTTOM",
242
+ "RIGHT",
243
+ "BACK",
244
+ "BOTTOM",
245
+ "RIGHT",
246
+ "BACK",
247
+ "TOP"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "TOP",
252
+ "BACK",
253
+ "BOTTOM",
254
+ "RIGHT"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "heart",
261
+ "rotation": 90
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "K",
265
+ "rotation": 90
266
+ },
267
+ "FRONT": {
268
+ "patternId": "?",
269
+ "rotation": 0
270
+ },
271
+ "BACK": {
272
+ "patternId": "9",
273
+ "rotation": 0
274
+ },
275
+ "LEFT": {
276
+ "patternId": "smile",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "arrow_up",
281
+ "rotation": 0
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "heart",
288
+ "rotation": 90
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "K",
292
+ "rotation": 90
293
+ },
294
+ "FRONT": {
295
+ "patternId": "?",
296
+ "rotation": 0
297
+ },
298
+ "BACK": {
299
+ "patternId": "9",
300
+ "rotation": 0
301
+ },
302
+ "LEFT": {
303
+ "patternId": "smile",
304
+ "rotation": 90
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "arrow_up",
308
+ "rotation": 0
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C430\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> N -> N -> W -> S -> E -> N -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=smile, rotation=270, flipVertical=true\n- step 2: patternId=heart, rotation=270, flipVertical=true\n- step 3: patternId=9, rotation=180, flipVertical=true\n- step 4: patternId=K, rotation=270, flipVertical=true\n- step 5: patternId=arrow_up, rotation=0, flipVertical=true\n- step 6: patternId=9, rotation=90, flipVertical=true\n- step 7: patternId=K, rotation=180, flipVertical=true\n- step 8: patternId=arrow_up, rotation=270, flipVertical=true\n- step 9: patternId=9, rotation=0, flipVertical=true\n- step 10: patternId=heart, rotation=90, flipVertical=true\n- allowed patternId values for this task: smile, heart, 9, K, 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."
314
+ }
315
+ }
cube1/data/C431.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C431",
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 -> N -> W -> S -> S -> W -> W -> E -> 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
+ "S",
7
+ "N",
8
+ "W",
9
+ "S",
10
+ "S",
11
+ "W",
12
+ "W",
13
+ "E",
14
+ "E",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "arrow_left",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "O",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "1",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "arrow_left",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "heart",
44
+ "rotation": 270,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "9",
50
+ "rotation": 180,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "1",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "9",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "heart",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "arrow_left",
74
+ "rotation": 0,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C431_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 431,
85
+ "name": "Reconstruct 431",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-431.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "9",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "arrow_left",
102
+ "rotation": 90,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "heart",
108
+ "rotation": 270,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "heart",
114
+ "rotation": 180,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "1",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "O",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "9",
133
+ "arrow_left",
134
+ "heart",
135
+ "heart",
136
+ "1",
137
+ "O"
138
+ ],
139
+ "start_x": 4,
140
+ "start_y": 1,
141
+ "grid_width": 6,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "9",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "O",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "arrow_left",
154
+ "rotation": 90
155
+ },
156
+ "BACK": {
157
+ "patternId": "heart",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "1",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "heart",
166
+ "rotation": 0
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "O",
172
+ "rotation": 0,
173
+ "x": 4,
174
+ "y": 1
175
+ },
176
+ {
177
+ "patternId": "arrow_left",
178
+ "rotation": 90,
179
+ "x": 4,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "O",
184
+ "rotation": 0,
185
+ "x": 4,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "1",
190
+ "rotation": 270,
191
+ "x": 3,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "arrow_left",
196
+ "rotation": 0,
197
+ "x": 3,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "heart",
202
+ "rotation": 270,
203
+ "x": 3,
204
+ "y": 3
205
+ },
206
+ {
207
+ "patternId": "9",
208
+ "rotation": 180,
209
+ "x": 2,
210
+ "y": 3
211
+ },
212
+ {
213
+ "patternId": "1",
214
+ "rotation": 90,
215
+ "x": 1,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "9",
220
+ "rotation": 180,
221
+ "x": 2,
222
+ "y": 3
223
+ },
224
+ {
225
+ "patternId": "heart",
226
+ "rotation": 270,
227
+ "x": 3,
228
+ "y": 3
229
+ },
230
+ {
231
+ "patternId": "arrow_left",
232
+ "rotation": 0,
233
+ "x": 3,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "BOTTOM",
240
+ "LEFT",
241
+ "FRONT",
242
+ "RIGHT",
243
+ "TOP",
244
+ "LEFT",
245
+ "TOP",
246
+ "RIGHT",
247
+ "FRONT"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "BOTTOM",
252
+ "LEFT",
253
+ "RIGHT",
254
+ "TOP"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "9",
261
+ "rotation": 180
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "O",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "arrow_left",
269
+ "rotation": 90
270
+ },
271
+ "BACK": {
272
+ "patternId": "?",
273
+ "rotation": 0
274
+ },
275
+ "LEFT": {
276
+ "patternId": "1",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "heart",
281
+ "rotation": 270
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "9",
288
+ "rotation": 180
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "O",
292
+ "rotation": 0
293
+ },
294
+ "FRONT": {
295
+ "patternId": "arrow_left",
296
+ "rotation": 90
297
+ },
298
+ "BACK": {
299
+ "patternId": "?",
300
+ "rotation": 0
301
+ },
302
+ "LEFT": {
303
+ "patternId": "1",
304
+ "rotation": 90
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "heart",
308
+ "rotation": 270
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C431\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N -> W -> S -> S -> W -> W -> E -> E -> N\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=O, rotation=0, flipVertical=true\n- step 3: patternId=1, rotation=270, flipVertical=true\n- step 4: patternId=arrow_left, rotation=0, flipVertical=true\n- step 5: patternId=heart, rotation=270, flipVertical=true\n- step 6: patternId=9, rotation=180, flipVertical=true\n- step 7: patternId=1, rotation=90, flipVertical=true\n- step 8: patternId=9, rotation=180, flipVertical=true\n- step 9: patternId=heart, rotation=270, flipVertical=true\n- step 10: patternId=arrow_left, rotation=0, flipVertical=true\n- allowed patternId values for this task: arrow_left, O, 1, 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."
314
+ }
315
+ }
cube1/data/C432.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C432",
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 -> W -> S -> W -> N -> S -> S -> 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
+ "N",
8
+ "W",
9
+ "S",
10
+ "W",
11
+ "N",
12
+ "S",
13
+ "S",
14
+ "S",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "4",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "M",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "9",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "4",
38
+ "rotation": 180,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "V",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "9",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "V",
56
+ "rotation": 0,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "I",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "M",
68
+ "rotation": 270,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "I",
74
+ "rotation": 180,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C432_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 432,
85
+ "name": "Reconstruct 432",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-432.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "9",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "V",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "star",
108
+ "rotation": 270,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "M",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "4",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "I",
126
+ "rotation": 0,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "9",
133
+ "V",
134
+ "star",
135
+ "M",
136
+ "4",
137
+ "I"
138
+ ],
139
+ "start_x": 4,
140
+ "start_y": 2,
141
+ "grid_width": 6,
142
+ "grid_height": 6,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "9",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "I",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "V",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "M",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "4",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "star",
166
+ "rotation": 0
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "I",
172
+ "rotation": 0,
173
+ "x": 4,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "4",
178
+ "rotation": 270,
179
+ "x": 3,
180
+ "y": 2
181
+ },
182
+ {
183
+ "patternId": "M",
184
+ "rotation": 180,
185
+ "x": 3,
186
+ "y": 1
187
+ },
188
+ {
189
+ "patternId": "9",
190
+ "rotation": 0,
191
+ "x": 2,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "4",
196
+ "rotation": 180,
197
+ "x": 2,
198
+ "y": 2
199
+ },
200
+ {
201
+ "patternId": "V",
202
+ "rotation": 0,
203
+ "x": 1,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "9",
208
+ "rotation": 90,
209
+ "x": 1,
210
+ "y": 1
211
+ },
212
+ {
213
+ "patternId": "V",
214
+ "rotation": 0,
215
+ "x": 1,
216
+ "y": 2
217
+ },
218
+ {
219
+ "patternId": "I",
220
+ "rotation": 180,
221
+ "x": 1,
222
+ "y": 3
223
+ },
224
+ {
225
+ "patternId": "M",
226
+ "rotation": 270,
227
+ "x": 1,
228
+ "y": 4
229
+ },
230
+ {
231
+ "patternId": "I",
232
+ "rotation": 180,
233
+ "x": 1,
234
+ "y": 3
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "LEFT",
239
+ "BACK",
240
+ "TOP",
241
+ "LEFT",
242
+ "FRONT",
243
+ "TOP",
244
+ "FRONT",
245
+ "BOTTOM",
246
+ "BACK",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "LEFT",
251
+ "BACK",
252
+ "TOP",
253
+ "FRONT",
254
+ "BOTTOM"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "9",
261
+ "rotation": 270
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "I",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "V",
269
+ "rotation": 180
270
+ },
271
+ "BACK": {
272
+ "patternId": "M",
273
+ "rotation": 90
274
+ },
275
+ "LEFT": {
276
+ "patternId": "4",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "?",
281
+ "rotation": 0
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "9",
288
+ "rotation": 270
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "I",
292
+ "rotation": 0
293
+ },
294
+ "FRONT": {
295
+ "patternId": "V",
296
+ "rotation": 180
297
+ },
298
+ "BACK": {
299
+ "patternId": "M",
300
+ "rotation": 90
301
+ },
302
+ "LEFT": {
303
+ "patternId": "4",
304
+ "rotation": 90
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "?",
308
+ "rotation": 0
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C432\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> W -> S -> W -> N -> S -> S -> S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=4, rotation=270, flipVertical=true\n- step 2: patternId=M, rotation=180, flipVertical=true\n- step 3: patternId=9, rotation=0, flipVertical=true\n- step 4: patternId=4, rotation=180, flipVertical=true\n- step 5: patternId=V, rotation=0, flipVertical=true\n- step 6: patternId=9, rotation=90, flipVertical=true\n- step 7: patternId=V, rotation=0, flipVertical=true\n- step 8: patternId=I, rotation=180, flipVertical=true\n- step 9: patternId=M, rotation=270, flipVertical=true\n- step 10: patternId=I, rotation=180, flipVertical=true\n- allowed patternId values for this task: 4, M, 9, V, I, ?\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."
314
+ }
315
+ }
cube1/data/C433.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C433",
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 -> N -> N -> E -> S -> E -> S -> 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
+ "S",
7
+ "N",
8
+ "N",
9
+ "E",
10
+ "S",
11
+ "E",
12
+ "S",
13
+ "W",
14
+ "W",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "diamond",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "diamond",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "S",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "arrow_up",
38
+ "rotation": 90,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "diamond",
44
+ "rotation": 180,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "diamond",
50
+ "rotation": 270,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "1",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "diamond",
62
+ "rotation": 270,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "arrow_up",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "diamond",
74
+ "rotation": 90,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C433_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 433,
85
+ "name": "Reconstruct 433",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-433.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "T",
96
+ "rotation": 180,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "diamond",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "arrow_up",
108
+ "rotation": 180,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "S",
114
+ "rotation": 90,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "1",
120
+ "rotation": 90,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "diamond",
126
+ "rotation": 90,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "T",
133
+ "diamond",
134
+ "arrow_up",
135
+ "S",
136
+ "1",
137
+ "diamond"
138
+ ],
139
+ "start_x": 1,
140
+ "start_y": 2,
141
+ "grid_width": 5,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "T",
146
+ "rotation": 180
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "diamond",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "diamond",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "S",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "1",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "arrow_up",
166
+ "rotation": 270
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "diamond",
172
+ "rotation": 90,
173
+ "x": 1,
174
+ "y": 2
175
+ },
176
+ {
177
+ "patternId": "diamond",
178
+ "rotation": 180,
179
+ "x": 1,
180
+ "y": 3
181
+ },
182
+ {
183
+ "patternId": "diamond",
184
+ "rotation": 90,
185
+ "x": 1,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "S",
190
+ "rotation": 90,
191
+ "x": 1,
192
+ "y": 1
193
+ },
194
+ {
195
+ "patternId": "arrow_up",
196
+ "rotation": 90,
197
+ "x": 2,
198
+ "y": 1
199
+ },
200
+ {
201
+ "patternId": "diamond",
202
+ "rotation": 180,
203
+ "x": 2,
204
+ "y": 2
205
+ },
206
+ {
207
+ "patternId": "diamond",
208
+ "rotation": 270,
209
+ "x": 3,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "1",
214
+ "rotation": 90,
215
+ "x": 3,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "diamond",
220
+ "rotation": 270,
221
+ "x": 2,
222
+ "y": 3
223
+ },
224
+ {
225
+ "patternId": "arrow_up",
226
+ "rotation": 180,
227
+ "x": 1,
228
+ "y": 3
229
+ },
230
+ {
231
+ "patternId": "diamond",
232
+ "rotation": 90,
233
+ "x": 1,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "FRONT",
239
+ "BOTTOM",
240
+ "BACK",
241
+ "RIGHT",
242
+ "BOTTOM",
243
+ "FRONT",
244
+ "LEFT",
245
+ "BOTTOM",
246
+ "RIGHT",
247
+ "FRONT"
248
+ ],
249
+ "required_slots": [
250
+ "FRONT",
251
+ "BOTTOM",
252
+ "BACK",
253
+ "RIGHT",
254
+ "LEFT"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "?",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "diamond",
265
+ "rotation": 90
266
+ },
267
+ "FRONT": {
268
+ "patternId": "diamond",
269
+ "rotation": 180
270
+ },
271
+ "BACK": {
272
+ "patternId": "S",
273
+ "rotation": 90
274
+ },
275
+ "LEFT": {
276
+ "patternId": "1",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "arrow_up",
281
+ "rotation": 180
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "?",
288
+ "rotation": 0
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "diamond",
292
+ "rotation": 90
293
+ },
294
+ "FRONT": {
295
+ "patternId": "diamond",
296
+ "rotation": 180
297
+ },
298
+ "BACK": {
299
+ "patternId": "S",
300
+ "rotation": 90
301
+ },
302
+ "LEFT": {
303
+ "patternId": "1",
304
+ "rotation": 90
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "arrow_up",
308
+ "rotation": 180
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C433\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N -> N -> E -> S -> E -> S -> W -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=diamond, rotation=180, flipVertical=true\n- step 2: patternId=diamond, rotation=90, flipVertical=true\n- step 3: patternId=S, rotation=90, flipVertical=true\n- step 4: patternId=arrow_up, rotation=90, flipVertical=true\n- step 5: patternId=diamond, rotation=180, flipVertical=true\n- step 6: patternId=diamond, rotation=270, flipVertical=true\n- step 7: patternId=1, rotation=90, flipVertical=true\n- step 8: patternId=diamond, rotation=270, flipVertical=true\n- step 9: patternId=arrow_up, rotation=180, flipVertical=true\n- step 10: patternId=diamond, rotation=90, flipVertical=true\n- allowed patternId values for this task: diamond, S, arrow_up, 1, ?\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."
314
+ }
315
+ }
cube1/data/C434.json ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C434",
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 -> W -> N -> W -> S -> S -> 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
+ "E",
7
+ "N",
8
+ "W",
9
+ "N",
10
+ "W",
11
+ "S",
12
+ "S",
13
+ "W",
14
+ "W",
15
+ "N"
16
+ ],
17
+ "observed_path_faces": [
18
+ {
19
+ "patternId": "L",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "8",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "G",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ },
36
+ {
37
+ "patternId": "N",
38
+ "rotation": 0,
39
+ "flipHorizontal": false,
40
+ "flipVertical": true
41
+ },
42
+ {
43
+ "patternId": "heart",
44
+ "rotation": 0,
45
+ "flipHorizontal": false,
46
+ "flipVertical": true
47
+ },
48
+ {
49
+ "patternId": "G",
50
+ "rotation": 90,
51
+ "flipHorizontal": false,
52
+ "flipVertical": true
53
+ },
54
+ {
55
+ "patternId": "8",
56
+ "rotation": 90,
57
+ "flipHorizontal": false,
58
+ "flipVertical": true
59
+ },
60
+ {
61
+ "patternId": "L",
62
+ "rotation": 180,
63
+ "flipHorizontal": false,
64
+ "flipVertical": true
65
+ },
66
+ {
67
+ "patternId": "heart",
68
+ "rotation": 180,
69
+ "flipHorizontal": false,
70
+ "flipVertical": true
71
+ },
72
+ {
73
+ "patternId": "G",
74
+ "rotation": 270,
75
+ "flipHorizontal": false,
76
+ "flipVertical": true
77
+ }
78
+ ],
79
+ "image_paths": {
80
+ "blank_net_image": "images/blank_nets/open.png",
81
+ "path_sequence_image": "images/path_sequences/C434_path_sequence.png"
82
+ },
83
+ "metadata": {
84
+ "level_id": 434,
85
+ "name": "Reconstruct 434",
86
+ "difficulty": 5,
87
+ "move_count": 10,
88
+ "tier": 5,
89
+ "source_level_path": "levels/reconstruct/generated-434.json",
90
+ "tier_label": "Difficulty 5"
91
+ },
92
+ "description": "10-move reconstruct puzzle",
93
+ "net_faces": [
94
+ {
95
+ "patternId": "O",
96
+ "rotation": 270,
97
+ "flipHorizontal": false,
98
+ "flipVertical": false
99
+ },
100
+ {
101
+ "patternId": "heart",
102
+ "rotation": 180,
103
+ "flipHorizontal": false,
104
+ "flipVertical": false
105
+ },
106
+ {
107
+ "patternId": "L",
108
+ "rotation": 90,
109
+ "flipHorizontal": false,
110
+ "flipVertical": false
111
+ },
112
+ {
113
+ "patternId": "8",
114
+ "rotation": 270,
115
+ "flipHorizontal": false,
116
+ "flipVertical": false
117
+ },
118
+ {
119
+ "patternId": "N",
120
+ "rotation": 270,
121
+ "flipHorizontal": false,
122
+ "flipVertical": false
123
+ },
124
+ {
125
+ "patternId": "G",
126
+ "rotation": 270,
127
+ "flipHorizontal": false,
128
+ "flipVertical": false
129
+ }
130
+ ],
131
+ "net_patterns": [
132
+ "O",
133
+ "heart",
134
+ "L",
135
+ "8",
136
+ "N",
137
+ "G"
138
+ ],
139
+ "start_x": 4,
140
+ "start_y": 3,
141
+ "grid_width": 7,
142
+ "grid_height": 5,
143
+ "true_solution_faces": {
144
+ "TOP": {
145
+ "patternId": "O",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "G",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "heart",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "8",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "N",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "L",
166
+ "rotation": 180
167
+ }
168
+ },
169
+ "bottom_faces": [
170
+ {
171
+ "patternId": "G",
172
+ "rotation": 270,
173
+ "x": 4,
174
+ "y": 3
175
+ },
176
+ {
177
+ "patternId": "L",
178
+ "rotation": 270,
179
+ "x": 5,
180
+ "y": 3
181
+ },
182
+ {
183
+ "patternId": "8",
184
+ "rotation": 180,
185
+ "x": 5,
186
+ "y": 2
187
+ },
188
+ {
189
+ "patternId": "G",
190
+ "rotation": 180,
191
+ "x": 4,
192
+ "y": 2
193
+ },
194
+ {
195
+ "patternId": "N",
196
+ "rotation": 0,
197
+ "x": 4,
198
+ "y": 1
199
+ },
200
+ {
201
+ "patternId": "heart",
202
+ "rotation": 0,
203
+ "x": 3,
204
+ "y": 1
205
+ },
206
+ {
207
+ "patternId": "G",
208
+ "rotation": 90,
209
+ "x": 3,
210
+ "y": 2
211
+ },
212
+ {
213
+ "patternId": "8",
214
+ "rotation": 90,
215
+ "x": 3,
216
+ "y": 3
217
+ },
218
+ {
219
+ "patternId": "L",
220
+ "rotation": 180,
221
+ "x": 2,
222
+ "y": 3
223
+ },
224
+ {
225
+ "patternId": "heart",
226
+ "rotation": 180,
227
+ "x": 1,
228
+ "y": 3
229
+ },
230
+ {
231
+ "patternId": "G",
232
+ "rotation": 270,
233
+ "x": 1,
234
+ "y": 2
235
+ }
236
+ ],
237
+ "slot_sequence": [
238
+ "RIGHT",
239
+ "BACK",
240
+ "BOTTOM",
241
+ "LEFT",
242
+ "FRONT",
243
+ "BOTTOM",
244
+ "BACK",
245
+ "RIGHT",
246
+ "FRONT",
247
+ "BOTTOM"
248
+ ],
249
+ "required_slots": [
250
+ "RIGHT",
251
+ "BACK",
252
+ "BOTTOM",
253
+ "LEFT",
254
+ "FRONT"
255
+ ],
256
+ "required_count": 5,
257
+ "answer": {
258
+ "faces": {
259
+ "TOP": {
260
+ "patternId": "?",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "G",
265
+ "rotation": 270
266
+ },
267
+ "FRONT": {
268
+ "patternId": "heart",
269
+ "rotation": 180
270
+ },
271
+ "BACK": {
272
+ "patternId": "8",
273
+ "rotation": 270
274
+ },
275
+ "LEFT": {
276
+ "patternId": "N",
277
+ "rotation": 270
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "L",
281
+ "rotation": 90
282
+ }
283
+ }
284
+ },
285
+ "legacy_answer": {
286
+ "TOP": {
287
+ "patternId": "?",
288
+ "rotation": 0
289
+ },
290
+ "BOTTOM": {
291
+ "patternId": "G",
292
+ "rotation": 270
293
+ },
294
+ "FRONT": {
295
+ "patternId": "heart",
296
+ "rotation": 180
297
+ },
298
+ "BACK": {
299
+ "patternId": "8",
300
+ "rotation": 270
301
+ },
302
+ "LEFT": {
303
+ "patternId": "N",
304
+ "rotation": 270
305
+ },
306
+ "RIGHT": {
307
+ "patternId": "L",
308
+ "rotation": 90
309
+ }
310
+ },
311
+ "prompt": {
312
+ "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.",
313
+ "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: C434\n- net_layout: standard_cross\n- difficulty: 5\n- move_count: 10\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> W -> N -> W -> S -> S -> W -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=L, rotation=270, flipVertical=true\n- step 2: patternId=8, rotation=180, flipVertical=true\n- step 3: patternId=G, rotation=180, flipVertical=true\n- step 4: patternId=N, rotation=0, flipVertical=true\n- step 5: patternId=heart, rotation=0, flipVertical=true\n- step 6: patternId=G, rotation=90, flipVertical=true\n- step 7: patternId=8, rotation=90, flipVertical=true\n- step 8: patternId=L, rotation=180, flipVertical=true\n- step 9: patternId=heart, rotation=180, flipVertical=true\n- step 10: patternId=G, rotation=270, flipVertical=true\n- allowed patternId values for this task: L, 8, G, 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."
314
+ }
315
+ }