simver commited on
Commit
a3aebda
·
verified ·
1 Parent(s): 8195826

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
Files changed (50) hide show
  1. cube1/data/C005.json +200 -0
  2. cube1/data/C009.json +215 -0
  3. cube1/data/C010.json +200 -0
  4. cube1/data/C011.json +200 -0
  5. cube1/data/C012.json +200 -0
  6. cube1/data/C013.json +215 -0
  7. cube1/data/C014.json +200 -0
  8. cube1/data/C015.json +215 -0
  9. cube1/data/C016.json +200 -0
  10. cube1/data/C017.json +215 -0
  11. cube1/data/C018.json +215 -0
  12. cube1/data/C019.json +200 -0
  13. cube1/data/C020.json +200 -0
  14. cube1/data/C021.json +215 -0
  15. cube1/data/C022.json +215 -0
  16. cube1/data/C023.json +200 -0
  17. cube1/data/C024.json +200 -0
  18. cube1/data/C025.json +200 -0
  19. cube1/data/C026.json +215 -0
  20. cube1/data/C027.json +214 -0
  21. cube1/data/C028.json +200 -0
  22. cube1/data/C030.json +215 -0
  23. cube1/data/C031.json +200 -0
  24. cube1/data/C032.json +214 -0
  25. voi/images/voi-467/shape_S3.png +3 -0
  26. voi/images/voi-467/shape_S4.png +3 -0
  27. voi/images/voi-467/shape_S5.png +3 -0
  28. voi/images/voi-467/shape_S6.png +3 -0
  29. voi/images/voi-467/shape_S7.png +3 -0
  30. voi/images/voi-467/target.png +3 -0
  31. voi/images/voi-468/shape_S1.png +3 -0
  32. voi/images/voi-468/shape_S2.png +3 -0
  33. voi/images/voi-468/shape_S3.png +3 -0
  34. voi/images/voi-468/shape_S4.png +3 -0
  35. voi/images/voi-468/shape_S5.png +3 -0
  36. voi/images/voi-468/shape_S6.png +3 -0
  37. voi/images/voi-468/shape_S7.png +3 -0
  38. voi/images/voi-468/target.png +3 -0
  39. voi/images/voi-469/shape_S1.png +3 -0
  40. voi/images/voi-469/shape_S2.png +3 -0
  41. voi/images/voi-469/shape_S3.png +3 -0
  42. voi/images/voi-469/shape_S4.png +3 -0
  43. voi/images/voi-469/shape_S5.png +3 -0
  44. voi/images/voi-469/shape_S6.png +3 -0
  45. voi/images/voi-469/shape_S7.png +3 -0
  46. voi/images/voi-469/target.png +3 -0
  47. voi/images/voi-470/shape_S1.png +3 -0
  48. voi/images/voi-470/shape_S2.png +3 -0
  49. voi/images/voi-470/shape_S3.png +3 -0
  50. voi/images/voi-470/shape_S4.png +3 -0
