simver commited on
Commit
535e414
·
verified ·
1 Parent(s): d220969

Add files using upload-large-folder tool

Browse files
croissant.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "citeAs": "cr:citeAs",
6
+ "column": "cr:column",
7
+ "conformsTo": "dct:conformsTo",
8
+ "cr": "http://mlcommons.org/croissant/",
9
+ "rai": "http://mlcommons.org/croissant/RAI/",
10
+ "data": {"@id": "cr:data", "@type": "@json"},
11
+ "dataType": {"@id": "cr:dataType", "@type": "@vocab"},
12
+ "dct": "http://purl.org/dc/terms/",
13
+ "examples": {"@id": "cr:examples", "@type": "@json"},
14
+ "extract": "cr:extract",
15
+ "field": "cr:field",
16
+ "fileProperty": "cr:fileProperty",
17
+ "fileObject": "cr:fileObject",
18
+ "fileSet": "cr:fileSet",
19
+ "format": "cr:format",
20
+ "includes": "cr:includes",
21
+ "isLiveDataset": "cr:isLiveDataset",
22
+ "jsonPath": "cr:jsonPath",
23
+ "key": "cr:key",
24
+ "md5": "cr:md5",
25
+ "parentField": "cr:parentField",
26
+ "path": "cr:path",
27
+ "recordSet": "cr:recordSet",
28
+ "references": "cr:references",
29
+ "regex": "cr:regex",
30
+ "repeated": "cr:repeated",
31
+ "replace": "cr:replace",
32
+ "sc": "https://schema.org/",
33
+ "separator": "cr:separator",
34
+ "source": "cr:source",
35
+ "subField": "cr:subField",
36
+ "transform": "cr:transform"
37
+ },
38
+ "@type": "sc:Dataset",
39
+ "conformsTo": "http://mlcommons.org/croissant/1.0",
40
+ "name": "SimVerse",
41
+ "description": "A multi-task benchmark for evaluating multimodal LLMs on interactive simulation puzzles. Five independent tasks (Text-VOI placements, cube reconstruction, cube goal-roll, mechanical-arm lamp targeting, Cut the Rope video-to-command) share a uniform 9-section prompt skeleton and a uniform FINAL_JSON output contract for cross-task comparability. Each per-level record carries the literal prompt text the benchmark presents to models, so reproductions need no auxiliary code. Anonymized for double-blind review; author and citation fields contain placeholder values until the review concludes.",
42
+ "license": "https://opensource.org/licenses/MIT",
43
+ "url": "https://huggingface.co/datasets/Sayaka123/simverse2026",
44
+ "version": "1.0.0",
45
+ "datePublished": "2026",
46
+ "keywords": [
47
+ "benchmark",
48
+ "multimodal",
49
+ "spatial-reasoning",
50
+ "video-understanding",
51
+ "tool-use",
52
+ "evaluation"
53
+ ],
54
+
55
+ "rai:dataCollection": "All five tasks were programmatically generated. VOI uses a polygon-rasterization XOR generator. cube1 and cube2 use a pure-Python cube-state simulator that records roll sequences and bottom-face imprints. lamp uses a forward-kinematics generator with axis-aligned obstacle placement. cutRope is built on top of the open-source yell0wsuit/cuttherope-h5dx HTML5 port (MIT-licensed) by recording deterministic gameplay clips and authoring matching command scripts. No human subjects or real-world data were involved.",
56
+ "rai:dataAnnotationProtocol": "Reference solutions are produced by the same generators that create each puzzle (programmatic ground truth). For closed-form tasks (VOI, cube1, lamp), the answer is uniquely determined and machine-verifiable. For open-ended tasks (cube2 goal-roll, cutRope), the dataset's `answer` field carries one known-valid reference solution; validators run the underlying engine against the model's actual output rather than performing string equality, so multiple correct answers earn full credit.",
57
+ "rai:dataAnnotationAnalysis": "Each generator's output was post-validated by the same engine the eval validator uses, so every shipped record is provably solvable. Sentinel '?' values appear in cube1 records when puzzle constraints leave a face under-determined; this is intentional and follows the documented sentinel-pair rule (rotation forced to 0 when patternId is '?').",
58
+ "rai:dataPreprocessingProtocol": "All per-level JSON files conform to a v1 schema documented in PROMPT_SKELETON.md (locked schemas per task). A migration step lifts legacy task-native answer formats into the unified `answer` envelope and a separate populate_prompts step embeds the literal system+user prompt strings into each record. Both transformations are idempotent and reproducible from the accompanying code.",
59
+ "rai:dataLimitations": "Synthetic puzzles in fixed visual styles per task — models may learn render-style shortcuts rather than the underlying reasoning skill. All prompts are English-only. Difficulty distribution is hand-tuned per generator and not necessarily uniform. cube1 includes '?' sentinel patterns when faces are under-determined; downstream uses outside the SimVerse evaluation flow may need to filter these. Because reference solutions for open-ended tasks are non-unique, simple string-match scoring is inappropriate and the bundled engine-based validator should be used.",
60
+ "rai:dataBiases": "Each task's visual style is uniform across all of its records, which can bias evaluations toward render-style recognition rather than the reasoning skill the task is intended to probe. Reference solutions for open-ended tasks favor specific solution paths even when other paths are equally valid; validators are designed to score by simulation outcome rather than reference matching, but downstream comparisons that ignore this design will systematically under-credit divergent strategies. Object-count distributions in cutRope reflect the original yell0wsuit corpus and are not balanced across gameplay-element categories.",
61
+ "rai:personalSensitiveInformation": "None. Fully synthetic; the dataset contains no personally identifiable information, no human-subject data, and no sensitive content. cutRope videos are gameplay recordings of an open-source physics-puzzle game with no real-world imagery.",
62
+ "rai:dataUseCases": "Evaluating multimodal large language models on (a) spatial-pattern reconstruction (VOI, cube1, cube2), (b) multi-step planning under physical constraints (lamp, cube2, cutRope), and (c) short-horizon video-to-program inference (cutRope). The dataset is designed strictly for held-out benchmarking — there is no train split. It is NOT intended as a held-out training set, NOT a real-world capability predictor, and NOT a substitute for application-specific evaluation.",
63
+ "rai:dataSocialImpact": "Low. Synthetic abstract puzzles are unlikely to encode harmful content or to enable misuse beyond benchmark gaming. Primary risk: if widely adopted, models tuned specifically on these visual styles may show inflated capability claims that do not transfer to real-world spatial reasoning tasks. The dataset is purely for evaluation and contains no instructions toward harmful behaviors.",
64
+ "rai:dataReleaseMaintenancePlan": "All levels are deterministically regenerable from the generators in the accompanying code repository (linked from the dataset card under the post-acceptance camera-ready URL). Schema and prompt-template changes are released as new versioned snapshots; per-record `legacy_*` fields preserve pre-migration values for one release cycle to ease comparisons across versions.",
65
+
66
+ "distribution": [
67
+ {
68
+ "@type": "cr:FileObject",
69
+ "@id": "voi-test-jsonl",
70
+ "name": "voi/test.jsonl",
71
+ "description": "Per-record JSON-Lines for the VOI (Text-VOI placements) task, one level per line.",
72
+ "contentUrl": "voi/test.jsonl",
73
+ "encodingFormat": "application/jsonlines"
74
+ },
75
+ {
76
+ "@type": "cr:FileSet",
77
+ "@id": "voi-images",
78
+ "name": "voi/images",
79
+ "description": "Per-level rendered images (target pattern + base-shape pieces) for VOI.",
80
+ "encodingFormat": "image/png",
81
+ "includes": "voi/images/**/*.png"
82
+ },
83
+ {
84
+ "@type": "cr:FileObject",
85
+ "@id": "cube1-test-jsonl",
86
+ "name": "cube1/test.jsonl",
87
+ "description": "Per-record JSON-Lines for the cube reconstruction task.",
88
+ "contentUrl": "cube1/test.jsonl",
89
+ "encodingFormat": "application/jsonlines"
90
+ },
91
+ {
92
+ "@type": "cr:FileSet",
93
+ "@id": "cube1-images",
94
+ "name": "cube1/images",
95
+ "description": "Blank-cross-net and path-imprint images for cube reconstruction.",
96
+ "encodingFormat": "image/png",
97
+ "includes": "cube1/images/**/*.png"
98
+ },
99
+ {
100
+ "@type": "cr:FileObject",
101
+ "@id": "cube2-test-jsonl",
102
+ "name": "cube2/test.jsonl",
103
+ "description": "Per-record JSON-Lines for the cube goal-roll task.",
104
+ "contentUrl": "cube2/test.jsonl",
105
+ "encodingFormat": "application/jsonlines"
106
+ },
107
+ {
108
+ "@type": "cr:FileSet",
109
+ "@id": "cube2-images",
110
+ "name": "cube2/images",
111
+ "description": "Initial-net and target-top-face images for cube goal-roll.",
112
+ "encodingFormat": "image/png",
113
+ "includes": "cube2/images/**/*.png"
114
+ },
115
+ {
116
+ "@type": "cr:FileObject",
117
+ "@id": "lamp-test-jsonl",
118
+ "name": "lamp/test.jsonl",
119
+ "description": "Per-record JSON-Lines for the mechanical-lamp targeting task.",
120
+ "contentUrl": "lamp/test.jsonl",
121
+ "encodingFormat": "application/jsonlines"
122
+ },
123
+ {
124
+ "@type": "cr:FileSet",
125
+ "@id": "lamp-images",
126
+ "name": "lamp/images",
127
+ "description": "Workspace images (arm, target, obstacles) for the mechanical-lamp task.",
128
+ "encodingFormat": "image/png",
129
+ "includes": "lamp/images/**/*.png"
130
+ },
131
+ {
132
+ "@type": "cr:FileObject",
133
+ "@id": "cutrope-test-jsonl",
134
+ "name": "cutrope/test.jsonl",
135
+ "description": "Per-record JSON-Lines for the Cut the Rope video-to-command task.",
136
+ "contentUrl": "cutrope/test.jsonl",
137
+ "encodingFormat": "application/jsonlines"
138
+ },
139
+ {
140
+ "@type": "cr:FileSet",
141
+ "@id": "cutrope-videos",
142
+ "name": "cutrope/videos",
143
+ "description": "Short MP4 gameplay clips (~3s each, 1920x1080) for cutRope.",
144
+ "encodingFormat": "video/mp4",
145
+ "includes": "cutrope/videos/*.mp4"
146
+ }
147
+ ],
148
+
149
+ "recordSet": [
150
+ {
151
+ "@type": "cr:RecordSet",
152
+ "@id": "voi",
153
+ "name": "voi",
154
+ "description": "Text-VOI placements task: 600 records.",
155
+ "field": [
156
+ {"@type": "cr:Field", "@id": "voi/sample_id", "name": "sample_id", "description": "Stable level id, e.g. voi-000.", "dataType": "sc:Text",
157
+ "source": {"fileObject": {"@id": "voi-test-jsonl"}, "extract": {"jsonPath": "$.__sample_id__"}}},
158
+ {"@type": "cr:Field", "@id": "voi/prompt_system", "name": "prompt_system", "description": "Verbatim system-prompt text the benchmark presents.", "dataType": "sc:Text",
159
+ "source": {"fileObject": {"@id": "voi-test-jsonl"}, "extract": {"jsonPath": "$.prompt.system"}}},
160
+ {"@type": "cr:Field", "@id": "voi/prompt_user", "name": "prompt_user", "description": "Verbatim user-prompt text (9-section skeleton, instance-filled).", "dataType": "sc:Text",
161
+ "source": {"fileObject": {"@id": "voi-test-jsonl"}, "extract": {"jsonPath": "$.prompt.user"}}},
162
+ {"@type": "cr:Field", "@id": "voi/answer", "name": "answer", "description": "Reference placements list. Schema: {placements:[{shape,angle,vertex,grid}]}.", "dataType": "cr:Json",
163
+ "source": {"fileObject": {"@id": "voi-test-jsonl"}, "extract": {"jsonPath": "$.answer"}}}
164
+ ]
165
+ },
166
+ {
167
+ "@type": "cr:RecordSet",
168
+ "@id": "cube1",
169
+ "name": "cube1",
170
+ "description": "Cube reconstruction task: 502 records.",
171
+ "field": [
172
+ {"@type": "cr:Field", "@id": "cube1/sample_id", "name": "sample_id", "description": "Stable level id, e.g. C001.", "dataType": "sc:Text",
173
+ "source": {"fileObject": {"@id": "cube1-test-jsonl"}, "extract": {"jsonPath": "$.__sample_id__"}}},
174
+ {"@type": "cr:Field", "@id": "cube1/prompt_system", "name": "prompt_system", "description": "Verbatim system-prompt text.", "dataType": "sc:Text",
175
+ "source": {"fileObject": {"@id": "cube1-test-jsonl"}, "extract": {"jsonPath": "$.prompt.system"}}},
176
+ {"@type": "cr:Field", "@id": "cube1/prompt_user", "name": "prompt_user", "description": "Verbatim user-prompt text.", "dataType": "sc:Text",
177
+ "source": {"fileObject": {"@id": "cube1-test-jsonl"}, "extract": {"jsonPath": "$.prompt.user"}}},
178
+ {"@type": "cr:Field", "@id": "cube1/answer", "name": "answer", "description": "Reference six-face map. Schema: {faces:{TOP:{patternId,rotation},...}}.", "dataType": "cr:Json",
179
+ "source": {"fileObject": {"@id": "cube1-test-jsonl"}, "extract": {"jsonPath": "$.answer"}}}
180
+ ]
181
+ },
182
+ {
183
+ "@type": "cr:RecordSet",
184
+ "@id": "cube2",
185
+ "name": "cube2",
186
+ "description": "Cube goal-roll task: 502 records.",
187
+ "field": [
188
+ {"@type": "cr:Field", "@id": "cube2/sample_id", "name": "sample_id", "description": "Stable level id, e.g. C001.", "dataType": "sc:Text",
189
+ "source": {"fileObject": {"@id": "cube2-test-jsonl"}, "extract": {"jsonPath": "$.__sample_id__"}}},
190
+ {"@type": "cr:Field", "@id": "cube2/prompt_system", "name": "prompt_system", "description": "Verbatim system-prompt text.", "dataType": "sc:Text",
191
+ "source": {"fileObject": {"@id": "cube2-test-jsonl"}, "extract": {"jsonPath": "$.prompt.system"}}},
192
+ {"@type": "cr:Field", "@id": "cube2/prompt_user", "name": "prompt_user", "description": "Verbatim user-prompt text.", "dataType": "sc:Text",
193
+ "source": {"fileObject": {"@id": "cube2-test-jsonl"}, "extract": {"jsonPath": "$.prompt.user"}}},
194
+ {"@type": "cr:Field", "@id": "cube2/answer", "name": "answer", "description": "One known-valid roll sequence. Schema: {directions:['N'|'S'|'E'|'W',...]}.", "dataType": "cr:Json",
195
+ "source": {"fileObject": {"@id": "cube2-test-jsonl"}, "extract": {"jsonPath": "$.answer"}}}
196
+ ]
197
+ },
198
+ {
199
+ "@type": "cr:RecordSet",
200
+ "@id": "lamp",
201
+ "name": "lamp",
202
+ "description": "Mechanical-lamp targeting task: 610 records.",
203
+ "field": [
204
+ {"@type": "cr:Field", "@id": "lamp/sample_id", "name": "sample_id", "description": "Stable level id, e.g. lamp-000.", "dataType": "sc:Text",
205
+ "source": {"fileObject": {"@id": "lamp-test-jsonl"}, "extract": {"jsonPath": "$.__sample_id__"}}},
206
+ {"@type": "cr:Field", "@id": "lamp/prompt_system", "name": "prompt_system", "description": "Verbatim system-prompt text.", "dataType": "sc:Text",
207
+ "source": {"fileObject": {"@id": "lamp-test-jsonl"}, "extract": {"jsonPath": "$.prompt.system"}}},
208
+ {"@type": "cr:Field", "@id": "lamp/prompt_user", "name": "prompt_user", "description": "Verbatim user-prompt text.", "dataType": "sc:Text",
209
+ "source": {"fileObject": {"@id": "lamp-test-jsonl"}, "extract": {"jsonPath": "$.prompt.user"}}},
210
+ {"@type": "cr:Field", "@id": "lamp/answer", "name": "answer", "description": "Reference per-joint angles. Schema: {actions:[{joint,angle},...]}.", "dataType": "cr:Json",
211
+ "source": {"fileObject": {"@id": "lamp-test-jsonl"}, "extract": {"jsonPath": "$.answer"}}}
212
+ ]
213
+ },
214
+ {
215
+ "@type": "cr:RecordSet",
216
+ "@id": "cutrope",
217
+ "name": "cutrope",
218
+ "description": "Cut the Rope video-to-command task: 272 records.",
219
+ "field": [
220
+ {"@type": "cr:Field", "@id": "cutrope/sample_id", "name": "sample_id", "description": "Stable level id, e.g. rope-000.", "dataType": "sc:Text",
221
+ "source": {"fileObject": {"@id": "cutrope-test-jsonl"}, "extract": {"jsonPath": "$.__sample_id__"}}},
222
+ {"@type": "cr:Field", "@id": "cutrope/prompt_system", "name": "prompt_system", "description": "Verbatim system-prompt text.", "dataType": "sc:Text",
223
+ "source": {"fileObject": {"@id": "cutrope-test-jsonl"}, "extract": {"jsonPath": "$.prompt.system"}}},
224
+ {"@type": "cr:Field", "@id": "cutrope/prompt_user", "name": "prompt_user", "description": "Verbatim user-prompt text.", "dataType": "sc:Text",
225
+ "source": {"fileObject": {"@id": "cutrope-test-jsonl"}, "extract": {"jsonPath": "$.prompt.user"}}},
226
+ {"@type": "cr:Field", "@id": "cutrope/answer", "name": "answer", "description": "Reference 3-star command script. Schema: {commands,reason,confidence}.", "dataType": "cr:Json",
227
+ "source": {"fileObject": {"@id": "cutrope-test-jsonl"}, "extract": {"jsonPath": "$.answer"}}}
228
+ ]
229
+ }
230
+ ]
231
+ }
cube1/data/C084.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C084",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "S"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "V",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "heart",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "3",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ }
29
+ ],
30
+ "image_paths": {
31
+ "blank_net_image": "images/blank_nets/open.png",
32
+ "path_sequence_image": "images/path_sequences/C084_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 84,
36
+ "name": "Reconstruct 084",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-084.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "9",
47
+ "rotation": 0,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "heart",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "V",
59
+ "rotation": 0,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "2",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "3",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "Y",
77
+ "rotation": 0,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "9",
84
+ "heart",
85
+ "V",
86
+ "2",
87
+ "3",
88
+ "Y"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 1,
92
+ "grid_width": 4,
93
+ "grid_height": 5,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "9",
97
+ "rotation": 0
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "Y",
101
+ "rotation": 0
102
+ },
103
+ "FRONT": {
104
+ "patternId": "heart",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "2",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "3",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "V",
117
+ "rotation": 90
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "Y",
123
+ "rotation": 0,
124
+ "x": 1,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "V",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "heart",
135
+ "rotation": 270,
136
+ "x": 2,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "3",
141
+ "rotation": 180,
142
+ "x": 2,
143
+ "y": 3
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "FRONT",
149
+ "LEFT"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "FRONT",
154
+ "LEFT"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "?",
161
+ "rotation": 0
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "heart",
169
+ "rotation": 180
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "3",
177
+ "rotation": 180
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "V",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "heart",
196
+ "rotation": 180
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "3",
204
+ "rotation": 180
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "V",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C084\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=V, rotation=180, flipVertical=true\n- step 2: patternId=heart, rotation=270, flipVertical=true\n- step 3: patternId=3, rotation=180, flipVertical=true\n- allowed patternId values for this task: V, heart, 3, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C085.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C085",
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": "7",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "square",
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/C085_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 85,
29
+ "name": "Reconstruct 085",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-085.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "C",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "7",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "2",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "heart",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "square",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "arrow_up",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "C",
77
+ "7",
78
+ "2",
79
+ "heart",
80
+ "square",
81
+ "arrow_up"
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": "C",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "arrow_up",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "7",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "heart",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "square",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "2",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "arrow_up",
116
+ "rotation": 180,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "7",
122
+ "rotation": 270,
123
+ "x": 2,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "square",
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": "7",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "square",
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": "7",
181
+ "rotation": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "square",
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: C085\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=7, rotation=270, flipVertical=true\n- step 2: patternId=square, rotation=90, flipVertical=true\n- allowed patternId values for this task: 7, square, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C086.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C086",
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": "K",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "U",
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/C086_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 86,
29
+ "name": "Reconstruct 086",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-086.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "2",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "7",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "circle",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "K",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "U",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "I",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "2",
77
+ "7",
78
+ "circle",
79
+ "K",
80
+ "U",
81
+ "I"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 2,
85
+ "grid_width": 4,
86
+ "grid_height": 4,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "2",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "I",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "7",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "K",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "U",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "circle",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "I",
116
+ "rotation": 270,
117
+ "x": 2,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "K",
122
+ "rotation": 270,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "U",
128
+ "rotation": 90,
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": "K",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "U",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "K",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "U",
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: C086\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=K, rotation=270, flipVertical=true\n- step 2: patternId=U, rotation=90, flipVertical=true\n- allowed patternId values for this task: K, U, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C088.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C088",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "star",
13
+ "rotation": 270,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "1",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "plus",
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/C088_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 88,
36
+ "name": "Reconstruct 088",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-088.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "1",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "star",
53
+ "rotation": 270,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "V",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "G",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "1",
71
+ "rotation": 90,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "plus",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "1",
84
+ "star",
85
+ "V",
86
+ "G",
87
+ "1",
88
+ "plus"
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": "1",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "plus",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "star",
105
+ "rotation": 270
106
+ },
107
+ "BACK": {
108
+ "patternId": "G",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "1",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "V",
117
+ "rotation": 0
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "plus",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 1
126
+ },
127
+ {
128
+ "patternId": "star",
129
+ "rotation": 270,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "1",
135
+ "rotation": 0,
136
+ "x": 1,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "plus",
141
+ "rotation": 270,
142
+ "x": 1,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "FRONT",
148
+ "LEFT",
149
+ "BOTTOM"
150
+ ],
151
+ "required_slots": [
152
+ "FRONT",
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": "plus",
165
+ "rotation": 180
166
+ },
167
+ "FRONT": {
168
+ "patternId": "star",
169
+ "rotation": 270
170
+ },
171
+ "BACK": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "LEFT": {
176
+ "patternId": "1",
177
+ "rotation": 90
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "plus",
192
+ "rotation": 180
193
+ },
194
+ "FRONT": {
195
+ "patternId": "star",
196
+ "rotation": 270
197
+ },
198
+ "BACK": {
199
+ "patternId": "?",
200
+ "rotation": 0
201
+ },
202
+ "LEFT": {
203
+ "patternId": "1",
204
+ "rotation": 90
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "?",
208
+ "rotation": 0
209
+ }
210
+ },
211
+ "prompt": {
212
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
213
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C088\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=270, flipVertical=true\n- step 2: patternId=1, rotation=0, flipVertical=true\n- step 3: patternId=plus, rotation=270, flipVertical=true\n- allowed patternId values for this task: star, 1, plus, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C089.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C089",
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": "4",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "Y",
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/C089_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 89,
29
+ "name": "Reconstruct 089",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-089.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "W",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "7",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "Y",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "4",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "2",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "heart",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "W",
77
+ "7",
78
+ "Y",
79
+ "4",
80
+ "2",
81
+ "heart"
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": "W",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "heart",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "7",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "4",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "2",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "Y",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "heart",
116
+ "rotation": 180,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "4",
122
+ "rotation": 0,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "Y",
128
+ "rotation": 180,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "RIGHT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "RIGHT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "4",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "Y",
166
+ "rotation": 270
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "?",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "4",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "Y",
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: C089\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=4, rotation=0, flipVertical=true\n- step 2: patternId=Y, rotation=180, flipVertical=true\n- allowed patternId values for this task: 4, 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/C090.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C090",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E",
8
+ "N"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "I",
13
+ "rotation": 90,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "S",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "circle",
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/C090_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 90,
36
+ "name": "Reconstruct 090",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-090.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "S",
47
+ "rotation": 270,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "A",
53
+ "rotation": 180,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "I",
59
+ "rotation": 270,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "circle",
65
+ "rotation": 270,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "arrow_right",
71
+ "rotation": 90,
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
+ "S",
84
+ "A",
85
+ "I",
86
+ "circle",
87
+ "arrow_right",
88
+ "O"
89
+ ],
90
+ "start_x": 1,
91
+ "start_y": 2,
92
+ "grid_width": 5,
93
+ "grid_height": 4,
94
+ "true_solution_faces": {
95
+ "TOP": {
96
+ "patternId": "S",
97
+ "rotation": 270
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "O",
101
+ "rotation": 90
102
+ },
103
+ "FRONT": {
104
+ "patternId": "A",
105
+ "rotation": 180
106
+ },
107
+ "BACK": {
108
+ "patternId": "circle",
109
+ "rotation": 90
110
+ },
111
+ "LEFT": {
112
+ "patternId": "arrow_right",
113
+ "rotation": 0
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "I",
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": "I",
129
+ "rotation": 90,
130
+ "x": 2,
131
+ "y": 2
132
+ },
133
+ {
134
+ "patternId": "S",
135
+ "rotation": 90,
136
+ "x": 3,
137
+ "y": 2
138
+ },
139
+ {
140
+ "patternId": "circle",
141
+ "rotation": 90,
142
+ "x": 3,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "RIGHT",
148
+ "TOP",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "RIGHT",
153
+ "TOP",
154
+ "BACK"
155
+ ],
156
+ "required_count": 3,
157
+ "answer": {
158
+ "faces": {
159
+ "TOP": {
160
+ "patternId": "S",
161
+ "rotation": 270
162
+ },
163
+ "BOTTOM": {
164
+ "patternId": "?",
165
+ "rotation": 0
166
+ },
167
+ "FRONT": {
168
+ "patternId": "?",
169
+ "rotation": 0
170
+ },
171
+ "BACK": {
172
+ "patternId": "circle",
173
+ "rotation": 270
174
+ },
175
+ "LEFT": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "RIGHT": {
180
+ "patternId": "I",
181
+ "rotation": 270
182
+ }
183
+ }
184
+ },
185
+ "legacy_answer": {
186
+ "TOP": {
187
+ "patternId": "S",
188
+ "rotation": 270
189
+ },
190
+ "BOTTOM": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "FRONT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ },
198
+ "BACK": {
199
+ "patternId": "circle",
200
+ "rotation": 270
201
+ },
202
+ "LEFT": {
203
+ "patternId": "?",
204
+ "rotation": 0
205
+ },
206
+ "RIGHT": {
207
+ "patternId": "I",
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: C090\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 3\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=90, flipVertical=true\n- step 2: patternId=S, rotation=90, flipVertical=true\n- step 3: patternId=circle, rotation=90, flipVertical=true\n- allowed patternId values for this task: I, S, circle, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
214
+ }
215
+ }
cube1/data/C091.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C091",
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": "P",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "smile",
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/C091_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 91,
29
+ "name": "Reconstruct 091",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-091.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "smile",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "smile",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "P",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "arrow_up",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "arrow_down",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "D",
70
+ "rotation": 180,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "smile",
77
+ "smile",
78
+ "P",
79
+ "arrow_up",
80
+ "arrow_down",
81
+ "D"
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": "smile",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "D",
94
+ "rotation": 180
95
+ },
96
+ "FRONT": {
97
+ "patternId": "smile",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "arrow_up",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "arrow_down",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "P",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "D",
116
+ "rotation": 180,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "P",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "smile",
128
+ "rotation": 90,
129
+ "x": 3,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "smile",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "P",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "smile",
173
+ "rotation": 270
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "P",
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: C091\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=P, rotation=0, flipVertical=true\n- step 2: patternId=smile, rotation=90, flipVertical=true\n- allowed patternId values for this task: P, smile, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C092.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C092",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "W",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "H",
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/C092_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 92,
29
+ "name": "Reconstruct 092",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-092.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "plus",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "H",
46
+ "rotation": 270,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "D",
52
+ "rotation": 90,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "6",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "W",
64
+ "rotation": 270,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "7",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "plus",
77
+ "H",
78
+ "D",
79
+ "6",
80
+ "W",
81
+ "7"
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": "plus",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "7",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "H",
98
+ "rotation": 270
99
+ },
100
+ "BACK": {
101
+ "patternId": "6",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "W",
106
+ "rotation": 180
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "D",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "7",
116
+ "rotation": 90,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "W",
122
+ "rotation": 90,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "H",
128
+ "rotation": 180,
129
+ "x": 1,
130
+ "y": 2
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "FRONT"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "FRONT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "H",
154
+ "rotation": 270
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "W",
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": 270
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "W",
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: C092\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=W, rotation=90, flipVertical=true\n- step 2: patternId=H, rotation=180, flipVertical=true\n- allowed patternId values for this task: W, H, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C093.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C093",
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": "heart",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "6",
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/C093_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 93,
29
+ "name": "Reconstruct 093",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-093.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "6",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "7",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "5",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "heart",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "3",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "square",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "6",
77
+ "7",
78
+ "5",
79
+ "heart",
80
+ "3",
81
+ "square"
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": "6",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "square",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "7",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "heart",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "3",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "5",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "square",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 3
119
+ },
120
+ {
121
+ "patternId": "heart",
122
+ "rotation": 180,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "6",
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": "6",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "heart",
158
+ "rotation": 180
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "6",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "heart",
185
+ "rotation": 180
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C093\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=heart, rotation=180, flipVertical=true\n- step 2: patternId=6, rotation=90, flipVertical=true\n- allowed patternId values for this task: heart, 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."
199
+ }
200
+ }
cube1/data/C094.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C094",
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\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
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "3",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "Z",
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/C094_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 94,
29
+ "name": "Reconstruct 094",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-094.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "plus",
40
+ "rotation": 180,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "heart",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "M",
52
+ "rotation": 0,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "smile",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "3",
64
+ "rotation": 90,
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
+ "plus",
77
+ "heart",
78
+ "M",
79
+ "smile",
80
+ "3",
81
+ "Z"
82
+ ],
83
+ "start_x": 2,
84
+ "start_y": 1,
85
+ "grid_width": 4,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "plus",
90
+ "rotation": 180
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "Z",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "heart",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "smile",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "3",
106
+ "rotation": 0
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "M",
110
+ "rotation": 90
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "Z",
116
+ "rotation": 270,
117
+ "x": 2,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "3",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "Z",
128
+ "rotation": 270,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "BOTTOM"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "BOTTOM"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "Z",
150
+ "rotation": 270
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "3",
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": "Z",
177
+ "rotation": 270
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "3",
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: C094\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=3, rotation=270, flipVertical=true\n- step 2: patternId=Z, rotation=270, flipVertical=true\n- allowed patternId values for this task: 3, Z, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C095.json ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C095",
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 -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "E"
9
+ ],
10
+ "observed_path_faces": [
11
+ {
12
+ "patternId": "arrow_right",
13
+ "rotation": 180,
14
+ "flipHorizontal": false,
15
+ "flipVertical": true
16
+ },
17
+ {
18
+ "patternId": "E",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "arrow_right",
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/C095_path_sequence.png"
33
+ },
34
+ "metadata": {
35
+ "level_id": 95,
36
+ "name": "Reconstruct 095",
37
+ "difficulty": 1,
38
+ "move_count": 3,
39
+ "tier": 1,
40
+ "source_level_path": "levels/reconstruct/generated-095.json",
41
+ "tier_label": "Difficulty 1"
42
+ },
43
+ "description": "3-move reconstruct puzzle",
44
+ "net_faces": [
45
+ {
46
+ "patternId": "U",
47
+ "rotation": 90,
48
+ "flipHorizontal": false,
49
+ "flipVertical": false
50
+ },
51
+ {
52
+ "patternId": "7",
53
+ "rotation": 90,
54
+ "flipHorizontal": false,
55
+ "flipVertical": false
56
+ },
57
+ {
58
+ "patternId": "plus",
59
+ "rotation": 90,
60
+ "flipHorizontal": false,
61
+ "flipVertical": false
62
+ },
63
+ {
64
+ "patternId": "arrow_right",
65
+ "rotation": 180,
66
+ "flipHorizontal": false,
67
+ "flipVertical": false
68
+ },
69
+ {
70
+ "patternId": "E",
71
+ "rotation": 180,
72
+ "flipHorizontal": false,
73
+ "flipVertical": false
74
+ },
75
+ {
76
+ "patternId": "U",
77
+ "rotation": 180,
78
+ "flipHorizontal": false,
79
+ "flipVertical": false
80
+ }
81
+ ],
82
+ "net_patterns": [
83
+ "U",
84
+ "7",
85
+ "plus",
86
+ "arrow_right",
87
+ "E",
88
+ "U"
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": "U",
97
+ "rotation": 90
98
+ },
99
+ "BOTTOM": {
100
+ "patternId": "U",
101
+ "rotation": 180
102
+ },
103
+ "FRONT": {
104
+ "patternId": "7",
105
+ "rotation": 90
106
+ },
107
+ "BACK": {
108
+ "patternId": "arrow_right",
109
+ "rotation": 0
110
+ },
111
+ "LEFT": {
112
+ "patternId": "E",
113
+ "rotation": 90
114
+ },
115
+ "RIGHT": {
116
+ "patternId": "plus",
117
+ "rotation": 180
118
+ }
119
+ },
120
+ "bottom_faces": [
121
+ {
122
+ "patternId": "U",
123
+ "rotation": 180,
124
+ "x": 2,
125
+ "y": 2
126
+ },
127
+ {
128
+ "patternId": "arrow_right",
129
+ "rotation": 180,
130
+ "x": 2,
131
+ "y": 1
132
+ },
133
+ {
134
+ "patternId": "E",
135
+ "rotation": 270,
136
+ "x": 1,
137
+ "y": 1
138
+ },
139
+ {
140
+ "patternId": "arrow_right",
141
+ "rotation": 180,
142
+ "x": 2,
143
+ "y": 1
144
+ }
145
+ ],
146
+ "slot_sequence": [
147
+ "BACK",
148
+ "LEFT",
149
+ "BACK"
150
+ ],
151
+ "required_slots": [
152
+ "BACK",
153
+ "LEFT"
154
+ ],
155
+ "required_count": 2,
156
+ "answer": {
157
+ "faces": {
158
+ "TOP": {
159
+ "patternId": "?",
160
+ "rotation": 0
161
+ },
162
+ "BOTTOM": {
163
+ "patternId": "?",
164
+ "rotation": 0
165
+ },
166
+ "FRONT": {
167
+ "patternId": "?",
168
+ "rotation": 0
169
+ },
170
+ "BACK": {
171
+ "patternId": "arrow_right",
172
+ "rotation": 180
173
+ },
174
+ "LEFT": {
175
+ "patternId": "E",
176
+ "rotation": 180
177
+ },
178
+ "RIGHT": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ }
182
+ }
183
+ },
184
+ "legacy_answer": {
185
+ "TOP": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "BOTTOM": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "FRONT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "BACK": {
198
+ "patternId": "arrow_right",
199
+ "rotation": 180
200
+ },
201
+ "LEFT": {
202
+ "patternId": "E",
203
+ "rotation": 180
204
+ },
205
+ "RIGHT": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ }
209
+ },
210
+ "prompt": {
211
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
212
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C095\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 -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_right, rotation=180, flipVertical=true\n- step 2: patternId=E, rotation=270, flipVertical=true\n- step 3: patternId=arrow_right, rotation=180, flipVertical=true\n- allowed patternId values for this task: arrow_right, E, ?\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/C096.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C096",
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": "V",
12
+ "rotation": 90,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "L",
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/C096_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 96,
29
+ "name": "Reconstruct 096",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-096.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "L",
40
+ "rotation": 270,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "triangle",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "V",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "square",
58
+ "rotation": 0,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "4",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "A",
70
+ "rotation": 0,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "L",
77
+ "triangle",
78
+ "V",
79
+ "square",
80
+ "4",
81
+ "A"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "L",
90
+ "rotation": 270
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "A",
94
+ "rotation": 0
95
+ },
96
+ "FRONT": {
97
+ "patternId": "triangle",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "square",
102
+ "rotation": 180
103
+ },
104
+ "LEFT": {
105
+ "patternId": "4",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "V",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "A",
116
+ "rotation": 0,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "V",
122
+ "rotation": 90,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "L",
128
+ "rotation": 90,
129
+ "x": 3,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "RIGHT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "RIGHT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "L",
146
+ "rotation": 270
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "V",
166
+ "rotation": 270
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "L",
173
+ "rotation": 270
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "V",
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: C096\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=V, rotation=90, flipVertical=true\n- step 2: patternId=L, rotation=90, flipVertical=true\n- allowed patternId values for this task: V, L, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C097.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C097",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "I",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "3",
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/C097_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 97,
29
+ "name": "Reconstruct 097",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-097.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "3",
40
+ "rotation": 0,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "arrow_down",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "Q",
52
+ "rotation": 270,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "X",
58
+ "rotation": 180,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "I",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "K",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "3",
77
+ "arrow_down",
78
+ "Q",
79
+ "X",
80
+ "I",
81
+ "K"
82
+ ],
83
+ "start_x": 3,
84
+ "start_y": 1,
85
+ "grid_width": 5,
86
+ "grid_height": 3,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "3",
90
+ "rotation": 0
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "K",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "arrow_down",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "X",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "I",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "Q",
110
+ "rotation": 0
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "K",
116
+ "rotation": 90,
117
+ "x": 3,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "I",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "3",
128
+ "rotation": 180,
129
+ "x": 1,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "LEFT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "LEFT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "3",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "?",
158
+ "rotation": 0
159
+ },
160
+ "LEFT": {
161
+ "patternId": "I",
162
+ "rotation": 180
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "?",
166
+ "rotation": 0
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "3",
173
+ "rotation": 0
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "I",
189
+ "rotation": 180
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ }
195
+ },
196
+ "prompt": {
197
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
198
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C097\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=0, flipVertical=true\n- step 2: patternId=3, rotation=180, flipVertical=true\n- allowed patternId values for this task: I, 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/C098.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C098",
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": "S",
12
+ "rotation": 0,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "circle",
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/C098_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 98,
29
+ "name": "Reconstruct 098",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-098.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "circle",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "I",
46
+ "rotation": 0,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "S",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "triangle",
58
+ "rotation": 90,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "heart",
64
+ "rotation": 180,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "A",
70
+ "rotation": 270,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "circle",
77
+ "I",
78
+ "S",
79
+ "triangle",
80
+ "heart",
81
+ "A"
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": "circle",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "A",
94
+ "rotation": 270
95
+ },
96
+ "FRONT": {
97
+ "patternId": "I",
98
+ "rotation": 0
99
+ },
100
+ "BACK": {
101
+ "patternId": "triangle",
102
+ "rotation": 270
103
+ },
104
+ "LEFT": {
105
+ "patternId": "heart",
106
+ "rotation": 90
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "S",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "A",
116
+ "rotation": 270,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "S",
122
+ "rotation": 0,
123
+ "x": 2,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "circle",
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": "circle",
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": "S",
166
+ "rotation": 180
167
+ }
168
+ }
169
+ },
170
+ "legacy_answer": {
171
+ "TOP": {
172
+ "patternId": "circle",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "?",
181
+ "rotation": 0
182
+ },
183
+ "BACK": {
184
+ "patternId": "?",
185
+ "rotation": 0
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "S",
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: C098\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=S, rotation=0, flipVertical=true\n- step 2: patternId=circle, rotation=270, flipVertical=true\n- allowed patternId values for this task: S, circle, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
199
+ }
200
+ }
cube1/data/C099.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C099",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "G",
12
+ "rotation": 180,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "6",
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/C099_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 99,
29
+ "name": "Reconstruct 099",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-099.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "6",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "G",
46
+ "rotation": 180,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "2",
52
+ "rotation": 90,
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": "arrow_left",
64
+ "rotation": 0,
65
+ "flipHorizontal": false,
66
+ "flipVertical": false
67
+ },
68
+ {
69
+ "patternId": "Z",
70
+ "rotation": 90,
71
+ "flipHorizontal": false,
72
+ "flipVertical": false
73
+ }
74
+ ],
75
+ "net_patterns": [
76
+ "6",
77
+ "G",
78
+ "2",
79
+ "arrow_down",
80
+ "arrow_left",
81
+ "Z"
82
+ ],
83
+ "start_x": 1,
84
+ "start_y": 1,
85
+ "grid_width": 3,
86
+ "grid_height": 5,
87
+ "true_solution_faces": {
88
+ "TOP": {
89
+ "patternId": "6",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "Z",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "G",
98
+ "rotation": 180
99
+ },
100
+ "BACK": {
101
+ "patternId": "arrow_down",
102
+ "rotation": 0
103
+ },
104
+ "LEFT": {
105
+ "patternId": "arrow_left",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "2",
110
+ "rotation": 180
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "Z",
116
+ "rotation": 90,
117
+ "x": 1,
118
+ "y": 1
119
+ },
120
+ {
121
+ "patternId": "G",
122
+ "rotation": 180,
123
+ "x": 1,
124
+ "y": 2
125
+ },
126
+ {
127
+ "patternId": "6",
128
+ "rotation": 90,
129
+ "x": 1,
130
+ "y": 3
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "FRONT",
135
+ "TOP"
136
+ ],
137
+ "required_slots": [
138
+ "FRONT",
139
+ "TOP"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "6",
146
+ "rotation": 90
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "G",
154
+ "rotation": 180
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": "6",
173
+ "rotation": 90
174
+ },
175
+ "BOTTOM": {
176
+ "patternId": "?",
177
+ "rotation": 0
178
+ },
179
+ "FRONT": {
180
+ "patternId": "G",
181
+ "rotation": 180
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: C099\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=G, rotation=180, flipVertical=true\n- step 2: patternId=6, rotation=90, flipVertical=true\n- allowed patternId values for this task: G, 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."
199
+ }
200
+ }
cube1/data/C100.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C100",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E"
8
+ ],
9
+ "observed_path_faces": [
10
+ {
11
+ "patternId": "star",
12
+ "rotation": 270,
13
+ "flipHorizontal": false,
14
+ "flipVertical": true
15
+ },
16
+ {
17
+ "patternId": "arrow_right",
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/C100_path_sequence.png"
26
+ },
27
+ "metadata": {
28
+ "level_id": 100,
29
+ "name": "Reconstruct 100",
30
+ "difficulty": 1,
31
+ "move_count": 2,
32
+ "tier": 1,
33
+ "source_level_path": "levels/reconstruct/generated-100.json",
34
+ "tier_label": "Difficulty 1"
35
+ },
36
+ "description": "2-move reconstruct puzzle",
37
+ "net_faces": [
38
+ {
39
+ "patternId": "W",
40
+ "rotation": 90,
41
+ "flipHorizontal": false,
42
+ "flipVertical": false
43
+ },
44
+ {
45
+ "patternId": "1",
46
+ "rotation": 90,
47
+ "flipHorizontal": false,
48
+ "flipVertical": false
49
+ },
50
+ {
51
+ "patternId": "arrow_right",
52
+ "rotation": 180,
53
+ "flipHorizontal": false,
54
+ "flipVertical": false
55
+ },
56
+ {
57
+ "patternId": "star",
58
+ "rotation": 270,
59
+ "flipHorizontal": false,
60
+ "flipVertical": false
61
+ },
62
+ {
63
+ "patternId": "D",
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
+ "W",
77
+ "1",
78
+ "arrow_right",
79
+ "star",
80
+ "D",
81
+ "star"
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": "W",
90
+ "rotation": 90
91
+ },
92
+ "BOTTOM": {
93
+ "patternId": "star",
94
+ "rotation": 90
95
+ },
96
+ "FRONT": {
97
+ "patternId": "1",
98
+ "rotation": 90
99
+ },
100
+ "BACK": {
101
+ "patternId": "star",
102
+ "rotation": 90
103
+ },
104
+ "LEFT": {
105
+ "patternId": "D",
106
+ "rotation": 270
107
+ },
108
+ "RIGHT": {
109
+ "patternId": "arrow_right",
110
+ "rotation": 270
111
+ }
112
+ },
113
+ "bottom_faces": [
114
+ {
115
+ "patternId": "star",
116
+ "rotation": 90,
117
+ "x": 1,
118
+ "y": 2
119
+ },
120
+ {
121
+ "patternId": "star",
122
+ "rotation": 270,
123
+ "x": 1,
124
+ "y": 1
125
+ },
126
+ {
127
+ "patternId": "arrow_right",
128
+ "rotation": 90,
129
+ "x": 2,
130
+ "y": 1
131
+ }
132
+ ],
133
+ "slot_sequence": [
134
+ "BACK",
135
+ "RIGHT"
136
+ ],
137
+ "required_slots": [
138
+ "BACK",
139
+ "RIGHT"
140
+ ],
141
+ "required_count": 2,
142
+ "answer": {
143
+ "faces": {
144
+ "TOP": {
145
+ "patternId": "?",
146
+ "rotation": 0
147
+ },
148
+ "BOTTOM": {
149
+ "patternId": "?",
150
+ "rotation": 0
151
+ },
152
+ "FRONT": {
153
+ "patternId": "?",
154
+ "rotation": 0
155
+ },
156
+ "BACK": {
157
+ "patternId": "star",
158
+ "rotation": 270
159
+ },
160
+ "LEFT": {
161
+ "patternId": "?",
162
+ "rotation": 0
163
+ },
164
+ "RIGHT": {
165
+ "patternId": "arrow_right",
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": "star",
185
+ "rotation": 270
186
+ },
187
+ "LEFT": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "RIGHT": {
192
+ "patternId": "arrow_right",
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: C100\n- net_layout: standard_cross\n- difficulty: 1\n- move_count: 2\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=star, rotation=270, flipVertical=true\n- step 2: patternId=arrow_right, rotation=90, flipVertical=true\n- allowed patternId values for this task: star, 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/C101.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C101",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "E",
9
+ "N"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "U",
14
+ "rotation": 270,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "circle",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "Z",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "W",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C101_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 101,
43
+ "name": "Reconstruct 101",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-101.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "arrow_left",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "W",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "W",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "circle",
72
+ "rotation": 270,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "U",
78
+ "rotation": 90,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "Z",
84
+ "rotation": 270,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "arrow_left",
91
+ "W",
92
+ "W",
93
+ "circle",
94
+ "U",
95
+ "Z"
96
+ ],
97
+ "start_x": 2,
98
+ "start_y": 3,
99
+ "grid_width": 4,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "arrow_left",
104
+ "rotation": 0
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "Z",
108
+ "rotation": 270
109
+ },
110
+ "FRONT": {
111
+ "patternId": "W",
112
+ "rotation": 180
113
+ },
114
+ "BACK": {
115
+ "patternId": "circle",
116
+ "rotation": 90
117
+ },
118
+ "LEFT": {
119
+ "patternId": "U",
120
+ "rotation": 0
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "W",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "Z",
130
+ "rotation": 270,
131
+ "x": 2,
132
+ "y": 3
133
+ },
134
+ {
135
+ "patternId": "U",
136
+ "rotation": 270,
137
+ "x": 1,
138
+ "y": 3
139
+ },
140
+ {
141
+ "patternId": "circle",
142
+ "rotation": 0,
143
+ "x": 1,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "Z",
148
+ "rotation": 0,
149
+ "x": 2,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "W",
154
+ "rotation": 0,
155
+ "x": 2,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "LEFT",
161
+ "BACK",
162
+ "BOTTOM",
163
+ "RIGHT"
164
+ ],
165
+ "required_slots": [
166
+ "LEFT",
167
+ "BACK",
168
+ "BOTTOM",
169
+ "RIGHT"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "Z",
180
+ "rotation": 270
181
+ },
182
+ "FRONT": {
183
+ "patternId": "?",
184
+ "rotation": 0
185
+ },
186
+ "BACK": {
187
+ "patternId": "circle",
188
+ "rotation": 270
189
+ },
190
+ "LEFT": {
191
+ "patternId": "U",
192
+ "rotation": 90
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "W",
196
+ "rotation": 90
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "Z",
207
+ "rotation": 270
208
+ },
209
+ "FRONT": {
210
+ "patternId": "?",
211
+ "rotation": 0
212
+ },
213
+ "BACK": {
214
+ "patternId": "circle",
215
+ "rotation": 270
216
+ },
217
+ "LEFT": {
218
+ "patternId": "U",
219
+ "rotation": 90
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "W",
223
+ "rotation": 90
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C101\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=U, rotation=270, flipVertical=true\n- step 2: patternId=circle, rotation=0, flipVertical=true\n- step 3: patternId=Z, rotation=0, flipVertical=true\n- step 4: patternId=W, rotation=0, flipVertical=true\n- allowed patternId values for this task: U, circle, Z, 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."
229
+ }
230
+ }
cube1/data/C102.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C102",
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 -> W -> S -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E",
8
+ "W",
9
+ "S",
10
+ "N"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "7",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "arrow_right",
21
+ "rotation": 90,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "7",
27
+ "rotation": 270,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "5",
33
+ "rotation": 180,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "7",
39
+ "rotation": 270,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C102_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 102,
50
+ "name": "Reconstruct 102",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-102.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "H",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "V",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "arrow_right",
73
+ "rotation": 180,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "7",
79
+ "rotation": 270,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "8",
85
+ "rotation": 0,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "5",
91
+ "rotation": 180,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "H",
98
+ "V",
99
+ "arrow_right",
100
+ "7",
101
+ "8",
102
+ "5"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 2,
106
+ "grid_width": 4,
107
+ "grid_height": 4,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "H",
111
+ "rotation": 180
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "5",
115
+ "rotation": 180
116
+ },
117
+ "FRONT": {
118
+ "patternId": "V",
119
+ "rotation": 0
120
+ },
121
+ "BACK": {
122
+ "patternId": "7",
123
+ "rotation": 90
124
+ },
125
+ "LEFT": {
126
+ "patternId": "8",
127
+ "rotation": 270
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "arrow_right",
131
+ "rotation": 270
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "5",
137
+ "rotation": 180,
138
+ "x": 1,
139
+ "y": 2
140
+ },
141
+ {
142
+ "patternId": "7",
143
+ "rotation": 270,
144
+ "x": 1,
145
+ "y": 1
146
+ },
147
+ {
148
+ "patternId": "arrow_right",
149
+ "rotation": 90,
150
+ "x": 2,
151
+ "y": 1
152
+ },
153
+ {
154
+ "patternId": "7",
155
+ "rotation": 270,
156
+ "x": 1,
157
+ "y": 1
158
+ },
159
+ {
160
+ "patternId": "5",
161
+ "rotation": 180,
162
+ "x": 1,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "7",
167
+ "rotation": 270,
168
+ "x": 1,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "BACK",
174
+ "RIGHT",
175
+ "BACK",
176
+ "BOTTOM",
177
+ "BACK"
178
+ ],
179
+ "required_slots": [
180
+ "BACK",
181
+ "RIGHT",
182
+ "BOTTOM"
183
+ ],
184
+ "required_count": 3,
185
+ "answer": {
186
+ "faces": {
187
+ "TOP": {
188
+ "patternId": "?",
189
+ "rotation": 0
190
+ },
191
+ "BOTTOM": {
192
+ "patternId": "5",
193
+ "rotation": 180
194
+ },
195
+ "FRONT": {
196
+ "patternId": "?",
197
+ "rotation": 0
198
+ },
199
+ "BACK": {
200
+ "patternId": "7",
201
+ "rotation": 270
202
+ },
203
+ "LEFT": {
204
+ "patternId": "?",
205
+ "rotation": 0
206
+ },
207
+ "RIGHT": {
208
+ "patternId": "arrow_right",
209
+ "rotation": 180
210
+ }
211
+ }
212
+ },
213
+ "legacy_answer": {
214
+ "TOP": {
215
+ "patternId": "?",
216
+ "rotation": 0
217
+ },
218
+ "BOTTOM": {
219
+ "patternId": "5",
220
+ "rotation": 180
221
+ },
222
+ "FRONT": {
223
+ "patternId": "?",
224
+ "rotation": 0
225
+ },
226
+ "BACK": {
227
+ "patternId": "7",
228
+ "rotation": 270
229
+ },
230
+ "LEFT": {
231
+ "patternId": "?",
232
+ "rotation": 0
233
+ },
234
+ "RIGHT": {
235
+ "patternId": "arrow_right",
236
+ "rotation": 180
237
+ }
238
+ },
239
+ "prompt": {
240
+ "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.",
241
+ "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: C102\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> W -> S -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=7, rotation=270, flipVertical=true\n- step 2: patternId=arrow_right, rotation=90, flipVertical=true\n- step 3: patternId=7, rotation=270, flipVertical=true\n- step 4: patternId=5, rotation=180, flipVertical=true\n- step 5: patternId=7, rotation=270, flipVertical=true\n- allowed patternId values for this task: 7, arrow_right, 5, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
242
+ }
243
+ }
cube1/data/C103.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C103",
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 -> W -> N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E",
8
+ "W",
9
+ "N",
10
+ "W"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "X",
15
+ "rotation": 180,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "R",
21
+ "rotation": 180,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "X",
27
+ "rotation": 180,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "R",
33
+ "rotation": 180,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "V",
39
+ "rotation": 90,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C103_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 103,
50
+ "name": "Reconstruct 103",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-103.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "R",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "T",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "R",
73
+ "rotation": 270,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "X",
79
+ "rotation": 180,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "V",
85
+ "rotation": 90,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "H",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "R",
98
+ "T",
99
+ "R",
100
+ "X",
101
+ "V",
102
+ "H"
103
+ ],
104
+ "start_x": 2,
105
+ "start_y": 3,
106
+ "grid_width": 5,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "R",
111
+ "rotation": 180
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "H",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "T",
119
+ "rotation": 270
120
+ },
121
+ "BACK": {
122
+ "patternId": "X",
123
+ "rotation": 0
124
+ },
125
+ "LEFT": {
126
+ "patternId": "V",
127
+ "rotation": 0
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "R",
131
+ "rotation": 0
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "H",
137
+ "rotation": 90,
138
+ "x": 2,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "X",
143
+ "rotation": 180,
144
+ "x": 2,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "R",
149
+ "rotation": 180,
150
+ "x": 3,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "X",
155
+ "rotation": 180,
156
+ "x": 2,
157
+ "y": 2
158
+ },
159
+ {
160
+ "patternId": "R",
161
+ "rotation": 180,
162
+ "x": 2,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "V",
167
+ "rotation": 90,
168
+ "x": 1,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "BACK",
174
+ "RIGHT",
175
+ "BACK",
176
+ "TOP",
177
+ "LEFT"
178
+ ],
179
+ "required_slots": [
180
+ "BACK",
181
+ "RIGHT",
182
+ "TOP",
183
+ "LEFT"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "R",
190
+ "rotation": 180
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "?",
194
+ "rotation": 0
195
+ },
196
+ "FRONT": {
197
+ "patternId": "?",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "X",
202
+ "rotation": 180
203
+ },
204
+ "LEFT": {
205
+ "patternId": "V",
206
+ "rotation": 90
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "R",
210
+ "rotation": 270
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "R",
217
+ "rotation": 180
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "?",
221
+ "rotation": 0
222
+ },
223
+ "FRONT": {
224
+ "patternId": "?",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "X",
229
+ "rotation": 180
230
+ },
231
+ "LEFT": {
232
+ "patternId": "V",
233
+ "rotation": 90
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "R",
237
+ "rotation": 270
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C103\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> W -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=X, rotation=180, flipVertical=true\n- step 2: patternId=R, rotation=180, flipVertical=true\n- step 3: patternId=X, rotation=180, flipVertical=true\n- step 4: patternId=R, rotation=180, flipVertical=true\n- step 5: patternId=V, rotation=90, flipVertical=true\n- allowed patternId values for this task: X, R, V, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
243
+ }
244
+ }
cube1/data/C104.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C104",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "N",
9
+ "E"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "R",
14
+ "rotation": 90,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "S",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "M",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "R",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C104_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 104,
43
+ "name": "Reconstruct 104",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-104.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "M",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "C",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "5",
66
+ "rotation": 0,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "R",
72
+ "rotation": 90,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "S",
78
+ "rotation": 180,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "A",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "M",
91
+ "C",
92
+ "5",
93
+ "R",
94
+ "S",
95
+ "A"
96
+ ],
97
+ "start_x": 2,
98
+ "start_y": 3,
99
+ "grid_width": 4,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "M",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "A",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "C",
112
+ "rotation": 0
113
+ },
114
+ "BACK": {
115
+ "patternId": "R",
116
+ "rotation": 270
117
+ },
118
+ "LEFT": {
119
+ "patternId": "S",
120
+ "rotation": 90
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "5",
124
+ "rotation": 90
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "A",
130
+ "rotation": 180,
131
+ "x": 2,
132
+ "y": 3
133
+ },
134
+ {
135
+ "patternId": "R",
136
+ "rotation": 90,
137
+ "x": 2,
138
+ "y": 2
139
+ },
140
+ {
141
+ "patternId": "S",
142
+ "rotation": 270,
143
+ "x": 1,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "M",
148
+ "rotation": 0,
149
+ "x": 1,
150
+ "y": 1
151
+ },
152
+ {
153
+ "patternId": "R",
154
+ "rotation": 180,
155
+ "x": 2,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "BACK",
161
+ "LEFT",
162
+ "TOP",
163
+ "BACK"
164
+ ],
165
+ "required_slots": [
166
+ "BACK",
167
+ "LEFT",
168
+ "TOP"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "M",
175
+ "rotation": 270
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "?",
179
+ "rotation": 0
180
+ },
181
+ "FRONT": {
182
+ "patternId": "?",
183
+ "rotation": 0
184
+ },
185
+ "BACK": {
186
+ "patternId": "R",
187
+ "rotation": 90
188
+ },
189
+ "LEFT": {
190
+ "patternId": "S",
191
+ "rotation": 180
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "M",
202
+ "rotation": 270
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "?",
206
+ "rotation": 0
207
+ },
208
+ "FRONT": {
209
+ "patternId": "?",
210
+ "rotation": 0
211
+ },
212
+ "BACK": {
213
+ "patternId": "R",
214
+ "rotation": 90
215
+ },
216
+ "LEFT": {
217
+ "patternId": "S",
218
+ "rotation": 180
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C104\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=R, rotation=90, flipVertical=true\n- step 2: patternId=S, rotation=270, flipVertical=true\n- step 3: patternId=M, rotation=0, flipVertical=true\n- step 4: patternId=R, rotation=180, flipVertical=true\n- allowed patternId values for this task: R, S, 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."
228
+ }
229
+ }
cube1/data/C105.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C105",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S -> W -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S",
8
+ "W",
9
+ "E"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "8",
14
+ "rotation": 270,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "L",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "V",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "L",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C105_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 105,
43
+ "name": "Reconstruct 105",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-105.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "V",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "L",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "arrow_left",
66
+ "rotation": 0,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "Y",
72
+ "rotation": 180,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "8",
78
+ "rotation": 90,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "4",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "V",
91
+ "L",
92
+ "arrow_left",
93
+ "Y",
94
+ "8",
95
+ "4"
96
+ ],
97
+ "start_x": 3,
98
+ "start_y": 1,
99
+ "grid_width": 5,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "V",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "4",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "L",
112
+ "rotation": 90
113
+ },
114
+ "BACK": {
115
+ "patternId": "Y",
116
+ "rotation": 0
117
+ },
118
+ "LEFT": {
119
+ "patternId": "8",
120
+ "rotation": 0
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "arrow_left",
124
+ "rotation": 90
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "4",
130
+ "rotation": 180,
131
+ "x": 3,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "8",
136
+ "rotation": 270,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "L",
142
+ "rotation": 0,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "V",
148
+ "rotation": 180,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "L",
154
+ "rotation": 0,
155
+ "x": 2,
156
+ "y": 2
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "LEFT",
161
+ "FRONT",
162
+ "TOP",
163
+ "FRONT"
164
+ ],
165
+ "required_slots": [
166
+ "LEFT",
167
+ "FRONT",
168
+ "TOP"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "V",
175
+ "rotation": 270
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "?",
179
+ "rotation": 0
180
+ },
181
+ "FRONT": {
182
+ "patternId": "L",
183
+ "rotation": 90
184
+ },
185
+ "BACK": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "LEFT": {
190
+ "patternId": "8",
191
+ "rotation": 90
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "V",
202
+ "rotation": 270
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "?",
206
+ "rotation": 0
207
+ },
208
+ "FRONT": {
209
+ "patternId": "L",
210
+ "rotation": 90
211
+ },
212
+ "BACK": {
213
+ "patternId": "?",
214
+ "rotation": 0
215
+ },
216
+ "LEFT": {
217
+ "patternId": "8",
218
+ "rotation": 90
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C105\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=8, rotation=270, flipVertical=true\n- step 2: patternId=L, rotation=0, flipVertical=true\n- step 3: patternId=V, rotation=180, flipVertical=true\n- step 4: patternId=L, rotation=0, flipVertical=true\n- allowed patternId values for this task: 8, L, V, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
228
+ }
229
+ }
cube1/data/C106.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C106",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N -> W -> N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N",
8
+ "W",
9
+ "N",
10
+ "N"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "L",
15
+ "rotation": 0,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "star",
21
+ "rotation": 0,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "U",
27
+ "rotation": 180,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "diamond",
33
+ "rotation": 0,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "M",
39
+ "rotation": 180,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C106_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 106,
50
+ "name": "Reconstruct 106",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-106.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "M",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "5",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "L",
73
+ "rotation": 180,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "star",
79
+ "rotation": 90,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "diamond",
85
+ "rotation": 270,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "U",
91
+ "rotation": 270,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "M",
98
+ "5",
99
+ "L",
100
+ "star",
101
+ "diamond",
102
+ "U"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 4,
106
+ "grid_width": 4,
107
+ "grid_height": 6,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "M",
111
+ "rotation": 90
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "U",
115
+ "rotation": 270
116
+ },
117
+ "FRONT": {
118
+ "patternId": "5",
119
+ "rotation": 270
120
+ },
121
+ "BACK": {
122
+ "patternId": "star",
123
+ "rotation": 270
124
+ },
125
+ "LEFT": {
126
+ "patternId": "diamond",
127
+ "rotation": 180
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "L",
131
+ "rotation": 270
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "U",
137
+ "rotation": 270,
138
+ "x": 1,
139
+ "y": 4
140
+ },
141
+ {
142
+ "patternId": "L",
143
+ "rotation": 0,
144
+ "x": 2,
145
+ "y": 4
146
+ },
147
+ {
148
+ "patternId": "star",
149
+ "rotation": 0,
150
+ "x": 2,
151
+ "y": 3
152
+ },
153
+ {
154
+ "patternId": "U",
155
+ "rotation": 180,
156
+ "x": 1,
157
+ "y": 3
158
+ },
159
+ {
160
+ "patternId": "diamond",
161
+ "rotation": 0,
162
+ "x": 1,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "M",
167
+ "rotation": 180,
168
+ "x": 1,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "RIGHT",
174
+ "BACK",
175
+ "BOTTOM",
176
+ "LEFT",
177
+ "TOP"
178
+ ],
179
+ "required_slots": [
180
+ "RIGHT",
181
+ "BACK",
182
+ "BOTTOM",
183
+ "LEFT",
184
+ "TOP"
185
+ ],
186
+ "required_count": 5,
187
+ "answer": {
188
+ "faces": {
189
+ "TOP": {
190
+ "patternId": "M",
191
+ "rotation": 90
192
+ },
193
+ "BOTTOM": {
194
+ "patternId": "U",
195
+ "rotation": 270
196
+ },
197
+ "FRONT": {
198
+ "patternId": "?",
199
+ "rotation": 0
200
+ },
201
+ "BACK": {
202
+ "patternId": "star",
203
+ "rotation": 90
204
+ },
205
+ "LEFT": {
206
+ "patternId": "diamond",
207
+ "rotation": 270
208
+ },
209
+ "RIGHT": {
210
+ "patternId": "L",
211
+ "rotation": 180
212
+ }
213
+ }
214
+ },
215
+ "legacy_answer": {
216
+ "TOP": {
217
+ "patternId": "M",
218
+ "rotation": 90
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "U",
222
+ "rotation": 270
223
+ },
224
+ "FRONT": {
225
+ "patternId": "?",
226
+ "rotation": 0
227
+ },
228
+ "BACK": {
229
+ "patternId": "star",
230
+ "rotation": 90
231
+ },
232
+ "LEFT": {
233
+ "patternId": "diamond",
234
+ "rotation": 270
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "L",
238
+ "rotation": 180
239
+ }
240
+ },
241
+ "prompt": {
242
+ "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.",
243
+ "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: C106\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> W -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=L, rotation=0, flipVertical=true\n- step 2: patternId=star, rotation=0, flipVertical=true\n- step 3: patternId=U, rotation=180, flipVertical=true\n- step 4: patternId=diamond, rotation=0, flipVertical=true\n- step 5: patternId=M, rotation=180, flipVertical=true\n- allowed patternId values for this task: L, star, U, diamond, 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."
244
+ }
245
+ }
cube1/data/C107.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C107",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> E -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "E",
9
+ "N",
10
+ "E"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "X",
15
+ "rotation": 180,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "Z",
21
+ "rotation": 180,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "8",
27
+ "rotation": 180,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "6",
33
+ "rotation": 180,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "H",
39
+ "rotation": 0,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C107_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 107,
50
+ "name": "Reconstruct 107",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-107.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "O",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "H",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "6",
73
+ "rotation": 270,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "Z",
79
+ "rotation": 90,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "X",
85
+ "rotation": 0,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "8",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "O",
98
+ "H",
99
+ "6",
100
+ "Z",
101
+ "X",
102
+ "8"
103
+ ],
104
+ "start_x": 2,
105
+ "start_y": 3,
106
+ "grid_width": 5,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "O",
111
+ "rotation": 270
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "8",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "H",
119
+ "rotation": 180
120
+ },
121
+ "BACK": {
122
+ "patternId": "Z",
123
+ "rotation": 270
124
+ },
125
+ "LEFT": {
126
+ "patternId": "X",
127
+ "rotation": 270
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "6",
131
+ "rotation": 0
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "8",
137
+ "rotation": 90,
138
+ "x": 2,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "X",
143
+ "rotation": 180,
144
+ "x": 1,
145
+ "y": 3
146
+ },
147
+ {
148
+ "patternId": "Z",
149
+ "rotation": 180,
150
+ "x": 1,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "8",
155
+ "rotation": 180,
156
+ "x": 2,
157
+ "y": 2
158
+ },
159
+ {
160
+ "patternId": "6",
161
+ "rotation": 180,
162
+ "x": 2,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "H",
167
+ "rotation": 0,
168
+ "x": 3,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "LEFT",
174
+ "BACK",
175
+ "BOTTOM",
176
+ "RIGHT",
177
+ "FRONT"
178
+ ],
179
+ "required_slots": [
180
+ "LEFT",
181
+ "BACK",
182
+ "BOTTOM",
183
+ "RIGHT",
184
+ "FRONT"
185
+ ],
186
+ "required_count": 5,
187
+ "answer": {
188
+ "faces": {
189
+ "TOP": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "BOTTOM": {
194
+ "patternId": "8",
195
+ "rotation": 90
196
+ },
197
+ "FRONT": {
198
+ "patternId": "H",
199
+ "rotation": 180
200
+ },
201
+ "BACK": {
202
+ "patternId": "Z",
203
+ "rotation": 90
204
+ },
205
+ "LEFT": {
206
+ "patternId": "X",
207
+ "rotation": 0
208
+ },
209
+ "RIGHT": {
210
+ "patternId": "6",
211
+ "rotation": 270
212
+ }
213
+ }
214
+ },
215
+ "legacy_answer": {
216
+ "TOP": {
217
+ "patternId": "?",
218
+ "rotation": 0
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "8",
222
+ "rotation": 90
223
+ },
224
+ "FRONT": {
225
+ "patternId": "H",
226
+ "rotation": 180
227
+ },
228
+ "BACK": {
229
+ "patternId": "Z",
230
+ "rotation": 90
231
+ },
232
+ "LEFT": {
233
+ "patternId": "X",
234
+ "rotation": 0
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "6",
238
+ "rotation": 270
239
+ }
240
+ },
241
+ "prompt": {
242
+ "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.",
243
+ "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: C107\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> E -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=X, rotation=180, flipVertical=true\n- step 2: patternId=Z, rotation=180, flipVertical=true\n- step 3: patternId=8, rotation=180, flipVertical=true\n- step 4: patternId=6, rotation=180, flipVertical=true\n- step 5: patternId=H, rotation=0, flipVertical=true\n- allowed patternId values for this task: X, Z, 8, 6, H, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
244
+ }
245
+ }
cube1/data/C108.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C108",
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 -> 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
+ "N"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "smile",
14
+ "rotation": 90,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "B",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "arrow_left",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "square",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C108_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 108,
43
+ "name": "Reconstruct 108",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-108.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "square",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "I",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "smile",
66
+ "rotation": 270,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "arrow_left",
72
+ "rotation": 180,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "U",
78
+ "rotation": 0,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "B",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "square",
91
+ "I",
92
+ "smile",
93
+ "arrow_left",
94
+ "U",
95
+ "B"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 3,
99
+ "grid_width": 4,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "square",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "B",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "I",
112
+ "rotation": 0
113
+ },
114
+ "BACK": {
115
+ "patternId": "arrow_left",
116
+ "rotation": 0
117
+ },
118
+ "LEFT": {
119
+ "patternId": "U",
120
+ "rotation": 270
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "smile",
124
+ "rotation": 0
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "B",
130
+ "rotation": 180,
131
+ "x": 1,
132
+ "y": 3
133
+ },
134
+ {
135
+ "patternId": "smile",
136
+ "rotation": 90,
137
+ "x": 2,
138
+ "y": 3
139
+ },
140
+ {
141
+ "patternId": "B",
142
+ "rotation": 180,
143
+ "x": 1,
144
+ "y": 3
145
+ },
146
+ {
147
+ "patternId": "arrow_left",
148
+ "rotation": 180,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "square",
154
+ "rotation": 270,
155
+ "x": 1,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "BOTTOM",
162
+ "BACK",
163
+ "TOP"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "BOTTOM",
168
+ "BACK",
169
+ "TOP"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "square",
176
+ "rotation": 270
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "B",
180
+ "rotation": 180
181
+ },
182
+ "FRONT": {
183
+ "patternId": "?",
184
+ "rotation": 0
185
+ },
186
+ "BACK": {
187
+ "patternId": "arrow_left",
188
+ "rotation": 180
189
+ },
190
+ "LEFT": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "smile",
196
+ "rotation": 270
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "square",
203
+ "rotation": 270
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "B",
207
+ "rotation": 180
208
+ },
209
+ "FRONT": {
210
+ "patternId": "?",
211
+ "rotation": 0
212
+ },
213
+ "BACK": {
214
+ "patternId": "arrow_left",
215
+ "rotation": 180
216
+ },
217
+ "LEFT": {
218
+ "patternId": "?",
219
+ "rotation": 0
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "smile",
223
+ "rotation": 270
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C108\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> W -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=smile, rotation=90, flipVertical=true\n- step 2: patternId=B, rotation=180, flipVertical=true\n- step 3: patternId=arrow_left, rotation=180, flipVertical=true\n- step 4: patternId=square, rotation=270, flipVertical=true\n- allowed patternId values for this task: smile, B, arrow_left, square, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
229
+ }
230
+ }
cube1/data/C109.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C109",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E",
8
+ "S",
9
+ "S"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "1",
14
+ "rotation": 90,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "9",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "B",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "5",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C109_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 109,
43
+ "name": "Reconstruct 109",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-109.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "9",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "B",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "1",
66
+ "rotation": 270,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "2",
72
+ "rotation": 270,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "N",
78
+ "rotation": 90,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "5",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "9",
91
+ "B",
92
+ "1",
93
+ "2",
94
+ "N",
95
+ "5"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 5,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "9",
104
+ "rotation": 0
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "5",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "B",
112
+ "rotation": 180
113
+ },
114
+ "BACK": {
115
+ "patternId": "2",
116
+ "rotation": 90
117
+ },
118
+ "LEFT": {
119
+ "patternId": "N",
120
+ "rotation": 0
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "1",
124
+ "rotation": 0
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "5",
130
+ "rotation": 180,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "1",
136
+ "rotation": 90,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "9",
142
+ "rotation": 180,
143
+ "x": 3,
144
+ "y": 1
145
+ },
146
+ {
147
+ "patternId": "B",
148
+ "rotation": 0,
149
+ "x": 3,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "5",
154
+ "rotation": 0,
155
+ "x": 3,
156
+ "y": 3
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "TOP",
162
+ "FRONT",
163
+ "BOTTOM"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "TOP",
168
+ "FRONT",
169
+ "BOTTOM"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "9",
176
+ "rotation": 0
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "5",
180
+ "rotation": 180
181
+ },
182
+ "FRONT": {
183
+ "patternId": "B",
184
+ "rotation": 180
185
+ },
186
+ "BACK": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "LEFT": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "1",
196
+ "rotation": 270
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "9",
203
+ "rotation": 0
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "5",
207
+ "rotation": 180
208
+ },
209
+ "FRONT": {
210
+ "patternId": "B",
211
+ "rotation": 180
212
+ },
213
+ "BACK": {
214
+ "patternId": "?",
215
+ "rotation": 0
216
+ },
217
+ "LEFT": {
218
+ "patternId": "?",
219
+ "rotation": 0
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "1",
223
+ "rotation": 270
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C109\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=1, rotation=90, flipVertical=true\n- step 2: patternId=9, rotation=180, flipVertical=true\n- step 3: patternId=B, rotation=0, flipVertical=true\n- step 4: patternId=5, rotation=0, flipVertical=true\n- allowed patternId values for this task: 1, 9, B, 5, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
229
+ }
230
+ }
cube1/data/C110.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C110",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> W -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "W",
9
+ "E"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "T",
14
+ "rotation": 90,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "arrow_right",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "J",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "arrow_right",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C110_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 110,
43
+ "name": "Reconstruct 110",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-110.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "T",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "arrow_right",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "T",
66
+ "rotation": 270,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "W",
72
+ "rotation": 0,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "smile",
78
+ "rotation": 90,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "J",
84
+ "rotation": 90,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "T",
91
+ "arrow_right",
92
+ "T",
93
+ "W",
94
+ "smile",
95
+ "J"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 4,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "T",
104
+ "rotation": 90
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "J",
108
+ "rotation": 90
109
+ },
110
+ "FRONT": {
111
+ "patternId": "arrow_right",
112
+ "rotation": 0
113
+ },
114
+ "BACK": {
115
+ "patternId": "W",
116
+ "rotation": 180
117
+ },
118
+ "LEFT": {
119
+ "patternId": "smile",
120
+ "rotation": 0
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "T",
124
+ "rotation": 0
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "J",
130
+ "rotation": 90,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "T",
136
+ "rotation": 90,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "arrow_right",
142
+ "rotation": 90,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "J",
148
+ "rotation": 180,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "arrow_right",
154
+ "rotation": 90,
155
+ "x": 2,
156
+ "y": 2
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "BOTTOM",
163
+ "FRONT"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT",
168
+ "BOTTOM"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "?",
175
+ "rotation": 0
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "J",
179
+ "rotation": 90
180
+ },
181
+ "FRONT": {
182
+ "patternId": "arrow_right",
183
+ "rotation": 0
184
+ },
185
+ "BACK": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "LEFT": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "T",
195
+ "rotation": 270
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "J",
206
+ "rotation": 90
207
+ },
208
+ "FRONT": {
209
+ "patternId": "arrow_right",
210
+ "rotation": 0
211
+ },
212
+ "BACK": {
213
+ "patternId": "?",
214
+ "rotation": 0
215
+ },
216
+ "LEFT": {
217
+ "patternId": "?",
218
+ "rotation": 0
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "T",
222
+ "rotation": 270
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C110\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> W -> E\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=arrow_right, rotation=90, flipVertical=true\n- step 3: patternId=J, rotation=180, flipVertical=true\n- step 4: patternId=arrow_right, rotation=90, flipVertical=true\n- allowed patternId values for this task: T, arrow_right, 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."
228
+ }
229
+ }
cube1/data/C111.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C111",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> W -> 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
+ "S",
8
+ "W",
9
+ "N"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "diamond",
14
+ "rotation": 180,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "Y",
20
+ "rotation": 90,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "H",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "diamond",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C111_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 111,
43
+ "name": "Reconstruct 111",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-111.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "M",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "Y",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "diamond",
66
+ "rotation": 0,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "diamond",
72
+ "rotation": 90,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "H",
78
+ "rotation": 180,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "H",
84
+ "rotation": 0,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "M",
91
+ "Y",
92
+ "diamond",
93
+ "diamond",
94
+ "H",
95
+ "H"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 4,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "M",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "H",
108
+ "rotation": 0
109
+ },
110
+ "FRONT": {
111
+ "patternId": "Y",
112
+ "rotation": 0
113
+ },
114
+ "BACK": {
115
+ "patternId": "diamond",
116
+ "rotation": 270
117
+ },
118
+ "LEFT": {
119
+ "patternId": "H",
120
+ "rotation": 90
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "diamond",
124
+ "rotation": 90
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "H",
130
+ "rotation": 0,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "diamond",
136
+ "rotation": 180,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "Y",
142
+ "rotation": 90,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "H",
148
+ "rotation": 90,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "diamond",
154
+ "rotation": 270,
155
+ "x": 1,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "BOTTOM",
163
+ "RIGHT"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT",
168
+ "BOTTOM"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "?",
175
+ "rotation": 0
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "H",
179
+ "rotation": 0
180
+ },
181
+ "FRONT": {
182
+ "patternId": "Y",
183
+ "rotation": 0
184
+ },
185
+ "BACK": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "LEFT": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "diamond",
195
+ "rotation": 0
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "H",
206
+ "rotation": 0
207
+ },
208
+ "FRONT": {
209
+ "patternId": "Y",
210
+ "rotation": 0
211
+ },
212
+ "BACK": {
213
+ "patternId": "?",
214
+ "rotation": 0
215
+ },
216
+ "LEFT": {
217
+ "patternId": "?",
218
+ "rotation": 0
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "diamond",
222
+ "rotation": 0
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C111\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=diamond, rotation=180, flipVertical=true\n- step 2: patternId=Y, rotation=90, flipVertical=true\n- step 3: patternId=H, rotation=90, flipVertical=true\n- step 4: patternId=diamond, rotation=270, flipVertical=true\n- allowed patternId values for this task: diamond, Y, H, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
228
+ }
229
+ }
cube1/data/C112.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C112",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S -> E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S",
8
+ "E",
9
+ "N"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "arrow_down",
14
+ "rotation": 90,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "L",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "arrow_down",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "arrow_down",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C112_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 112,
43
+ "name": "Reconstruct 112",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-112.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "P",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "L",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "S",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "Q",
72
+ "rotation": 90,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "arrow_down",
78
+ "rotation": 270,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "arrow_down",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "P",
91
+ "L",
92
+ "S",
93
+ "Q",
94
+ "arrow_down",
95
+ "arrow_down"
96
+ ],
97
+ "start_x": 2,
98
+ "start_y": 1,
99
+ "grid_width": 4,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "P",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "arrow_down",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "L",
112
+ "rotation": 90
113
+ },
114
+ "BACK": {
115
+ "patternId": "Q",
116
+ "rotation": 270
117
+ },
118
+ "LEFT": {
119
+ "patternId": "arrow_down",
120
+ "rotation": 180
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "S",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "arrow_down",
130
+ "rotation": 180,
131
+ "x": 2,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "arrow_down",
136
+ "rotation": 90,
137
+ "x": 1,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "L",
142
+ "rotation": 0,
143
+ "x": 1,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "arrow_down",
148
+ "rotation": 90,
149
+ "x": 2,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "arrow_down",
154
+ "rotation": 0,
155
+ "x": 2,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "LEFT",
161
+ "FRONT",
162
+ "BOTTOM",
163
+ "LEFT"
164
+ ],
165
+ "required_slots": [
166
+ "LEFT",
167
+ "FRONT",
168
+ "BOTTOM"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "?",
175
+ "rotation": 0
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "arrow_down",
179
+ "rotation": 180
180
+ },
181
+ "FRONT": {
182
+ "patternId": "L",
183
+ "rotation": 90
184
+ },
185
+ "BACK": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "LEFT": {
190
+ "patternId": "arrow_down",
191
+ "rotation": 270
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "arrow_down",
206
+ "rotation": 180
207
+ },
208
+ "FRONT": {
209
+ "patternId": "L",
210
+ "rotation": 90
211
+ },
212
+ "BACK": {
213
+ "patternId": "?",
214
+ "rotation": 0
215
+ },
216
+ "LEFT": {
217
+ "patternId": "arrow_down",
218
+ "rotation": 270
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C112\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_down, rotation=90, flipVertical=true\n- step 2: patternId=L, rotation=0, flipVertical=true\n- step 3: patternId=arrow_down, rotation=90, flipVertical=true\n- step 4: patternId=arrow_down, rotation=0, flipVertical=true\n- allowed patternId values for this task: arrow_down, L, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
228
+ }
229
+ }
cube1/data/C113.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C113",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> N -> E -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "N",
9
+ "E",
10
+ "S"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "circle",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "arrow_down",
21
+ "rotation": 0,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "Q",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "W",
33
+ "rotation": 270,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "arrow_down",
39
+ "rotation": 90,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C113_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 113,
50
+ "name": "Reconstruct 113",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-113.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "W",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "smile",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "Q",
73
+ "rotation": 0,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "arrow_down",
79
+ "rotation": 270,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "circle",
85
+ "rotation": 90,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "W",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "W",
98
+ "smile",
99
+ "Q",
100
+ "arrow_down",
101
+ "circle",
102
+ "W"
103
+ ],
104
+ "start_x": 2,
105
+ "start_y": 3,
106
+ "grid_width": 4,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "W",
111
+ "rotation": 270
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "W",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "smile",
119
+ "rotation": 180
120
+ },
121
+ "BACK": {
122
+ "patternId": "arrow_down",
123
+ "rotation": 90
124
+ },
125
+ "LEFT": {
126
+ "patternId": "circle",
127
+ "rotation": 0
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "Q",
131
+ "rotation": 90
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "W",
137
+ "rotation": 90,
138
+ "x": 2,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "circle",
143
+ "rotation": 270,
144
+ "x": 1,
145
+ "y": 3
146
+ },
147
+ {
148
+ "patternId": "arrow_down",
149
+ "rotation": 0,
150
+ "x": 1,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "Q",
155
+ "rotation": 0,
156
+ "x": 1,
157
+ "y": 1
158
+ },
159
+ {
160
+ "patternId": "W",
161
+ "rotation": 270,
162
+ "x": 2,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "arrow_down",
167
+ "rotation": 90,
168
+ "x": 2,
169
+ "y": 2
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "LEFT",
174
+ "BACK",
175
+ "RIGHT",
176
+ "BOTTOM",
177
+ "BACK"
178
+ ],
179
+ "required_slots": [
180
+ "LEFT",
181
+ "BACK",
182
+ "RIGHT",
183
+ "BOTTOM"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "?",
190
+ "rotation": 0
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "W",
194
+ "rotation": 90
195
+ },
196
+ "FRONT": {
197
+ "patternId": "?",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "arrow_down",
202
+ "rotation": 270
203
+ },
204
+ "LEFT": {
205
+ "patternId": "circle",
206
+ "rotation": 90
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "Q",
210
+ "rotation": 0
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "?",
217
+ "rotation": 0
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "W",
221
+ "rotation": 90
222
+ },
223
+ "FRONT": {
224
+ "patternId": "?",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "arrow_down",
229
+ "rotation": 270
230
+ },
231
+ "LEFT": {
232
+ "patternId": "circle",
233
+ "rotation": 90
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "Q",
237
+ "rotation": 0
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C113\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> N -> E -> S\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=arrow_down, rotation=0, flipVertical=true\n- step 3: patternId=Q, rotation=0, flipVertical=true\n- step 4: patternId=W, rotation=270, flipVertical=true\n- step 5: patternId=arrow_down, rotation=90, flipVertical=true\n- allowed patternId values for this task: circle, arrow_down, Q, 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."
243
+ }
244
+ }
cube1/data/C114.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C114",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S -> E -> N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S",
8
+ "E",
9
+ "N",
10
+ "N"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "T",
15
+ "rotation": 180,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "Q",
21
+ "rotation": 270,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "C",
27
+ "rotation": 180,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "T",
33
+ "rotation": 90,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "W",
39
+ "rotation": 90,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C114_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 114,
50
+ "name": "Reconstruct 114",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-114.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "W",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "Q",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "smile",
73
+ "rotation": 0,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "D",
79
+ "rotation": 0,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "T",
85
+ "rotation": 0,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "C",
91
+ "rotation": 270,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "W",
98
+ "Q",
99
+ "smile",
100
+ "D",
101
+ "T",
102
+ "C"
103
+ ],
104
+ "start_x": 2,
105
+ "start_y": 2,
106
+ "grid_width": 4,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "W",
111
+ "rotation": 0
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "C",
115
+ "rotation": 270
116
+ },
117
+ "FRONT": {
118
+ "patternId": "Q",
119
+ "rotation": 0
120
+ },
121
+ "BACK": {
122
+ "patternId": "D",
123
+ "rotation": 180
124
+ },
125
+ "LEFT": {
126
+ "patternId": "T",
127
+ "rotation": 270
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "smile",
131
+ "rotation": 90
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "C",
137
+ "rotation": 270,
138
+ "x": 2,
139
+ "y": 2
140
+ },
141
+ {
142
+ "patternId": "T",
143
+ "rotation": 180,
144
+ "x": 1,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "Q",
149
+ "rotation": 270,
150
+ "x": 1,
151
+ "y": 3
152
+ },
153
+ {
154
+ "patternId": "C",
155
+ "rotation": 180,
156
+ "x": 2,
157
+ "y": 3
158
+ },
159
+ {
160
+ "patternId": "T",
161
+ "rotation": 90,
162
+ "x": 2,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "W",
167
+ "rotation": 90,
168
+ "x": 2,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "LEFT",
174
+ "FRONT",
175
+ "BOTTOM",
176
+ "LEFT",
177
+ "TOP"
178
+ ],
179
+ "required_slots": [
180
+ "LEFT",
181
+ "FRONT",
182
+ "BOTTOM",
183
+ "TOP"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "W",
190
+ "rotation": 0
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "C",
194
+ "rotation": 270
195
+ },
196
+ "FRONT": {
197
+ "patternId": "Q",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "LEFT": {
205
+ "patternId": "T",
206
+ "rotation": 0
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "?",
210
+ "rotation": 0
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "W",
217
+ "rotation": 0
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "C",
221
+ "rotation": 270
222
+ },
223
+ "FRONT": {
224
+ "patternId": "Q",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "?",
229
+ "rotation": 0
230
+ },
231
+ "LEFT": {
232
+ "patternId": "T",
233
+ "rotation": 0
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C114\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> E -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=T, rotation=180, flipVertical=true\n- step 2: patternId=Q, rotation=270, flipVertical=true\n- step 3: patternId=C, rotation=180, flipVertical=true\n- step 4: patternId=T, rotation=90, flipVertical=true\n- step 5: patternId=W, rotation=90, flipVertical=true\n- allowed patternId values for this task: T, Q, C, 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."
243
+ }
244
+ }
cube1/data/C115.json ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C115",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> N -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "N",
9
+ "S"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "plus",
14
+ "rotation": 180,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "circle",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "plus",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "circle",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C115_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 115,
43
+ "name": "Reconstruct 115",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-115.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "heart",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "circle",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "plus",
66
+ "rotation": 0,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "V",
72
+ "rotation": 180,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "W",
78
+ "rotation": 180,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "R",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "heart",
91
+ "circle",
92
+ "plus",
93
+ "V",
94
+ "W",
95
+ "R"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 4,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "heart",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "R",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "circle",
112
+ "rotation": 90
113
+ },
114
+ "BACK": {
115
+ "patternId": "V",
116
+ "rotation": 0
117
+ },
118
+ "LEFT": {
119
+ "patternId": "W",
120
+ "rotation": 90
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "plus",
124
+ "rotation": 90
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "R",
130
+ "rotation": 180,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "plus",
136
+ "rotation": 180,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "circle",
142
+ "rotation": 180,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "plus",
148
+ "rotation": 180,
149
+ "x": 2,
150
+ "y": 1
151
+ },
152
+ {
153
+ "patternId": "circle",
154
+ "rotation": 180,
155
+ "x": 2,
156
+ "y": 2
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "RIGHT",
163
+ "FRONT"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT"
168
+ ],
169
+ "required_count": 2,
170
+ "answer": {
171
+ "faces": {
172
+ "TOP": {
173
+ "patternId": "?",
174
+ "rotation": 0
175
+ },
176
+ "BOTTOM": {
177
+ "patternId": "?",
178
+ "rotation": 0
179
+ },
180
+ "FRONT": {
181
+ "patternId": "circle",
182
+ "rotation": 90
183
+ },
184
+ "BACK": {
185
+ "patternId": "?",
186
+ "rotation": 0
187
+ },
188
+ "LEFT": {
189
+ "patternId": "?",
190
+ "rotation": 0
191
+ },
192
+ "RIGHT": {
193
+ "patternId": "plus",
194
+ "rotation": 0
195
+ }
196
+ }
197
+ },
198
+ "legacy_answer": {
199
+ "TOP": {
200
+ "patternId": "?",
201
+ "rotation": 0
202
+ },
203
+ "BOTTOM": {
204
+ "patternId": "?",
205
+ "rotation": 0
206
+ },
207
+ "FRONT": {
208
+ "patternId": "circle",
209
+ "rotation": 90
210
+ },
211
+ "BACK": {
212
+ "patternId": "?",
213
+ "rotation": 0
214
+ },
215
+ "LEFT": {
216
+ "patternId": "?",
217
+ "rotation": 0
218
+ },
219
+ "RIGHT": {
220
+ "patternId": "plus",
221
+ "rotation": 0
222
+ }
223
+ },
224
+ "prompt": {
225
+ "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.",
226
+ "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: C115\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> N -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=plus, rotation=180, flipVertical=true\n- step 2: patternId=circle, rotation=180, flipVertical=true\n- step 3: patternId=plus, rotation=180, flipVertical=true\n- step 4: patternId=circle, rotation=180, flipVertical=true\n- allowed patternId values for this task: plus, circle, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
227
+ }
228
+ }
cube1/data/C116.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C116",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N -> E -> 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
+ "E",
9
+ "N",
10
+ "W"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "Z",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "L",
21
+ "rotation": 270,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "S",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "2",
33
+ "rotation": 90,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "L",
39
+ "rotation": 180,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C116_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 116,
50
+ "name": "Reconstruct 116",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-116.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "S",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "D",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "Z",
73
+ "rotation": 90,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "L",
79
+ "rotation": 0,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "2",
85
+ "rotation": 180,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "U",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "S",
98
+ "D",
99
+ "Z",
100
+ "L",
101
+ "2",
102
+ "U"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 3,
106
+ "grid_width": 5,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "S",
111
+ "rotation": 90
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "U",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "D",
119
+ "rotation": 0
120
+ },
121
+ "BACK": {
122
+ "patternId": "L",
123
+ "rotation": 180
124
+ },
125
+ "LEFT": {
126
+ "patternId": "2",
127
+ "rotation": 90
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "Z",
131
+ "rotation": 180
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "U",
137
+ "rotation": 90,
138
+ "x": 1,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "Z",
143
+ "rotation": 270,
144
+ "x": 2,
145
+ "y": 3
146
+ },
147
+ {
148
+ "patternId": "L",
149
+ "rotation": 270,
150
+ "x": 2,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "S",
155
+ "rotation": 0,
156
+ "x": 3,
157
+ "y": 2
158
+ },
159
+ {
160
+ "patternId": "2",
161
+ "rotation": 90,
162
+ "x": 3,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "L",
167
+ "rotation": 180,
168
+ "x": 2,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "RIGHT",
174
+ "BACK",
175
+ "TOP",
176
+ "LEFT",
177
+ "BACK"
178
+ ],
179
+ "required_slots": [
180
+ "RIGHT",
181
+ "BACK",
182
+ "TOP",
183
+ "LEFT"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "S",
190
+ "rotation": 90
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "?",
194
+ "rotation": 0
195
+ },
196
+ "FRONT": {
197
+ "patternId": "?",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "L",
202
+ "rotation": 0
203
+ },
204
+ "LEFT": {
205
+ "patternId": "2",
206
+ "rotation": 180
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "Z",
210
+ "rotation": 90
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "S",
217
+ "rotation": 90
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "?",
221
+ "rotation": 0
222
+ },
223
+ "FRONT": {
224
+ "patternId": "?",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "L",
229
+ "rotation": 0
230
+ },
231
+ "LEFT": {
232
+ "patternId": "2",
233
+ "rotation": 180
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "Z",
237
+ "rotation": 90
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C116\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> E -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Z, rotation=270, flipVertical=true\n- step 2: patternId=L, rotation=270, flipVertical=true\n- step 3: patternId=S, rotation=0, flipVertical=true\n- step 4: patternId=2, rotation=90, flipVertical=true\n- step 5: patternId=L, rotation=180, flipVertical=true\n- allowed patternId values for this task: Z, L, S, 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."
243
+ }
244
+ }
cube1/data/C117.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C117",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> E -> N -> 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
+ "E",
8
+ "N",
9
+ "N",
10
+ "N"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "O",
15
+ "rotation": 0,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "Z",
21
+ "rotation": 90,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "1",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "L",
33
+ "rotation": 180,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "8",
39
+ "rotation": 180,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C117_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 117,
50
+ "name": "Reconstruct 117",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-117.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "8",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "O",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "Z",
73
+ "rotation": 0,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "W",
79
+ "rotation": 270,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "L",
85
+ "rotation": 90,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "1",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "8",
98
+ "O",
99
+ "Z",
100
+ "W",
101
+ "L",
102
+ "1"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 3,
106
+ "grid_width": 4,
107
+ "grid_height": 6,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "8",
111
+ "rotation": 90
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "1",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "O",
119
+ "rotation": 0
120
+ },
121
+ "BACK": {
122
+ "patternId": "W",
123
+ "rotation": 90
124
+ },
125
+ "LEFT": {
126
+ "patternId": "L",
127
+ "rotation": 0
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "Z",
131
+ "rotation": 90
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "1",
137
+ "rotation": 90,
138
+ "x": 1,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "O",
143
+ "rotation": 0,
144
+ "x": 1,
145
+ "y": 4
146
+ },
147
+ {
148
+ "patternId": "Z",
149
+ "rotation": 90,
150
+ "x": 2,
151
+ "y": 4
152
+ },
153
+ {
154
+ "patternId": "1",
155
+ "rotation": 0,
156
+ "x": 2,
157
+ "y": 3
158
+ },
159
+ {
160
+ "patternId": "L",
161
+ "rotation": 180,
162
+ "x": 2,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "8",
167
+ "rotation": 180,
168
+ "x": 2,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "FRONT",
174
+ "RIGHT",
175
+ "BOTTOM",
176
+ "LEFT",
177
+ "TOP"
178
+ ],
179
+ "required_slots": [
180
+ "FRONT",
181
+ "RIGHT",
182
+ "BOTTOM",
183
+ "LEFT",
184
+ "TOP"
185
+ ],
186
+ "required_count": 5,
187
+ "answer": {
188
+ "faces": {
189
+ "TOP": {
190
+ "patternId": "8",
191
+ "rotation": 90
192
+ },
193
+ "BOTTOM": {
194
+ "patternId": "1",
195
+ "rotation": 90
196
+ },
197
+ "FRONT": {
198
+ "patternId": "O",
199
+ "rotation": 0
200
+ },
201
+ "BACK": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "LEFT": {
206
+ "patternId": "L",
207
+ "rotation": 90
208
+ },
209
+ "RIGHT": {
210
+ "patternId": "Z",
211
+ "rotation": 0
212
+ }
213
+ }
214
+ },
215
+ "legacy_answer": {
216
+ "TOP": {
217
+ "patternId": "8",
218
+ "rotation": 90
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "1",
222
+ "rotation": 90
223
+ },
224
+ "FRONT": {
225
+ "patternId": "O",
226
+ "rotation": 0
227
+ },
228
+ "BACK": {
229
+ "patternId": "?",
230
+ "rotation": 0
231
+ },
232
+ "LEFT": {
233
+ "patternId": "L",
234
+ "rotation": 90
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "Z",
238
+ "rotation": 0
239
+ }
240
+ },
241
+ "prompt": {
242
+ "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.",
243
+ "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: C117\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> N -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=O, rotation=0, flipVertical=true\n- step 2: patternId=Z, rotation=90, flipVertical=true\n- step 3: patternId=1, rotation=0, flipVertical=true\n- step 4: patternId=L, rotation=180, flipVertical=true\n- step 5: patternId=8, rotation=180, flipVertical=true\n- allowed patternId values for this task: O, Z, 1, L, 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."
244
+ }
245
+ }
cube1/data/C118.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C118",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> W -> N -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "W",
9
+ "N",
10
+ "N"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "4",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "W",
21
+ "rotation": 0,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "D",
27
+ "rotation": 90,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "4",
33
+ "rotation": 0,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "F",
39
+ "rotation": 90,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C118_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 118,
50
+ "name": "Reconstruct 118",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-118.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "F",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "W",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "4",
73
+ "rotation": 90,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "L",
79
+ "rotation": 180,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "A",
85
+ "rotation": 180,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "D",
91
+ "rotation": 0,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "F",
98
+ "W",
99
+ "4",
100
+ "L",
101
+ "A",
102
+ "D"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 2,
106
+ "grid_width": 4,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "F",
111
+ "rotation": 180
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "D",
115
+ "rotation": 0
116
+ },
117
+ "FRONT": {
118
+ "patternId": "W",
119
+ "rotation": 270
120
+ },
121
+ "BACK": {
122
+ "patternId": "L",
123
+ "rotation": 0
124
+ },
125
+ "LEFT": {
126
+ "patternId": "A",
127
+ "rotation": 90
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "4",
131
+ "rotation": 180
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "D",
137
+ "rotation": 0,
138
+ "x": 1,
139
+ "y": 2
140
+ },
141
+ {
142
+ "patternId": "4",
143
+ "rotation": 270,
144
+ "x": 2,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "W",
149
+ "rotation": 0,
150
+ "x": 2,
151
+ "y": 3
152
+ },
153
+ {
154
+ "patternId": "D",
155
+ "rotation": 90,
156
+ "x": 1,
157
+ "y": 3
158
+ },
159
+ {
160
+ "patternId": "4",
161
+ "rotation": 0,
162
+ "x": 1,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "F",
167
+ "rotation": 90,
168
+ "x": 1,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "RIGHT",
174
+ "FRONT",
175
+ "BOTTOM",
176
+ "RIGHT",
177
+ "TOP"
178
+ ],
179
+ "required_slots": [
180
+ "RIGHT",
181
+ "FRONT",
182
+ "BOTTOM",
183
+ "TOP"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "F",
190
+ "rotation": 180
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "D",
194
+ "rotation": 0
195
+ },
196
+ "FRONT": {
197
+ "patternId": "W",
198
+ "rotation": 270
199
+ },
200
+ "BACK": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "LEFT": {
205
+ "patternId": "?",
206
+ "rotation": 0
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "4",
210
+ "rotation": 90
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "F",
217
+ "rotation": 180
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "D",
221
+ "rotation": 0
222
+ },
223
+ "FRONT": {
224
+ "patternId": "W",
225
+ "rotation": 270
226
+ },
227
+ "BACK": {
228
+ "patternId": "?",
229
+ "rotation": 0
230
+ },
231
+ "LEFT": {
232
+ "patternId": "?",
233
+ "rotation": 0
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "4",
237
+ "rotation": 90
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C118\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> W -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=4, rotation=270, flipVertical=true\n- step 2: patternId=W, rotation=0, flipVertical=true\n- step 3: patternId=D, rotation=90, flipVertical=true\n- step 4: patternId=4, rotation=0, flipVertical=true\n- step 5: patternId=F, rotation=90, flipVertical=true\n- allowed patternId values for this task: 4, W, D, F, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
243
+ }
244
+ }
cube1/data/C119.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C119",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "E",
9
+ "E"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "N",
14
+ "rotation": 270,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "G",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "8",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "W",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C119_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 119,
43
+ "name": "Reconstruct 119",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-119.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "8",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "G",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "N",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "W",
72
+ "rotation": 270,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "I",
78
+ "rotation": 90,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "G",
84
+ "rotation": 0,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "8",
91
+ "G",
92
+ "N",
93
+ "W",
94
+ "I",
95
+ "G"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 6,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "8",
104
+ "rotation": 180
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "G",
108
+ "rotation": 0
109
+ },
110
+ "FRONT": {
111
+ "patternId": "G",
112
+ "rotation": 270
113
+ },
114
+ "BACK": {
115
+ "patternId": "W",
116
+ "rotation": 90
117
+ },
118
+ "LEFT": {
119
+ "patternId": "I",
120
+ "rotation": 0
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "N",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "G",
130
+ "rotation": 0,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "N",
136
+ "rotation": 270,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "G",
142
+ "rotation": 0,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "8",
148
+ "rotation": 270,
149
+ "x": 3,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "W",
154
+ "rotation": 0,
155
+ "x": 4,
156
+ "y": 2
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "TOP",
163
+ "BACK"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT",
168
+ "TOP",
169
+ "BACK"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "8",
176
+ "rotation": 180
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ },
182
+ "FRONT": {
183
+ "patternId": "G",
184
+ "rotation": 270
185
+ },
186
+ "BACK": {
187
+ "patternId": "W",
188
+ "rotation": 270
189
+ },
190
+ "LEFT": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "N",
196
+ "rotation": 90
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "8",
203
+ "rotation": 180
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ },
209
+ "FRONT": {
210
+ "patternId": "G",
211
+ "rotation": 270
212
+ },
213
+ "BACK": {
214
+ "patternId": "W",
215
+ "rotation": 270
216
+ },
217
+ "LEFT": {
218
+ "patternId": "?",
219
+ "rotation": 0
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "N",
223
+ "rotation": 90
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C119\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=N, rotation=270, flipVertical=true\n- step 2: patternId=G, rotation=0, flipVertical=true\n- step 3: patternId=8, rotation=270, flipVertical=true\n- step 4: patternId=W, rotation=0, flipVertical=true\n- allowed patternId values for this task: N, G, 8, 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."
229
+ }
230
+ }
cube1/data/C120.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C120",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> N -> W -> E -> 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
+ "N",
8
+ "W",
9
+ "E",
10
+ "S"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "V",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "plus",
21
+ "rotation": 90,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "O",
27
+ "rotation": 90,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "plus",
33
+ "rotation": 90,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "V",
39
+ "rotation": 270,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C120_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 120,
50
+ "name": "Reconstruct 120",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-120.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "plus",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "6",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "P",
73
+ "rotation": 90,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "V",
79
+ "rotation": 270,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "O",
85
+ "rotation": 90,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "K",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "plus",
98
+ "6",
99
+ "P",
100
+ "V",
101
+ "O",
102
+ "K"
103
+ ],
104
+ "start_x": 2,
105
+ "start_y": 3,
106
+ "grid_width": 4,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "plus",
111
+ "rotation": 90
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "K",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "6",
119
+ "rotation": 270
120
+ },
121
+ "BACK": {
122
+ "patternId": "V",
123
+ "rotation": 90
124
+ },
125
+ "LEFT": {
126
+ "patternId": "O",
127
+ "rotation": 0
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "P",
131
+ "rotation": 180
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "K",
137
+ "rotation": 90,
138
+ "x": 2,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "V",
143
+ "rotation": 270,
144
+ "x": 2,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "plus",
149
+ "rotation": 90,
150
+ "x": 2,
151
+ "y": 1
152
+ },
153
+ {
154
+ "patternId": "O",
155
+ "rotation": 90,
156
+ "x": 1,
157
+ "y": 1
158
+ },
159
+ {
160
+ "patternId": "plus",
161
+ "rotation": 90,
162
+ "x": 2,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "V",
167
+ "rotation": 270,
168
+ "x": 2,
169
+ "y": 2
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "BACK",
174
+ "TOP",
175
+ "LEFT",
176
+ "TOP",
177
+ "BACK"
178
+ ],
179
+ "required_slots": [
180
+ "BACK",
181
+ "TOP",
182
+ "LEFT"
183
+ ],
184
+ "required_count": 3,
185
+ "answer": {
186
+ "faces": {
187
+ "TOP": {
188
+ "patternId": "plus",
189
+ "rotation": 90
190
+ },
191
+ "BOTTOM": {
192
+ "patternId": "?",
193
+ "rotation": 0
194
+ },
195
+ "FRONT": {
196
+ "patternId": "?",
197
+ "rotation": 0
198
+ },
199
+ "BACK": {
200
+ "patternId": "V",
201
+ "rotation": 270
202
+ },
203
+ "LEFT": {
204
+ "patternId": "O",
205
+ "rotation": 90
206
+ },
207
+ "RIGHT": {
208
+ "patternId": "?",
209
+ "rotation": 0
210
+ }
211
+ }
212
+ },
213
+ "legacy_answer": {
214
+ "TOP": {
215
+ "patternId": "plus",
216
+ "rotation": 90
217
+ },
218
+ "BOTTOM": {
219
+ "patternId": "?",
220
+ "rotation": 0
221
+ },
222
+ "FRONT": {
223
+ "patternId": "?",
224
+ "rotation": 0
225
+ },
226
+ "BACK": {
227
+ "patternId": "V",
228
+ "rotation": 270
229
+ },
230
+ "LEFT": {
231
+ "patternId": "O",
232
+ "rotation": 90
233
+ },
234
+ "RIGHT": {
235
+ "patternId": "?",
236
+ "rotation": 0
237
+ }
238
+ },
239
+ "prompt": {
240
+ "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.",
241
+ "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: C120\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> W -> E -> S\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=plus, rotation=90, flipVertical=true\n- step 3: patternId=O, rotation=90, flipVertical=true\n- step 4: patternId=plus, rotation=90, flipVertical=true\n- step 5: patternId=V, rotation=270, flipVertical=true\n- allowed patternId values for this task: V, plus, O, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
242
+ }
243
+ }
cube1/data/C121.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C121",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E -> N -> 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
+ "N",
9
+ "E",
10
+ "E"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "S",
15
+ "rotation": 180,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "A",
21
+ "rotation": 270,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "G",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "V",
33
+ "rotation": 0,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "diamond",
39
+ "rotation": 180,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C121_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 121,
50
+ "name": "Reconstruct 121",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-121.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "A",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "diamond",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "S",
73
+ "rotation": 0,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "G",
79
+ "rotation": 180,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "V",
85
+ "rotation": 90,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "9",
91
+ "rotation": 270,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "A",
98
+ "diamond",
99
+ "S",
100
+ "G",
101
+ "V",
102
+ "9"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 2,
106
+ "grid_width": 7,
107
+ "grid_height": 4,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "A",
111
+ "rotation": 90
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "9",
115
+ "rotation": 270
116
+ },
117
+ "FRONT": {
118
+ "patternId": "diamond",
119
+ "rotation": 180
120
+ },
121
+ "BACK": {
122
+ "patternId": "G",
123
+ "rotation": 0
124
+ },
125
+ "LEFT": {
126
+ "patternId": "V",
127
+ "rotation": 0
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "S",
131
+ "rotation": 90
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "9",
137
+ "rotation": 270,
138
+ "x": 1,
139
+ "y": 2
140
+ },
141
+ {
142
+ "patternId": "S",
143
+ "rotation": 180,
144
+ "x": 2,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "A",
149
+ "rotation": 270,
150
+ "x": 3,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "G",
155
+ "rotation": 0,
156
+ "x": 3,
157
+ "y": 1
158
+ },
159
+ {
160
+ "patternId": "V",
161
+ "rotation": 0,
162
+ "x": 4,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "diamond",
167
+ "rotation": 180,
168
+ "x": 5,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "RIGHT",
174
+ "TOP",
175
+ "BACK",
176
+ "LEFT",
177
+ "FRONT"
178
+ ],
179
+ "required_slots": [
180
+ "RIGHT",
181
+ "TOP",
182
+ "BACK",
183
+ "LEFT",
184
+ "FRONT"
185
+ ],
186
+ "required_count": 5,
187
+ "answer": {
188
+ "faces": {
189
+ "TOP": {
190
+ "patternId": "A",
191
+ "rotation": 90
192
+ },
193
+ "BOTTOM": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ },
197
+ "FRONT": {
198
+ "patternId": "diamond",
199
+ "rotation": 180
200
+ },
201
+ "BACK": {
202
+ "patternId": "G",
203
+ "rotation": 180
204
+ },
205
+ "LEFT": {
206
+ "patternId": "V",
207
+ "rotation": 90
208
+ },
209
+ "RIGHT": {
210
+ "patternId": "S",
211
+ "rotation": 0
212
+ }
213
+ }
214
+ },
215
+ "legacy_answer": {
216
+ "TOP": {
217
+ "patternId": "A",
218
+ "rotation": 90
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ },
224
+ "FRONT": {
225
+ "patternId": "diamond",
226
+ "rotation": 180
227
+ },
228
+ "BACK": {
229
+ "patternId": "G",
230
+ "rotation": 180
231
+ },
232
+ "LEFT": {
233
+ "patternId": "V",
234
+ "rotation": 90
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "S",
238
+ "rotation": 0
239
+ }
240
+ },
241
+ "prompt": {
242
+ "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.",
243
+ "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: C121\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> N -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=S, rotation=180, flipVertical=true\n- step 2: patternId=A, rotation=270, flipVertical=true\n- step 3: patternId=G, rotation=0, flipVertical=true\n- step 4: patternId=V, rotation=0, flipVertical=true\n- step 5: patternId=diamond, rotation=180, flipVertical=true\n- allowed patternId values for this task: S, A, G, V, diamond, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
244
+ }
245
+ }
cube1/data/C122.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C122",
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 -> 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
+ "E",
8
+ "E",
9
+ "N",
10
+ "W"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "8",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "T",
21
+ "rotation": 180,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "A",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "1",
33
+ "rotation": 270,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "T",
39
+ "rotation": 90,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C122_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 122,
50
+ "name": "Reconstruct 122",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-122.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "T",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "3",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "8",
73
+ "rotation": 90,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "1",
79
+ "rotation": 180,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "A",
85
+ "rotation": 180,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "V",
91
+ "rotation": 90,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "T",
98
+ "3",
99
+ "8",
100
+ "1",
101
+ "A",
102
+ "V"
103
+ ],
104
+ "start_x": 1,
105
+ "start_y": 2,
106
+ "grid_width": 6,
107
+ "grid_height": 4,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "T",
111
+ "rotation": 0
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "V",
115
+ "rotation": 90
116
+ },
117
+ "FRONT": {
118
+ "patternId": "3",
119
+ "rotation": 270
120
+ },
121
+ "BACK": {
122
+ "patternId": "1",
123
+ "rotation": 0
124
+ },
125
+ "LEFT": {
126
+ "patternId": "A",
127
+ "rotation": 90
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "8",
131
+ "rotation": 180
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "V",
137
+ "rotation": 90,
138
+ "x": 1,
139
+ "y": 2
140
+ },
141
+ {
142
+ "patternId": "8",
143
+ "rotation": 270,
144
+ "x": 2,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "T",
149
+ "rotation": 180,
150
+ "x": 3,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "A",
155
+ "rotation": 0,
156
+ "x": 4,
157
+ "y": 2
158
+ },
159
+ {
160
+ "patternId": "1",
161
+ "rotation": 270,
162
+ "x": 4,
163
+ "y": 1
164
+ },
165
+ {
166
+ "patternId": "T",
167
+ "rotation": 90,
168
+ "x": 3,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "RIGHT",
174
+ "TOP",
175
+ "LEFT",
176
+ "BACK",
177
+ "TOP"
178
+ ],
179
+ "required_slots": [
180
+ "RIGHT",
181
+ "TOP",
182
+ "LEFT",
183
+ "BACK"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "T",
190
+ "rotation": 0
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "?",
194
+ "rotation": 0
195
+ },
196
+ "FRONT": {
197
+ "patternId": "?",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "1",
202
+ "rotation": 180
203
+ },
204
+ "LEFT": {
205
+ "patternId": "A",
206
+ "rotation": 180
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "8",
210
+ "rotation": 90
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "T",
217
+ "rotation": 0
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "?",
221
+ "rotation": 0
222
+ },
223
+ "FRONT": {
224
+ "patternId": "?",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "1",
229
+ "rotation": 180
230
+ },
231
+ "LEFT": {
232
+ "patternId": "A",
233
+ "rotation": 180
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "8",
237
+ "rotation": 90
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C122\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> E -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=8, rotation=270, flipVertical=true\n- step 2: patternId=T, rotation=180, flipVertical=true\n- step 3: patternId=A, rotation=0, flipVertical=true\n- step 4: patternId=1, rotation=270, flipVertical=true\n- step 5: patternId=T, rotation=90, flipVertical=true\n- allowed patternId values for this task: 8, T, A, 1, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
243
+ }
244
+ }
cube1/data/C123.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C123",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E",
8
+ "S",
9
+ "S"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "arrow_up",
14
+ "rotation": 90,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "S",
20
+ "rotation": 180,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "2",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "diamond",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C123_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 123,
43
+ "name": "Reconstruct 123",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-123.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "6",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "V",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "S",
66
+ "rotation": 270,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "arrow_up",
72
+ "rotation": 90,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "diamond",
78
+ "rotation": 180,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "2",
84
+ "rotation": 90,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "6",
91
+ "V",
92
+ "S",
93
+ "arrow_up",
94
+ "diamond",
95
+ "2"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 2,
99
+ "grid_width": 4,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "6",
104
+ "rotation": 0
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "2",
108
+ "rotation": 90
109
+ },
110
+ "FRONT": {
111
+ "patternId": "V",
112
+ "rotation": 90
113
+ },
114
+ "BACK": {
115
+ "patternId": "arrow_up",
116
+ "rotation": 270
117
+ },
118
+ "LEFT": {
119
+ "patternId": "diamond",
120
+ "rotation": 90
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "S",
124
+ "rotation": 0
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "2",
130
+ "rotation": 90,
131
+ "x": 1,
132
+ "y": 2
133
+ },
134
+ {
135
+ "patternId": "arrow_up",
136
+ "rotation": 90,
137
+ "x": 1,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "S",
142
+ "rotation": 180,
143
+ "x": 2,
144
+ "y": 1
145
+ },
146
+ {
147
+ "patternId": "2",
148
+ "rotation": 180,
149
+ "x": 2,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "diamond",
154
+ "rotation": 90,
155
+ "x": 2,
156
+ "y": 3
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "BACK",
161
+ "RIGHT",
162
+ "BOTTOM",
163
+ "LEFT"
164
+ ],
165
+ "required_slots": [
166
+ "BACK",
167
+ "RIGHT",
168
+ "BOTTOM",
169
+ "LEFT"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "2",
180
+ "rotation": 90
181
+ },
182
+ "FRONT": {
183
+ "patternId": "?",
184
+ "rotation": 0
185
+ },
186
+ "BACK": {
187
+ "patternId": "arrow_up",
188
+ "rotation": 90
189
+ },
190
+ "LEFT": {
191
+ "patternId": "diamond",
192
+ "rotation": 180
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "S",
196
+ "rotation": 270
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "2",
207
+ "rotation": 90
208
+ },
209
+ "FRONT": {
210
+ "patternId": "?",
211
+ "rotation": 0
212
+ },
213
+ "BACK": {
214
+ "patternId": "arrow_up",
215
+ "rotation": 90
216
+ },
217
+ "LEFT": {
218
+ "patternId": "diamond",
219
+ "rotation": 180
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "S",
223
+ "rotation": 270
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C123\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_up, rotation=90, flipVertical=true\n- step 2: patternId=S, rotation=180, flipVertical=true\n- step 3: patternId=2, rotation=180, flipVertical=true\n- step 4: patternId=diamond, rotation=90, flipVertical=true\n- allowed patternId values for this task: arrow_up, S, 2, diamond, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
229
+ }
230
+ }
cube1/data/C124.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C124",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> W -> W -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "W",
9
+ "W",
10
+ "N"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "P",
15
+ "rotation": 90,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "arrow_left",
21
+ "rotation": 270,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "circle",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "O",
33
+ "rotation": 0,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "arrow_left",
39
+ "rotation": 270,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C124_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 124,
50
+ "name": "Reconstruct 124",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-124.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "Y",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "P",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "O",
73
+ "rotation": 270,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "circle",
79
+ "rotation": 180,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "arrow_left",
85
+ "rotation": 0,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "arrow_left",
91
+ "rotation": 0,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "Y",
98
+ "P",
99
+ "O",
100
+ "circle",
101
+ "arrow_left",
102
+ "arrow_left"
103
+ ],
104
+ "start_x": 4,
105
+ "start_y": 1,
106
+ "grid_width": 6,
107
+ "grid_height": 4,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "Y",
111
+ "rotation": 0
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "arrow_left",
115
+ "rotation": 0
116
+ },
117
+ "FRONT": {
118
+ "patternId": "P",
119
+ "rotation": 90
120
+ },
121
+ "BACK": {
122
+ "patternId": "circle",
123
+ "rotation": 0
124
+ },
125
+ "LEFT": {
126
+ "patternId": "arrow_left",
127
+ "rotation": 270
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "O",
131
+ "rotation": 0
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "arrow_left",
137
+ "rotation": 0,
138
+ "x": 4,
139
+ "y": 1
140
+ },
141
+ {
142
+ "patternId": "P",
143
+ "rotation": 90,
144
+ "x": 4,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "arrow_left",
149
+ "rotation": 270,
150
+ "x": 3,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "circle",
155
+ "rotation": 0,
156
+ "x": 2,
157
+ "y": 2
158
+ },
159
+ {
160
+ "patternId": "O",
161
+ "rotation": 0,
162
+ "x": 1,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "arrow_left",
167
+ "rotation": 270,
168
+ "x": 1,
169
+ "y": 1
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "FRONT",
174
+ "LEFT",
175
+ "BACK",
176
+ "RIGHT",
177
+ "BOTTOM"
178
+ ],
179
+ "required_slots": [
180
+ "FRONT",
181
+ "LEFT",
182
+ "BACK",
183
+ "RIGHT",
184
+ "BOTTOM"
185
+ ],
186
+ "required_count": 5,
187
+ "answer": {
188
+ "faces": {
189
+ "TOP": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "BOTTOM": {
194
+ "patternId": "arrow_left",
195
+ "rotation": 0
196
+ },
197
+ "FRONT": {
198
+ "patternId": "P",
199
+ "rotation": 90
200
+ },
201
+ "BACK": {
202
+ "patternId": "circle",
203
+ "rotation": 180
204
+ },
205
+ "LEFT": {
206
+ "patternId": "arrow_left",
207
+ "rotation": 0
208
+ },
209
+ "RIGHT": {
210
+ "patternId": "O",
211
+ "rotation": 270
212
+ }
213
+ }
214
+ },
215
+ "legacy_answer": {
216
+ "TOP": {
217
+ "patternId": "?",
218
+ "rotation": 0
219
+ },
220
+ "BOTTOM": {
221
+ "patternId": "arrow_left",
222
+ "rotation": 0
223
+ },
224
+ "FRONT": {
225
+ "patternId": "P",
226
+ "rotation": 90
227
+ },
228
+ "BACK": {
229
+ "patternId": "circle",
230
+ "rotation": 180
231
+ },
232
+ "LEFT": {
233
+ "patternId": "arrow_left",
234
+ "rotation": 0
235
+ },
236
+ "RIGHT": {
237
+ "patternId": "O",
238
+ "rotation": 270
239
+ }
240
+ },
241
+ "prompt": {
242
+ "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.",
243
+ "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: C124\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W -> W -> 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=arrow_left, rotation=270, flipVertical=true\n- step 3: patternId=circle, rotation=0, flipVertical=true\n- step 4: patternId=O, rotation=0, flipVertical=true\n- step 5: patternId=arrow_left, rotation=270, flipVertical=true\n- allowed patternId values for this task: P, arrow_left, circle, O, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
244
+ }
245
+ }
cube1/data/C125.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C125",
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 -> W -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S",
8
+ "W",
9
+ "W",
10
+ "E"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "O",
15
+ "rotation": 270,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "K",
21
+ "rotation": 270,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "square",
27
+ "rotation": 0,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "circle",
33
+ "rotation": 0,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "square",
39
+ "rotation": 0,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C125_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 125,
50
+ "name": "Reconstruct 125",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-125.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "square",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "K",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "D",
73
+ "rotation": 270,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "circle",
79
+ "rotation": 90,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "O",
85
+ "rotation": 90,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "arrow_right",
91
+ "rotation": 180,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "square",
98
+ "K",
99
+ "D",
100
+ "circle",
101
+ "O",
102
+ "arrow_right"
103
+ ],
104
+ "start_x": 4,
105
+ "start_y": 1,
106
+ "grid_width": 6,
107
+ "grid_height": 4,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "square",
111
+ "rotation": 90
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "arrow_right",
115
+ "rotation": 180
116
+ },
117
+ "FRONT": {
118
+ "patternId": "K",
119
+ "rotation": 0
120
+ },
121
+ "BACK": {
122
+ "patternId": "circle",
123
+ "rotation": 270
124
+ },
125
+ "LEFT": {
126
+ "patternId": "O",
127
+ "rotation": 0
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "D",
131
+ "rotation": 0
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "arrow_right",
137
+ "rotation": 180,
138
+ "x": 4,
139
+ "y": 1
140
+ },
141
+ {
142
+ "patternId": "O",
143
+ "rotation": 270,
144
+ "x": 3,
145
+ "y": 1
146
+ },
147
+ {
148
+ "patternId": "K",
149
+ "rotation": 270,
150
+ "x": 3,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "square",
155
+ "rotation": 0,
156
+ "x": 2,
157
+ "y": 2
158
+ },
159
+ {
160
+ "patternId": "circle",
161
+ "rotation": 0,
162
+ "x": 1,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "square",
167
+ "rotation": 0,
168
+ "x": 2,
169
+ "y": 2
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "LEFT",
174
+ "FRONT",
175
+ "TOP",
176
+ "BACK",
177
+ "TOP"
178
+ ],
179
+ "required_slots": [
180
+ "LEFT",
181
+ "FRONT",
182
+ "TOP",
183
+ "BACK"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "square",
190
+ "rotation": 90
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "?",
194
+ "rotation": 0
195
+ },
196
+ "FRONT": {
197
+ "patternId": "K",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "circle",
202
+ "rotation": 90
203
+ },
204
+ "LEFT": {
205
+ "patternId": "O",
206
+ "rotation": 90
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "?",
210
+ "rotation": 0
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "square",
217
+ "rotation": 90
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "?",
221
+ "rotation": 0
222
+ },
223
+ "FRONT": {
224
+ "patternId": "K",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "circle",
229
+ "rotation": 90
230
+ },
231
+ "LEFT": {
232
+ "patternId": "O",
233
+ "rotation": 90
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C125\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W -> W -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=O, rotation=270, flipVertical=true\n- step 2: patternId=K, rotation=270, flipVertical=true\n- step 3: patternId=square, rotation=0, flipVertical=true\n- step 4: patternId=circle, rotation=0, flipVertical=true\n- step 5: patternId=square, rotation=0, flipVertical=true\n- allowed patternId values for this task: O, K, square, circle, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
243
+ }
244
+ }
cube1/data/C126.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C126",
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 -> E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "S",
8
+ "S",
9
+ "E",
10
+ "E"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "diamond",
15
+ "rotation": 90,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "D",
21
+ "rotation": 90,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "R",
27
+ "rotation": 180,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "2",
33
+ "rotation": 180,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "diamond",
39
+ "rotation": 270,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C126_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 126,
50
+ "name": "Reconstruct 126",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-126.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "D",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "D",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "R",
73
+ "rotation": 180,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "arrow_down",
79
+ "rotation": 180,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "diamond",
85
+ "rotation": 270,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "2",
91
+ "rotation": 0,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "D",
98
+ "D",
99
+ "R",
100
+ "arrow_down",
101
+ "diamond",
102
+ "2"
103
+ ],
104
+ "start_x": 2,
105
+ "start_y": 1,
106
+ "grid_width": 5,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "D",
111
+ "rotation": 180
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "2",
115
+ "rotation": 0
116
+ },
117
+ "FRONT": {
118
+ "patternId": "D",
119
+ "rotation": 180
120
+ },
121
+ "BACK": {
122
+ "patternId": "arrow_down",
123
+ "rotation": 0
124
+ },
125
+ "LEFT": {
126
+ "patternId": "diamond",
127
+ "rotation": 180
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "R",
131
+ "rotation": 270
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "2",
137
+ "rotation": 0,
138
+ "x": 2,
139
+ "y": 1
140
+ },
141
+ {
142
+ "patternId": "diamond",
143
+ "rotation": 90,
144
+ "x": 1,
145
+ "y": 1
146
+ },
147
+ {
148
+ "patternId": "D",
149
+ "rotation": 90,
150
+ "x": 1,
151
+ "y": 2
152
+ },
153
+ {
154
+ "patternId": "R",
155
+ "rotation": 180,
156
+ "x": 1,
157
+ "y": 3
158
+ },
159
+ {
160
+ "patternId": "2",
161
+ "rotation": 180,
162
+ "x": 2,
163
+ "y": 3
164
+ },
165
+ {
166
+ "patternId": "diamond",
167
+ "rotation": 270,
168
+ "x": 3,
169
+ "y": 3
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "LEFT",
174
+ "FRONT",
175
+ "RIGHT",
176
+ "BOTTOM",
177
+ "LEFT"
178
+ ],
179
+ "required_slots": [
180
+ "LEFT",
181
+ "FRONT",
182
+ "RIGHT",
183
+ "BOTTOM"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "?",
190
+ "rotation": 0
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "2",
194
+ "rotation": 0
195
+ },
196
+ "FRONT": {
197
+ "patternId": "D",
198
+ "rotation": 180
199
+ },
200
+ "BACK": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "LEFT": {
205
+ "patternId": "diamond",
206
+ "rotation": 270
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "R",
210
+ "rotation": 180
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "?",
217
+ "rotation": 0
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "2",
221
+ "rotation": 0
222
+ },
223
+ "FRONT": {
224
+ "patternId": "D",
225
+ "rotation": 180
226
+ },
227
+ "BACK": {
228
+ "patternId": "?",
229
+ "rotation": 0
230
+ },
231
+ "LEFT": {
232
+ "patternId": "diamond",
233
+ "rotation": 270
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "R",
237
+ "rotation": 180
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C126\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> S -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=diamond, rotation=90, flipVertical=true\n- step 2: patternId=D, rotation=90, flipVertical=true\n- step 3: patternId=R, rotation=180, flipVertical=true\n- step 4: patternId=2, rotation=180, flipVertical=true\n- step 5: patternId=diamond, rotation=270, flipVertical=true\n- allowed patternId values for this task: diamond, D, R, 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."
243
+ }
244
+ }
cube1/data/C127.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C127",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> N -> S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "N",
8
+ "S",
9
+ "W"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "7",
14
+ "rotation": 180,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "9",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "7",
26
+ "rotation": 180,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "X",
32
+ "rotation": 90,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C127_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 127,
43
+ "name": "Reconstruct 127",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-127.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "9",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "Q",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "6",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "7",
72
+ "rotation": 180,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "X",
78
+ "rotation": 0,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "J",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "9",
91
+ "Q",
92
+ "6",
93
+ "7",
94
+ "X",
95
+ "J"
96
+ ],
97
+ "start_x": 2,
98
+ "start_y": 3,
99
+ "grid_width": 4,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "9",
104
+ "rotation": 270
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "J",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "Q",
112
+ "rotation": 0
113
+ },
114
+ "BACK": {
115
+ "patternId": "7",
116
+ "rotation": 0
117
+ },
118
+ "LEFT": {
119
+ "patternId": "X",
120
+ "rotation": 270
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "6",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "J",
130
+ "rotation": 180,
131
+ "x": 2,
132
+ "y": 3
133
+ },
134
+ {
135
+ "patternId": "7",
136
+ "rotation": 180,
137
+ "x": 2,
138
+ "y": 2
139
+ },
140
+ {
141
+ "patternId": "9",
142
+ "rotation": 270,
143
+ "x": 2,
144
+ "y": 1
145
+ },
146
+ {
147
+ "patternId": "7",
148
+ "rotation": 180,
149
+ "x": 2,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "X",
154
+ "rotation": 90,
155
+ "x": 1,
156
+ "y": 2
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "BACK",
161
+ "TOP",
162
+ "BACK",
163
+ "LEFT"
164
+ ],
165
+ "required_slots": [
166
+ "BACK",
167
+ "TOP",
168
+ "LEFT"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "9",
175
+ "rotation": 270
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "?",
179
+ "rotation": 0
180
+ },
181
+ "FRONT": {
182
+ "patternId": "?",
183
+ "rotation": 0
184
+ },
185
+ "BACK": {
186
+ "patternId": "7",
187
+ "rotation": 180
188
+ },
189
+ "LEFT": {
190
+ "patternId": "X",
191
+ "rotation": 0
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "?",
195
+ "rotation": 0
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "9",
202
+ "rotation": 270
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "?",
206
+ "rotation": 0
207
+ },
208
+ "FRONT": {
209
+ "patternId": "?",
210
+ "rotation": 0
211
+ },
212
+ "BACK": {
213
+ "patternId": "7",
214
+ "rotation": 180
215
+ },
216
+ "LEFT": {
217
+ "patternId": "X",
218
+ "rotation": 0
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "?",
222
+ "rotation": 0
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C127\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=7, rotation=180, flipVertical=true\n- step 2: patternId=9, rotation=270, flipVertical=true\n- step 3: patternId=7, rotation=180, flipVertical=true\n- step 4: patternId=X, rotation=90, flipVertical=true\n- allowed patternId values for this task: 7, 9, X, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
228
+ }
229
+ }
cube1/data/C128.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C128",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> E -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "E",
9
+ "S"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "N",
14
+ "rotation": 180,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "circle",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "square",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "circle",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C128_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 128,
43
+ "name": "Reconstruct 128",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-128.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "square",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "circle",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "N",
66
+ "rotation": 0,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "C",
72
+ "rotation": 270,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "circle",
78
+ "rotation": 270,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "M",
84
+ "rotation": 270,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "square",
91
+ "circle",
92
+ "N",
93
+ "C",
94
+ "circle",
95
+ "M"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 5,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "square",
104
+ "rotation": 180
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "M",
108
+ "rotation": 270
109
+ },
110
+ "FRONT": {
111
+ "patternId": "circle",
112
+ "rotation": 270
113
+ },
114
+ "BACK": {
115
+ "patternId": "C",
116
+ "rotation": 90
117
+ },
118
+ "LEFT": {
119
+ "patternId": "circle",
120
+ "rotation": 180
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "N",
124
+ "rotation": 90
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "M",
130
+ "rotation": 270,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "N",
136
+ "rotation": 180,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "circle",
142
+ "rotation": 0,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "square",
148
+ "rotation": 270,
149
+ "x": 3,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "circle",
154
+ "rotation": 0,
155
+ "x": 3,
156
+ "y": 3
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "TOP",
163
+ "LEFT"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT",
168
+ "TOP",
169
+ "LEFT"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "square",
176
+ "rotation": 180
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "?",
180
+ "rotation": 0
181
+ },
182
+ "FRONT": {
183
+ "patternId": "circle",
184
+ "rotation": 270
185
+ },
186
+ "BACK": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "LEFT": {
191
+ "patternId": "circle",
192
+ "rotation": 270
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "N",
196
+ "rotation": 0
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "square",
203
+ "rotation": 180
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "?",
207
+ "rotation": 0
208
+ },
209
+ "FRONT": {
210
+ "patternId": "circle",
211
+ "rotation": 270
212
+ },
213
+ "BACK": {
214
+ "patternId": "?",
215
+ "rotation": 0
216
+ },
217
+ "LEFT": {
218
+ "patternId": "circle",
219
+ "rotation": 270
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "N",
223
+ "rotation": 0
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C128\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=N, rotation=180, flipVertical=true\n- step 2: patternId=circle, rotation=0, flipVertical=true\n- step 3: patternId=square, rotation=270, flipVertical=true\n- step 4: patternId=circle, rotation=0, flipVertical=true\n- allowed patternId values for this task: N, circle, square, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
229
+ }
230
+ }
cube1/data/C129.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C129",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> W -> 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
+ "S",
8
+ "W",
9
+ "N"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "D",
14
+ "rotation": 270,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "X",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "F",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "D",
32
+ "rotation": 0,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C129_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 129,
43
+ "name": "Reconstruct 129",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-129.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "K",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "X",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "D",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "T",
72
+ "rotation": 0,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "J",
78
+ "rotation": 270,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "F",
84
+ "rotation": 180,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "K",
91
+ "X",
92
+ "D",
93
+ "T",
94
+ "J",
95
+ "F"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 1,
99
+ "grid_width": 4,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "K",
104
+ "rotation": 0
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "F",
108
+ "rotation": 180
109
+ },
110
+ "FRONT": {
111
+ "patternId": "X",
112
+ "rotation": 180
113
+ },
114
+ "BACK": {
115
+ "patternId": "T",
116
+ "rotation": 180
117
+ },
118
+ "LEFT": {
119
+ "patternId": "J",
120
+ "rotation": 180
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "D",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "F",
130
+ "rotation": 180,
131
+ "x": 1,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "D",
136
+ "rotation": 270,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "X",
142
+ "rotation": 270,
143
+ "x": 2,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "F",
148
+ "rotation": 270,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "D",
154
+ "rotation": 0,
155
+ "x": 1,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "BOTTOM",
163
+ "RIGHT"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT",
168
+ "BOTTOM"
169
+ ],
170
+ "required_count": 3,
171
+ "answer": {
172
+ "faces": {
173
+ "TOP": {
174
+ "patternId": "?",
175
+ "rotation": 0
176
+ },
177
+ "BOTTOM": {
178
+ "patternId": "F",
179
+ "rotation": 180
180
+ },
181
+ "FRONT": {
182
+ "patternId": "X",
183
+ "rotation": 180
184
+ },
185
+ "BACK": {
186
+ "patternId": "?",
187
+ "rotation": 0
188
+ },
189
+ "LEFT": {
190
+ "patternId": "?",
191
+ "rotation": 0
192
+ },
193
+ "RIGHT": {
194
+ "patternId": "D",
195
+ "rotation": 90
196
+ }
197
+ }
198
+ },
199
+ "legacy_answer": {
200
+ "TOP": {
201
+ "patternId": "?",
202
+ "rotation": 0
203
+ },
204
+ "BOTTOM": {
205
+ "patternId": "F",
206
+ "rotation": 180
207
+ },
208
+ "FRONT": {
209
+ "patternId": "X",
210
+ "rotation": 180
211
+ },
212
+ "BACK": {
213
+ "patternId": "?",
214
+ "rotation": 0
215
+ },
216
+ "LEFT": {
217
+ "patternId": "?",
218
+ "rotation": 0
219
+ },
220
+ "RIGHT": {
221
+ "patternId": "D",
222
+ "rotation": 90
223
+ }
224
+ },
225
+ "prompt": {
226
+ "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.",
227
+ "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: C129\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=D, rotation=270, flipVertical=true\n- step 2: patternId=X, rotation=270, flipVertical=true\n- step 3: patternId=F, rotation=270, flipVertical=true\n- step 4: patternId=D, rotation=0, flipVertical=true\n- allowed patternId values for this task: D, X, F, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
228
+ }
229
+ }
cube1/data/C130.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C130",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> N -> W -> S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "N",
8
+ "W",
9
+ "S",
10
+ "W"
11
+ ],
12
+ "observed_path_faces": [
13
+ {
14
+ "patternId": "V",
15
+ "rotation": 90,
16
+ "flipHorizontal": false,
17
+ "flipVertical": true
18
+ },
19
+ {
20
+ "patternId": "M",
21
+ "rotation": 180,
22
+ "flipHorizontal": false,
23
+ "flipVertical": true
24
+ },
25
+ {
26
+ "patternId": "Z",
27
+ "rotation": 270,
28
+ "flipHorizontal": false,
29
+ "flipVertical": true
30
+ },
31
+ {
32
+ "patternId": "V",
33
+ "rotation": 0,
34
+ "flipHorizontal": false,
35
+ "flipVertical": true
36
+ },
37
+ {
38
+ "patternId": "plus",
39
+ "rotation": 90,
40
+ "flipHorizontal": false,
41
+ "flipVertical": true
42
+ }
43
+ ],
44
+ "image_paths": {
45
+ "blank_net_image": "images/blank_nets/open.png",
46
+ "path_sequence_image": "images/path_sequences/C130_path_sequence.png"
47
+ },
48
+ "metadata": {
49
+ "level_id": 130,
50
+ "name": "Reconstruct 130",
51
+ "difficulty": 2,
52
+ "move_count": 5,
53
+ "tier": 2,
54
+ "source_level_path": "levels/reconstruct/generated-130.json",
55
+ "tier_label": "Difficulty 2"
56
+ },
57
+ "description": "5-move reconstruct puzzle",
58
+ "net_faces": [
59
+ {
60
+ "patternId": "M",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": false
64
+ },
65
+ {
66
+ "patternId": "arrow_right",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": false
70
+ },
71
+ {
72
+ "patternId": "diamond",
73
+ "rotation": 270,
74
+ "flipHorizontal": false,
75
+ "flipVertical": false
76
+ },
77
+ {
78
+ "patternId": "V",
79
+ "rotation": 90,
80
+ "flipHorizontal": false,
81
+ "flipVertical": false
82
+ },
83
+ {
84
+ "patternId": "Z",
85
+ "rotation": 270,
86
+ "flipHorizontal": false,
87
+ "flipVertical": false
88
+ },
89
+ {
90
+ "patternId": "plus",
91
+ "rotation": 180,
92
+ "flipHorizontal": false,
93
+ "flipVertical": false
94
+ }
95
+ ],
96
+ "net_patterns": [
97
+ "M",
98
+ "arrow_right",
99
+ "diamond",
100
+ "V",
101
+ "Z",
102
+ "plus"
103
+ ],
104
+ "start_x": 3,
105
+ "start_y": 3,
106
+ "grid_width": 5,
107
+ "grid_height": 5,
108
+ "true_solution_faces": {
109
+ "TOP": {
110
+ "patternId": "M",
111
+ "rotation": 180
112
+ },
113
+ "BOTTOM": {
114
+ "patternId": "plus",
115
+ "rotation": 180
116
+ },
117
+ "FRONT": {
118
+ "patternId": "arrow_right",
119
+ "rotation": 180
120
+ },
121
+ "BACK": {
122
+ "patternId": "V",
123
+ "rotation": 270
124
+ },
125
+ "LEFT": {
126
+ "patternId": "Z",
127
+ "rotation": 180
128
+ },
129
+ "RIGHT": {
130
+ "patternId": "diamond",
131
+ "rotation": 0
132
+ }
133
+ },
134
+ "bottom_faces": [
135
+ {
136
+ "patternId": "plus",
137
+ "rotation": 180,
138
+ "x": 3,
139
+ "y": 3
140
+ },
141
+ {
142
+ "patternId": "V",
143
+ "rotation": 90,
144
+ "x": 3,
145
+ "y": 2
146
+ },
147
+ {
148
+ "patternId": "M",
149
+ "rotation": 180,
150
+ "x": 3,
151
+ "y": 1
152
+ },
153
+ {
154
+ "patternId": "Z",
155
+ "rotation": 270,
156
+ "x": 2,
157
+ "y": 1
158
+ },
159
+ {
160
+ "patternId": "V",
161
+ "rotation": 0,
162
+ "x": 2,
163
+ "y": 2
164
+ },
165
+ {
166
+ "patternId": "plus",
167
+ "rotation": 90,
168
+ "x": 1,
169
+ "y": 2
170
+ }
171
+ ],
172
+ "slot_sequence": [
173
+ "BACK",
174
+ "TOP",
175
+ "LEFT",
176
+ "BACK",
177
+ "BOTTOM"
178
+ ],
179
+ "required_slots": [
180
+ "BACK",
181
+ "TOP",
182
+ "LEFT",
183
+ "BOTTOM"
184
+ ],
185
+ "required_count": 4,
186
+ "answer": {
187
+ "faces": {
188
+ "TOP": {
189
+ "patternId": "M",
190
+ "rotation": 180
191
+ },
192
+ "BOTTOM": {
193
+ "patternId": "plus",
194
+ "rotation": 180
195
+ },
196
+ "FRONT": {
197
+ "patternId": "?",
198
+ "rotation": 0
199
+ },
200
+ "BACK": {
201
+ "patternId": "V",
202
+ "rotation": 90
203
+ },
204
+ "LEFT": {
205
+ "patternId": "Z",
206
+ "rotation": 270
207
+ },
208
+ "RIGHT": {
209
+ "patternId": "?",
210
+ "rotation": 0
211
+ }
212
+ }
213
+ },
214
+ "legacy_answer": {
215
+ "TOP": {
216
+ "patternId": "M",
217
+ "rotation": 180
218
+ },
219
+ "BOTTOM": {
220
+ "patternId": "plus",
221
+ "rotation": 180
222
+ },
223
+ "FRONT": {
224
+ "patternId": "?",
225
+ "rotation": 0
226
+ },
227
+ "BACK": {
228
+ "patternId": "V",
229
+ "rotation": 90
230
+ },
231
+ "LEFT": {
232
+ "patternId": "Z",
233
+ "rotation": 270
234
+ },
235
+ "RIGHT": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ }
239
+ },
240
+ "prompt": {
241
+ "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.",
242
+ "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: C130\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 5\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> W -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=V, rotation=90, flipVertical=true\n- step 2: patternId=M, rotation=180, flipVertical=true\n- step 3: patternId=Z, rotation=270, flipVertical=true\n- step 4: patternId=V, rotation=0, flipVertical=true\n- step 5: patternId=plus, rotation=90, flipVertical=true\n- allowed patternId values for this task: V, M, Z, 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."
243
+ }
244
+ }
cube1/data/C131.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C131",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> S -> 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
+ "W",
8
+ "S",
9
+ "S"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "J",
14
+ "rotation": 0,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "arrow_left",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "E",
26
+ "rotation": 270,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "I",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C131_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 131,
43
+ "name": "Reconstruct 131",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-131.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "arrow_left",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "E",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "G",
66
+ "rotation": 0,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "F",
72
+ "rotation": 270,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "J",
78
+ "rotation": 180,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "I",
84
+ "rotation": 0,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "arrow_left",
91
+ "E",
92
+ "G",
93
+ "F",
94
+ "J",
95
+ "I"
96
+ ],
97
+ "start_x": 3,
98
+ "start_y": 1,
99
+ "grid_width": 5,
100
+ "grid_height": 5,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "arrow_left",
104
+ "rotation": 90
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "I",
108
+ "rotation": 0
109
+ },
110
+ "FRONT": {
111
+ "patternId": "E",
112
+ "rotation": 90
113
+ },
114
+ "BACK": {
115
+ "patternId": "F",
116
+ "rotation": 90
117
+ },
118
+ "LEFT": {
119
+ "patternId": "J",
120
+ "rotation": 90
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "G",
124
+ "rotation": 90
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "I",
130
+ "rotation": 0,
131
+ "x": 3,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "J",
136
+ "rotation": 0,
137
+ "x": 2,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "arrow_left",
142
+ "rotation": 270,
143
+ "x": 1,
144
+ "y": 1
145
+ },
146
+ {
147
+ "patternId": "E",
148
+ "rotation": 270,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "I",
154
+ "rotation": 180,
155
+ "x": 1,
156
+ "y": 3
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "LEFT",
161
+ "TOP",
162
+ "FRONT",
163
+ "BOTTOM"
164
+ ],
165
+ "required_slots": [
166
+ "LEFT",
167
+ "TOP",
168
+ "FRONT",
169
+ "BOTTOM"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "arrow_left",
176
+ "rotation": 90
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "I",
180
+ "rotation": 0
181
+ },
182
+ "FRONT": {
183
+ "patternId": "E",
184
+ "rotation": 90
185
+ },
186
+ "BACK": {
187
+ "patternId": "?",
188
+ "rotation": 0
189
+ },
190
+ "LEFT": {
191
+ "patternId": "J",
192
+ "rotation": 180
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "arrow_left",
203
+ "rotation": 90
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "I",
207
+ "rotation": 0
208
+ },
209
+ "FRONT": {
210
+ "patternId": "E",
211
+ "rotation": 90
212
+ },
213
+ "BACK": {
214
+ "patternId": "?",
215
+ "rotation": 0
216
+ },
217
+ "LEFT": {
218
+ "patternId": "J",
219
+ "rotation": 180
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "?",
223
+ "rotation": 0
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C131\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=J, rotation=0, flipVertical=true\n- step 2: patternId=arrow_left, rotation=270, flipVertical=true\n- step 3: patternId=E, rotation=270, flipVertical=true\n- step 4: patternId=I, rotation=180, flipVertical=true\n- allowed patternId values for this task: J, arrow_left, E, I, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
229
+ }
230
+ }
cube1/data/C132.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C132",
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 -> 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
+ "N"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "I",
14
+ "rotation": 180,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "smile",
20
+ "rotation": 270,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "H",
26
+ "rotation": 0,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "W",
32
+ "rotation": 180,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C132_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 132,
43
+ "name": "Reconstruct 132",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-132.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "W",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "I",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "triangle",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "H",
72
+ "rotation": 0,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "S",
78
+ "rotation": 90,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "smile",
84
+ "rotation": 270,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "W",
91
+ "I",
92
+ "triangle",
93
+ "H",
94
+ "S",
95
+ "smile"
96
+ ],
97
+ "start_x": 1,
98
+ "start_y": 3,
99
+ "grid_width": 3,
100
+ "grid_height": 6,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "W",
104
+ "rotation": 180
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "smile",
108
+ "rotation": 270
109
+ },
110
+ "FRONT": {
111
+ "patternId": "I",
112
+ "rotation": 180
113
+ },
114
+ "BACK": {
115
+ "patternId": "H",
116
+ "rotation": 180
117
+ },
118
+ "LEFT": {
119
+ "patternId": "S",
120
+ "rotation": 0
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "triangle",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "smile",
130
+ "rotation": 270,
131
+ "x": 1,
132
+ "y": 3
133
+ },
134
+ {
135
+ "patternId": "I",
136
+ "rotation": 180,
137
+ "x": 1,
138
+ "y": 4
139
+ },
140
+ {
141
+ "patternId": "smile",
142
+ "rotation": 270,
143
+ "x": 1,
144
+ "y": 3
145
+ },
146
+ {
147
+ "patternId": "H",
148
+ "rotation": 0,
149
+ "x": 1,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "W",
154
+ "rotation": 180,
155
+ "x": 1,
156
+ "y": 1
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "FRONT",
161
+ "BOTTOM",
162
+ "BACK",
163
+ "TOP"
164
+ ],
165
+ "required_slots": [
166
+ "FRONT",
167
+ "BOTTOM",
168
+ "BACK",
169
+ "TOP"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "W",
176
+ "rotation": 180
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "smile",
180
+ "rotation": 270
181
+ },
182
+ "FRONT": {
183
+ "patternId": "I",
184
+ "rotation": 180
185
+ },
186
+ "BACK": {
187
+ "patternId": "H",
188
+ "rotation": 0
189
+ },
190
+ "LEFT": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "?",
196
+ "rotation": 0
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "W",
203
+ "rotation": 180
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "smile",
207
+ "rotation": 270
208
+ },
209
+ "FRONT": {
210
+ "patternId": "I",
211
+ "rotation": 180
212
+ },
213
+ "BACK": {
214
+ "patternId": "H",
215
+ "rotation": 0
216
+ },
217
+ "LEFT": {
218
+ "patternId": "?",
219
+ "rotation": 0
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "?",
223
+ "rotation": 0
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C132\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N -> N -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=180, flipVertical=true\n- step 2: patternId=smile, rotation=270, flipVertical=true\n- step 3: patternId=H, rotation=0, flipVertical=true\n- step 4: patternId=W, rotation=180, flipVertical=true\n- allowed patternId values for this task: I, smile, H, 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."
229
+ }
230
+ }
cube1/data/C135.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C135",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> S -> W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "W",
9
+ "W"
10
+ ],
11
+ "observed_path_faces": [
12
+ {
13
+ "patternId": "arrow_down",
14
+ "rotation": 270,
15
+ "flipHorizontal": false,
16
+ "flipVertical": true
17
+ },
18
+ {
19
+ "patternId": "9",
20
+ "rotation": 0,
21
+ "flipHorizontal": false,
22
+ "flipVertical": true
23
+ },
24
+ {
25
+ "patternId": "arrow_up",
26
+ "rotation": 90,
27
+ "flipHorizontal": false,
28
+ "flipVertical": true
29
+ },
30
+ {
31
+ "patternId": "T",
32
+ "rotation": 270,
33
+ "flipHorizontal": false,
34
+ "flipVertical": true
35
+ }
36
+ ],
37
+ "image_paths": {
38
+ "blank_net_image": "images/blank_nets/open.png",
39
+ "path_sequence_image": "images/path_sequences/C135_path_sequence.png"
40
+ },
41
+ "metadata": {
42
+ "level_id": 135,
43
+ "name": "Reconstruct 135",
44
+ "difficulty": 2,
45
+ "move_count": 4,
46
+ "tier": 2,
47
+ "source_level_path": "levels/reconstruct/generated-135.json",
48
+ "tier_label": "Difficulty 2"
49
+ },
50
+ "description": "4-move reconstruct puzzle",
51
+ "net_faces": [
52
+ {
53
+ "patternId": "E",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": false
57
+ },
58
+ {
59
+ "patternId": "9",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": false
63
+ },
64
+ {
65
+ "patternId": "arrow_down",
66
+ "rotation": 90,
67
+ "flipHorizontal": false,
68
+ "flipVertical": false
69
+ },
70
+ {
71
+ "patternId": "T",
72
+ "rotation": 180,
73
+ "flipHorizontal": false,
74
+ "flipVertical": false
75
+ },
76
+ {
77
+ "patternId": "V",
78
+ "rotation": 270,
79
+ "flipHorizontal": false,
80
+ "flipVertical": false
81
+ },
82
+ {
83
+ "patternId": "arrow_up",
84
+ "rotation": 0,
85
+ "flipHorizontal": false,
86
+ "flipVertical": false
87
+ }
88
+ ],
89
+ "net_patterns": [
90
+ "E",
91
+ "9",
92
+ "arrow_down",
93
+ "T",
94
+ "V",
95
+ "arrow_up"
96
+ ],
97
+ "start_x": 2,
98
+ "start_y": 1,
99
+ "grid_width": 5,
100
+ "grid_height": 4,
101
+ "true_solution_faces": {
102
+ "TOP": {
103
+ "patternId": "E",
104
+ "rotation": 0
105
+ },
106
+ "BOTTOM": {
107
+ "patternId": "arrow_up",
108
+ "rotation": 0
109
+ },
110
+ "FRONT": {
111
+ "patternId": "9",
112
+ "rotation": 270
113
+ },
114
+ "BACK": {
115
+ "patternId": "T",
116
+ "rotation": 0
117
+ },
118
+ "LEFT": {
119
+ "patternId": "V",
120
+ "rotation": 180
121
+ },
122
+ "RIGHT": {
123
+ "patternId": "arrow_down",
124
+ "rotation": 180
125
+ }
126
+ },
127
+ "bottom_faces": [
128
+ {
129
+ "patternId": "arrow_up",
130
+ "rotation": 0,
131
+ "x": 2,
132
+ "y": 1
133
+ },
134
+ {
135
+ "patternId": "arrow_down",
136
+ "rotation": 270,
137
+ "x": 3,
138
+ "y": 1
139
+ },
140
+ {
141
+ "patternId": "9",
142
+ "rotation": 0,
143
+ "x": 3,
144
+ "y": 2
145
+ },
146
+ {
147
+ "patternId": "arrow_up",
148
+ "rotation": 90,
149
+ "x": 2,
150
+ "y": 2
151
+ },
152
+ {
153
+ "patternId": "T",
154
+ "rotation": 270,
155
+ "x": 1,
156
+ "y": 2
157
+ }
158
+ ],
159
+ "slot_sequence": [
160
+ "RIGHT",
161
+ "FRONT",
162
+ "BOTTOM",
163
+ "BACK"
164
+ ],
165
+ "required_slots": [
166
+ "RIGHT",
167
+ "FRONT",
168
+ "BOTTOM",
169
+ "BACK"
170
+ ],
171
+ "required_count": 4,
172
+ "answer": {
173
+ "faces": {
174
+ "TOP": {
175
+ "patternId": "?",
176
+ "rotation": 0
177
+ },
178
+ "BOTTOM": {
179
+ "patternId": "arrow_up",
180
+ "rotation": 0
181
+ },
182
+ "FRONT": {
183
+ "patternId": "9",
184
+ "rotation": 270
185
+ },
186
+ "BACK": {
187
+ "patternId": "T",
188
+ "rotation": 180
189
+ },
190
+ "LEFT": {
191
+ "patternId": "?",
192
+ "rotation": 0
193
+ },
194
+ "RIGHT": {
195
+ "patternId": "arrow_down",
196
+ "rotation": 90
197
+ }
198
+ }
199
+ },
200
+ "legacy_answer": {
201
+ "TOP": {
202
+ "patternId": "?",
203
+ "rotation": 0
204
+ },
205
+ "BOTTOM": {
206
+ "patternId": "arrow_up",
207
+ "rotation": 0
208
+ },
209
+ "FRONT": {
210
+ "patternId": "9",
211
+ "rotation": 270
212
+ },
213
+ "BACK": {
214
+ "patternId": "T",
215
+ "rotation": 180
216
+ },
217
+ "LEFT": {
218
+ "patternId": "?",
219
+ "rotation": 0
220
+ },
221
+ "RIGHT": {
222
+ "patternId": "arrow_down",
223
+ "rotation": 90
224
+ }
225
+ },
226
+ "prompt": {
227
+ "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.",
228
+ "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: C135\n- net_layout: standard_cross\n- difficulty: 2\n- move_count: 4\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_down, rotation=270, flipVertical=true\n- step 2: patternId=9, rotation=0, flipVertical=true\n- step 3: patternId=arrow_up, rotation=90, flipVertical=true\n- step 4: patternId=T, rotation=270, flipVertical=true\n- allowed patternId values for this task: arrow_down, 9, arrow_up, 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."
229
+ }
230
+ }