cube1/data/C005.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C005",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "arrow_left",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "M",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C005_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 5,
29
+ "name": "Reconstruct 005",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-005.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "arrow_right",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "9",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "arrow_right",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "M",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "arrow_left",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "N",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "arrow_right",
77
+ "9",
78
+ "arrow_right",
79
+ "M",
80
+ "arrow_left",
81
+ "N"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "arrow_right",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "N",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "9",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "M",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "arrow_left",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "arrow_right",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "N",
116
+ "rotation": 270,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "arrow_left",
122
+ "rotation": 90,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "M",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "M",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "arrow_left",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "M",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "arrow_left",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C005\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_left, rotation=90, flipVertical=true\n- step 2: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: arrow_left, M, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C009.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C009",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "A",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "heart",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "Z",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C009_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 9,
36
+ "name": "Reconstruct 009",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-009.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "B",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "F",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "A",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "Z",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "8",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "heart",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "B",
84
+ "F",
85
+ "A",
86
+ "Z",
87
+ "8",
88
+ "heart"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "B",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "heart",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "F",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "Z",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "8",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "A",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "heart",
123
+ "rotation": 180,
124
+ "x": 1,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "A",
129
+ "rotation": 90,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "heart",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "Z",
141
+ "rotation": 180,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "BOTTOM",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "BOTTOM",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "heart",
165
+ "rotation": 180
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "Z",
173
+ "rotation": 180
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "A",
181
+ "rotation": 270
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "heart",
192
+ "rotation": 180
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "Z",
200
+ "rotation": 180
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "A",
208
+ "rotation": 270
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C009\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=A, rotation=90, flipVertical=true\n- step 2: patternId=heart, rotation=180, flipVertical=true\n- step 3: patternId=Z, rotation=180, flipVertical=true\n- allowed patternId values for this task: A, heart, Z, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C010.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C010",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "T",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "2",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C010_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 10,
29
+ "name": "Reconstruct 010",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-010.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "smile",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "arrow_up",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "U",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "T",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "2",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "square",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "smile",
77
+ "arrow_up",
78
+ "U",
79
+ "T",
80
+ "2",
81
+ "square"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "smile",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "square",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "arrow_up",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "T",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "2",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "U",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "square",
116
+ "rotation": 90,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "T",
122
+ "rotation": 90,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "2",
128
+ "rotation": 270,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "T",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "2",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "T",
185
+ "rotation": 90
186
+ },
187
+ "LEFT": {
188
+ "patternId": "2",
189
+ "rotation": 180
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C010\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=T, rotation=90, flipVertical=true\n- step 2: patternId=2, rotation=270, flipVertical=true\n- allowed patternId values for this task: T, 2, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C011.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C011",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "H",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "plus",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C011_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 11,
29
+ "name": "Reconstruct 011",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-011.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "star",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "H",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "1",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "triangle",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "plus",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "W",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "star",
77
+ "H",
78
+ "1",
79
+ "triangle",
80
+ "plus",
81
+ "W"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "star",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "W",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "H",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "triangle",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "plus",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "1",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "W",
116
+ "rotation": 90,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "H",
122
+ "rotation": 180,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "plus",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "plus",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "H",
181
+ "rotation": 180
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "plus",
189
+ "rotation": 180
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C011\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=180, flipVertical=true\n- step 2: patternId=plus, rotation=90, flipVertical=true\n- allowed patternId values for this task: H, plus, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C012.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C012",
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\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
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "2",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "plus",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C012_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 12,
29
+ "name": "Reconstruct 012",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-012.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "triangle",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "2",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "L",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "5",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "Z",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "plus",
70
+ "rotation": 0,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "triangle",
77
+ "2",
78
+ "L",
79
+ "5",
80
+ "Z",
81
+ "plus"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 3,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "triangle",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "plus",
94
+ "rotation": 0
95
+ },
96
+ "FRONT": {
97
+ "patternId": "2",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "5",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "Z",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "L",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "plus",
116
+ "rotation": 0,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "2",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "plus",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "BOTTOM"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "BOTTOM"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "plus",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "2",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "plus",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "2",
181
+ "rotation": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C012\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=2, rotation=270, flipVertical=true\n- step 2: patternId=plus, rotation=0, flipVertical=true\n- allowed patternId values for this task: 2, plus, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C013.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C013",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "R",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "W",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "W",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C013_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 13,
36
+ "name": "Reconstruct 013",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-013.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "W",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "W",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "T",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "P",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "R",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "K",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "W",
84
+ "W",
85
+ "T",
86
+ "P",
87
+ "R",
88
+ "K"
89
+ ],
90
+ "start_x": 3,
91
+ "start_y": 1,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "W",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "K",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "W",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "P",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "R",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "T",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "K",
123
+ "rotation": 90,
124
+ "x": 3,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "R",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "W",
135
+ "rotation": 0,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "W",
141
+ "rotation": 180,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "FRONT",
149
+ "TOP"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "FRONT",
154
+ "TOP"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "W",
161
+ "rotation": 270
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "W",
169
+ "rotation": 90
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "R",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "W",
188
+ "rotation": 270
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "W",
196
+ "rotation": 90
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "R",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C013\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W\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=W, rotation=0, flipVertical=true\n- step 3: patternId=W, rotation=180, flipVertical=true\n- allowed patternId values for this task: R, W, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C014.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C014",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "arrow_left",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "Y",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C014_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 14,
29
+ "name": "Reconstruct 014",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-014.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "arrow_right",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "diamond",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "arrow_left",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "Y",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "H",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "arrow_right",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "arrow_right",
77
+ "diamond",
78
+ "arrow_left",
79
+ "Y",
80
+ "H",
81
+ "arrow_right"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "arrow_right",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "arrow_right",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "diamond",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "Y",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "H",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "arrow_left",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "arrow_right",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "arrow_left",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "Y",
128
+ "rotation": 90,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "Y",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "arrow_left",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "Y",
185
+ "rotation": 180
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "arrow_left",
193
+ "rotation": 180
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C014\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_left, rotation=0, flipVertical=true\n- step 2: patternId=Y, rotation=90, flipVertical=true\n- allowed patternId values for this task: arrow_left, 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."
199
+ }
200
+ }
cube1/data/C015.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C015",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "4",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "O",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "6",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C015_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 15,
36
+ "name": "Reconstruct 015",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-015.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "J",
47
+ "rotation": 180,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "4",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "2",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "6",
65
+ "rotation": 0,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "6",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "O",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "J",
84
+ "4",
85
+ "2",
86
+ "6",
87
+ "6",
88
+ "O"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 3,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "J",
97
+ "rotation": 180
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "O",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "4",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "6",
109
+ "rotation": 180
110
+ },
111
+ "LEFT": {
112
+ "patternId": "6",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "2",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "O",
123
+ "rotation": 90,
124
+ "x": 1,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "4",
129
+ "rotation": 90,
130
+ "x": 1,
131
+ "y": 3
132
+ },
133
+ {
134
+ "patternId": "O",
135
+ "rotation": 90,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "6",
141
+ "rotation": 0,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "BOTTOM",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "BOTTOM",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "O",
165
+ "rotation": 90
166
+ },
167
+ "FRONT": {
168
+ "patternId": "4",
169
+ "rotation": 90
170
+ },
171
+ "BACK": {
172
+ "patternId": "6",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "O",
192
+ "rotation": 90
193
+ },
194
+ "FRONT": {
195
+ "patternId": "4",
196
+ "rotation": 90
197
+ },
198
+ "BACK": {
199
+ "patternId": "6",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C015\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N -> N\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=O, rotation=90, flipVertical=true\n- step 3: patternId=6, rotation=0, flipVertical=true\n- allowed patternId values for this task: 4, O, 6, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C016.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C016",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "H",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "arrow_left",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C016_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 16,
29
+ "name": "Reconstruct 016",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-016.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "N",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "H",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "G",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "triangle",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "arrow_left",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "smile",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "N",
77
+ "H",
78
+ "G",
79
+ "triangle",
80
+ "arrow_left",
81
+ "smile"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "N",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "smile",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "H",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "triangle",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "arrow_left",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "G",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "smile",
116
+ "rotation": 180,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "H",
122
+ "rotation": 180,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "arrow_left",
128
+ "rotation": 180,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "arrow_left",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "H",
181
+ "rotation": 180
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "arrow_left",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C016\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=180, flipVertical=true\n- step 2: patternId=arrow_left, rotation=180, flipVertical=true\n- allowed patternId values for this task: H, arrow_left, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C017.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C017",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "M",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "T",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "J",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C017_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 17,
36
+ "name": "Reconstruct 017",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-017.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "A",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "M",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "M",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "T",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "D",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "J",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "A",
84
+ "M",
85
+ "M",
86
+ "T",
87
+ "D",
88
+ "J"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "A",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "J",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "M",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "T",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "D",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "M",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "J",
123
+ "rotation": 0,
124
+ "x": 1,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "M",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "T",
135
+ "rotation": 90,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "J",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "BACK",
149
+ "BOTTOM"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "BACK",
154
+ "BOTTOM"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "J",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "T",
173
+ "rotation": 180
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "M",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "J",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "T",
200
+ "rotation": 180
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "M",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C017\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> 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=T, rotation=90, flipVertical=true\n- step 3: patternId=J, rotation=270, flipVertical=true\n- allowed patternId values for this task: M, T, J, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C018.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C018",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "smile",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "9",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "4",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C018_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 18,
36
+ "name": "Reconstruct 018",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-018.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "N",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "triangle",
53
+ "rotation": 0,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "F",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "smile",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "9",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "4",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "N",
84
+ "triangle",
85
+ "F",
86
+ "smile",
87
+ "9",
88
+ "4"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "N",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "4",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "triangle",
105
+ "rotation": 0
106
+ },
107
+ "BACK": {
108
+ "patternId": "smile",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "9",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "F",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "4",
123
+ "rotation": 0,
124
+ "x": 2,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "smile",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "9",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "4",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "LEFT",
149
+ "BOTTOM"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "LEFT",
154
+ "BOTTOM"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "4",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "smile",
173
+ "rotation": 180
174
+ },
175
+ "LEFT": {
176
+ "patternId": "9",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "4",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "smile",
200
+ "rotation": 180
201
+ },
202
+ "LEFT": {
203
+ "patternId": "9",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C018\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=smile, rotation=180, flipVertical=true\n- step 2: patternId=9, rotation=270, flipVertical=true\n- step 3: patternId=4, rotation=270, flipVertical=true\n- allowed patternId values for this task: smile, 9, 4, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C019.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C019",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "H",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "8",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C019_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 19,
29
+ "name": "Reconstruct 019",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-019.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "8",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "5",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "H",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "square",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "H",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "Z",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "8",
77
+ "5",
78
+ "H",
79
+ "square",
80
+ "H",
81
+ "Z"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "8",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "Z",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "5",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "square",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "H",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "H",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "Z",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "H",
122
+ "rotation": 90,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "8",
128
+ "rotation": 270,
129
+ "x": 3,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "8",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "H",
166
+ "rotation": 270
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "8",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "H",
193
+ "rotation": 270
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C019\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=H, rotation=90, flipVertical=true\n- step 2: patternId=8, rotation=270, flipVertical=true\n- allowed patternId values for this task: H, 8, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C020.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C020",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "A",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "9",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C020_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 20,
29
+ "name": "Reconstruct 020",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-020.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "B",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "smile",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "W",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "9",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "A",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "S",
70
+ "rotation": 0,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "B",
77
+ "smile",
78
+ "W",
79
+ "9",
80
+ "A",
81
+ "S"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "B",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "S",
94
+ "rotation": 0
95
+ },
96
+ "FRONT": {
97
+ "patternId": "smile",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "9",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "A",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "W",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "S",
116
+ "rotation": 0,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "A",
122
+ "rotation": 90,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "9",
128
+ "rotation": 180,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "9",
158
+ "rotation": 90
159
+ },
160
+ "LEFT": {
161
+ "patternId": "A",
162
+ "rotation": 270
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "9",
185
+ "rotation": 90
186
+ },
187
+ "LEFT": {
188
+ "patternId": "A",
189
+ "rotation": 270
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C020\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=A, rotation=90, flipVertical=true\n- step 2: patternId=9, rotation=180, flipVertical=true\n- allowed patternId values for this task: A, 9, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C021.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C021",
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 -> 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
+ "S",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "V",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "4",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "N",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C021_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 21,
36
+ "name": "Reconstruct 021",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-021.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "square",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "circle",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "N",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "V",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "circle",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "4",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "square",
84
+ "circle",
85
+ "N",
86
+ "V",
87
+ "circle",
88
+ "4"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "square",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "4",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "circle",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "V",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "circle",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "N",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "4",
123
+ "rotation": 270,
124
+ "x": 1,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "V",
129
+ "rotation": 270,
130
+ "x": 1,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "4",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "N",
141
+ "rotation": 270,
142
+ "x": 2,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "BOTTOM",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "BOTTOM",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "4",
165
+ "rotation": 270
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "V",
173
+ "rotation": 270
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "N",
181
+ "rotation": 90
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "4",
192
+ "rotation": 270
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "V",
200
+ "rotation": 270
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "N",
208
+ "rotation": 90
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C021\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=V, rotation=270, flipVertical=true\n- step 2: patternId=4, rotation=270, flipVertical=true\n- step 3: patternId=N, rotation=270, flipVertical=true\n- allowed patternId values for this task: V, 4, N, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C022.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C022",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "I",
13
+ "rotation": 0,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "W",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "W",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C022_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 22,
36
+ "name": "Reconstruct 022",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-022.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "F",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "W",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "2",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "G",
65
+ "rotation": 0,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "I",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "W",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "F",
84
+ "W",
85
+ "2",
86
+ "G",
87
+ "I",
88
+ "W"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "F",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "W",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "W",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "G",
109
+ "rotation": 180
110
+ },
111
+ "LEFT": {
112
+ "patternId": "I",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "2",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "W",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "I",
129
+ "rotation": 0,
130
+ "x": 1,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "W",
135
+ "rotation": 180,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "W",
141
+ "rotation": 180,
142
+ "x": 2,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "BOTTOM",
149
+ "FRONT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "BOTTOM",
154
+ "FRONT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "W",
165
+ "rotation": 180
166
+ },
167
+ "FRONT": {
168
+ "patternId": "W",
169
+ "rotation": 180
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "I",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "W",
192
+ "rotation": 180
193
+ },
194
+ "FRONT": {
195
+ "patternId": "W",
196
+ "rotation": 180
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "I",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C022\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> E -> S\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=W, rotation=180, flipVertical=true\n- step 3: patternId=W, rotation=180, flipVertical=true\n- allowed patternId values for this task: I, W, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C023.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C023",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "G",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "C",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C023_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 23,
29
+ "name": "Reconstruct 023",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-023.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "C",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "B",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "T",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "G",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "4",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "L",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "C",
77
+ "B",
78
+ "T",
79
+ "G",
80
+ "4",
81
+ "L"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 3,
85
+ "grid_width": 3,
86
+ "grid_height": 5,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "C",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "L",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "B",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "G",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "4",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "T",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "L",
116
+ "rotation": 90,
117
+ "x": 1,
118
+ "y": 3
119
+ },
120
+ {
121
+ "patternId": "G",
122
+ "rotation": 0,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "C",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "C",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "G",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "C",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "G",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C023\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=G, rotation=0, flipVertical=true\n- step 2: patternId=C, rotation=90, flipVertical=true\n- allowed patternId values for this task: G, C, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C024.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C024",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "1",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "3",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C024_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 24,
29
+ "name": "Reconstruct 024",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-024.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "9",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "1",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "P",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "A",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "3",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "smile",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "9",
77
+ "1",
78
+ "P",
79
+ "A",
80
+ "3",
81
+ "smile"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "9",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "smile",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "1",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "A",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "3",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "P",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "smile",
116
+ "rotation": 180,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "1",
122
+ "rotation": 180,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "3",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "LEFT"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "LEFT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "1",
154
+ "rotation": 180
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "3",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "1",
181
+ "rotation": 180
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "3",
189
+ "rotation": 180
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C024\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=1, rotation=180, flipVertical=true\n- step 2: patternId=3, rotation=90, flipVertical=true\n- allowed patternId values for this task: 1, 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."
199
+ }
200
+ }
cube1/data/C025.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C025",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "arrow_down",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "arrow_right",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C025_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 25,
29
+ "name": "Reconstruct 025",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-025.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "9",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "square",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "arrow_right",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "arrow_down",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "2",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "circle",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "9",
77
+ "square",
78
+ "arrow_right",
79
+ "arrow_down",
80
+ "2",
81
+ "circle"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "9",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "circle",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "square",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "arrow_down",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "2",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "arrow_right",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "circle",
116
+ "rotation": 180,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "arrow_down",
122
+ "rotation": 180,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "arrow_right",
128
+ "rotation": 270,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "RIGHT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "RIGHT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "arrow_down",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "arrow_right",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "arrow_down",
185
+ "rotation": 180
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "arrow_right",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C025\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_down, rotation=180, flipVertical=true\n- step 2: patternId=arrow_right, rotation=270, flipVertical=true\n- allowed patternId values for this task: arrow_down, arrow_right, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C026.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C026",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "R",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "D",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "K",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C026_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 26,
36
+ "name": "Reconstruct 026",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-026.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "square",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "D",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "K",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "triangle",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "R",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "smile",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "square",
84
+ "D",
85
+ "K",
86
+ "triangle",
87
+ "R",
88
+ "smile"
89
+ ],
90
+ "start_x": 2,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "square",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "smile",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "D",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "triangle",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "R",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "K",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "smile",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "R",
129
+ "rotation": 270,
130
+ "x": 1,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "D",
135
+ "rotation": 180,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "K",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 3
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "LEFT",
148
+ "FRONT",
149
+ "RIGHT"
150
+ ],
151
+ "required_slots": [
152
+ "LEFT",
153
+ "FRONT",
154
+ "RIGHT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "D",
169
+ "rotation": 270
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "R",
177
+ "rotation": 90
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "K",
181
+ "rotation": 90
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "D",
196
+ "rotation": 270
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "R",
204
+ "rotation": 90
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "K",
208
+ "rotation": 90
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C026\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=R, rotation=270, flipVertical=true\n- step 2: patternId=D, rotation=180, flipVertical=true\n- step 3: patternId=K, rotation=90, flipVertical=true\n- allowed patternId values for this task: R, D, K, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C027.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C027",
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 -> 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
+ "S",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "P",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "8",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "P",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C027_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 27,
36
+ "name": "Reconstruct 027",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-027.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "Y",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "diamond",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "G",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "P",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "D",
71
+ "rotation": 270,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "8",
77
+ "rotation": 270,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "Y",
84
+ "diamond",
85
+ "G",
86
+ "P",
87
+ "D",
88
+ "8"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 3,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "Y",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "8",
101
+ "rotation": 270
102
+ },
103
+ "FRONT": {
104
+ "patternId": "diamond",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "P",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "D",
113
+ "rotation": 180
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "G",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "8",
123
+ "rotation": 270,
124
+ "x": 1,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "P",
129
+ "rotation": 90,
130
+ "x": 1,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "8",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "P",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "BOTTOM",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "BOTTOM"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "?",
160
+ "rotation": 0
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "8",
164
+ "rotation": 270
165
+ },
166
+ "FRONT": {
167
+ "patternId": "?",
168
+ "rotation": 0
169
+ },
170
+ "BACK": {
171
+ "patternId": "P",
172
+ "rotation": 90
173
+ },
174
+ "LEFT": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "8",
191
+ "rotation": 270
192
+ },
193
+ "FRONT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "BACK": {
198
+ "patternId": "P",
199
+ "rotation": 90
200
+ },
201
+ "LEFT": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C027\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=P, rotation=90, flipVertical=true\n- step 2: patternId=8, rotation=270, flipVertical=true\n- step 3: patternId=P, rotation=90, flipVertical=true\n- allowed patternId values for this task: P, 8, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
213
+ }
214
+ }
cube1/data/C028.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C028",
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\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
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "circle",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "star",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C028_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 28,
29
+ "name": "Reconstruct 028",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-028.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "9",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "circle",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "6",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "M",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "P",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "star",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "9",
77
+ "circle",
78
+ "6",
79
+ "M",
80
+ "P",
81
+ "star"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 3,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "9",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "star",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "circle",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "M",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "P",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "6",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "star",
116
+ "rotation": 90,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "circle",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "star",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "BOTTOM"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "BOTTOM"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "star",
150
+ "rotation": 90
151
+ },
152
+ "FRONT": {
153
+ "patternId": "circle",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "star",
177
+ "rotation": 90
178
+ },
179
+ "FRONT": {
180
+ "patternId": "circle",
181
+ "rotation": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C028\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=circle, rotation=270, flipVertical=true\n- step 2: patternId=star, rotation=90, flipVertical=true\n- allowed patternId values for this task: circle, star, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C030.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C030",
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\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
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "H",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "R",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "N",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C030_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 30,
36
+ "name": "Reconstruct 030",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-030.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "smile",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "N",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "B",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "H",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "R",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "I",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "smile",
84
+ "N",
85
+ "B",
86
+ "H",
87
+ "R",
88
+ "I"
89
+ ],
90
+ "start_x": 3,
91
+ "start_y": 2,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "smile",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "I",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "N",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "H",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "R",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "B",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "I",
123
+ "rotation": 90,
124
+ "x": 3,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "H",
129
+ "rotation": 90,
130
+ "x": 3,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "R",
135
+ "rotation": 180,
136
+ "x": 2,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "N",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "LEFT",
149
+ "FRONT"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "LEFT",
154
+ "FRONT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "N",
169
+ "rotation": 90
170
+ },
171
+ "BACK": {
172
+ "patternId": "H",
173
+ "rotation": 90
174
+ },
175
+ "LEFT": {
176
+ "patternId": "R",
177
+ "rotation": 90
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "N",
196
+ "rotation": 90
197
+ },
198
+ "BACK": {
199
+ "patternId": "H",
200
+ "rotation": 90
201
+ },
202
+ "LEFT": {
203
+ "patternId": "R",
204
+ "rotation": 90
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C030\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> W\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=R, rotation=180, flipVertical=true\n- step 3: patternId=N, rotation=270, flipVertical=true\n- allowed patternId values for this task: H, R, N, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C031.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C031",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "G",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "T",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ }
22
+ ],
23
+ "image_paths": {
24
+ "blank_net_image": "images/blank_nets/open.png",
25
+ "path_sequence_image": "images/path_sequences/C031_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 31,
29
+ "name": "Reconstruct 031",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-031.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "C",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "W",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "star",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "T",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "G",
64
+ "rotation": 90,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "N",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "C",
77
+ "W",
78
+ "star",
79
+ "T",
80
+ "G",
81
+ "N"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "C",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "N",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "W",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "T",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "G",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "star",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "N",
116
+ "rotation": 90,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "G",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "T",
128
+ "rotation": 0,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "BACK"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "BACK"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "T",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "G",
162
+ "rotation": 90
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "T",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "G",
189
+ "rotation": 90
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C031\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=G, rotation=270, flipVertical=true\n- step 2: patternId=T, rotation=0, flipVertical=true\n- allowed patternId values for this task: G, T, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C032.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C032",
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 -> 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
+ "S",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "6",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "9",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "6",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C032_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 32,
36
+ "name": "Reconstruct 032",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-032.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "9",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "6",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "7",
59
+ "rotation": 180,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "W",
65
+ "rotation": 90,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "M",
71
+ "rotation": 0,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "X",
77
+ "rotation": 90,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "9",
84
+ "6",
85
+ "7",
86
+ "W",
87
+ "M",
88
+ "X"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 3,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "9",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "X",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "6",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "W",
109
+ "rotation": 270
110
+ },
111
+ "LEFT": {
112
+ "patternId": "M",
113
+ "rotation": 270
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "7",
117
+ "rotation": 270
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "X",
123
+ "rotation": 90,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "6",
129
+ "rotation": 90,
130
+ "x": 1,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "9",
135
+ "rotation": 90,
136
+ "x": 1,
137
+ "y": 3
138
+ },
139
+ {
140
+ "patternId": "6",
141
+ "rotation": 90,
142
+ "x": 1,
143
+ "y": 2
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "TOP",
149
+ "FRONT"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
153
+ "TOP"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "9",
160
+ "rotation": 90
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "6",
168
+ "rotation": 90
169
+ },
170
+ "BACK": {
171
+ "patternId": "?",
172
+ "rotation": 0
173
+ },
174
+ "LEFT": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "9",
187
+ "rotation": 90
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "6",
195
+ "rotation": 90
196
+ },
197
+ "BACK": {
198
+ "patternId": "?",
199
+ "rotation": 0
200
+ },
201
+ "LEFT": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C032\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=90, flipVertical=true\n- step 2: patternId=9, rotation=90, flipVertical=true\n- step 3: patternId=6, rotation=90, flipVertical=true\n- allowed patternId values for this task: 6, 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."
213
+ }
214
+ }
voi/images/voi-467/shape_S3.png ADDED

Git LFS Details

  • SHA256: 90854851b7e144b66ea30627c026f8a276e0d5e1254734b3cd58535173c2a002
  • Pointer size: 129 Bytes
  • Size of remote file: 5.31 kB
voi/images/voi-467/shape_S4.png ADDED

Git LFS Details

  • SHA256: 214963a24947f3ab19e1e371813c7daa0ee16910baff121897ec8f62208b95fd
  • Pointer size: 129 Bytes
  • Size of remote file: 5.25 kB
voi/images/voi-467/shape_S5.png ADDED

Git LFS Details

  • SHA256: c171cd76066f83c2bc99548ef3aa198eed2d4042c011727f5a0022605f3158e5
  • Pointer size: 129 Bytes
  • Size of remote file: 5.32 kB
voi/images/voi-467/shape_S6.png ADDED

Git LFS Details

  • SHA256: a6f2ed0aedf3f3483b130b4968a4f5d5f40c95fd164ebfb18f901f0149aea5e2
  • Pointer size: 129 Bytes
  • Size of remote file: 5.41 kB
voi/images/voi-467/shape_S7.png ADDED

Git LFS Details

  • SHA256: 48647d869f046e69f291da74de07b90044b627d2f97bee280de52b3b76259443
  • Pointer size: 129 Bytes
  • Size of remote file: 5.44 kB
voi/images/voi-467/target.png ADDED

Git LFS Details

  • SHA256: 29d70ae788c56df065a97b98ae3304f4bf8730cdc03188a4a11006f806fdf391
  • Pointer size: 129 Bytes
  • Size of remote file: 7.82 kB
voi/images/voi-468/shape_S1.png ADDED

Git LFS Details

  • SHA256: 046552596e9d916cb343a2cfdc92fe802a98979e319b8ba8f89574401a605771
  • Pointer size: 129 Bytes
  • Size of remote file: 5.15 kB
voi/images/voi-468/shape_S2.png ADDED

Git LFS Details

  • SHA256: 6c58c8712bff989a55dfabae6d44bd3898820e243e7adc1b24e5619edc2ca953
  • Pointer size: 129 Bytes
  • Size of remote file: 5.37 kB
voi/images/voi-468/shape_S3.png ADDED

Git LFS Details

  • SHA256: 9ee294b8f95895294d78092ce8d2b44a3c81c3fb9634d4fcc37842a1e2995a49
  • Pointer size: 129 Bytes
  • Size of remote file: 5.37 kB
voi/images/voi-468/shape_S4.png ADDED

Git LFS Details

  • SHA256: b84b03c4a3e3c37dd21dada398efdf07295f0668d13c95c31ccf2d8710e99fcb
  • Pointer size: 129 Bytes
  • Size of remote file: 5.3 kB
voi/images/voi-468/shape_S5.png ADDED

Git LFS Details

  • SHA256: c171cd76066f83c2bc99548ef3aa198eed2d4042c011727f5a0022605f3158e5
  • Pointer size: 129 Bytes
  • Size of remote file: 5.32 kB
voi/images/voi-468/shape_S6.png ADDED

Git LFS Details

  • SHA256: 2774af282be9c55f9ed54bf3ea0ae6eb5d3c7fc4f40d807d671d65c8e7bbcf13
  • Pointer size: 129 Bytes
  • Size of remote file: 5.42 kB
voi/images/voi-468/shape_S7.png ADDED

Git LFS Details

  • SHA256: 48647d869f046e69f291da74de07b90044b627d2f97bee280de52b3b76259443
  • Pointer size: 129 Bytes
  • Size of remote file: 5.44 kB
voi/images/voi-468/target.png ADDED

Git LFS Details

  • SHA256: dfd100a15bf8b92d05ce81790722deea201bf5552255dccb9c10bd6391cf54d1
  • Pointer size: 129 Bytes
  • Size of remote file: 7.93 kB
voi/images/voi-469/shape_S1.png ADDED

Git LFS Details

  • SHA256: 06b0f2aeaff5de77feca4a6d7731bebdb5d600f0bc6b36ceeaf459c65abe812b
  • Pointer size: 129 Bytes
  • Size of remote file: 5.28 kB
voi/images/voi-469/shape_S2.png ADDED

Git LFS Details

  • SHA256: 6c58c8712bff989a55dfabae6d44bd3898820e243e7adc1b24e5619edc2ca953
  • Pointer size: 129 Bytes
  • Size of remote file: 5.37 kB
voi/images/voi-469/shape_S3.png ADDED

Git LFS Details

  • SHA256: 15acf25f2b7b790a4eed1d12060f10e1c8aa7b0eb765ee100a29afbc87e88b39
  • Pointer size: 129 Bytes
  • Size of remote file: 5.38 kB
voi/images/voi-469/shape_S4.png ADDED

Git LFS Details

  • SHA256: 327140a6e7dbdf0a2609a05bfd47c4a469b1e88c77838e13bfab4cb3fddbd113
  • Pointer size: 129 Bytes
  • Size of remote file: 5.22 kB
voi/images/voi-469/shape_S5.png ADDED

Git LFS Details

  • SHA256: f8aec9e34ba78be2470a31286622462f44115911ceaa7e7f8cfaf2204a6a72e3
  • Pointer size: 129 Bytes
  • Size of remote file: 5.45 kB
voi/images/voi-469/shape_S6.png ADDED

Git LFS Details

  • SHA256: c81bcb41ac55cb0e7fa58a394c0eedf2ec0bd70ea1be40550a94eed6ff4e113c
  • Pointer size: 129 Bytes
  • Size of remote file: 6.14 kB
voi/images/voi-469/shape_S7.png ADDED

Git LFS Details

  • SHA256: 5eac20aa651fa4a91b3de54021ce997f011809feaacae50da4ed014c7ef7bb29
  • Pointer size: 129 Bytes
  • Size of remote file: 5.21 kB
voi/images/voi-469/target.png ADDED

Git LFS Details

  • SHA256: 480d1e4d533ef11707eb3579d0267c0fe29c332937434f41f53ecb1a44ae5dd8
  • Pointer size: 129 Bytes
  • Size of remote file: 7.93 kB
voi/images/voi-470/shape_S1.png ADDED

Git LFS Details

  • SHA256: f4c0150b6daee678b55e3e006cc38396334eb5142b25fb75134375291de777be
  • Pointer size: 129 Bytes
  • Size of remote file: 5.07 kB
voi/images/voi-470/shape_S2.png ADDED

Git LFS Details

  • SHA256: 7aa8775aef4e5f9bf133e9e129757fa30d5aa3d3d8c10b28740095e5a524fbed
  • Pointer size: 129 Bytes
  • Size of remote file: 5.36 kB
voi/images/voi-470/shape_S3.png ADDED

Git LFS Details

  • SHA256: 15acf25f2b7b790a4eed1d12060f10e1c8aa7b0eb765ee100a29afbc87e88b39
  • Pointer size: 129 Bytes
  • Size of remote file: 5.38 kB
voi/images/voi-470/shape_S4.png ADDED

Git LFS Details

  • SHA256: 327140a6e7dbdf0a2609a05bfd47c4a469b1e88c77838e13bfab4cb3fddbd113
  • Pointer size: 129 Bytes
  • Size of remote file: 5.22 kB