simver commited on
Commit
0a0af24
·
verified ·
1 Parent(s): 0a44e50

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SimVerse Authors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this dataset and associated documentation files (the "Dataset"), to deal
7
+ in the Dataset without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Dataset, and to permit persons to whom the Dataset is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Dataset.
14
+
15
+ THE DATASET IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE DATASET OR THE USE OR OTHER DEALINGS IN THE
21
+ DATASET.
README.md CHANGED
@@ -1,3 +1,173 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - visual-question-answering
5
+ - text-generation
6
+ language:
7
+ - en
8
+ size_categories:
9
+ - 1K<n<10K
10
+ pretty_name: SimVerse
11
+ tags:
12
+ - benchmark
13
+ - multimodal
14
+ - reasoning
15
+ - spatial-reasoning
16
+ - video-understanding
17
+ - tool-use
18
+ configs:
19
+ - config_name: voi
20
+ data_files:
21
+ - split: test
22
+ path: voi/test.jsonl
23
+ - config_name: cube1
24
+ data_files:
25
+ - split: test
26
+ path: cube1/test.jsonl
27
+ - config_name: cube2
28
+ data_files:
29
+ - split: test
30
+ path: cube2/test.jsonl
31
+ - config_name: lamp
32
+ data_files:
33
+ - split: test
34
+ path: lamp/test.jsonl
35
+ - config_name: cutrope
36
+ data_files:
37
+ - split: test
38
+ path: cutrope/test.jsonl
39
  ---
40
+
41
+ # SimVerse
42
+
43
+ > ⚠️ **Anonymized for double-blind review.** This dataset is currently undergoing peer review. It is hosted under an anonymous account dedicated to the review process; the author and citation fields are deliberately unfilled. Permanent ownership and citation information will be added after the review concludes. Please do not attempt to deanonymize the maintainers of this dataset during review.
44
+
45
+ A multi-task benchmark for evaluating multimodal LLMs on **interactive simulation puzzles**. Five independent tasks that share a uniform prompt skeleton and a uniform output contract, so cross-task comparisons are meaningfully apples-to-apples.
46
+
47
+ ## What's in this dataset
48
+
49
+ | Config | Records | Modality | Output |
50
+ |---|---|---|---|
51
+ | `voi` | 600 | images (target + base shapes) | shape placements |
52
+ | `cube1` | 502 | images (blank net + path) | face → patternId map |
53
+ | `cube2` | 502 | images (initial net + target) | roll direction sequence |
54
+ | `lamp` | 610 | image (arm + obstacles) | per-joint angle list |
55
+ | `cutrope` | 272 | gameplay video | text command script |
56
+
57
+ Total: **2,486** levels across 5 tasks.
58
+
59
+ ## Quickstart
60
+
61
+ ```python
62
+ from datasets import load_dataset
63
+
64
+ # Load one task config
65
+ ds = load_dataset("Sayaka123/simverse2026", "lamp")
66
+ example = ds["test"][0]
67
+
68
+ # Each example is fully self-contained:
69
+ print(example["prompt"]["system"]) # 5-section system prompt text
70
+ print(example["prompt"]["user"]) # 9-section user prompt text
71
+ print(example["answer"]) # gold answer in the locked schema
72
+ print(example["images_relative_to_config"]) # paths to media (relative to this config dir)
73
+ ```
74
+
75
+ The `prompt` field contains the **exact text** the original benchmark presented to models — see [`docs/PROMPT_SKELETON.md`](https://github.com/Sayaka123/simverse2026/blob/main/docs/PROMPT_SKELETON.md) for the canonical 5-section system + 9-section user structure shared by all five tasks.
76
+
77
+ ## Output contract (all five tasks)
78
+
79
+ Every task asks the model to end its reply with a single line:
80
+
81
+ ```
82
+ FINAL_JSON: <one-line JSON object>
83
+ ```
84
+
85
+ The JSON's schema is fixed per task (see the per-config README for shape). The dataset's `answer` field uses the **same** schema, so one JSON loader handles both model output and ground truth.
86
+
87
+ | Task | `answer` schema |
88
+ |---|---|
89
+ | `voi` | `{"placements": [{"shape", "angle", "vertex", "grid"}, ...]}` |
90
+ | `cube1` | `{"faces": {TOP: {patternId, rotation}, ...}}` |
91
+ | `cube2` | `{"directions": ["N","S","E","W", ...]}` (open-ended; engine validates) |
92
+ | `lamp` | `{"actions": [{"joint", "angle"}, ...]}` |
93
+ | `cutrope` | `{"commands": "...", "reason": "...", "confidence": 0..1}` (open-ended; simulator validates) |
94
+
95
+ ## Files in each config
96
+
97
+ ```
98
+ <config>/
99
+ ├── test.jsonl # one JSON object per line — HF-auto-loadable
100
+ ├── data/ # same records, split into per-level files (frontend-compatible)
101
+ └── images/ or videos/ # binary media referenced by the JSON
102
+ ```
103
+
104
+ `cube1` and `cube2` additionally ship a `catalog.json` (the frontend's index/manifest), and `cutrope` additionally ships a `source/` mirror of the original frontend level files.
105
+
106
+ The per-record fields visible in `test.jsonl` are a superset of what's in `data/`. Two extra helper fields appear only in JSONL records:
107
+
108
+ | Field | Purpose |
109
+ |---|---|
110
+ | `__sample_id__` | The canonical level id (e.g. `"lamp-000"`, `"C123"`) — handy as a primary key. |
111
+ | `images_relative_to_config` (or `video_relative_to_config`) | Media paths rewritten to be relative to the config root, so they resolve from the `Image()` / `Video()` feature loader without further normalization. |
112
+
113
+ The original media paths inside the JSON record (e.g. `imageAssets.target` for VOI, `image_paths.blank_net_image` for cube1, `video.path` for cutrope) are preserved as the canonical task-native fields — use either depending on your loader.
114
+
115
+ ## Reproducing the benchmark
116
+
117
+ Each record carries the **complete** prompt the benchmark submits to the model. To reproduce a run from scratch:
118
+
119
+ 1. Read `prompt.system` and `prompt.user` from the record.
120
+ 2. Attach the referenced media (image/video) using either `images_relative_to_config` or the task-native field.
121
+ 3. Submit to your model with whatever multimodal protocol it accepts.
122
+ 4. Extract the line starting with `FINAL_JSON:` from the reply, parse it as JSON.
123
+ 5. Compare against `answer` (or invoke the per-task validator from the [SimVerse repo](https://github.com/Sayaka123/simverse2026)).
124
+
125
+ The accompanying code at <https://github.com/Sayaka123/simverse2026> includes the parser, validator, and runner for every config.
126
+
127
+ ## Per-config details
128
+
129
+ - [`voi/README.md`](voi/README.md)
130
+ - [`cube1/README.md`](cube1/README.md)
131
+ - [`cube2/README.md`](cube2/README.md)
132
+ - [`lamp/README.md`](lamp/README.md)
133
+ - [`cutrope/README.md`](cutrope/README.md)
134
+
135
+ ## Responsible-AI metadata
136
+
137
+ The full **datasheet** (Gebru et al. 2018, 7-section format) is in [`datasheet.md`](datasheet.md). The machine-readable RAI metadata is in [`croissant.json`](croissant.json) (Croissant 1.0, including the RAI extension). A human summary:
138
+
139
+ - **Data collection.** All five tasks are programmatically generated. VOI uses a polygon-rasterization XOR generator; cube1/cube2 use a Python cube-state simulator; lamp uses a forward-kinematics generator with axis-aligned obstacle placement; cutrope is built on top of the open-source [yell0wsuit/cuttherope-h5dx](https://github.com/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.**
140
+ - **Annotation protocol.** Reference solutions are produced by the same generators that create each puzzle. For closed-form tasks (VOI, cube1, lamp), the answer is uniquely determined and machine-verifiable. For open-ended tasks (cube2, 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.
141
+ - **Limitations.** Synthetic puzzles in fixed visual styles per task — models may learn render-style shortcuts. All prompts are English-only. cube1 includes `?` sentinel patterns when faces are under-determined; downstream uses outside the SimVerse evaluation flow may need to filter these. Reference solutions for open-ended tasks are non-unique, so simple string-match scoring is inappropriate; use the bundled engine-based validator.
142
+ - **Biases.** Each task's visual style is uniform across 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. Object-count distributions in cutrope reflect the upstream yell0wsuit corpus.
143
+ - **Personal / sensitive information.** **None.** Fully synthetic; the dataset contains no personally identifiable information, no human-subject data, and no sensitive content.
144
+ - **Intended use cases.** Held-out benchmarking of multimodal LLMs on (a) spatial-pattern reconstruction, (b) multi-step planning under physical constraints, and (c) short-horizon video-to-program inference. **Not** a held-out training set, **not** a real-world capability predictor, **not** a substitute for application-specific evaluation.
145
+ - **Social impact.** Low. Synthetic abstract puzzles unlikely to encode harmful content. Primary risk: benchmark gaming via render-style overfitting if widely adopted.
146
+ - **Maintenance.** All levels are deterministically regenerable from the generators in the accompanying code repository (linked from this card under the post-acceptance camera-ready URL). Schema changes are released as new versioned snapshots.
147
+
148
+ ## NeurIPS 2026 compliance
149
+
150
+ This dataset is prepared for the [NeurIPS 2026 Datasets & Benchmarks track](https://neurips.cc/Conferences/2026/EvaluationsDatasetsHosting):
151
+
152
+ - ✅ Hosted on Hugging Face (one of the supported platforms with auto-Croissant generation)
153
+ - ✅ Croissant 1.0 metadata file at [`croissant.json`](croissant.json), with both Core and minimum-RAI fields
154
+ - ✅ Open license (MIT) declared in both the dataset card YAML and Croissant
155
+ - ✅ RAI items addressed in this README and machine-readable in `croissant.json`
156
+ - ✅ Anonymized for double-blind review (see notice above)
157
+
158
+ Reviewers can validate the Croissant file via <https://croissant.dev/validate>.
159
+
160
+ ## Citation
161
+
162
+ ```bibtex
163
+ @dataset{simverse_2026,
164
+ title = {SimVerse: A Multi-Task Benchmark for Multimodal Reasoning on Interactive Simulation Puzzles},
165
+ author = {<authors>},
166
+ year = {2026},
167
+ url = {https://huggingface.co/datasets/Sayaka123/simverse2026}
168
+ }
169
+ ```
170
+
171
+ ## License
172
+
173
+ MIT — see [LICENSE](LICENSE).
cube1/data/C321.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C321",
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 -> E -> E -> N -> S -> S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "E",
9
+ "E",
10
+ "N",
11
+ "S",
12
+ "S",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "smile",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "T",
24
+ "rotation": 270,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "X",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "I",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "diamond",
42
+ "rotation": 0,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "I",
48
+ "rotation": 90,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "O",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "X",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C321_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 321,
71
+ "name": "Reconstruct 321",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-321.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "O",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "smile",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "T",
94
+ "rotation": 180,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "X",
100
+ "rotation": 270,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "I",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "diamond",
112
+ "rotation": 270,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "O",
119
+ "smile",
120
+ "T",
121
+ "X",
122
+ "I",
123
+ "diamond"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 1,
127
+ "grid_width": 6,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "O",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "diamond",
136
+ "rotation": 270
137
+ },
138
+ "FRONT": {
139
+ "patternId": "smile",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "X",
144
+ "rotation": 90
145
+ },
146
+ "LEFT": {
147
+ "patternId": "I",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "T",
152
+ "rotation": 270
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "diamond",
158
+ "rotation": 270,
159
+ "x": 1,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "smile",
164
+ "rotation": 270,
165
+ "x": 1,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "T",
170
+ "rotation": 270,
171
+ "x": 2,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "X",
176
+ "rotation": 90,
177
+ "x": 3,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "I",
182
+ "rotation": 90,
183
+ "x": 4,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "diamond",
188
+ "rotation": 0,
189
+ "x": 4,
190
+ "y": 1
191
+ },
192
+ {
193
+ "patternId": "I",
194
+ "rotation": 90,
195
+ "x": 4,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "O",
200
+ "rotation": 270,
201
+ "x": 4,
202
+ "y": 3
203
+ },
204
+ {
205
+ "patternId": "X",
206
+ "rotation": 180,
207
+ "x": 3,
208
+ "y": 3
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "RIGHT",
214
+ "BACK",
215
+ "LEFT",
216
+ "BOTTOM",
217
+ "LEFT",
218
+ "TOP",
219
+ "BACK"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "RIGHT",
224
+ "BACK",
225
+ "LEFT",
226
+ "BOTTOM",
227
+ "TOP"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "O",
234
+ "rotation": 0
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "diamond",
238
+ "rotation": 270
239
+ },
240
+ "FRONT": {
241
+ "patternId": "smile",
242
+ "rotation": 270
243
+ },
244
+ "BACK": {
245
+ "patternId": "X",
246
+ "rotation": 270
247
+ },
248
+ "LEFT": {
249
+ "patternId": "I",
250
+ "rotation": 180
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "T",
254
+ "rotation": 180
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "O",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "diamond",
265
+ "rotation": 270
266
+ },
267
+ "FRONT": {
268
+ "patternId": "smile",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "X",
273
+ "rotation": 270
274
+ },
275
+ "LEFT": {
276
+ "patternId": "I",
277
+ "rotation": 180
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "T",
281
+ "rotation": 180
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C321\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> E -> E -> N -> S -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=smile, rotation=270, flipVertical=true\n- step 2: patternId=T, rotation=270, flipVertical=true\n- step 3: patternId=X, rotation=90, flipVertical=true\n- step 4: patternId=I, rotation=90, flipVertical=true\n- step 5: patternId=diamond, rotation=0, flipVertical=true\n- step 6: patternId=I, rotation=90, flipVertical=true\n- step 7: patternId=O, rotation=270, flipVertical=true\n- step 8: patternId=X, rotation=180, flipVertical=true\n- allowed patternId values for this task: smile, T, X, I, diamond, 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."
287
+ }
288
+ }
cube1/data/C322.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C322",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> S -> W -> E -> W -> W -> S -> N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "S",
8
+ "W",
9
+ "E",
10
+ "W",
11
+ "W",
12
+ "S",
13
+ "N",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "B",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "J",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "T",
31
+ "rotation": 0,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "J",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "T",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "circle",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "star",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "circle",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "heart",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C322_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 322,
78
+ "name": "Reconstruct 322",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-322.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "circle",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "star",
95
+ "rotation": 0,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "heart",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "B",
107
+ "rotation": 90,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "T",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "J",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "circle",
126
+ "star",
127
+ "heart",
128
+ "B",
129
+ "T",
130
+ "J"
131
+ ],
132
+ "start_x": 4,
133
+ "start_y": 2,
134
+ "grid_width": 6,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "circle",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "J",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "star",
147
+ "rotation": 0
148
+ },
149
+ "BACK": {
150
+ "patternId": "B",
151
+ "rotation": 270
152
+ },
153
+ "LEFT": {
154
+ "patternId": "T",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "heart",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "J",
165
+ "rotation": 0,
166
+ "x": 4,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "B",
171
+ "rotation": 90,
172
+ "x": 4,
173
+ "y": 1
174
+ },
175
+ {
176
+ "patternId": "J",
177
+ "rotation": 0,
178
+ "x": 4,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "T",
183
+ "rotation": 0,
184
+ "x": 3,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "J",
189
+ "rotation": 0,
190
+ "x": 4,
191
+ "y": 2
192
+ },
193
+ {
194
+ "patternId": "T",
195
+ "rotation": 0,
196
+ "x": 3,
197
+ "y": 2
198
+ },
199
+ {
200
+ "patternId": "circle",
201
+ "rotation": 180,
202
+ "x": 2,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "star",
207
+ "rotation": 180,
208
+ "x": 2,
209
+ "y": 3
210
+ },
211
+ {
212
+ "patternId": "circle",
213
+ "rotation": 180,
214
+ "x": 2,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "heart",
219
+ "rotation": 180,
220
+ "x": 1,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "BACK",
226
+ "BOTTOM",
227
+ "LEFT",
228
+ "BOTTOM",
229
+ "LEFT",
230
+ "TOP",
231
+ "FRONT",
232
+ "TOP",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "BACK",
237
+ "BOTTOM",
238
+ "LEFT",
239
+ "TOP",
240
+ "FRONT",
241
+ "RIGHT"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "circle",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "J",
252
+ "rotation": 0
253
+ },
254
+ "FRONT": {
255
+ "patternId": "star",
256
+ "rotation": 0
257
+ },
258
+ "BACK": {
259
+ "patternId": "B",
260
+ "rotation": 90
261
+ },
262
+ "LEFT": {
263
+ "patternId": "T",
264
+ "rotation": 180
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "heart",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "circle",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "J",
279
+ "rotation": 0
280
+ },
281
+ "FRONT": {
282
+ "patternId": "star",
283
+ "rotation": 0
284
+ },
285
+ "BACK": {
286
+ "patternId": "B",
287
+ "rotation": 90
288
+ },
289
+ "LEFT": {
290
+ "patternId": "T",
291
+ "rotation": 180
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "heart",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C322\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): N -> S -> W -> E -> W -> W -> S -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=B, rotation=90, flipVertical=true\n- step 2: patternId=J, rotation=0, flipVertical=true\n- step 3: patternId=T, rotation=0, flipVertical=true\n- step 4: patternId=J, rotation=0, flipVertical=true\n- step 5: patternId=T, rotation=0, flipVertical=true\n- step 6: patternId=circle, rotation=180, flipVertical=true\n- step 7: patternId=star, rotation=180, flipVertical=true\n- step 8: patternId=circle, rotation=180, flipVertical=true\n- step 9: patternId=heart, rotation=180, flipVertical=true\n- allowed patternId values for this task: B, J, T, circle, star, heart, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
301
+ }
302
+ }
cube1/data/C323.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C323",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N -> W -> W -> S -> S -> W -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N",
8
+ "W",
9
+ "W",
10
+ "S",
11
+ "S",
12
+ "W",
13
+ "W",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "9",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "arrow_down",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "D",
31
+ "rotation": 90,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "P",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "9",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "arrow_down",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "arrow_left",
55
+ "rotation": 0,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "P",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "T",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C323_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 323,
78
+ "name": "Reconstruct 323",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-323.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "arrow_left",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "P",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "9",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "arrow_down",
107
+ "rotation": 90,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "T",
113
+ "rotation": 270,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "D",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "arrow_left",
126
+ "P",
127
+ "9",
128
+ "arrow_down",
129
+ "T",
130
+ "D"
131
+ ],
132
+ "start_x": 4,
133
+ "start_y": 2,
134
+ "grid_width": 7,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "arrow_left",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "D",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "P",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "arrow_down",
151
+ "rotation": 270
152
+ },
153
+ "LEFT": {
154
+ "patternId": "T",
155
+ "rotation": 180
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "9",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "D",
165
+ "rotation": 180,
166
+ "x": 4,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "9",
171
+ "rotation": 180,
172
+ "x": 5,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "arrow_down",
177
+ "rotation": 0,
178
+ "x": 5,
179
+ "y": 1
180
+ },
181
+ {
182
+ "patternId": "D",
183
+ "rotation": 90,
184
+ "x": 4,
185
+ "y": 1
186
+ },
187
+ {
188
+ "patternId": "P",
189
+ "rotation": 90,
190
+ "x": 3,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "9",
195
+ "rotation": 0,
196
+ "x": 3,
197
+ "y": 2
198
+ },
199
+ {
200
+ "patternId": "arrow_down",
201
+ "rotation": 180,
202
+ "x": 3,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "arrow_left",
207
+ "rotation": 0,
208
+ "x": 2,
209
+ "y": 3
210
+ },
211
+ {
212
+ "patternId": "P",
213
+ "rotation": 270,
214
+ "x": 1,
215
+ "y": 3
216
+ },
217
+ {
218
+ "patternId": "T",
219
+ "rotation": 270,
220
+ "x": 1,
221
+ "y": 4
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BACK",
227
+ "BOTTOM",
228
+ "FRONT",
229
+ "RIGHT",
230
+ "BACK",
231
+ "TOP",
232
+ "FRONT",
233
+ "LEFT"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BACK",
238
+ "BOTTOM",
239
+ "FRONT",
240
+ "TOP",
241
+ "LEFT"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "arrow_left",
248
+ "rotation": 270
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "D",
252
+ "rotation": 180
253
+ },
254
+ "FRONT": {
255
+ "patternId": "P",
256
+ "rotation": 180
257
+ },
258
+ "BACK": {
259
+ "patternId": "arrow_down",
260
+ "rotation": 90
261
+ },
262
+ "LEFT": {
263
+ "patternId": "T",
264
+ "rotation": 270
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "9",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "arrow_left",
275
+ "rotation": 270
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "D",
279
+ "rotation": 180
280
+ },
281
+ "FRONT": {
282
+ "patternId": "P",
283
+ "rotation": 180
284
+ },
285
+ "BACK": {
286
+ "patternId": "arrow_down",
287
+ "rotation": 90
288
+ },
289
+ "LEFT": {
290
+ "patternId": "T",
291
+ "rotation": 270
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "9",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C323\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> W -> W -> S -> S -> W -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=9, rotation=180, flipVertical=true\n- step 2: patternId=arrow_down, rotation=0, flipVertical=true\n- step 3: patternId=D, rotation=90, flipVertical=true\n- step 4: patternId=P, rotation=90, flipVertical=true\n- step 5: patternId=9, rotation=0, flipVertical=true\n- step 6: patternId=arrow_down, rotation=180, flipVertical=true\n- step 7: patternId=arrow_left, rotation=0, flipVertical=true\n- step 8: patternId=P, rotation=270, flipVertical=true\n- step 9: patternId=T, rotation=270, flipVertical=true\n- allowed patternId values for this task: 9, arrow_down, D, P, arrow_left, 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."
301
+ }
302
+ }
cube1/data/C324.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C324",
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 -> W -> S -> N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E",
8
+ "S",
9
+ "S",
10
+ "W",
11
+ "S",
12
+ "N",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "Y",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "Z",
24
+ "rotation": 90,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "2",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "W",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "Y",
42
+ "rotation": 0,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "L",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "Y",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "Z",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C324_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 324,
71
+ "name": "Reconstruct 324",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-324.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "Z",
82
+ "rotation": 270,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "2",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "Y",
94
+ "rotation": 0,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "L",
100
+ "rotation": 270,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "arrow_down",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "W",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "Z",
119
+ "2",
120
+ "Y",
121
+ "L",
122
+ "arrow_down",
123
+ "W"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 1,
127
+ "grid_width": 5,
128
+ "grid_height": 6,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "Z",
132
+ "rotation": 270
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "W",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "2",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "L",
144
+ "rotation": 90
145
+ },
146
+ "LEFT": {
147
+ "patternId": "arrow_down",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "Y",
152
+ "rotation": 90
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "W",
158
+ "rotation": 90,
159
+ "x": 1,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "Y",
164
+ "rotation": 180,
165
+ "x": 2,
166
+ "y": 1
167
+ },
168
+ {
169
+ "patternId": "Z",
170
+ "rotation": 90,
171
+ "x": 3,
172
+ "y": 1
173
+ },
174
+ {
175
+ "patternId": "2",
176
+ "rotation": 90,
177
+ "x": 3,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "W",
182
+ "rotation": 270,
183
+ "x": 3,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "Y",
188
+ "rotation": 0,
189
+ "x": 2,
190
+ "y": 3
191
+ },
192
+ {
193
+ "patternId": "L",
194
+ "rotation": 0,
195
+ "x": 2,
196
+ "y": 4
197
+ },
198
+ {
199
+ "patternId": "Y",
200
+ "rotation": 0,
201
+ "x": 2,
202
+ "y": 3
203
+ },
204
+ {
205
+ "patternId": "Z",
206
+ "rotation": 270,
207
+ "x": 1,
208
+ "y": 3
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "RIGHT",
213
+ "TOP",
214
+ "FRONT",
215
+ "BOTTOM",
216
+ "RIGHT",
217
+ "BACK",
218
+ "RIGHT",
219
+ "TOP"
220
+ ],
221
+ "required_slots": [
222
+ "RIGHT",
223
+ "TOP",
224
+ "FRONT",
225
+ "BOTTOM",
226
+ "BACK"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "Z",
233
+ "rotation": 270
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "W",
237
+ "rotation": 90
238
+ },
239
+ "FRONT": {
240
+ "patternId": "2",
241
+ "rotation": 270
242
+ },
243
+ "BACK": {
244
+ "patternId": "L",
245
+ "rotation": 270
246
+ },
247
+ "LEFT": {
248
+ "patternId": "?",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "Y",
253
+ "rotation": 0
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "Z",
260
+ "rotation": 270
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "W",
264
+ "rotation": 90
265
+ },
266
+ "FRONT": {
267
+ "patternId": "2",
268
+ "rotation": 270
269
+ },
270
+ "BACK": {
271
+ "patternId": "L",
272
+ "rotation": 270
273
+ },
274
+ "LEFT": {
275
+ "patternId": "?",
276
+ "rotation": 0
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "Y",
280
+ "rotation": 0
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C324\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> S -> S -> W -> S -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Y, rotation=180, flipVertical=true\n- step 2: patternId=Z, rotation=90, flipVertical=true\n- step 3: patternId=2, rotation=90, flipVertical=true\n- step 4: patternId=W, rotation=270, flipVertical=true\n- step 5: patternId=Y, rotation=0, flipVertical=true\n- step 6: patternId=L, rotation=0, flipVertical=true\n- step 7: patternId=Y, rotation=0, flipVertical=true\n- step 8: patternId=Z, rotation=270, flipVertical=true\n- allowed patternId values for this task: Y, Z, 2, W, 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."
286
+ }
287
+ }
cube1/data/C325.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C325",
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 -> E -> N -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "E",
9
+ "E",
10
+ "E",
11
+ "N",
12
+ "W",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "I",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "D",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "M",
30
+ "rotation": 180,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "T",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "arrow_left",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "I",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "T",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "arrow_left",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C325_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 325,
71
+ "name": "Reconstruct 325",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-325.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "M",
82
+ "rotation": 90,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "D",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "I",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "T",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "S",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "arrow_left",
112
+ "rotation": 0,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "M",
119
+ "D",
120
+ "I",
121
+ "T",
122
+ "S",
123
+ "arrow_left"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 1,
127
+ "grid_width": 7,
128
+ "grid_height": 4,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "M",
132
+ "rotation": 90
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "arrow_left",
136
+ "rotation": 0
137
+ },
138
+ "FRONT": {
139
+ "patternId": "D",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "T",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "S",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "I",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "arrow_left",
158
+ "rotation": 0,
159
+ "x": 1,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "I",
164
+ "rotation": 270,
165
+ "x": 2,
166
+ "y": 1
167
+ },
168
+ {
169
+ "patternId": "D",
170
+ "rotation": 0,
171
+ "x": 2,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "M",
176
+ "rotation": 180,
177
+ "x": 3,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "T",
182
+ "rotation": 270,
183
+ "x": 4,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "arrow_left",
188
+ "rotation": 90,
189
+ "x": 5,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "I",
194
+ "rotation": 0,
195
+ "x": 5,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "T",
200
+ "rotation": 180,
201
+ "x": 4,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "arrow_left",
206
+ "rotation": 0,
207
+ "x": 4,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "RIGHT",
213
+ "FRONT",
214
+ "TOP",
215
+ "BACK",
216
+ "BOTTOM",
217
+ "RIGHT",
218
+ "BACK",
219
+ "BOTTOM"
220
+ ],
221
+ "required_slots": [
222
+ "RIGHT",
223
+ "FRONT",
224
+ "TOP",
225
+ "BACK",
226
+ "BOTTOM"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "M",
233
+ "rotation": 90
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "arrow_left",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "D",
241
+ "rotation": 270
242
+ },
243
+ "BACK": {
244
+ "patternId": "T",
245
+ "rotation": 180
246
+ },
247
+ "LEFT": {
248
+ "patternId": "?",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "I",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "M",
260
+ "rotation": 90
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "arrow_left",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "D",
268
+ "rotation": 270
269
+ },
270
+ "BACK": {
271
+ "patternId": "T",
272
+ "rotation": 180
273
+ },
274
+ "LEFT": {
275
+ "patternId": "?",
276
+ "rotation": 0
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "I",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C325\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> E -> E -> E -> N -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=I, rotation=270, flipVertical=true\n- step 2: patternId=D, rotation=0, flipVertical=true\n- step 3: patternId=M, rotation=180, flipVertical=true\n- step 4: patternId=T, rotation=270, flipVertical=true\n- step 5: patternId=arrow_left, rotation=90, flipVertical=true\n- step 6: patternId=I, rotation=0, flipVertical=true\n- step 7: patternId=T, rotation=180, flipVertical=true\n- step 8: patternId=arrow_left, rotation=0, flipVertical=true\n- allowed patternId values for this task: I, D, M, T, arrow_left, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
286
+ }
287
+ }
cube1/data/C326.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C326",
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 -> E -> N -> E -> N -> E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "S",
9
+ "E",
10
+ "N",
11
+ "E",
12
+ "N",
13
+ "E",
14
+ "N"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "I",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "M",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "O",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "4",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "M",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "I",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "diamond",
55
+ "rotation": 90,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "star",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "O",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C326_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 326,
78
+ "name": "Reconstruct 326",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-326.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "4",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "M",
95
+ "rotation": 0,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "I",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "star",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "O",
113
+ "rotation": 270,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "diamond",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "4",
126
+ "M",
127
+ "I",
128
+ "star",
129
+ "O",
130
+ "diamond"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 2,
134
+ "grid_width": 7,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "4",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "diamond",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "M",
147
+ "rotation": 0
148
+ },
149
+ "BACK": {
150
+ "patternId": "star",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "O",
155
+ "rotation": 180
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "I",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "diamond",
165
+ "rotation": 180,
166
+ "x": 1,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "I",
171
+ "rotation": 180,
172
+ "x": 2,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "M",
177
+ "rotation": 90,
178
+ "x": 2,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "O",
183
+ "rotation": 270,
184
+ "x": 2,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "4",
189
+ "rotation": 90,
190
+ "x": 3,
191
+ "y": 4
192
+ },
193
+ {
194
+ "patternId": "M",
195
+ "rotation": 0,
196
+ "x": 3,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "I",
201
+ "rotation": 90,
202
+ "x": 4,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "diamond",
207
+ "rotation": 90,
208
+ "x": 4,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "star",
213
+ "rotation": 270,
214
+ "x": 5,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "O",
219
+ "rotation": 270,
220
+ "x": 5,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "FRONT",
227
+ "LEFT",
228
+ "TOP",
229
+ "FRONT",
230
+ "RIGHT",
231
+ "BOTTOM",
232
+ "BACK",
233
+ "LEFT"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "FRONT",
238
+ "LEFT",
239
+ "TOP",
240
+ "BOTTOM",
241
+ "BACK"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "4",
248
+ "rotation": 90
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "diamond",
252
+ "rotation": 180
253
+ },
254
+ "FRONT": {
255
+ "patternId": "M",
256
+ "rotation": 0
257
+ },
258
+ "BACK": {
259
+ "patternId": "star",
260
+ "rotation": 0
261
+ },
262
+ "LEFT": {
263
+ "patternId": "O",
264
+ "rotation": 270
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "I",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "4",
275
+ "rotation": 90
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "diamond",
279
+ "rotation": 180
280
+ },
281
+ "FRONT": {
282
+ "patternId": "M",
283
+ "rotation": 0
284
+ },
285
+ "BACK": {
286
+ "patternId": "star",
287
+ "rotation": 0
288
+ },
289
+ "LEFT": {
290
+ "patternId": "O",
291
+ "rotation": 270
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "I",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C326\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> S -> E -> N -> E -> N -> E -> 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=M, rotation=90, flipVertical=true\n- step 3: patternId=O, rotation=270, flipVertical=true\n- step 4: patternId=4, rotation=90, flipVertical=true\n- step 5: patternId=M, rotation=0, flipVertical=true\n- step 6: patternId=I, rotation=90, flipVertical=true\n- step 7: patternId=diamond, rotation=90, flipVertical=true\n- step 8: patternId=star, rotation=270, flipVertical=true\n- step 9: patternId=O, rotation=270, flipVertical=true\n- allowed patternId values for this task: I, M, O, 4, diamond, star, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
301
+ }
302
+ }
cube1/data/C327.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C327",
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 -> E -> W -> S -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N",
8
+ "E",
9
+ "N",
10
+ "E",
11
+ "W",
12
+ "S",
13
+ "S",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "V",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "H",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "G",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "X",
37
+ "rotation": 270,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "C",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "X",
49
+ "rotation": 270,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "G",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "V",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "C",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C327_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 327,
78
+ "name": "Reconstruct 327",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-327.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "G",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "C",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "V",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "H",
107
+ "rotation": 180,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "X",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "arrow_right",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "G",
126
+ "C",
127
+ "V",
128
+ "H",
129
+ "X",
130
+ "arrow_right"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 3,
134
+ "grid_width": 6,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "G",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "arrow_right",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "C",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "H",
151
+ "rotation": 0
152
+ },
153
+ "LEFT": {
154
+ "patternId": "X",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "V",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "arrow_right",
165
+ "rotation": 180,
166
+ "x": 1,
167
+ "y": 3
168
+ },
169
+ {
170
+ "patternId": "V",
171
+ "rotation": 270,
172
+ "x": 2,
173
+ "y": 3
174
+ },
175
+ {
176
+ "patternId": "H",
177
+ "rotation": 90,
178
+ "x": 2,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "G",
183
+ "rotation": 270,
184
+ "x": 3,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "X",
189
+ "rotation": 270,
190
+ "x": 3,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "C",
195
+ "rotation": 270,
196
+ "x": 4,
197
+ "y": 1
198
+ },
199
+ {
200
+ "patternId": "X",
201
+ "rotation": 270,
202
+ "x": 3,
203
+ "y": 1
204
+ },
205
+ {
206
+ "patternId": "G",
207
+ "rotation": 270,
208
+ "x": 3,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "V",
213
+ "rotation": 0,
214
+ "x": 3,
215
+ "y": 3
216
+ },
217
+ {
218
+ "patternId": "C",
219
+ "rotation": 90,
220
+ "x": 4,
221
+ "y": 3
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BACK",
227
+ "TOP",
228
+ "LEFT",
229
+ "FRONT",
230
+ "LEFT",
231
+ "TOP",
232
+ "RIGHT",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BACK",
238
+ "TOP",
239
+ "LEFT",
240
+ "FRONT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "G",
247
+ "rotation": 0
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "?",
251
+ "rotation": 0
252
+ },
253
+ "FRONT": {
254
+ "patternId": "C",
255
+ "rotation": 270
256
+ },
257
+ "BACK": {
258
+ "patternId": "H",
259
+ "rotation": 180
260
+ },
261
+ "LEFT": {
262
+ "patternId": "X",
263
+ "rotation": 0
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "V",
267
+ "rotation": 90
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "G",
274
+ "rotation": 0
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "?",
278
+ "rotation": 0
279
+ },
280
+ "FRONT": {
281
+ "patternId": "C",
282
+ "rotation": 270
283
+ },
284
+ "BACK": {
285
+ "patternId": "H",
286
+ "rotation": 180
287
+ },
288
+ "LEFT": {
289
+ "patternId": "X",
290
+ "rotation": 0
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "V",
294
+ "rotation": 90
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C327\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> E -> N -> E -> W -> S -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=V, rotation=270, flipVertical=true\n- step 2: patternId=H, rotation=90, flipVertical=true\n- step 3: patternId=G, rotation=270, flipVertical=true\n- step 4: patternId=X, rotation=270, flipVertical=true\n- step 5: patternId=C, rotation=270, flipVertical=true\n- step 6: patternId=X, rotation=270, flipVertical=true\n- step 7: patternId=G, rotation=270, flipVertical=true\n- step 8: patternId=V, rotation=0, flipVertical=true\n- step 9: patternId=C, rotation=90, flipVertical=true\n- allowed patternId values for this task: V, H, G, X, C, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
300
+ }
301
+ }
cube1/data/C328.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C328",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> E -> S -> W -> W -> 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
+ "S",
7
+ "E",
8
+ "S",
9
+ "W",
10
+ "W",
11
+ "E",
12
+ "S",
13
+ "W",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "F",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "M",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "K",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "F",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "8",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "F",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "8",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "8",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "M",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C328_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 328,
78
+ "name": "Reconstruct 328",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-328.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "K",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "F",
95
+ "rotation": 0,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "M",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "plus",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "8",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "8",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "K",
126
+ "F",
127
+ "M",
128
+ "plus",
129
+ "8",
130
+ "8"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 1,
134
+ "grid_width": 6,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "K",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "8",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "F",
147
+ "rotation": 0
148
+ },
149
+ "BACK": {
150
+ "patternId": "plus",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "8",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "M",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "8",
165
+ "rotation": 180,
166
+ "x": 3,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "F",
171
+ "rotation": 0,
172
+ "x": 3,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "M",
177
+ "rotation": 180,
178
+ "x": 4,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "K",
183
+ "rotation": 180,
184
+ "x": 4,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "F",
189
+ "rotation": 90,
190
+ "x": 3,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "8",
195
+ "rotation": 270,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "F",
201
+ "rotation": 90,
202
+ "x": 3,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "8",
207
+ "rotation": 180,
208
+ "x": 3,
209
+ "y": 4
210
+ },
211
+ {
212
+ "patternId": "8",
213
+ "rotation": 0,
214
+ "x": 2,
215
+ "y": 4
216
+ },
217
+ {
218
+ "patternId": "M",
219
+ "rotation": 90,
220
+ "x": 1,
221
+ "y": 4
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "RIGHT",
227
+ "TOP",
228
+ "FRONT",
229
+ "BOTTOM",
230
+ "FRONT",
231
+ "LEFT",
232
+ "BOTTOM",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "RIGHT",
238
+ "TOP",
239
+ "BOTTOM",
240
+ "LEFT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "K",
247
+ "rotation": 90
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "8",
251
+ "rotation": 180
252
+ },
253
+ "FRONT": {
254
+ "patternId": "F",
255
+ "rotation": 0
256
+ },
257
+ "BACK": {
258
+ "patternId": "?",
259
+ "rotation": 0
260
+ },
261
+ "LEFT": {
262
+ "patternId": "8",
263
+ "rotation": 180
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "M",
267
+ "rotation": 90
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "K",
274
+ "rotation": 90
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "8",
278
+ "rotation": 180
279
+ },
280
+ "FRONT": {
281
+ "patternId": "F",
282
+ "rotation": 0
283
+ },
284
+ "BACK": {
285
+ "patternId": "?",
286
+ "rotation": 0
287
+ },
288
+ "LEFT": {
289
+ "patternId": "8",
290
+ "rotation": 180
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "M",
294
+ "rotation": 90
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C328\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> S -> W -> W -> E -> S -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=F, rotation=0, flipVertical=true\n- step 2: patternId=M, rotation=180, flipVertical=true\n- step 3: patternId=K, rotation=180, flipVertical=true\n- step 4: patternId=F, rotation=90, flipVertical=true\n- step 5: patternId=8, rotation=270, flipVertical=true\n- step 6: patternId=F, rotation=90, flipVertical=true\n- step 7: patternId=8, rotation=180, flipVertical=true\n- step 8: patternId=8, rotation=0, flipVertical=true\n- step 9: patternId=M, rotation=90, flipVertical=true\n- allowed patternId values for this task: F, M, K, 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."
300
+ }
301
+ }
cube1/data/C329.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C329",
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 -> S -> W -> S -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "W",
9
+ "S",
10
+ "W",
11
+ "S",
12
+ "S",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "square",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "arrow_down",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "T",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "arrow_right",
36
+ "rotation": 180,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "circle",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "square",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "arrow_down",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "T",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C329_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 329,
71
+ "name": "Reconstruct 329",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-329.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "arrow_right",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "square",
88
+ "rotation": 90,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "circle",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "T",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "arrow_down",
106
+ "rotation": 270,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "arrow_left",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "arrow_right",
119
+ "square",
120
+ "circle",
121
+ "T",
122
+ "arrow_down",
123
+ "arrow_left"
124
+ ],
125
+ "start_x": 4,
126
+ "start_y": 1,
127
+ "grid_width": 6,
128
+ "grid_height": 8,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "arrow_right",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "arrow_left",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "square",
140
+ "rotation": 90
141
+ },
142
+ "BACK": {
143
+ "patternId": "T",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "arrow_down",
148
+ "rotation": 180
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "circle",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "arrow_left",
158
+ "rotation": 90,
159
+ "x": 4,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "square",
164
+ "rotation": 90,
165
+ "x": 4,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "arrow_down",
170
+ "rotation": 180,
171
+ "x": 3,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "T",
176
+ "rotation": 0,
177
+ "x": 2,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "arrow_right",
182
+ "rotation": 180,
183
+ "x": 2,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "circle",
188
+ "rotation": 90,
189
+ "x": 1,
190
+ "y": 3
191
+ },
192
+ {
193
+ "patternId": "square",
194
+ "rotation": 180,
195
+ "x": 1,
196
+ "y": 4
197
+ },
198
+ {
199
+ "patternId": "arrow_down",
200
+ "rotation": 270,
201
+ "x": 1,
202
+ "y": 5
203
+ },
204
+ {
205
+ "patternId": "T",
206
+ "rotation": 90,
207
+ "x": 1,
208
+ "y": 6
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "LEFT",
214
+ "BACK",
215
+ "TOP",
216
+ "RIGHT",
217
+ "FRONT",
218
+ "LEFT",
219
+ "BACK"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "LEFT",
224
+ "BACK",
225
+ "TOP",
226
+ "RIGHT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "arrow_right",
233
+ "rotation": 0
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "square",
241
+ "rotation": 90
242
+ },
243
+ "BACK": {
244
+ "patternId": "T",
245
+ "rotation": 180
246
+ },
247
+ "LEFT": {
248
+ "patternId": "arrow_down",
249
+ "rotation": 270
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "circle",
253
+ "rotation": 270
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "arrow_right",
260
+ "rotation": 0
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "?",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "square",
268
+ "rotation": 90
269
+ },
270
+ "BACK": {
271
+ "patternId": "T",
272
+ "rotation": 180
273
+ },
274
+ "LEFT": {
275
+ "patternId": "arrow_down",
276
+ "rotation": 270
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "circle",
280
+ "rotation": 270
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C329\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W -> S -> W -> S -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=square, rotation=90, flipVertical=true\n- step 2: patternId=arrow_down, rotation=180, flipVertical=true\n- step 3: patternId=T, rotation=0, flipVertical=true\n- step 4: patternId=arrow_right, rotation=180, flipVertical=true\n- step 5: patternId=circle, rotation=90, flipVertical=true\n- step 6: patternId=square, rotation=180, flipVertical=true\n- step 7: patternId=arrow_down, rotation=270, flipVertical=true\n- step 8: patternId=T, rotation=90, flipVertical=true\n- allowed patternId values for this task: square, arrow_down, T, arrow_right, 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."
286
+ }
287
+ }
cube1/data/C330.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C330",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> N -> W -> 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
+ "N",
9
+ "W",
10
+ "W",
11
+ "N",
12
+ "E",
13
+ "N"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "W",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "J",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "G",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "S",
36
+ "rotation": 180,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "W",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "T",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "S",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "G",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C330_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 330,
71
+ "name": "Reconstruct 330",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-330.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "S",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "T",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "G",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "J",
100
+ "rotation": 90,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "W",
106
+ "rotation": 90,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "T",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "S",
119
+ "T",
120
+ "G",
121
+ "J",
122
+ "W",
123
+ "T"
124
+ ],
125
+ "start_x": 4,
126
+ "start_y": 5,
127
+ "grid_width": 6,
128
+ "grid_height": 7,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "S",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "T",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "T",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "J",
144
+ "rotation": 270
145
+ },
146
+ "LEFT": {
147
+ "patternId": "W",
148
+ "rotation": 0
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "G",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "T",
158
+ "rotation": 90,
159
+ "x": 4,
160
+ "y": 5
161
+ },
162
+ {
163
+ "patternId": "W",
164
+ "rotation": 270,
165
+ "x": 3,
166
+ "y": 5
167
+ },
168
+ {
169
+ "patternId": "J",
170
+ "rotation": 180,
171
+ "x": 3,
172
+ "y": 4
173
+ },
174
+ {
175
+ "patternId": "G",
176
+ "rotation": 90,
177
+ "x": 3,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "S",
182
+ "rotation": 180,
183
+ "x": 2,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "W",
188
+ "rotation": 90,
189
+ "x": 1,
190
+ "y": 3
191
+ },
192
+ {
193
+ "patternId": "T",
194
+ "rotation": 0,
195
+ "x": 1,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "S",
200
+ "rotation": 270,
201
+ "x": 2,
202
+ "y": 2
203
+ },
204
+ {
205
+ "patternId": "G",
206
+ "rotation": 180,
207
+ "x": 2,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "LEFT",
213
+ "BACK",
214
+ "RIGHT",
215
+ "TOP",
216
+ "LEFT",
217
+ "FRONT",
218
+ "TOP",
219
+ "RIGHT"
220
+ ],
221
+ "required_slots": [
222
+ "LEFT",
223
+ "BACK",
224
+ "RIGHT",
225
+ "TOP",
226
+ "FRONT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "S",
233
+ "rotation": 180
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "T",
241
+ "rotation": 270
242
+ },
243
+ "BACK": {
244
+ "patternId": "J",
245
+ "rotation": 90
246
+ },
247
+ "LEFT": {
248
+ "patternId": "W",
249
+ "rotation": 90
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "G",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "S",
260
+ "rotation": 180
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "?",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "T",
268
+ "rotation": 270
269
+ },
270
+ "BACK": {
271
+ "patternId": "J",
272
+ "rotation": 90
273
+ },
274
+ "LEFT": {
275
+ "patternId": "W",
276
+ "rotation": 90
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "G",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C330\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> N -> W -> W -> N -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=W, rotation=270, flipVertical=true\n- step 2: patternId=J, rotation=180, flipVertical=true\n- step 3: patternId=G, rotation=90, flipVertical=true\n- step 4: patternId=S, rotation=180, flipVertical=true\n- step 5: patternId=W, rotation=90, flipVertical=true\n- step 6: patternId=T, rotation=0, flipVertical=true\n- step 7: patternId=S, rotation=270, flipVertical=true\n- step 8: patternId=G, rotation=180, flipVertical=true\n- allowed patternId values for this task: W, J, G, S, 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."
286
+ }
287
+ }
cube1/data/C331.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C331",
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 -> E -> N -> E -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "N",
9
+ "N",
10
+ "N",
11
+ "E",
12
+ "N",
13
+ "E",
14
+ "N"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "2",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "B",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "arrow_right",
31
+ "rotation": 90,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "S",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "E",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "1",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "B",
55
+ "rotation": 0,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "arrow_right",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "2",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C331_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 331,
78
+ "name": "Reconstruct 331",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-331.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "E",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "2",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "B",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "1",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "S",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "arrow_right",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "E",
126
+ "2",
127
+ "B",
128
+ "1",
129
+ "S",
130
+ "arrow_right"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 5,
134
+ "grid_width": 6,
135
+ "grid_height": 8,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "E",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "arrow_right",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "2",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "1",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "S",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "B",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "arrow_right",
165
+ "rotation": 180,
166
+ "x": 1,
167
+ "y": 5
168
+ },
169
+ {
170
+ "patternId": "2",
171
+ "rotation": 90,
172
+ "x": 1,
173
+ "y": 6
174
+ },
175
+ {
176
+ "patternId": "B",
177
+ "rotation": 90,
178
+ "x": 2,
179
+ "y": 6
180
+ },
181
+ {
182
+ "patternId": "arrow_right",
183
+ "rotation": 90,
184
+ "x": 2,
185
+ "y": 5
186
+ },
187
+ {
188
+ "patternId": "S",
189
+ "rotation": 180,
190
+ "x": 2,
191
+ "y": 4
192
+ },
193
+ {
194
+ "patternId": "E",
195
+ "rotation": 0,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "1",
201
+ "rotation": 90,
202
+ "x": 3,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "B",
207
+ "rotation": 0,
208
+ "x": 3,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "arrow_right",
213
+ "rotation": 0,
214
+ "x": 4,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "2",
219
+ "rotation": 270,
220
+ "x": 4,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "RIGHT",
227
+ "BOTTOM",
228
+ "LEFT",
229
+ "TOP",
230
+ "BACK",
231
+ "RIGHT",
232
+ "BOTTOM",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "RIGHT",
238
+ "BOTTOM",
239
+ "LEFT",
240
+ "TOP",
241
+ "BACK"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "E",
248
+ "rotation": 270
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "arrow_right",
252
+ "rotation": 180
253
+ },
254
+ "FRONT": {
255
+ "patternId": "2",
256
+ "rotation": 90
257
+ },
258
+ "BACK": {
259
+ "patternId": "1",
260
+ "rotation": 0
261
+ },
262
+ "LEFT": {
263
+ "patternId": "S",
264
+ "rotation": 90
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "B",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "E",
275
+ "rotation": 270
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "arrow_right",
279
+ "rotation": 180
280
+ },
281
+ "FRONT": {
282
+ "patternId": "2",
283
+ "rotation": 90
284
+ },
285
+ "BACK": {
286
+ "patternId": "1",
287
+ "rotation": 0
288
+ },
289
+ "LEFT": {
290
+ "patternId": "S",
291
+ "rotation": 90
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "B",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C331\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> N -> N -> N -> E -> N -> E -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=2, rotation=90, flipVertical=true\n- step 2: patternId=B, rotation=90, flipVertical=true\n- step 3: patternId=arrow_right, rotation=90, flipVertical=true\n- step 4: patternId=S, rotation=180, flipVertical=true\n- step 5: patternId=E, rotation=0, flipVertical=true\n- step 6: patternId=1, rotation=90, flipVertical=true\n- step 7: patternId=B, rotation=0, flipVertical=true\n- step 8: patternId=arrow_right, rotation=0, flipVertical=true\n- step 9: patternId=2, rotation=270, flipVertical=true\n- allowed patternId values for this task: 2, B, arrow_right, S, E, 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."
301
+ }
302
+ }
cube1/data/C332.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C332",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> N -> N -> W -> E -> E -> N -> N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "N",
8
+ "N",
9
+ "W",
10
+ "E",
11
+ "E",
12
+ "N",
13
+ "N",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "square",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "diamond",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "O",
31
+ "rotation": 0,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "N",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "O",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "Y",
49
+ "rotation": 270,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "T",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "N",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "O",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C332_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 332,
78
+ "name": "Reconstruct 332",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-332.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "N",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "T",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "O",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "diamond",
107
+ "rotation": 90,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "square",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "Y",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "N",
126
+ "T",
127
+ "O",
128
+ "diamond",
129
+ "square",
130
+ "Y"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 5,
134
+ "grid_width": 5,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "N",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "Y",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "T",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "diamond",
151
+ "rotation": 270
152
+ },
153
+ "LEFT": {
154
+ "patternId": "square",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "O",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "Y",
165
+ "rotation": 90,
166
+ "x": 3,
167
+ "y": 5
168
+ },
169
+ {
170
+ "patternId": "square",
171
+ "rotation": 0,
172
+ "x": 2,
173
+ "y": 5
174
+ },
175
+ {
176
+ "patternId": "diamond",
177
+ "rotation": 180,
178
+ "x": 2,
179
+ "y": 4
180
+ },
181
+ {
182
+ "patternId": "O",
183
+ "rotation": 0,
184
+ "x": 2,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "N",
189
+ "rotation": 0,
190
+ "x": 1,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "O",
195
+ "rotation": 0,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "Y",
201
+ "rotation": 270,
202
+ "x": 3,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "T",
207
+ "rotation": 270,
208
+ "x": 3,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "N",
213
+ "rotation": 180,
214
+ "x": 3,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "O",
219
+ "rotation": 180,
220
+ "x": 2,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "BACK",
227
+ "RIGHT",
228
+ "TOP",
229
+ "RIGHT",
230
+ "BOTTOM",
231
+ "FRONT",
232
+ "TOP",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "BACK",
238
+ "RIGHT",
239
+ "TOP",
240
+ "BOTTOM",
241
+ "FRONT"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "N",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "Y",
252
+ "rotation": 90
253
+ },
254
+ "FRONT": {
255
+ "patternId": "T",
256
+ "rotation": 90
257
+ },
258
+ "BACK": {
259
+ "patternId": "diamond",
260
+ "rotation": 90
261
+ },
262
+ "LEFT": {
263
+ "patternId": "square",
264
+ "rotation": 180
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "O",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "N",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "Y",
279
+ "rotation": 90
280
+ },
281
+ "FRONT": {
282
+ "patternId": "T",
283
+ "rotation": 90
284
+ },
285
+ "BACK": {
286
+ "patternId": "diamond",
287
+ "rotation": 90
288
+ },
289
+ "LEFT": {
290
+ "patternId": "square",
291
+ "rotation": 180
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "O",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C332\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> N -> W -> E -> E -> N -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=square, rotation=0, flipVertical=true\n- step 2: patternId=diamond, rotation=180, flipVertical=true\n- step 3: patternId=O, rotation=0, flipVertical=true\n- step 4: patternId=N, rotation=0, flipVertical=true\n- step 5: patternId=O, rotation=0, flipVertical=true\n- step 6: patternId=Y, rotation=270, flipVertical=true\n- step 7: patternId=T, rotation=270, flipVertical=true\n- step 8: patternId=N, rotation=180, flipVertical=true\n- step 9: patternId=O, rotation=180, flipVertical=true\n- allowed patternId values for this task: square, diamond, O, N, Y, 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."
301
+ }
302
+ }
cube1/data/C333.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C333",
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 -> E -> W -> N -> N -> E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "E",
9
+ "W",
10
+ "N",
11
+ "N",
12
+ "E",
13
+ "E"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "A",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "7",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "8",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "7",
36
+ "rotation": 0,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "6",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "diamond",
48
+ "rotation": 270,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "8",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "7",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C333_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 333,
71
+ "name": "Reconstruct 333",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-333.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "N",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "A",
88
+ "rotation": 180,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "7",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "8",
100
+ "rotation": 90,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "diamond",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "6",
112
+ "rotation": 0,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "N",
119
+ "A",
120
+ "7",
121
+ "8",
122
+ "diamond",
123
+ "6"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 2,
127
+ "grid_width": 6,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "N",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "6",
136
+ "rotation": 0
137
+ },
138
+ "FRONT": {
139
+ "patternId": "A",
140
+ "rotation": 180
141
+ },
142
+ "BACK": {
143
+ "patternId": "8",
144
+ "rotation": 270
145
+ },
146
+ "LEFT": {
147
+ "patternId": "diamond",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "7",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "6",
158
+ "rotation": 0,
159
+ "x": 1,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "A",
164
+ "rotation": 180,
165
+ "x": 1,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "7",
170
+ "rotation": 0,
171
+ "x": 2,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "8",
176
+ "rotation": 270,
177
+ "x": 3,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "7",
182
+ "rotation": 0,
183
+ "x": 2,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "6",
188
+ "rotation": 270,
189
+ "x": 2,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "diamond",
194
+ "rotation": 270,
195
+ "x": 2,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "8",
200
+ "rotation": 90,
201
+ "x": 3,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "7",
206
+ "rotation": 180,
207
+ "x": 4,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "RIGHT",
214
+ "BACK",
215
+ "RIGHT",
216
+ "BOTTOM",
217
+ "LEFT",
218
+ "BACK",
219
+ "RIGHT"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "RIGHT",
224
+ "BACK",
225
+ "BOTTOM",
226
+ "LEFT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "?",
233
+ "rotation": 0
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "6",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "A",
241
+ "rotation": 180
242
+ },
243
+ "BACK": {
244
+ "patternId": "8",
245
+ "rotation": 90
246
+ },
247
+ "LEFT": {
248
+ "patternId": "diamond",
249
+ "rotation": 180
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "7",
253
+ "rotation": 270
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "?",
260
+ "rotation": 0
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "6",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "A",
268
+ "rotation": 180
269
+ },
270
+ "BACK": {
271
+ "patternId": "8",
272
+ "rotation": 90
273
+ },
274
+ "LEFT": {
275
+ "patternId": "diamond",
276
+ "rotation": 180
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "7",
280
+ "rotation": 270
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C333\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> E -> W -> N -> N -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=A, rotation=180, flipVertical=true\n- step 2: patternId=7, rotation=0, flipVertical=true\n- step 3: patternId=8, rotation=270, flipVertical=true\n- step 4: patternId=7, rotation=0, flipVertical=true\n- step 5: patternId=6, rotation=270, flipVertical=true\n- step 6: patternId=diamond, rotation=270, flipVertical=true\n- step 7: patternId=8, rotation=90, flipVertical=true\n- step 8: patternId=7, rotation=180, flipVertical=true\n- allowed patternId values for this task: A, 7, 8, 6, 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."
286
+ }
287
+ }
cube1/data/C334.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C334",
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 -> W -> N -> W -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "N",
9
+ "W",
10
+ "N",
11
+ "W",
12
+ "W",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "O",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "Q",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "V",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "O",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "smile",
42
+ "rotation": 180,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "O",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "Q",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "O",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C334_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 334,
71
+ "name": "Reconstruct 334",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-334.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "O",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "O",
88
+ "rotation": 180,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "Q",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "circle",
100
+ "rotation": 0,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "smile",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "V",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "O",
119
+ "O",
120
+ "Q",
121
+ "circle",
122
+ "smile",
123
+ "V"
124
+ ],
125
+ "start_x": 3,
126
+ "start_y": 2,
127
+ "grid_width": 6,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "O",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "V",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "O",
140
+ "rotation": 180
141
+ },
142
+ "BACK": {
143
+ "patternId": "circle",
144
+ "rotation": 180
145
+ },
146
+ "LEFT": {
147
+ "patternId": "smile",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "Q",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "V",
158
+ "rotation": 180,
159
+ "x": 3,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "O",
164
+ "rotation": 180,
165
+ "x": 3,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "Q",
170
+ "rotation": 180,
171
+ "x": 4,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "V",
176
+ "rotation": 90,
177
+ "x": 4,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "O",
182
+ "rotation": 90,
183
+ "x": 3,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "smile",
188
+ "rotation": 180,
189
+ "x": 3,
190
+ "y": 1
191
+ },
192
+ {
193
+ "patternId": "O",
194
+ "rotation": 0,
195
+ "x": 2,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "Q",
200
+ "rotation": 270,
201
+ "x": 1,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "O",
206
+ "rotation": 270,
207
+ "x": 1,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "RIGHT",
214
+ "BOTTOM",
215
+ "FRONT",
216
+ "LEFT",
217
+ "TOP",
218
+ "RIGHT",
219
+ "FRONT"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "RIGHT",
224
+ "BOTTOM",
225
+ "LEFT",
226
+ "TOP"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "O",
233
+ "rotation": 180
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "V",
237
+ "rotation": 180
238
+ },
239
+ "FRONT": {
240
+ "patternId": "O",
241
+ "rotation": 180
242
+ },
243
+ "BACK": {
244
+ "patternId": "?",
245
+ "rotation": 0
246
+ },
247
+ "LEFT": {
248
+ "patternId": "smile",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "Q",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "O",
260
+ "rotation": 180
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "V",
264
+ "rotation": 180
265
+ },
266
+ "FRONT": {
267
+ "patternId": "O",
268
+ "rotation": 180
269
+ },
270
+ "BACK": {
271
+ "patternId": "?",
272
+ "rotation": 0
273
+ },
274
+ "LEFT": {
275
+ "patternId": "smile",
276
+ "rotation": 0
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "Q",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C334\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> N -> W -> N -> W -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=O, rotation=180, flipVertical=true\n- step 2: patternId=Q, rotation=180, flipVertical=true\n- step 3: patternId=V, rotation=90, flipVertical=true\n- step 4: patternId=O, rotation=90, flipVertical=true\n- step 5: patternId=smile, rotation=180, flipVertical=true\n- step 6: patternId=O, rotation=0, flipVertical=true\n- step 7: patternId=Q, rotation=270, flipVertical=true\n- step 8: patternId=O, rotation=270, flipVertical=true\n- allowed patternId values for this task: O, Q, V, 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."
286
+ }
287
+ }
cube1/data/C335.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C335",
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 -> S -> E -> S -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "W",
9
+ "S",
10
+ "E",
11
+ "S",
12
+ "W",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "6",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "C",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "circle",
30
+ "rotation": 180,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "I",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "C",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "6",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "I",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "4",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C335_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 335,
71
+ "name": "Reconstruct 335",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-335.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "I",
82
+ "rotation": 90,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "6",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "4",
94
+ "rotation": 0,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "circle",
100
+ "rotation": 0,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "C",
106
+ "rotation": 90,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "M",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "I",
119
+ "6",
120
+ "4",
121
+ "circle",
122
+ "C",
123
+ "M"
124
+ ],
125
+ "start_x": 3,
126
+ "start_y": 1,
127
+ "grid_width": 5,
128
+ "grid_height": 7,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "I",
132
+ "rotation": 90
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "M",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "6",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "circle",
144
+ "rotation": 180
145
+ },
146
+ "LEFT": {
147
+ "patternId": "C",
148
+ "rotation": 0
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "4",
152
+ "rotation": 90
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "M",
158
+ "rotation": 90,
159
+ "x": 3,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "6",
164
+ "rotation": 270,
165
+ "x": 3,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "C",
170
+ "rotation": 0,
171
+ "x": 2,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "circle",
176
+ "rotation": 180,
177
+ "x": 1,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "I",
182
+ "rotation": 270,
183
+ "x": 1,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "C",
188
+ "rotation": 270,
189
+ "x": 2,
190
+ "y": 3
191
+ },
192
+ {
193
+ "patternId": "6",
194
+ "rotation": 180,
195
+ "x": 2,
196
+ "y": 4
197
+ },
198
+ {
199
+ "patternId": "I",
200
+ "rotation": 0,
201
+ "x": 1,
202
+ "y": 4
203
+ },
204
+ {
205
+ "patternId": "4",
206
+ "rotation": 270,
207
+ "x": 1,
208
+ "y": 5
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "LEFT",
214
+ "BACK",
215
+ "TOP",
216
+ "LEFT",
217
+ "FRONT",
218
+ "TOP",
219
+ "RIGHT"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "LEFT",
224
+ "BACK",
225
+ "TOP",
226
+ "RIGHT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "I",
233
+ "rotation": 90
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "?",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "6",
241
+ "rotation": 270
242
+ },
243
+ "BACK": {
244
+ "patternId": "circle",
245
+ "rotation": 0
246
+ },
247
+ "LEFT": {
248
+ "patternId": "C",
249
+ "rotation": 90
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "4",
253
+ "rotation": 0
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "I",
260
+ "rotation": 90
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "?",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "6",
268
+ "rotation": 270
269
+ },
270
+ "BACK": {
271
+ "patternId": "circle",
272
+ "rotation": 0
273
+ },
274
+ "LEFT": {
275
+ "patternId": "C",
276
+ "rotation": 90
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "4",
280
+ "rotation": 0
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C335\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W -> S -> E -> S -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=270, flipVertical=true\n- step 2: patternId=C, rotation=0, flipVertical=true\n- step 3: patternId=circle, rotation=180, flipVertical=true\n- step 4: patternId=I, rotation=270, flipVertical=true\n- step 5: patternId=C, rotation=270, flipVertical=true\n- step 6: patternId=6, rotation=180, flipVertical=true\n- step 7: patternId=I, rotation=0, flipVertical=true\n- step 8: patternId=4, rotation=270, flipVertical=true\n- allowed patternId values for this task: 6, C, circle, I, 4, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
286
+ }
287
+ }
cube1/data/C336.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C336",
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 -> W -> N -> N -> W -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "W",
9
+ "N",
10
+ "N",
11
+ "W",
12
+ "N",
13
+ "E"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "4",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "C",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "D",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "4",
36
+ "rotation": 0,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "circle",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "L",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "3",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "circle",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C336_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 336,
71
+ "name": "Reconstruct 336",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-336.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "C",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "4",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "circle",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "3",
100
+ "rotation": 90,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "D",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "L",
112
+ "rotation": 0,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "C",
119
+ "4",
120
+ "circle",
121
+ "3",
122
+ "D",
123
+ "L"
124
+ ],
125
+ "start_x": 3,
126
+ "start_y": 2,
127
+ "grid_width": 5,
128
+ "grid_height": 6,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "C",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "L",
136
+ "rotation": 0
137
+ },
138
+ "FRONT": {
139
+ "patternId": "4",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "3",
144
+ "rotation": 270
145
+ },
146
+ "LEFT": {
147
+ "patternId": "D",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "circle",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "L",
158
+ "rotation": 0,
159
+ "x": 3,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "4",
164
+ "rotation": 270,
165
+ "x": 3,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "C",
170
+ "rotation": 180,
171
+ "x": 3,
172
+ "y": 4
173
+ },
174
+ {
175
+ "patternId": "D",
176
+ "rotation": 0,
177
+ "x": 2,
178
+ "y": 4
179
+ },
180
+ {
181
+ "patternId": "4",
182
+ "rotation": 0,
183
+ "x": 2,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "circle",
188
+ "rotation": 90,
189
+ "x": 2,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "L",
194
+ "rotation": 0,
195
+ "x": 1,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "3",
200
+ "rotation": 90,
201
+ "x": 1,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "circle",
206
+ "rotation": 180,
207
+ "x": 2,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "TOP",
214
+ "LEFT",
215
+ "FRONT",
216
+ "RIGHT",
217
+ "BOTTOM",
218
+ "BACK",
219
+ "RIGHT"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "TOP",
224
+ "LEFT",
225
+ "RIGHT",
226
+ "BOTTOM",
227
+ "BACK"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "C",
234
+ "rotation": 180
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "L",
238
+ "rotation": 0
239
+ },
240
+ "FRONT": {
241
+ "patternId": "4",
242
+ "rotation": 270
243
+ },
244
+ "BACK": {
245
+ "patternId": "3",
246
+ "rotation": 90
247
+ },
248
+ "LEFT": {
249
+ "patternId": "D",
250
+ "rotation": 0
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "circle",
254
+ "rotation": 270
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "C",
261
+ "rotation": 180
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "L",
265
+ "rotation": 0
266
+ },
267
+ "FRONT": {
268
+ "patternId": "4",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "3",
273
+ "rotation": 90
274
+ },
275
+ "LEFT": {
276
+ "patternId": "D",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "circle",
281
+ "rotation": 270
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C336\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> W -> N -> N -> W -> N -> E\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=C, rotation=180, flipVertical=true\n- step 3: patternId=D, rotation=0, flipVertical=true\n- step 4: patternId=4, rotation=0, flipVertical=true\n- step 5: patternId=circle, rotation=90, flipVertical=true\n- step 6: patternId=L, rotation=0, flipVertical=true\n- step 7: patternId=3, rotation=90, flipVertical=true\n- step 8: patternId=circle, rotation=180, flipVertical=true\n- allowed patternId values for this task: 4, C, D, circle, L, 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."
287
+ }
288
+ }
cube1/data/C337.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C337",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> E -> W -> E -> W -> S -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "W",
9
+ "E",
10
+ "W",
11
+ "S",
12
+ "S",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "6",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "O",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "6",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "O",
36
+ "rotation": 180,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "6",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "plus",
48
+ "rotation": 270,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "triangle",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "K",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C337_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 337,
71
+ "name": "Reconstruct 337",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-337.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "plus",
82
+ "rotation": 270,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "6",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "O",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "triangle",
100
+ "rotation": 270,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "M",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "K",
112
+ "rotation": 0,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "plus",
119
+ "6",
120
+ "O",
121
+ "triangle",
122
+ "M",
123
+ "K"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 1,
127
+ "grid_width": 4,
128
+ "grid_height": 7,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "plus",
132
+ "rotation": 270
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "K",
136
+ "rotation": 0
137
+ },
138
+ "FRONT": {
139
+ "patternId": "6",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "triangle",
144
+ "rotation": 90
145
+ },
146
+ "LEFT": {
147
+ "patternId": "M",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "O",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "K",
158
+ "rotation": 0,
159
+ "x": 1,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "6",
164
+ "rotation": 270,
165
+ "x": 1,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "O",
170
+ "rotation": 180,
171
+ "x": 2,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "6",
176
+ "rotation": 270,
177
+ "x": 1,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "O",
182
+ "rotation": 180,
183
+ "x": 2,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "6",
188
+ "rotation": 270,
189
+ "x": 1,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "plus",
194
+ "rotation": 270,
195
+ "x": 1,
196
+ "y": 3
197
+ },
198
+ {
199
+ "patternId": "triangle",
200
+ "rotation": 270,
201
+ "x": 1,
202
+ "y": 4
203
+ },
204
+ {
205
+ "patternId": "K",
206
+ "rotation": 0,
207
+ "x": 1,
208
+ "y": 5
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "RIGHT",
214
+ "FRONT",
215
+ "RIGHT",
216
+ "FRONT",
217
+ "TOP",
218
+ "BACK",
219
+ "BOTTOM"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "RIGHT",
224
+ "TOP",
225
+ "BACK",
226
+ "BOTTOM"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "plus",
233
+ "rotation": 270
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "K",
237
+ "rotation": 0
238
+ },
239
+ "FRONT": {
240
+ "patternId": "6",
241
+ "rotation": 270
242
+ },
243
+ "BACK": {
244
+ "patternId": "triangle",
245
+ "rotation": 270
246
+ },
247
+ "LEFT": {
248
+ "patternId": "?",
249
+ "rotation": 0
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "O",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "plus",
260
+ "rotation": 270
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "K",
264
+ "rotation": 0
265
+ },
266
+ "FRONT": {
267
+ "patternId": "6",
268
+ "rotation": 270
269
+ },
270
+ "BACK": {
271
+ "patternId": "triangle",
272
+ "rotation": 270
273
+ },
274
+ "LEFT": {
275
+ "patternId": "?",
276
+ "rotation": 0
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "O",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C337\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> W -> E -> W -> S -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=270, flipVertical=true\n- step 2: patternId=O, rotation=180, flipVertical=true\n- step 3: patternId=6, rotation=270, flipVertical=true\n- step 4: patternId=O, rotation=180, flipVertical=true\n- step 5: patternId=6, rotation=270, flipVertical=true\n- step 6: patternId=plus, rotation=270, flipVertical=true\n- step 7: patternId=triangle, rotation=270, flipVertical=true\n- step 8: patternId=K, rotation=0, flipVertical=true\n- allowed patternId values for this task: 6, O, plus, triangle, K, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
286
+ }
287
+ }
cube1/data/C338.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C338",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> W -> N -> 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
+ "W",
7
+ "W",
8
+ "W",
9
+ "N",
10
+ "W",
11
+ "W",
12
+ "W",
13
+ "N"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "8",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "4",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "5",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "I",
36
+ "rotation": 180,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "H",
42
+ "rotation": 0,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "L",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "4",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "8",
60
+ "rotation": 270,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C338_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 338,
71
+ "name": "Reconstruct 338",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-338.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "4",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "L",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "5",
94
+ "rotation": 180,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "I",
100
+ "rotation": 270,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "8",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "H",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "4",
119
+ "L",
120
+ "5",
121
+ "I",
122
+ "8",
123
+ "H"
124
+ ],
125
+ "start_x": 7,
126
+ "start_y": 3,
127
+ "grid_width": 9,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "4",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "H",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "L",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "I",
144
+ "rotation": 90
145
+ },
146
+ "LEFT": {
147
+ "patternId": "8",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "5",
152
+ "rotation": 270
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "H",
158
+ "rotation": 90,
159
+ "x": 7,
160
+ "y": 3
161
+ },
162
+ {
163
+ "patternId": "8",
164
+ "rotation": 180,
165
+ "x": 6,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "4",
170
+ "rotation": 180,
171
+ "x": 5,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "5",
176
+ "rotation": 0,
177
+ "x": 4,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "I",
182
+ "rotation": 180,
183
+ "x": 4,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "H",
188
+ "rotation": 0,
189
+ "x": 3,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "L",
194
+ "rotation": 180,
195
+ "x": 2,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "4",
200
+ "rotation": 270,
201
+ "x": 1,
202
+ "y": 2
203
+ },
204
+ {
205
+ "patternId": "8",
206
+ "rotation": 270,
207
+ "x": 1,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "LEFT",
213
+ "TOP",
214
+ "RIGHT",
215
+ "BACK",
216
+ "BOTTOM",
217
+ "FRONT",
218
+ "TOP",
219
+ "LEFT"
220
+ ],
221
+ "required_slots": [
222
+ "LEFT",
223
+ "TOP",
224
+ "RIGHT",
225
+ "BACK",
226
+ "BOTTOM",
227
+ "FRONT"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "4",
234
+ "rotation": 0
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "H",
238
+ "rotation": 90
239
+ },
240
+ "FRONT": {
241
+ "patternId": "L",
242
+ "rotation": 270
243
+ },
244
+ "BACK": {
245
+ "patternId": "I",
246
+ "rotation": 270
247
+ },
248
+ "LEFT": {
249
+ "patternId": "8",
250
+ "rotation": 0
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "5",
254
+ "rotation": 180
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "4",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "H",
265
+ "rotation": 90
266
+ },
267
+ "FRONT": {
268
+ "patternId": "L",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "I",
273
+ "rotation": 270
274
+ },
275
+ "LEFT": {
276
+ "patternId": "8",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "5",
281
+ "rotation": 180
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C338\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> W -> N -> W -> W -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=8, rotation=180, flipVertical=true\n- step 2: patternId=4, rotation=180, flipVertical=true\n- step 3: patternId=5, rotation=0, flipVertical=true\n- step 4: patternId=I, rotation=180, flipVertical=true\n- step 5: patternId=H, rotation=0, flipVertical=true\n- step 6: patternId=L, rotation=180, flipVertical=true\n- step 7: patternId=4, rotation=270, flipVertical=true\n- step 8: patternId=8, rotation=270, flipVertical=true\n- allowed patternId values for this task: 8, 4, 5, I, H, 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."
287
+ }
288
+ }
cube1/data/C339.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C339",
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 -> 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
+ "E",
9
+ "N",
10
+ "E",
11
+ "N",
12
+ "E",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "F",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "smile",
24
+ "rotation": 270,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "U",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "A",
36
+ "rotation": 180,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "D",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "N",
48
+ "rotation": 0,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "F",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "D",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C339_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 339,
71
+ "name": "Reconstruct 339",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-339.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "N",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "D",
88
+ "rotation": 90,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "A",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "smile",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "F",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "U",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "N",
119
+ "D",
120
+ "A",
121
+ "smile",
122
+ "F",
123
+ "U"
124
+ ],
125
+ "start_x": 2,
126
+ "start_y": 4,
127
+ "grid_width": 6,
128
+ "grid_height": 6,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "N",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "U",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "D",
140
+ "rotation": 90
141
+ },
142
+ "BACK": {
143
+ "patternId": "smile",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "F",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "A",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "U",
158
+ "rotation": 180,
159
+ "x": 2,
160
+ "y": 4
161
+ },
162
+ {
163
+ "patternId": "F",
164
+ "rotation": 180,
165
+ "x": 1,
166
+ "y": 4
167
+ },
168
+ {
169
+ "patternId": "smile",
170
+ "rotation": 270,
171
+ "x": 1,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "U",
176
+ "rotation": 270,
177
+ "x": 2,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "A",
182
+ "rotation": 180,
183
+ "x": 2,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "D",
188
+ "rotation": 270,
189
+ "x": 3,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "N",
194
+ "rotation": 0,
195
+ "x": 3,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "F",
200
+ "rotation": 180,
201
+ "x": 4,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "D",
206
+ "rotation": 0,
207
+ "x": 4,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "LEFT",
213
+ "BACK",
214
+ "BOTTOM",
215
+ "RIGHT",
216
+ "FRONT",
217
+ "TOP",
218
+ "LEFT",
219
+ "FRONT"
220
+ ],
221
+ "required_slots": [
222
+ "LEFT",
223
+ "BACK",
224
+ "BOTTOM",
225
+ "RIGHT",
226
+ "FRONT",
227
+ "TOP"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "N",
234
+ "rotation": 180
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "U",
238
+ "rotation": 180
239
+ },
240
+ "FRONT": {
241
+ "patternId": "D",
242
+ "rotation": 90
243
+ },
244
+ "BACK": {
245
+ "patternId": "smile",
246
+ "rotation": 180
247
+ },
248
+ "LEFT": {
249
+ "patternId": "F",
250
+ "rotation": 0
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "A",
254
+ "rotation": 270
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "N",
261
+ "rotation": 180
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "U",
265
+ "rotation": 180
266
+ },
267
+ "FRONT": {
268
+ "patternId": "D",
269
+ "rotation": 90
270
+ },
271
+ "BACK": {
272
+ "patternId": "smile",
273
+ "rotation": 180
274
+ },
275
+ "LEFT": {
276
+ "patternId": "F",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "A",
281
+ "rotation": 270
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C339\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): W -> N -> E -> N -> E -> N -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=F, rotation=180, flipVertical=true\n- step 2: patternId=smile, rotation=270, flipVertical=true\n- step 3: patternId=U, rotation=270, flipVertical=true\n- step 4: patternId=A, rotation=180, flipVertical=true\n- step 5: patternId=D, rotation=270, flipVertical=true\n- step 6: patternId=N, rotation=0, flipVertical=true\n- step 7: patternId=F, rotation=180, flipVertical=true\n- step 8: patternId=D, rotation=0, flipVertical=true\n- allowed patternId values for this task: F, smile, U, A, D, N, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
287
+ }
288
+ }
cube1/data/C340.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C340",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> E -> W -> N -> W -> N -> E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "E",
8
+ "W",
9
+ "N",
10
+ "W",
11
+ "N",
12
+ "E",
13
+ "E"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "V",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "U",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "V",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "arrow_right",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "A",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "F",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "arrow_right",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "V",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C340_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 340,
71
+ "name": "Reconstruct 340",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-340.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "U",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "star",
88
+ "rotation": 90,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "V",
94
+ "rotation": 180,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "arrow_right",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "F",
106
+ "rotation": 90,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "A",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "U",
119
+ "star",
120
+ "V",
121
+ "arrow_right",
122
+ "F",
123
+ "A"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 3,
127
+ "grid_width": 5,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "U",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "A",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "star",
140
+ "rotation": 90
141
+ },
142
+ "BACK": {
143
+ "patternId": "arrow_right",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "F",
148
+ "rotation": 0
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "V",
152
+ "rotation": 270
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "A",
158
+ "rotation": 180,
159
+ "x": 1,
160
+ "y": 3
161
+ },
162
+ {
163
+ "patternId": "V",
164
+ "rotation": 0,
165
+ "x": 2,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "U",
170
+ "rotation": 0,
171
+ "x": 3,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "V",
176
+ "rotation": 0,
177
+ "x": 2,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "arrow_right",
182
+ "rotation": 90,
183
+ "x": 2,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "A",
188
+ "rotation": 90,
189
+ "x": 1,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "F",
194
+ "rotation": 180,
195
+ "x": 1,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "arrow_right",
200
+ "rotation": 180,
201
+ "x": 2,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "V",
206
+ "rotation": 90,
207
+ "x": 3,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "RIGHT",
213
+ "TOP",
214
+ "RIGHT",
215
+ "BACK",
216
+ "BOTTOM",
217
+ "LEFT",
218
+ "BACK",
219
+ "RIGHT"
220
+ ],
221
+ "required_slots": [
222
+ "RIGHT",
223
+ "TOP",
224
+ "BACK",
225
+ "BOTTOM",
226
+ "LEFT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "U",
233
+ "rotation": 180
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "A",
237
+ "rotation": 180
238
+ },
239
+ "FRONT": {
240
+ "patternId": "?",
241
+ "rotation": 0
242
+ },
243
+ "BACK": {
244
+ "patternId": "arrow_right",
245
+ "rotation": 180
246
+ },
247
+ "LEFT": {
248
+ "patternId": "F",
249
+ "rotation": 90
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "V",
253
+ "rotation": 180
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "U",
260
+ "rotation": 180
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "A",
264
+ "rotation": 180
265
+ },
266
+ "FRONT": {
267
+ "patternId": "?",
268
+ "rotation": 0
269
+ },
270
+ "BACK": {
271
+ "patternId": "arrow_right",
272
+ "rotation": 180
273
+ },
274
+ "LEFT": {
275
+ "patternId": "F",
276
+ "rotation": 90
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "V",
280
+ "rotation": 180
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C340\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): E -> E -> W -> N -> W -> N -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=V, rotation=0, flipVertical=true\n- step 2: patternId=U, rotation=0, flipVertical=true\n- step 3: patternId=V, rotation=0, flipVertical=true\n- step 4: patternId=arrow_right, rotation=90, flipVertical=true\n- step 5: patternId=A, rotation=90, flipVertical=true\n- step 6: patternId=F, rotation=180, flipVertical=true\n- step 7: patternId=arrow_right, rotation=180, flipVertical=true\n- step 8: patternId=V, rotation=90, flipVertical=true\n- allowed patternId values for this task: V, U, arrow_right, A, 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."
286
+ }
287
+ }
cube1/data/C341.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C341",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> W -> N -> W -> S -> W -> W -> W -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "W",
8
+ "N",
9
+ "W",
10
+ "S",
11
+ "W",
12
+ "W",
13
+ "W",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "B",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "D",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "4",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "smile",
37
+ "rotation": 270,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "D",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "2",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "6",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "4",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "B",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C341_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 341,
78
+ "name": "Reconstruct 341",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-341.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "6",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "2",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "B",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "4",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "smile",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "D",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "6",
126
+ "2",
127
+ "B",
128
+ "4",
129
+ "smile",
130
+ "D"
131
+ ],
132
+ "start_x": 5,
133
+ "start_y": 2,
134
+ "grid_width": 8,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "6",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "D",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "2",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "4",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "smile",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "B",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "D",
165
+ "rotation": 90,
166
+ "x": 5,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "B",
171
+ "rotation": 0,
172
+ "x": 6,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "D",
177
+ "rotation": 90,
178
+ "x": 5,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "4",
183
+ "rotation": 270,
184
+ "x": 5,
185
+ "y": 1
186
+ },
187
+ {
188
+ "patternId": "smile",
189
+ "rotation": 270,
190
+ "x": 4,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "D",
195
+ "rotation": 0,
196
+ "x": 4,
197
+ "y": 2
198
+ },
199
+ {
200
+ "patternId": "2",
201
+ "rotation": 180,
202
+ "x": 3,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "6",
207
+ "rotation": 180,
208
+ "x": 2,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "4",
213
+ "rotation": 180,
214
+ "x": 1,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "B",
219
+ "rotation": 0,
220
+ "x": 1,
221
+ "y": 3
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BOTTOM",
227
+ "BACK",
228
+ "LEFT",
229
+ "BOTTOM",
230
+ "FRONT",
231
+ "TOP",
232
+ "BACK",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BOTTOM",
238
+ "BACK",
239
+ "LEFT",
240
+ "FRONT",
241
+ "TOP"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "6",
248
+ "rotation": 270
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "D",
252
+ "rotation": 90
253
+ },
254
+ "FRONT": {
255
+ "patternId": "2",
256
+ "rotation": 270
257
+ },
258
+ "BACK": {
259
+ "patternId": "4",
260
+ "rotation": 270
261
+ },
262
+ "LEFT": {
263
+ "patternId": "smile",
264
+ "rotation": 180
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "B",
268
+ "rotation": 180
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "6",
275
+ "rotation": 270
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "D",
279
+ "rotation": 90
280
+ },
281
+ "FRONT": {
282
+ "patternId": "2",
283
+ "rotation": 270
284
+ },
285
+ "BACK": {
286
+ "patternId": "4",
287
+ "rotation": 270
288
+ },
289
+ "LEFT": {
290
+ "patternId": "smile",
291
+ "rotation": 180
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "B",
295
+ "rotation": 180
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C341\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> W -> N -> W -> S -> W -> W -> W -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=B, rotation=0, flipVertical=true\n- step 2: patternId=D, rotation=90, flipVertical=true\n- step 3: patternId=4, rotation=270, flipVertical=true\n- step 4: patternId=smile, rotation=270, flipVertical=true\n- step 5: patternId=D, rotation=0, flipVertical=true\n- step 6: patternId=2, rotation=180, flipVertical=true\n- step 7: patternId=6, rotation=180, flipVertical=true\n- step 8: patternId=4, rotation=180, flipVertical=true\n- step 9: patternId=B, rotation=0, flipVertical=true\n- allowed patternId values for this task: B, D, 4, smile, 2, 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."
301
+ }
302
+ }
cube1/data/C342.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C342",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S -> E -> E -> N -> N -> S -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "E",
9
+ "E",
10
+ "N",
11
+ "N",
12
+ "S",
13
+ "S"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "1",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "circle",
24
+ "rotation": 90,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "1",
30
+ "rotation": 180,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "square",
36
+ "rotation": 0,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "1",
42
+ "rotation": 0,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "circle",
48
+ "rotation": 270,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "1",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "square",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C342_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 342,
71
+ "name": "Reconstruct 342",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-342.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "circle",
82
+ "rotation": 90,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "1",
88
+ "rotation": 180,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "1",
94
+ "rotation": 180,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "B",
100
+ "rotation": 90,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "O",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "square",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "circle",
119
+ "1",
120
+ "1",
121
+ "B",
122
+ "O",
123
+ "square"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 1,
127
+ "grid_width": 5,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "circle",
132
+ "rotation": 90
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "square",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "1",
140
+ "rotation": 180
141
+ },
142
+ "BACK": {
143
+ "patternId": "B",
144
+ "rotation": 270
145
+ },
146
+ "LEFT": {
147
+ "patternId": "O",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "1",
152
+ "rotation": 270
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "square",
158
+ "rotation": 180,
159
+ "x": 1,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "1",
164
+ "rotation": 180,
165
+ "x": 1,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "circle",
170
+ "rotation": 90,
171
+ "x": 1,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "1",
176
+ "rotation": 180,
177
+ "x": 2,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "square",
182
+ "rotation": 0,
183
+ "x": 3,
184
+ "y": 3
185
+ },
186
+ {
187
+ "patternId": "1",
188
+ "rotation": 0,
189
+ "x": 3,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "circle",
194
+ "rotation": 270,
195
+ "x": 3,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "1",
200
+ "rotation": 0,
201
+ "x": 3,
202
+ "y": 2
203
+ },
204
+ {
205
+ "patternId": "square",
206
+ "rotation": 0,
207
+ "x": 3,
208
+ "y": 3
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "TOP",
214
+ "RIGHT",
215
+ "BOTTOM",
216
+ "FRONT",
217
+ "TOP",
218
+ "FRONT",
219
+ "BOTTOM"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "TOP",
224
+ "RIGHT",
225
+ "BOTTOM"
226
+ ],
227
+ "required_count": 4,
228
+ "answer": {
229
+ "faces": {
230
+ "TOP": {
231
+ "patternId": "circle",
232
+ "rotation": 90
233
+ },
234
+ "BOTTOM": {
235
+ "patternId": "square",
236
+ "rotation": 180
237
+ },
238
+ "FRONT": {
239
+ "patternId": "1",
240
+ "rotation": 180
241
+ },
242
+ "BACK": {
243
+ "patternId": "?",
244
+ "rotation": 0
245
+ },
246
+ "LEFT": {
247
+ "patternId": "?",
248
+ "rotation": 0
249
+ },
250
+ "RIGHT": {
251
+ "patternId": "1",
252
+ "rotation": 180
253
+ }
254
+ }
255
+ },
256
+ "legacy_answer": {
257
+ "TOP": {
258
+ "patternId": "circle",
259
+ "rotation": 90
260
+ },
261
+ "BOTTOM": {
262
+ "patternId": "square",
263
+ "rotation": 180
264
+ },
265
+ "FRONT": {
266
+ "patternId": "1",
267
+ "rotation": 180
268
+ },
269
+ "BACK": {
270
+ "patternId": "?",
271
+ "rotation": 0
272
+ },
273
+ "LEFT": {
274
+ "patternId": "?",
275
+ "rotation": 0
276
+ },
277
+ "RIGHT": {
278
+ "patternId": "1",
279
+ "rotation": 180
280
+ }
281
+ },
282
+ "prompt": {
283
+ "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.",
284
+ "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: C342\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> E -> E -> N -> N -> S -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=1, rotation=180, flipVertical=true\n- step 2: patternId=circle, rotation=90, flipVertical=true\n- step 3: patternId=1, rotation=180, flipVertical=true\n- step 4: patternId=square, rotation=0, flipVertical=true\n- step 5: patternId=1, rotation=0, flipVertical=true\n- step 6: patternId=circle, rotation=270, flipVertical=true\n- step 7: patternId=1, rotation=0, flipVertical=true\n- step 8: patternId=square, rotation=0, flipVertical=true\n- allowed patternId values for this task: 1, 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."
285
+ }
286
+ }
cube1/data/C343.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C343",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> W -> S -> S -> W -> S -> W -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "S",
9
+ "S",
10
+ "W",
11
+ "S",
12
+ "W",
13
+ "W",
14
+ "N"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "J",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "L",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "J",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "F",
37
+ "rotation": 270,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "6",
43
+ "rotation": 90,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "6",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "L",
55
+ "rotation": 90,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "J",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "6",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C343_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 343,
78
+ "name": "Reconstruct 343",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-343.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "6",
89
+ "rotation": 180,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "6",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "F",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "J",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "L",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "J",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "6",
126
+ "6",
127
+ "F",
128
+ "J",
129
+ "L",
130
+ "J"
131
+ ],
132
+ "start_x": 5,
133
+ "start_y": 2,
134
+ "grid_width": 7,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "6",
139
+ "rotation": 180
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "J",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "6",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "J",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "L",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "F",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "J",
165
+ "rotation": 0,
166
+ "x": 5,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "J",
171
+ "rotation": 0,
172
+ "x": 5,
173
+ "y": 1
174
+ },
175
+ {
176
+ "patternId": "L",
177
+ "rotation": 180,
178
+ "x": 4,
179
+ "y": 1
180
+ },
181
+ {
182
+ "patternId": "J",
183
+ "rotation": 270,
184
+ "x": 4,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "F",
189
+ "rotation": 270,
190
+ "x": 4,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "6",
195
+ "rotation": 90,
196
+ "x": 3,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "6",
201
+ "rotation": 180,
202
+ "x": 3,
203
+ "y": 4
204
+ },
205
+ {
206
+ "patternId": "L",
207
+ "rotation": 90,
208
+ "x": 2,
209
+ "y": 4
210
+ },
211
+ {
212
+ "patternId": "J",
213
+ "rotation": 180,
214
+ "x": 1,
215
+ "y": 4
216
+ },
217
+ {
218
+ "patternId": "6",
219
+ "rotation": 270,
220
+ "x": 1,
221
+ "y": 3
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "BACK",
226
+ "LEFT",
227
+ "BOTTOM",
228
+ "RIGHT",
229
+ "FRONT",
230
+ "TOP",
231
+ "LEFT",
232
+ "BOTTOM",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "BACK",
237
+ "LEFT",
238
+ "BOTTOM",
239
+ "RIGHT",
240
+ "FRONT",
241
+ "TOP"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "6",
248
+ "rotation": 180
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "J",
252
+ "rotation": 0
253
+ },
254
+ "FRONT": {
255
+ "patternId": "6",
256
+ "rotation": 90
257
+ },
258
+ "BACK": {
259
+ "patternId": "J",
260
+ "rotation": 0
261
+ },
262
+ "LEFT": {
263
+ "patternId": "L",
264
+ "rotation": 90
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "F",
268
+ "rotation": 180
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "6",
275
+ "rotation": 180
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "J",
279
+ "rotation": 0
280
+ },
281
+ "FRONT": {
282
+ "patternId": "6",
283
+ "rotation": 90
284
+ },
285
+ "BACK": {
286
+ "patternId": "J",
287
+ "rotation": 0
288
+ },
289
+ "LEFT": {
290
+ "patternId": "L",
291
+ "rotation": 90
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "F",
295
+ "rotation": 180
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C343\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> S -> S -> W -> S -> W -> W -> N\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=L, rotation=180, flipVertical=true\n- step 3: patternId=J, rotation=270, flipVertical=true\n- step 4: patternId=F, rotation=270, flipVertical=true\n- step 5: patternId=6, rotation=90, flipVertical=true\n- step 6: patternId=6, rotation=180, flipVertical=true\n- step 7: patternId=L, rotation=90, flipVertical=true\n- step 8: patternId=J, rotation=180, flipVertical=true\n- step 9: patternId=6, rotation=270, flipVertical=true\n- allowed patternId values for this task: J, L, F, 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."
301
+ }
302
+ }
cube1/data/C344.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C344",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> N -> E -> E -> S -> 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
+ "N",
7
+ "N",
8
+ "E",
9
+ "E",
10
+ "S",
11
+ "E",
12
+ "N",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "arrow_down",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "diamond",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "arrow_left",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "P",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "arrow_down",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "plus",
48
+ "rotation": 90,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "P",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "arrow_down",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C344_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 344,
71
+ "name": "Reconstruct 344",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-344.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "diamond",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "9",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "arrow_left",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "arrow_down",
100
+ "rotation": 90,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "plus",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "P",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "diamond",
119
+ "9",
120
+ "arrow_left",
121
+ "arrow_down",
122
+ "plus",
123
+ "P"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 3,
127
+ "grid_width": 6,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "diamond",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "P",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "9",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "arrow_down",
144
+ "rotation": 270
145
+ },
146
+ "LEFT": {
147
+ "patternId": "plus",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "arrow_left",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "P",
158
+ "rotation": 90,
159
+ "x": 1,
160
+ "y": 3
161
+ },
162
+ {
163
+ "patternId": "arrow_down",
164
+ "rotation": 90,
165
+ "x": 1,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "diamond",
170
+ "rotation": 0,
171
+ "x": 1,
172
+ "y": 1
173
+ },
174
+ {
175
+ "patternId": "arrow_left",
176
+ "rotation": 270,
177
+ "x": 2,
178
+ "y": 1
179
+ },
180
+ {
181
+ "patternId": "P",
182
+ "rotation": 270,
183
+ "x": 3,
184
+ "y": 1
185
+ },
186
+ {
187
+ "patternId": "arrow_down",
188
+ "rotation": 270,
189
+ "x": 3,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "plus",
194
+ "rotation": 90,
195
+ "x": 4,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "P",
200
+ "rotation": 180,
201
+ "x": 4,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "arrow_down",
206
+ "rotation": 180,
207
+ "x": 3,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "BACK",
213
+ "TOP",
214
+ "RIGHT",
215
+ "BOTTOM",
216
+ "BACK",
217
+ "LEFT",
218
+ "BOTTOM",
219
+ "BACK"
220
+ ],
221
+ "required_slots": [
222
+ "BACK",
223
+ "TOP",
224
+ "RIGHT",
225
+ "BOTTOM",
226
+ "LEFT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "diamond",
233
+ "rotation": 0
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "P",
237
+ "rotation": 90
238
+ },
239
+ "FRONT": {
240
+ "patternId": "?",
241
+ "rotation": 0
242
+ },
243
+ "BACK": {
244
+ "patternId": "arrow_down",
245
+ "rotation": 90
246
+ },
247
+ "LEFT": {
248
+ "patternId": "plus",
249
+ "rotation": 180
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "arrow_left",
253
+ "rotation": 270
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "diamond",
260
+ "rotation": 0
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "P",
264
+ "rotation": 90
265
+ },
266
+ "FRONT": {
267
+ "patternId": "?",
268
+ "rotation": 0
269
+ },
270
+ "BACK": {
271
+ "patternId": "arrow_down",
272
+ "rotation": 90
273
+ },
274
+ "LEFT": {
275
+ "patternId": "plus",
276
+ "rotation": 180
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "arrow_left",
280
+ "rotation": 270
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C344\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): N -> N -> E -> E -> S -> E -> N -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=arrow_down, rotation=90, flipVertical=true\n- step 2: patternId=diamond, rotation=0, flipVertical=true\n- step 3: patternId=arrow_left, rotation=270, flipVertical=true\n- step 4: patternId=P, rotation=270, flipVertical=true\n- step 5: patternId=arrow_down, rotation=270, flipVertical=true\n- step 6: patternId=plus, rotation=90, flipVertical=true\n- step 7: patternId=P, rotation=180, flipVertical=true\n- step 8: patternId=arrow_down, rotation=180, flipVertical=true\n- allowed patternId values for this task: arrow_down, diamond, arrow_left, P, 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."
286
+ }
287
+ }
cube1/data/C345.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C345",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> N -> W -> S -> E -> N -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "N",
9
+ "W",
10
+ "S",
11
+ "E",
12
+ "N",
13
+ "N",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "heart",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "E",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "4",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "arrow_left",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "E",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "4",
49
+ "rotation": 180,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "arrow_left",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "heart",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "circle",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C345_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 345,
78
+ "name": "Reconstruct 345",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-345.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "E",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "heart",
95
+ "rotation": 0,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "arrow_left",
101
+ "rotation": 270,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "4",
107
+ "rotation": 90,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "heart",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "circle",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "E",
126
+ "heart",
127
+ "arrow_left",
128
+ "4",
129
+ "heart",
130
+ "circle"
131
+ ],
132
+ "start_x": 4,
133
+ "start_y": 3,
134
+ "grid_width": 6,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "E",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "circle",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "heart",
147
+ "rotation": 0
148
+ },
149
+ "BACK": {
150
+ "patternId": "4",
151
+ "rotation": 270
152
+ },
153
+ "LEFT": {
154
+ "patternId": "heart",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "arrow_left",
159
+ "rotation": 0
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "circle",
165
+ "rotation": 180,
166
+ "x": 4,
167
+ "y": 3
168
+ },
169
+ {
170
+ "patternId": "heart",
171
+ "rotation": 180,
172
+ "x": 3,
173
+ "y": 3
174
+ },
175
+ {
176
+ "patternId": "E",
177
+ "rotation": 90,
178
+ "x": 2,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "4",
183
+ "rotation": 270,
184
+ "x": 2,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "arrow_left",
189
+ "rotation": 0,
190
+ "x": 1,
191
+ "y": 2
192
+ },
193
+ {
194
+ "patternId": "E",
195
+ "rotation": 0,
196
+ "x": 1,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "4",
201
+ "rotation": 180,
202
+ "x": 2,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "arrow_left",
207
+ "rotation": 270,
208
+ "x": 2,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "heart",
213
+ "rotation": 270,
214
+ "x": 2,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "circle",
219
+ "rotation": 90,
220
+ "x": 3,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "TOP",
227
+ "BACK",
228
+ "RIGHT",
229
+ "TOP",
230
+ "BACK",
231
+ "RIGHT",
232
+ "FRONT",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "TOP",
238
+ "BACK",
239
+ "RIGHT",
240
+ "FRONT",
241
+ "BOTTOM"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "E",
248
+ "rotation": 270
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "circle",
252
+ "rotation": 180
253
+ },
254
+ "FRONT": {
255
+ "patternId": "heart",
256
+ "rotation": 0
257
+ },
258
+ "BACK": {
259
+ "patternId": "4",
260
+ "rotation": 90
261
+ },
262
+ "LEFT": {
263
+ "patternId": "heart",
264
+ "rotation": 0
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "arrow_left",
268
+ "rotation": 270
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "E",
275
+ "rotation": 270
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "circle",
279
+ "rotation": 180
280
+ },
281
+ "FRONT": {
282
+ "patternId": "heart",
283
+ "rotation": 0
284
+ },
285
+ "BACK": {
286
+ "patternId": "4",
287
+ "rotation": 90
288
+ },
289
+ "LEFT": {
290
+ "patternId": "heart",
291
+ "rotation": 0
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "arrow_left",
295
+ "rotation": 270
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C345\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> N -> W -> S -> E -> N -> N -> E\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=E, rotation=90, flipVertical=true\n- step 3: patternId=4, rotation=270, flipVertical=true\n- step 4: patternId=arrow_left, rotation=0, flipVertical=true\n- step 5: patternId=E, rotation=0, flipVertical=true\n- step 6: patternId=4, rotation=180, flipVertical=true\n- step 7: patternId=arrow_left, rotation=270, flipVertical=true\n- step 8: patternId=heart, rotation=270, flipVertical=true\n- step 9: patternId=circle, rotation=90, flipVertical=true\n- allowed patternId values for this task: heart, E, 4, arrow_left, 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."
301
+ }
302
+ }
cube1/data/C346.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C346",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S -> N -> N -> N -> W -> N -> E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "N",
9
+ "N",
10
+ "N",
11
+ "W",
12
+ "N",
13
+ "E",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "diamond",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "B",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "diamond",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "F",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "3",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "4",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "B",
55
+ "rotation": 0,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "3",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "F",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C346_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 346,
78
+ "name": "Reconstruct 346",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-346.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "B",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "diamond",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "G",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "3",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "4",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "F",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "B",
126
+ "diamond",
127
+ "G",
128
+ "3",
129
+ "4",
130
+ "F"
131
+ ],
132
+ "start_x": 2,
133
+ "start_y": 3,
134
+ "grid_width": 5,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "B",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "F",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "diamond",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "3",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "4",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "G",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "F",
165
+ "rotation": 90,
166
+ "x": 2,
167
+ "y": 3
168
+ },
169
+ {
170
+ "patternId": "diamond",
171
+ "rotation": 270,
172
+ "x": 2,
173
+ "y": 4
174
+ },
175
+ {
176
+ "patternId": "B",
177
+ "rotation": 270,
178
+ "x": 2,
179
+ "y": 5
180
+ },
181
+ {
182
+ "patternId": "diamond",
183
+ "rotation": 270,
184
+ "x": 2,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "F",
189
+ "rotation": 90,
190
+ "x": 2,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "3",
195
+ "rotation": 270,
196
+ "x": 2,
197
+ "y": 2
198
+ },
199
+ {
200
+ "patternId": "4",
201
+ "rotation": 90,
202
+ "x": 1,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "B",
207
+ "rotation": 0,
208
+ "x": 1,
209
+ "y": 1
210
+ },
211
+ {
212
+ "patternId": "3",
213
+ "rotation": 0,
214
+ "x": 2,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "F",
219
+ "rotation": 180,
220
+ "x": 3,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "TOP",
227
+ "FRONT",
228
+ "BOTTOM",
229
+ "BACK",
230
+ "LEFT",
231
+ "TOP",
232
+ "BACK",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "TOP",
238
+ "BOTTOM",
239
+ "BACK",
240
+ "LEFT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "B",
247
+ "rotation": 270
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "F",
251
+ "rotation": 90
252
+ },
253
+ "FRONT": {
254
+ "patternId": "diamond",
255
+ "rotation": 270
256
+ },
257
+ "BACK": {
258
+ "patternId": "3",
259
+ "rotation": 270
260
+ },
261
+ "LEFT": {
262
+ "patternId": "4",
263
+ "rotation": 0
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "?",
267
+ "rotation": 0
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "B",
274
+ "rotation": 270
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "F",
278
+ "rotation": 90
279
+ },
280
+ "FRONT": {
281
+ "patternId": "diamond",
282
+ "rotation": 270
283
+ },
284
+ "BACK": {
285
+ "patternId": "3",
286
+ "rotation": 270
287
+ },
288
+ "LEFT": {
289
+ "patternId": "4",
290
+ "rotation": 0
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "?",
294
+ "rotation": 0
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C346\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> N -> N -> N -> W -> N -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=diamond, rotation=270, flipVertical=true\n- step 2: patternId=B, rotation=270, flipVertical=true\n- step 3: patternId=diamond, rotation=270, flipVertical=true\n- step 4: patternId=F, rotation=90, flipVertical=true\n- step 5: patternId=3, rotation=270, flipVertical=true\n- step 6: patternId=4, rotation=90, flipVertical=true\n- step 7: patternId=B, rotation=0, flipVertical=true\n- step 8: patternId=3, rotation=0, flipVertical=true\n- step 9: patternId=F, rotation=180, flipVertical=true\n- allowed patternId values for this task: diamond, B, F, 3, 4, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
300
+ }
301
+ }
cube1/data/C347.json ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C347",
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 -> S -> W -> N -> 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
+ "N",
8
+ "E",
9
+ "S",
10
+ "W",
11
+ "N",
12
+ "S",
13
+ "E",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "2",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "T",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "S",
31
+ "rotation": 0,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "2",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "T",
43
+ "rotation": 180,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "S",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "T",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "2",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "arrow_right",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C347_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 347,
78
+ "name": "Reconstruct 347",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-347.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "S",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "E",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "2",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "T",
107
+ "rotation": 180,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "G",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "arrow_right",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "S",
126
+ "E",
127
+ "2",
128
+ "T",
129
+ "G",
130
+ "arrow_right"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 2,
134
+ "grid_width": 5,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "S",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "arrow_right",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "E",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "T",
151
+ "rotation": 0
152
+ },
153
+ "LEFT": {
154
+ "patternId": "G",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "2",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "arrow_right",
165
+ "rotation": 180,
166
+ "x": 1,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "2",
171
+ "rotation": 0,
172
+ "x": 2,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "T",
177
+ "rotation": 90,
178
+ "x": 2,
179
+ "y": 1
180
+ },
181
+ {
182
+ "patternId": "S",
183
+ "rotation": 0,
184
+ "x": 3,
185
+ "y": 1
186
+ },
187
+ {
188
+ "patternId": "2",
189
+ "rotation": 90,
190
+ "x": 3,
191
+ "y": 2
192
+ },
193
+ {
194
+ "patternId": "T",
195
+ "rotation": 180,
196
+ "x": 2,
197
+ "y": 2
198
+ },
199
+ {
200
+ "patternId": "S",
201
+ "rotation": 90,
202
+ "x": 2,
203
+ "y": 1
204
+ },
205
+ {
206
+ "patternId": "T",
207
+ "rotation": 180,
208
+ "x": 2,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "2",
213
+ "rotation": 90,
214
+ "x": 3,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "arrow_right",
219
+ "rotation": 270,
220
+ "x": 3,
221
+ "y": 3
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BACK",
227
+ "TOP",
228
+ "RIGHT",
229
+ "BACK",
230
+ "TOP",
231
+ "BACK",
232
+ "RIGHT",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BACK",
238
+ "TOP",
239
+ "BOTTOM"
240
+ ],
241
+ "required_count": 4,
242
+ "answer": {
243
+ "faces": {
244
+ "TOP": {
245
+ "patternId": "S",
246
+ "rotation": 90
247
+ },
248
+ "BOTTOM": {
249
+ "patternId": "arrow_right",
250
+ "rotation": 180
251
+ },
252
+ "FRONT": {
253
+ "patternId": "?",
254
+ "rotation": 0
255
+ },
256
+ "BACK": {
257
+ "patternId": "T",
258
+ "rotation": 180
259
+ },
260
+ "LEFT": {
261
+ "patternId": "?",
262
+ "rotation": 0
263
+ },
264
+ "RIGHT": {
265
+ "patternId": "2",
266
+ "rotation": 180
267
+ }
268
+ }
269
+ },
270
+ "legacy_answer": {
271
+ "TOP": {
272
+ "patternId": "S",
273
+ "rotation": 90
274
+ },
275
+ "BOTTOM": {
276
+ "patternId": "arrow_right",
277
+ "rotation": 180
278
+ },
279
+ "FRONT": {
280
+ "patternId": "?",
281
+ "rotation": 0
282
+ },
283
+ "BACK": {
284
+ "patternId": "T",
285
+ "rotation": 180
286
+ },
287
+ "LEFT": {
288
+ "patternId": "?",
289
+ "rotation": 0
290
+ },
291
+ "RIGHT": {
292
+ "patternId": "2",
293
+ "rotation": 180
294
+ }
295
+ },
296
+ "prompt": {
297
+ "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.",
298
+ "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: C347\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> E -> S -> W -> N -> S -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=2, rotation=0, flipVertical=true\n- step 2: patternId=T, rotation=90, flipVertical=true\n- step 3: patternId=S, rotation=0, flipVertical=true\n- step 4: patternId=2, rotation=90, flipVertical=true\n- step 5: patternId=T, rotation=180, flipVertical=true\n- step 6: patternId=S, rotation=90, flipVertical=true\n- step 7: patternId=T, rotation=180, flipVertical=true\n- step 8: patternId=2, rotation=90, flipVertical=true\n- step 9: patternId=arrow_right, rotation=270, flipVertical=true\n- allowed patternId values for this task: 2, T, S, 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."
299
+ }
300
+ }
cube1/data/C348.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C348",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E -> E -> S -> S -> S -> E -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E",
8
+ "E",
9
+ "S",
10
+ "S",
11
+ "S",
12
+ "E",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "W",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "3",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "2",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "W",
36
+ "rotation": 0,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "W",
42
+ "rotation": 180,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "7",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "P",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "7",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C348_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 348,
71
+ "name": "Reconstruct 348",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-348.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "7",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "2",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "3",
94
+ "rotation": 270,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "W",
100
+ "rotation": 0,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "P",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "W",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "7",
119
+ "2",
120
+ "3",
121
+ "W",
122
+ "P",
123
+ "W"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 2,
127
+ "grid_width": 6,
128
+ "grid_height": 6,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "7",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "W",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "2",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "W",
144
+ "rotation": 180
145
+ },
146
+ "LEFT": {
147
+ "patternId": "P",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "3",
152
+ "rotation": 0
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "W",
158
+ "rotation": 180,
159
+ "x": 1,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "W",
164
+ "rotation": 0,
165
+ "x": 1,
166
+ "y": 1
167
+ },
168
+ {
169
+ "patternId": "3",
170
+ "rotation": 180,
171
+ "x": 2,
172
+ "y": 1
173
+ },
174
+ {
175
+ "patternId": "2",
176
+ "rotation": 90,
177
+ "x": 3,
178
+ "y": 1
179
+ },
180
+ {
181
+ "patternId": "W",
182
+ "rotation": 0,
183
+ "x": 3,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "W",
188
+ "rotation": 180,
189
+ "x": 3,
190
+ "y": 3
191
+ },
192
+ {
193
+ "patternId": "7",
194
+ "rotation": 180,
195
+ "x": 3,
196
+ "y": 4
197
+ },
198
+ {
199
+ "patternId": "P",
200
+ "rotation": 180,
201
+ "x": 4,
202
+ "y": 4
203
+ },
204
+ {
205
+ "patternId": "7",
206
+ "rotation": 180,
207
+ "x": 3,
208
+ "y": 4
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "BACK",
213
+ "RIGHT",
214
+ "FRONT",
215
+ "BOTTOM",
216
+ "BACK",
217
+ "TOP",
218
+ "LEFT",
219
+ "TOP"
220
+ ],
221
+ "required_slots": [
222
+ "BACK",
223
+ "RIGHT",
224
+ "FRONT",
225
+ "BOTTOM",
226
+ "TOP",
227
+ "LEFT"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "7",
234
+ "rotation": 0
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "W",
238
+ "rotation": 180
239
+ },
240
+ "FRONT": {
241
+ "patternId": "2",
242
+ "rotation": 270
243
+ },
244
+ "BACK": {
245
+ "patternId": "W",
246
+ "rotation": 0
247
+ },
248
+ "LEFT": {
249
+ "patternId": "P",
250
+ "rotation": 0
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "3",
254
+ "rotation": 270
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "7",
261
+ "rotation": 0
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "W",
265
+ "rotation": 180
266
+ },
267
+ "FRONT": {
268
+ "patternId": "2",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "W",
273
+ "rotation": 0
274
+ },
275
+ "LEFT": {
276
+ "patternId": "P",
277
+ "rotation": 0
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "3",
281
+ "rotation": 270
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C348\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> E -> S -> S -> S -> E -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=W, rotation=0, flipVertical=true\n- step 2: patternId=3, rotation=180, flipVertical=true\n- step 3: patternId=2, rotation=90, flipVertical=true\n- step 4: patternId=W, rotation=0, flipVertical=true\n- step 5: patternId=W, rotation=180, flipVertical=true\n- step 6: patternId=7, rotation=180, flipVertical=true\n- step 7: patternId=P, rotation=180, flipVertical=true\n- step 8: patternId=7, rotation=180, flipVertical=true\n- allowed patternId values for this task: W, 3, 2, 7, P, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
287
+ }
288
+ }
cube1/data/C349.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C349",
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 -> W -> E -> N -> W -> N -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "W",
8
+ "N",
9
+ "W",
10
+ "E",
11
+ "N",
12
+ "W",
13
+ "N",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "G",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "G",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "arrow_up",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "arrow_up",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "arrow_up",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "Q",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "arrow_up",
55
+ "rotation": 0,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "plus",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "G",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C349_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 349,
78
+ "name": "Reconstruct 349",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-349.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "plus",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "G",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "Q",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "arrow_up",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "G",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "arrow_up",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "plus",
126
+ "G",
127
+ "Q",
128
+ "arrow_up",
129
+ "G",
130
+ "arrow_up"
131
+ ],
132
+ "start_x": 4,
133
+ "start_y": 3,
134
+ "grid_width": 6,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "plus",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "arrow_up",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "G",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "arrow_up",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "G",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "Q",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "arrow_up",
165
+ "rotation": 180,
166
+ "x": 4,
167
+ "y": 3
168
+ },
169
+ {
170
+ "patternId": "G",
171
+ "rotation": 180,
172
+ "x": 4,
173
+ "y": 4
174
+ },
175
+ {
176
+ "patternId": "G",
177
+ "rotation": 0,
178
+ "x": 3,
179
+ "y": 4
180
+ },
181
+ {
182
+ "patternId": "arrow_up",
183
+ "rotation": 270,
184
+ "x": 3,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "arrow_up",
189
+ "rotation": 90,
190
+ "x": 2,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "arrow_up",
195
+ "rotation": 270,
196
+ "x": 3,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "Q",
201
+ "rotation": 90,
202
+ "x": 3,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "arrow_up",
207
+ "rotation": 0,
208
+ "x": 2,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "plus",
213
+ "rotation": 0,
214
+ "x": 2,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "G",
219
+ "rotation": 90,
220
+ "x": 1,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "LEFT",
227
+ "BOTTOM",
228
+ "BACK",
229
+ "BOTTOM",
230
+ "RIGHT",
231
+ "BACK",
232
+ "TOP",
233
+ "LEFT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "LEFT",
238
+ "BOTTOM",
239
+ "BACK",
240
+ "RIGHT",
241
+ "TOP"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "plus",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "arrow_up",
252
+ "rotation": 180
253
+ },
254
+ "FRONT": {
255
+ "patternId": "G",
256
+ "rotation": 180
257
+ },
258
+ "BACK": {
259
+ "patternId": "arrow_up",
260
+ "rotation": 0
261
+ },
262
+ "LEFT": {
263
+ "patternId": "G",
264
+ "rotation": 90
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "Q",
268
+ "rotation": 180
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "plus",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "arrow_up",
279
+ "rotation": 180
280
+ },
281
+ "FRONT": {
282
+ "patternId": "G",
283
+ "rotation": 180
284
+ },
285
+ "BACK": {
286
+ "patternId": "arrow_up",
287
+ "rotation": 0
288
+ },
289
+ "LEFT": {
290
+ "patternId": "G",
291
+ "rotation": 90
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "Q",
295
+ "rotation": 180
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C349\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> N -> W -> E -> N -> W -> N -> W\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=G, rotation=0, flipVertical=true\n- step 3: patternId=arrow_up, rotation=270, flipVertical=true\n- step 4: patternId=arrow_up, rotation=90, flipVertical=true\n- step 5: patternId=arrow_up, rotation=270, flipVertical=true\n- step 6: patternId=Q, rotation=90, flipVertical=true\n- step 7: patternId=arrow_up, rotation=0, flipVertical=true\n- step 8: patternId=plus, rotation=0, flipVertical=true\n- step 9: patternId=G, rotation=90, flipVertical=true\n- allowed patternId values for this task: G, arrow_up, Q, 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."
301
+ }
302
+ }
cube1/data/C350.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C350",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> E -> S -> S -> W -> S -> S -> W -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "S",
9
+ "S",
10
+ "W",
11
+ "S",
12
+ "S",
13
+ "W",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "N",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "P",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "R",
31
+ "rotation": 90,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "V",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "N",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "arrow_up",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "H",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "P",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "N",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C350_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 350,
78
+ "name": "Reconstruct 350",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-350.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "R",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "N",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "P",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "H",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "V",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "arrow_up",
119
+ "rotation": 270,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "R",
126
+ "N",
127
+ "P",
128
+ "H",
129
+ "V",
130
+ "arrow_up"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 1,
134
+ "grid_width": 6,
135
+ "grid_height": 8,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "R",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "arrow_up",
143
+ "rotation": 270
144
+ },
145
+ "FRONT": {
146
+ "patternId": "N",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "H",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "V",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "P",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "arrow_up",
165
+ "rotation": 270,
166
+ "x": 3,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "N",
171
+ "rotation": 90,
172
+ "x": 3,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "P",
177
+ "rotation": 90,
178
+ "x": 4,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "R",
183
+ "rotation": 90,
184
+ "x": 4,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "V",
189
+ "rotation": 180,
190
+ "x": 4,
191
+ "y": 4
192
+ },
193
+ {
194
+ "patternId": "N",
195
+ "rotation": 270,
196
+ "x": 3,
197
+ "y": 4
198
+ },
199
+ {
200
+ "patternId": "arrow_up",
201
+ "rotation": 90,
202
+ "x": 3,
203
+ "y": 5
204
+ },
205
+ {
206
+ "patternId": "H",
207
+ "rotation": 180,
208
+ "x": 3,
209
+ "y": 6
210
+ },
211
+ {
212
+ "patternId": "P",
213
+ "rotation": 90,
214
+ "x": 2,
215
+ "y": 6
216
+ },
217
+ {
218
+ "patternId": "N",
219
+ "rotation": 90,
220
+ "x": 1,
221
+ "y": 6
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "RIGHT",
227
+ "TOP",
228
+ "LEFT",
229
+ "FRONT",
230
+ "BOTTOM",
231
+ "BACK",
232
+ "RIGHT",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "RIGHT",
238
+ "TOP",
239
+ "LEFT",
240
+ "BOTTOM",
241
+ "BACK"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "R",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "arrow_up",
252
+ "rotation": 270
253
+ },
254
+ "FRONT": {
255
+ "patternId": "N",
256
+ "rotation": 90
257
+ },
258
+ "BACK": {
259
+ "patternId": "H",
260
+ "rotation": 0
261
+ },
262
+ "LEFT": {
263
+ "patternId": "V",
264
+ "rotation": 90
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "P",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "R",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "arrow_up",
279
+ "rotation": 270
280
+ },
281
+ "FRONT": {
282
+ "patternId": "N",
283
+ "rotation": 90
284
+ },
285
+ "BACK": {
286
+ "patternId": "H",
287
+ "rotation": 0
288
+ },
289
+ "LEFT": {
290
+ "patternId": "V",
291
+ "rotation": 90
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "P",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C350\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> S -> S -> W -> S -> S -> W -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=N, rotation=90, flipVertical=true\n- step 2: patternId=P, rotation=90, flipVertical=true\n- step 3: patternId=R, rotation=90, flipVertical=true\n- step 4: patternId=V, rotation=180, flipVertical=true\n- step 5: patternId=N, rotation=270, flipVertical=true\n- step 6: patternId=arrow_up, rotation=90, flipVertical=true\n- step 7: patternId=H, rotation=180, flipVertical=true\n- step 8: patternId=P, rotation=90, flipVertical=true\n- step 9: patternId=N, rotation=90, flipVertical=true\n- allowed patternId values for this task: N, P, R, V, arrow_up, 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."
301
+ }
302
+ }
cube1/data/C351.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C351",
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 -> N -> W -> N -> E -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "E",
9
+ "N",
10
+ "W",
11
+ "N",
12
+ "E",
13
+ "E"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "7",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "F",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "smile",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "7",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "F",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "E",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "7",
54
+ "rotation": 180,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "smile",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C351_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 351,
71
+ "name": "Reconstruct 351",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-351.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "smile",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "F",
88
+ "rotation": 90,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "7",
94
+ "rotation": 0,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "F",
100
+ "rotation": 0,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "heart",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "E",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "smile",
119
+ "F",
120
+ "7",
121
+ "F",
122
+ "heart",
123
+ "E"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 2,
127
+ "grid_width": 6,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "smile",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "E",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "F",
140
+ "rotation": 90
141
+ },
142
+ "BACK": {
143
+ "patternId": "F",
144
+ "rotation": 180
145
+ },
146
+ "LEFT": {
147
+ "patternId": "heart",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "7",
152
+ "rotation": 90
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "E",
158
+ "rotation": 180,
159
+ "x": 1,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "7",
164
+ "rotation": 180,
165
+ "x": 2,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "F",
170
+ "rotation": 180,
171
+ "x": 2,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "smile",
176
+ "rotation": 270,
177
+ "x": 3,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "7",
182
+ "rotation": 90,
183
+ "x": 3,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "F",
188
+ "rotation": 90,
189
+ "x": 2,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "E",
194
+ "rotation": 180,
195
+ "x": 2,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "7",
200
+ "rotation": 180,
201
+ "x": 3,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "smile",
206
+ "rotation": 0,
207
+ "x": 4,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "RIGHT",
213
+ "FRONT",
214
+ "TOP",
215
+ "RIGHT",
216
+ "FRONT",
217
+ "BOTTOM",
218
+ "RIGHT",
219
+ "TOP"
220
+ ],
221
+ "required_slots": [
222
+ "RIGHT",
223
+ "FRONT",
224
+ "TOP",
225
+ "BOTTOM"
226
+ ],
227
+ "required_count": 4,
228
+ "answer": {
229
+ "faces": {
230
+ "TOP": {
231
+ "patternId": "smile",
232
+ "rotation": 180
233
+ },
234
+ "BOTTOM": {
235
+ "patternId": "E",
236
+ "rotation": 180
237
+ },
238
+ "FRONT": {
239
+ "patternId": "F",
240
+ "rotation": 90
241
+ },
242
+ "BACK": {
243
+ "patternId": "?",
244
+ "rotation": 0
245
+ },
246
+ "LEFT": {
247
+ "patternId": "?",
248
+ "rotation": 0
249
+ },
250
+ "RIGHT": {
251
+ "patternId": "7",
252
+ "rotation": 0
253
+ }
254
+ }
255
+ },
256
+ "legacy_answer": {
257
+ "TOP": {
258
+ "patternId": "smile",
259
+ "rotation": 180
260
+ },
261
+ "BOTTOM": {
262
+ "patternId": "E",
263
+ "rotation": 180
264
+ },
265
+ "FRONT": {
266
+ "patternId": "F",
267
+ "rotation": 90
268
+ },
269
+ "BACK": {
270
+ "patternId": "?",
271
+ "rotation": 0
272
+ },
273
+ "LEFT": {
274
+ "patternId": "?",
275
+ "rotation": 0
276
+ },
277
+ "RIGHT": {
278
+ "patternId": "7",
279
+ "rotation": 0
280
+ }
281
+ },
282
+ "prompt": {
283
+ "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.",
284
+ "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: C351\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> E -> N -> W -> N -> E -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=7, rotation=180, flipVertical=true\n- step 2: patternId=F, rotation=180, flipVertical=true\n- step 3: patternId=smile, rotation=270, flipVertical=true\n- step 4: patternId=7, rotation=90, flipVertical=true\n- step 5: patternId=F, rotation=90, flipVertical=true\n- step 6: patternId=E, rotation=180, flipVertical=true\n- step 7: patternId=7, rotation=180, flipVertical=true\n- step 8: patternId=smile, rotation=0, flipVertical=true\n- allowed patternId values for this task: 7, F, smile, 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."
285
+ }
286
+ }
cube1/data/C352.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C352",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> S -> W -> N -> E -> E -> 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
+ "W",
9
+ "N",
10
+ "E",
11
+ "E",
12
+ "S",
13
+ "E",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "7",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "V",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "S",
31
+ "rotation": 90,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "7",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "V",
43
+ "rotation": 180,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "K",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "S",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "U",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "N",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C352_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 352,
78
+ "name": "Reconstruct 352",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-352.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "S",
89
+ "rotation": 180,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "V",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "K",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "U",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "7",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "N",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "S",
126
+ "V",
127
+ "K",
128
+ "U",
129
+ "7",
130
+ "N"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 1,
134
+ "grid_width": 7,
135
+ "grid_height": 4,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "S",
139
+ "rotation": 180
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "N",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "V",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "U",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "7",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "K",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "N",
165
+ "rotation": 180,
166
+ "x": 3,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "7",
171
+ "rotation": 270,
172
+ "x": 2,
173
+ "y": 1
174
+ },
175
+ {
176
+ "patternId": "V",
177
+ "rotation": 90,
178
+ "x": 2,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "S",
183
+ "rotation": 90,
184
+ "x": 1,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "7",
189
+ "rotation": 0,
190
+ "x": 1,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "V",
195
+ "rotation": 180,
196
+ "x": 2,
197
+ "y": 1
198
+ },
199
+ {
200
+ "patternId": "K",
201
+ "rotation": 90,
202
+ "x": 3,
203
+ "y": 1
204
+ },
205
+ {
206
+ "patternId": "S",
207
+ "rotation": 270,
208
+ "x": 3,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "U",
213
+ "rotation": 0,
214
+ "x": 4,
215
+ "y": 2
216
+ },
217
+ {
218
+ "patternId": "N",
219
+ "rotation": 270,
220
+ "x": 5,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "FRONT",
227
+ "TOP",
228
+ "LEFT",
229
+ "FRONT",
230
+ "RIGHT",
231
+ "TOP",
232
+ "BACK",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "FRONT",
238
+ "TOP",
239
+ "RIGHT",
240
+ "BACK",
241
+ "BOTTOM"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "S",
248
+ "rotation": 180
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "N",
252
+ "rotation": 180
253
+ },
254
+ "FRONT": {
255
+ "patternId": "V",
256
+ "rotation": 180
257
+ },
258
+ "BACK": {
259
+ "patternId": "U",
260
+ "rotation": 270
261
+ },
262
+ "LEFT": {
263
+ "patternId": "7",
264
+ "rotation": 90
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "K",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "S",
275
+ "rotation": 180
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "N",
279
+ "rotation": 180
280
+ },
281
+ "FRONT": {
282
+ "patternId": "V",
283
+ "rotation": 180
284
+ },
285
+ "BACK": {
286
+ "patternId": "U",
287
+ "rotation": 270
288
+ },
289
+ "LEFT": {
290
+ "patternId": "7",
291
+ "rotation": 90
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "K",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C352\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W -> N -> E -> E -> S -> E -> E\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=V, rotation=90, flipVertical=true\n- step 3: patternId=S, rotation=90, flipVertical=true\n- step 4: patternId=7, rotation=0, flipVertical=true\n- step 5: patternId=V, rotation=180, flipVertical=true\n- step 6: patternId=K, rotation=90, flipVertical=true\n- step 7: patternId=S, rotation=270, flipVertical=true\n- step 8: patternId=U, rotation=0, flipVertical=true\n- step 9: patternId=N, rotation=270, flipVertical=true\n- allowed patternId values for this task: 7, V, S, K, U, N, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
301
+ }
302
+ }
cube1/data/C353.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C353",
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 -> W -> E -> W -> S -> E -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "W",
9
+ "E",
10
+ "W",
11
+ "S",
12
+ "E",
13
+ "S",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "C",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "G",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "T",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "G",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "T",
43
+ "rotation": 180,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "square",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "G",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "J",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "C",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C353_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 353,
78
+ "name": "Reconstruct 353",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-353.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "G",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "C",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "J",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "square",
107
+ "rotation": 180,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "T",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "G",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "G",
126
+ "C",
127
+ "J",
128
+ "square",
129
+ "T",
130
+ "G"
131
+ ],
132
+ "start_x": 2,
133
+ "start_y": 1,
134
+ "grid_width": 5,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "G",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "G",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "C",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "square",
151
+ "rotation": 0
152
+ },
153
+ "LEFT": {
154
+ "patternId": "T",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "J",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "G",
165
+ "rotation": 0,
166
+ "x": 2,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "C",
171
+ "rotation": 90,
172
+ "x": 2,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "G",
177
+ "rotation": 0,
178
+ "x": 2,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "T",
183
+ "rotation": 180,
184
+ "x": 1,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "G",
189
+ "rotation": 0,
190
+ "x": 2,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "T",
195
+ "rotation": 180,
196
+ "x": 1,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "square",
201
+ "rotation": 90,
202
+ "x": 1,
203
+ "y": 4
204
+ },
205
+ {
206
+ "patternId": "G",
207
+ "rotation": 270,
208
+ "x": 2,
209
+ "y": 4
210
+ },
211
+ {
212
+ "patternId": "J",
213
+ "rotation": 0,
214
+ "x": 2,
215
+ "y": 5
216
+ },
217
+ {
218
+ "patternId": "C",
219
+ "rotation": 270,
220
+ "x": 3,
221
+ "y": 5
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "TOP",
227
+ "LEFT",
228
+ "TOP",
229
+ "LEFT",
230
+ "BACK",
231
+ "TOP",
232
+ "RIGHT",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "TOP",
238
+ "LEFT",
239
+ "BACK",
240
+ "RIGHT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "G",
247
+ "rotation": 0
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "?",
251
+ "rotation": 0
252
+ },
253
+ "FRONT": {
254
+ "patternId": "C",
255
+ "rotation": 90
256
+ },
257
+ "BACK": {
258
+ "patternId": "square",
259
+ "rotation": 180
260
+ },
261
+ "LEFT": {
262
+ "patternId": "T",
263
+ "rotation": 180
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "J",
267
+ "rotation": 90
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "G",
274
+ "rotation": 0
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "?",
278
+ "rotation": 0
279
+ },
280
+ "FRONT": {
281
+ "patternId": "C",
282
+ "rotation": 90
283
+ },
284
+ "BACK": {
285
+ "patternId": "square",
286
+ "rotation": 180
287
+ },
288
+ "LEFT": {
289
+ "patternId": "T",
290
+ "rotation": 180
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "J",
294
+ "rotation": 90
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C353\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> W -> E -> W -> S -> E -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=C, rotation=90, flipVertical=true\n- step 2: patternId=G, rotation=0, flipVertical=true\n- step 3: patternId=T, rotation=180, flipVertical=true\n- step 4: patternId=G, rotation=0, flipVertical=true\n- step 5: patternId=T, rotation=180, flipVertical=true\n- step 6: patternId=square, rotation=90, flipVertical=true\n- step 7: patternId=G, rotation=270, flipVertical=true\n- step 8: patternId=J, rotation=0, flipVertical=true\n- step 9: patternId=C, rotation=270, flipVertical=true\n- allowed patternId values for this task: C, G, T, square, 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."
300
+ }
301
+ }
cube1/data/C354.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C354",
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 -> S -> W -> S -> W -> N\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "S",
8
+ "S",
9
+ "S",
10
+ "W",
11
+ "S",
12
+ "W",
13
+ "N"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "6",
18
+ "rotation": 270,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "star",
24
+ "rotation": 180,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "P",
30
+ "rotation": 180,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "arrow_down",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "A",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "6",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "star",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "A",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C354_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 354,
71
+ "name": "Reconstruct 354",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-354.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "C",
82
+ "rotation": 0,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "star",
88
+ "rotation": 90,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "6",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "arrow_down",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "P",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "A",
112
+ "rotation": 180,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "C",
119
+ "star",
120
+ "6",
121
+ "arrow_down",
122
+ "P",
123
+ "A"
124
+ ],
125
+ "start_x": 2,
126
+ "start_y": 1,
127
+ "grid_width": 5,
128
+ "grid_height": 7,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "C",
132
+ "rotation": 0
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "A",
136
+ "rotation": 180
137
+ },
138
+ "FRONT": {
139
+ "patternId": "star",
140
+ "rotation": 90
141
+ },
142
+ "BACK": {
143
+ "patternId": "arrow_down",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "P",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "6",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "A",
158
+ "rotation": 180,
159
+ "x": 2,
160
+ "y": 1
161
+ },
162
+ {
163
+ "patternId": "6",
164
+ "rotation": 270,
165
+ "x": 3,
166
+ "y": 1
167
+ },
168
+ {
169
+ "patternId": "star",
170
+ "rotation": 180,
171
+ "x": 3,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "P",
176
+ "rotation": 180,
177
+ "x": 3,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "arrow_down",
182
+ "rotation": 90,
183
+ "x": 3,
184
+ "y": 4
185
+ },
186
+ {
187
+ "patternId": "A",
188
+ "rotation": 90,
189
+ "x": 2,
190
+ "y": 4
191
+ },
192
+ {
193
+ "patternId": "6",
194
+ "rotation": 180,
195
+ "x": 2,
196
+ "y": 5
197
+ },
198
+ {
199
+ "patternId": "star",
200
+ "rotation": 90,
201
+ "x": 1,
202
+ "y": 5
203
+ },
204
+ {
205
+ "patternId": "A",
206
+ "rotation": 180,
207
+ "x": 1,
208
+ "y": 4
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "RIGHT",
213
+ "FRONT",
214
+ "LEFT",
215
+ "BACK",
216
+ "BOTTOM",
217
+ "RIGHT",
218
+ "FRONT",
219
+ "BOTTOM"
220
+ ],
221
+ "required_slots": [
222
+ "RIGHT",
223
+ "FRONT",
224
+ "LEFT",
225
+ "BACK",
226
+ "BOTTOM"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "?",
233
+ "rotation": 0
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "A",
237
+ "rotation": 180
238
+ },
239
+ "FRONT": {
240
+ "patternId": "star",
241
+ "rotation": 90
242
+ },
243
+ "BACK": {
244
+ "patternId": "arrow_down",
245
+ "rotation": 180
246
+ },
247
+ "LEFT": {
248
+ "patternId": "P",
249
+ "rotation": 180
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "6",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "?",
260
+ "rotation": 0
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "A",
264
+ "rotation": 180
265
+ },
266
+ "FRONT": {
267
+ "patternId": "star",
268
+ "rotation": 90
269
+ },
270
+ "BACK": {
271
+ "patternId": "arrow_down",
272
+ "rotation": 180
273
+ },
274
+ "LEFT": {
275
+ "patternId": "P",
276
+ "rotation": 180
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "6",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C354\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): E -> S -> S -> S -> W -> S -> W -> N\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=6, rotation=270, flipVertical=true\n- step 2: patternId=star, rotation=180, flipVertical=true\n- step 3: patternId=P, rotation=180, flipVertical=true\n- step 4: patternId=arrow_down, rotation=90, flipVertical=true\n- step 5: patternId=A, rotation=90, flipVertical=true\n- step 6: patternId=6, rotation=180, flipVertical=true\n- step 7: patternId=star, rotation=90, flipVertical=true\n- step 8: patternId=A, rotation=180, flipVertical=true\n- allowed patternId values for this task: 6, star, P, arrow_down, A, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
286
+ }
287
+ }
cube1/data/C355.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C355",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> S -> S -> E -> N -> W -> N -> N -> S\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "S",
8
+ "S",
9
+ "E",
10
+ "N",
11
+ "W",
12
+ "N",
13
+ "N",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "Y",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "smile",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "A",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "2",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "smile",
43
+ "rotation": 90,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "A",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "X",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "Y",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "X",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C355_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 355,
78
+ "name": "Reconstruct 355",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-355.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "O",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "A",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "2",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "Y",
107
+ "rotation": 0,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "X",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "smile",
119
+ "rotation": 180,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "O",
126
+ "A",
127
+ "2",
128
+ "Y",
129
+ "X",
130
+ "smile"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 3,
134
+ "grid_width": 4,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "O",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "smile",
143
+ "rotation": 180
144
+ },
145
+ "FRONT": {
146
+ "patternId": "A",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "Y",
151
+ "rotation": 180
152
+ },
153
+ "LEFT": {
154
+ "patternId": "X",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "2",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "smile",
165
+ "rotation": 180,
166
+ "x": 1,
167
+ "y": 3
168
+ },
169
+ {
170
+ "patternId": "Y",
171
+ "rotation": 0,
172
+ "x": 1,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "smile",
177
+ "rotation": 180,
178
+ "x": 1,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "A",
183
+ "rotation": 180,
184
+ "x": 1,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "2",
189
+ "rotation": 90,
190
+ "x": 2,
191
+ "y": 4
192
+ },
193
+ {
194
+ "patternId": "smile",
195
+ "rotation": 90,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "A",
201
+ "rotation": 90,
202
+ "x": 1,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "X",
207
+ "rotation": 270,
208
+ "x": 1,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "Y",
213
+ "rotation": 90,
214
+ "x": 1,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "X",
219
+ "rotation": 270,
220
+ "x": 1,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "BACK",
226
+ "BOTTOM",
227
+ "FRONT",
228
+ "RIGHT",
229
+ "BOTTOM",
230
+ "FRONT",
231
+ "LEFT",
232
+ "BACK",
233
+ "LEFT"
234
+ ],
235
+ "required_slots": [
236
+ "BACK",
237
+ "BOTTOM",
238
+ "FRONT",
239
+ "RIGHT",
240
+ "LEFT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "?",
247
+ "rotation": 0
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "smile",
251
+ "rotation": 180
252
+ },
253
+ "FRONT": {
254
+ "patternId": "A",
255
+ "rotation": 180
256
+ },
257
+ "BACK": {
258
+ "patternId": "Y",
259
+ "rotation": 0
260
+ },
261
+ "LEFT": {
262
+ "patternId": "X",
263
+ "rotation": 90
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "2",
267
+ "rotation": 0
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "?",
274
+ "rotation": 0
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "smile",
278
+ "rotation": 180
279
+ },
280
+ "FRONT": {
281
+ "patternId": "A",
282
+ "rotation": 180
283
+ },
284
+ "BACK": {
285
+ "patternId": "Y",
286
+ "rotation": 0
287
+ },
288
+ "LEFT": {
289
+ "patternId": "X",
290
+ "rotation": 90
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "2",
294
+ "rotation": 0
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C355\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): N -> S -> S -> E -> N -> W -> N -> N -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Y, rotation=0, flipVertical=true\n- step 2: patternId=smile, rotation=180, flipVertical=true\n- step 3: patternId=A, rotation=180, flipVertical=true\n- step 4: patternId=2, rotation=90, flipVertical=true\n- step 5: patternId=smile, rotation=90, flipVertical=true\n- step 6: patternId=A, rotation=90, flipVertical=true\n- step 7: patternId=X, rotation=270, flipVertical=true\n- step 8: patternId=Y, rotation=90, flipVertical=true\n- step 9: patternId=X, rotation=270, flipVertical=true\n- allowed patternId values for this task: Y, smile, A, 2, 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."
300
+ }
301
+ }
cube1/data/C356.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C356",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: S -> S -> S -> W -> S -> W -> N -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "S",
8
+ "S",
9
+ "W",
10
+ "S",
11
+ "W",
12
+ "N",
13
+ "N",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "X",
19
+ "rotation": 0,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "Z",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "arrow_left",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "star",
37
+ "rotation": 270,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "Z",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "X",
49
+ "rotation": 270,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "star",
55
+ "rotation": 0,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "arrow_left",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "Z",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C356_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 356,
78
+ "name": "Reconstruct 356",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-356.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "Z",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "X",
95
+ "rotation": 0,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "6",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "arrow_left",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "star",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "Z",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "Z",
126
+ "X",
127
+ "6",
128
+ "arrow_left",
129
+ "star",
130
+ "Z"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 1,
134
+ "grid_width": 5,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "Z",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "Z",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "X",
147
+ "rotation": 0
148
+ },
149
+ "BACK": {
150
+ "patternId": "arrow_left",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "star",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "6",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "Z",
165
+ "rotation": 0,
166
+ "x": 3,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "X",
171
+ "rotation": 0,
172
+ "x": 3,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "Z",
177
+ "rotation": 270,
178
+ "x": 3,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "arrow_left",
183
+ "rotation": 270,
184
+ "x": 3,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "star",
189
+ "rotation": 270,
190
+ "x": 2,
191
+ "y": 4
192
+ },
193
+ {
194
+ "patternId": "Z",
195
+ "rotation": 270,
196
+ "x": 2,
197
+ "y": 5
198
+ },
199
+ {
200
+ "patternId": "X",
201
+ "rotation": 270,
202
+ "x": 1,
203
+ "y": 5
204
+ },
205
+ {
206
+ "patternId": "star",
207
+ "rotation": 0,
208
+ "x": 1,
209
+ "y": 4
210
+ },
211
+ {
212
+ "patternId": "arrow_left",
213
+ "rotation": 0,
214
+ "x": 1,
215
+ "y": 3
216
+ },
217
+ {
218
+ "patternId": "Z",
219
+ "rotation": 90,
220
+ "x": 2,
221
+ "y": 3
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "TOP",
227
+ "BACK",
228
+ "LEFT",
229
+ "BOTTOM",
230
+ "FRONT",
231
+ "LEFT",
232
+ "BACK",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "TOP",
238
+ "BACK",
239
+ "LEFT",
240
+ "BOTTOM"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "Z",
247
+ "rotation": 270
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "Z",
251
+ "rotation": 0
252
+ },
253
+ "FRONT": {
254
+ "patternId": "X",
255
+ "rotation": 0
256
+ },
257
+ "BACK": {
258
+ "patternId": "arrow_left",
259
+ "rotation": 270
260
+ },
261
+ "LEFT": {
262
+ "patternId": "star",
263
+ "rotation": 180
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "?",
267
+ "rotation": 0
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "Z",
274
+ "rotation": 270
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "Z",
278
+ "rotation": 0
279
+ },
280
+ "FRONT": {
281
+ "patternId": "X",
282
+ "rotation": 0
283
+ },
284
+ "BACK": {
285
+ "patternId": "arrow_left",
286
+ "rotation": 270
287
+ },
288
+ "LEFT": {
289
+ "patternId": "star",
290
+ "rotation": 180
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "?",
294
+ "rotation": 0
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C356\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> S -> S -> W -> S -> W -> N -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=X, rotation=0, flipVertical=true\n- step 2: patternId=Z, rotation=270, flipVertical=true\n- step 3: patternId=arrow_left, rotation=270, flipVertical=true\n- step 4: patternId=star, rotation=270, flipVertical=true\n- step 5: patternId=Z, rotation=270, flipVertical=true\n- step 6: patternId=X, rotation=270, flipVertical=true\n- step 7: patternId=star, rotation=0, flipVertical=true\n- step 8: patternId=arrow_left, rotation=0, flipVertical=true\n- step 9: patternId=Z, rotation=90, flipVertical=true\n- allowed patternId values for this task: X, Z, arrow_left, star, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
300
+ }
301
+ }
cube1/data/C357.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C357",
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 -> E -> N -> W -> N -> E -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "E",
9
+ "N",
10
+ "W",
11
+ "N",
12
+ "E",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "D",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "W",
24
+ "rotation": 270,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "7",
30
+ "rotation": 0,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "Z",
36
+ "rotation": 180,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "W",
42
+ "rotation": 180,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "D",
48
+ "rotation": 90,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "Z",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "D",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C357_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 357,
71
+ "name": "Reconstruct 357",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-357.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "3",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "D",
88
+ "rotation": 180,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "W",
94
+ "rotation": 180,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "7",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "G",
106
+ "rotation": 0,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "Z",
112
+ "rotation": 0,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "3",
119
+ "D",
120
+ "W",
121
+ "7",
122
+ "G",
123
+ "Z"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 2,
127
+ "grid_width": 5,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "3",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "Z",
136
+ "rotation": 0
137
+ },
138
+ "FRONT": {
139
+ "patternId": "D",
140
+ "rotation": 180
141
+ },
142
+ "BACK": {
143
+ "patternId": "7",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "G",
148
+ "rotation": 270
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "W",
152
+ "rotation": 270
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "Z",
158
+ "rotation": 0,
159
+ "x": 1,
160
+ "y": 2
161
+ },
162
+ {
163
+ "patternId": "D",
164
+ "rotation": 180,
165
+ "x": 1,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "W",
170
+ "rotation": 270,
171
+ "x": 2,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "7",
176
+ "rotation": 0,
177
+ "x": 3,
178
+ "y": 3
179
+ },
180
+ {
181
+ "patternId": "Z",
182
+ "rotation": 180,
183
+ "x": 3,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "W",
188
+ "rotation": 180,
189
+ "x": 2,
190
+ "y": 2
191
+ },
192
+ {
193
+ "patternId": "D",
194
+ "rotation": 90,
195
+ "x": 2,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "Z",
200
+ "rotation": 270,
201
+ "x": 3,
202
+ "y": 1
203
+ },
204
+ {
205
+ "patternId": "D",
206
+ "rotation": 90,
207
+ "x": 2,
208
+ "y": 1
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "FRONT",
213
+ "RIGHT",
214
+ "BACK",
215
+ "BOTTOM",
216
+ "RIGHT",
217
+ "FRONT",
218
+ "BOTTOM",
219
+ "FRONT"
220
+ ],
221
+ "required_slots": [
222
+ "FRONT",
223
+ "RIGHT",
224
+ "BACK",
225
+ "BOTTOM"
226
+ ],
227
+ "required_count": 4,
228
+ "answer": {
229
+ "faces": {
230
+ "TOP": {
231
+ "patternId": "?",
232
+ "rotation": 0
233
+ },
234
+ "BOTTOM": {
235
+ "patternId": "Z",
236
+ "rotation": 0
237
+ },
238
+ "FRONT": {
239
+ "patternId": "D",
240
+ "rotation": 180
241
+ },
242
+ "BACK": {
243
+ "patternId": "7",
244
+ "rotation": 180
245
+ },
246
+ "LEFT": {
247
+ "patternId": "?",
248
+ "rotation": 0
249
+ },
250
+ "RIGHT": {
251
+ "patternId": "W",
252
+ "rotation": 180
253
+ }
254
+ }
255
+ },
256
+ "legacy_answer": {
257
+ "TOP": {
258
+ "patternId": "?",
259
+ "rotation": 0
260
+ },
261
+ "BOTTOM": {
262
+ "patternId": "Z",
263
+ "rotation": 0
264
+ },
265
+ "FRONT": {
266
+ "patternId": "D",
267
+ "rotation": 180
268
+ },
269
+ "BACK": {
270
+ "patternId": "7",
271
+ "rotation": 180
272
+ },
273
+ "LEFT": {
274
+ "patternId": "?",
275
+ "rotation": 0
276
+ },
277
+ "RIGHT": {
278
+ "patternId": "W",
279
+ "rotation": 180
280
+ }
281
+ },
282
+ "prompt": {
283
+ "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.",
284
+ "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: C357\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> E -> N -> W -> N -> E -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=D, rotation=180, flipVertical=true\n- step 2: patternId=W, rotation=270, flipVertical=true\n- step 3: patternId=7, rotation=0, flipVertical=true\n- step 4: patternId=Z, rotation=180, flipVertical=true\n- step 5: patternId=W, rotation=180, flipVertical=true\n- step 6: patternId=D, rotation=90, flipVertical=true\n- step 7: patternId=Z, rotation=270, flipVertical=true\n- step 8: patternId=D, rotation=90, flipVertical=true\n- allowed patternId values for this task: D, W, 7, 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."
285
+ }
286
+ }
cube1/data/C358.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C358",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: N -> E -> E -> N -> E -> S -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "E",
8
+ "E",
9
+ "N",
10
+ "E",
11
+ "S",
12
+ "S",
13
+ "E"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "M",
18
+ "rotation": 0,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "5",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "V",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "B",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "Z",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "V",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "5",
54
+ "rotation": 90,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "I",
60
+ "rotation": 90,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C358_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 358,
71
+ "name": "Reconstruct 358",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-358.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "B",
82
+ "rotation": 90,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "V",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "5",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "M",
100
+ "rotation": 0,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "Z",
106
+ "rotation": 90,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "I",
112
+ "rotation": 270,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "B",
119
+ "V",
120
+ "5",
121
+ "M",
122
+ "Z",
123
+ "I"
124
+ ],
125
+ "start_x": 1,
126
+ "start_y": 3,
127
+ "grid_width": 7,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "B",
132
+ "rotation": 90
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "I",
136
+ "rotation": 270
137
+ },
138
+ "FRONT": {
139
+ "patternId": "V",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "M",
144
+ "rotation": 180
145
+ },
146
+ "LEFT": {
147
+ "patternId": "Z",
148
+ "rotation": 0
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "5",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "I",
158
+ "rotation": 270,
159
+ "x": 1,
160
+ "y": 3
161
+ },
162
+ {
163
+ "patternId": "M",
164
+ "rotation": 0,
165
+ "x": 1,
166
+ "y": 2
167
+ },
168
+ {
169
+ "patternId": "5",
170
+ "rotation": 0,
171
+ "x": 2,
172
+ "y": 2
173
+ },
174
+ {
175
+ "patternId": "V",
176
+ "rotation": 90,
177
+ "x": 3,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "B",
182
+ "rotation": 270,
183
+ "x": 3,
184
+ "y": 1
185
+ },
186
+ {
187
+ "patternId": "Z",
188
+ "rotation": 270,
189
+ "x": 4,
190
+ "y": 1
191
+ },
192
+ {
193
+ "patternId": "V",
194
+ "rotation": 180,
195
+ "x": 4,
196
+ "y": 2
197
+ },
198
+ {
199
+ "patternId": "5",
200
+ "rotation": 90,
201
+ "x": 4,
202
+ "y": 3
203
+ },
204
+ {
205
+ "patternId": "I",
206
+ "rotation": 90,
207
+ "x": 5,
208
+ "y": 3
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "BACK",
213
+ "RIGHT",
214
+ "FRONT",
215
+ "TOP",
216
+ "LEFT",
217
+ "FRONT",
218
+ "RIGHT",
219
+ "BOTTOM"
220
+ ],
221
+ "required_slots": [
222
+ "BACK",
223
+ "RIGHT",
224
+ "FRONT",
225
+ "TOP",
226
+ "LEFT",
227
+ "BOTTOM"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "B",
234
+ "rotation": 90
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "I",
238
+ "rotation": 270
239
+ },
240
+ "FRONT": {
241
+ "patternId": "V",
242
+ "rotation": 270
243
+ },
244
+ "BACK": {
245
+ "patternId": "M",
246
+ "rotation": 0
247
+ },
248
+ "LEFT": {
249
+ "patternId": "Z",
250
+ "rotation": 90
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "5",
254
+ "rotation": 90
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "B",
261
+ "rotation": 90
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "I",
265
+ "rotation": 270
266
+ },
267
+ "FRONT": {
268
+ "patternId": "V",
269
+ "rotation": 270
270
+ },
271
+ "BACK": {
272
+ "patternId": "M",
273
+ "rotation": 0
274
+ },
275
+ "LEFT": {
276
+ "patternId": "Z",
277
+ "rotation": 90
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "5",
281
+ "rotation": 90
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C358\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> E -> N -> E -> S -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=M, rotation=0, flipVertical=true\n- step 2: patternId=5, rotation=0, flipVertical=true\n- step 3: patternId=V, rotation=90, flipVertical=true\n- step 4: patternId=B, rotation=270, flipVertical=true\n- step 5: patternId=Z, rotation=270, flipVertical=true\n- step 6: patternId=V, rotation=180, flipVertical=true\n- step 7: patternId=5, rotation=90, flipVertical=true\n- step 8: patternId=I, rotation=90, flipVertical=true\n- allowed patternId values for this task: M, 5, V, B, Z, 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."
287
+ }
288
+ }
cube1/data/C359.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C359",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: E -> N -> W -> N -> W -> S -> 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
+ "E",
7
+ "N",
8
+ "W",
9
+ "N",
10
+ "W",
11
+ "S",
12
+ "W",
13
+ "N",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "G",
19
+ "rotation": 270,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "F",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "circle",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "P",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "B",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "circle",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "G",
55
+ "rotation": 90,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "B",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "circle",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C359_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 359,
78
+ "name": "Reconstruct 359",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-359.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "heart",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "B",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "G",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "F",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "P",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "circle",
119
+ "rotation": 270,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "heart",
126
+ "B",
127
+ "G",
128
+ "F",
129
+ "P",
130
+ "circle"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 3,
134
+ "grid_width": 6,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "heart",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "circle",
143
+ "rotation": 270
144
+ },
145
+ "FRONT": {
146
+ "patternId": "B",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "F",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "P",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "G",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "circle",
165
+ "rotation": 270,
166
+ "x": 3,
167
+ "y": 3
168
+ },
169
+ {
170
+ "patternId": "G",
171
+ "rotation": 270,
172
+ "x": 4,
173
+ "y": 3
174
+ },
175
+ {
176
+ "patternId": "F",
177
+ "rotation": 180,
178
+ "x": 4,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "circle",
183
+ "rotation": 180,
184
+ "x": 3,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "P",
189
+ "rotation": 90,
190
+ "x": 3,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "B",
195
+ "rotation": 270,
196
+ "x": 2,
197
+ "y": 1
198
+ },
199
+ {
200
+ "patternId": "circle",
201
+ "rotation": 90,
202
+ "x": 2,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "G",
207
+ "rotation": 90,
208
+ "x": 1,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "B",
213
+ "rotation": 0,
214
+ "x": 1,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "circle",
219
+ "rotation": 180,
220
+ "x": 2,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BACK",
227
+ "BOTTOM",
228
+ "LEFT",
229
+ "FRONT",
230
+ "BOTTOM",
231
+ "RIGHT",
232
+ "FRONT",
233
+ "BOTTOM"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BACK",
238
+ "BOTTOM",
239
+ "LEFT",
240
+ "FRONT"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "?",
247
+ "rotation": 0
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "circle",
251
+ "rotation": 270
252
+ },
253
+ "FRONT": {
254
+ "patternId": "B",
255
+ "rotation": 90
256
+ },
257
+ "BACK": {
258
+ "patternId": "F",
259
+ "rotation": 270
260
+ },
261
+ "LEFT": {
262
+ "patternId": "P",
263
+ "rotation": 0
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "G",
267
+ "rotation": 90
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "?",
274
+ "rotation": 0
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "circle",
278
+ "rotation": 270
279
+ },
280
+ "FRONT": {
281
+ "patternId": "B",
282
+ "rotation": 90
283
+ },
284
+ "BACK": {
285
+ "patternId": "F",
286
+ "rotation": 270
287
+ },
288
+ "LEFT": {
289
+ "patternId": "P",
290
+ "rotation": 0
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "G",
294
+ "rotation": 90
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C359\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> W -> N -> W -> S -> W -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=G, rotation=270, flipVertical=true\n- step 2: patternId=F, rotation=180, flipVertical=true\n- step 3: patternId=circle, rotation=180, flipVertical=true\n- step 4: patternId=P, rotation=90, flipVertical=true\n- step 5: patternId=B, rotation=270, flipVertical=true\n- step 6: patternId=circle, rotation=90, flipVertical=true\n- step 7: patternId=G, rotation=90, flipVertical=true\n- step 8: patternId=B, rotation=0, flipVertical=true\n- step 9: patternId=circle, rotation=180, flipVertical=true\n- allowed patternId values for this task: G, F, circle, P, B, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
300
+ }
301
+ }
cube1/data/C360.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C360",
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 -> S -> E -> S -> 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
+ "S",
7
+ "W",
8
+ "W",
9
+ "S",
10
+ "E",
11
+ "S",
12
+ "N",
13
+ "E",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "K",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "smile",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "H",
31
+ "rotation": 90,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "X",
37
+ "rotation": 0,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "smile",
43
+ "rotation": 180,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "K",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "smile",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "square",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "K",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C360_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 360,
78
+ "name": "Reconstruct 360",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-360.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "X",
89
+ "rotation": 180,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "K",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "A",
101
+ "rotation": 270,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "H",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "smile",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "square",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "X",
126
+ "K",
127
+ "A",
128
+ "H",
129
+ "smile",
130
+ "square"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 1,
134
+ "grid_width": 5,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "X",
139
+ "rotation": 180
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "square",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "K",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "H",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "smile",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "A",
159
+ "rotation": 0
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "square",
165
+ "rotation": 90,
166
+ "x": 3,
167
+ "y": 1
168
+ },
169
+ {
170
+ "patternId": "K",
171
+ "rotation": 180,
172
+ "x": 3,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "smile",
177
+ "rotation": 270,
178
+ "x": 2,
179
+ "y": 2
180
+ },
181
+ {
182
+ "patternId": "H",
183
+ "rotation": 90,
184
+ "x": 1,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "X",
189
+ "rotation": 0,
190
+ "x": 1,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "smile",
195
+ "rotation": 180,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "K",
201
+ "rotation": 90,
202
+ "x": 2,
203
+ "y": 4
204
+ },
205
+ {
206
+ "patternId": "smile",
207
+ "rotation": 180,
208
+ "x": 2,
209
+ "y": 3
210
+ },
211
+ {
212
+ "patternId": "square",
213
+ "rotation": 90,
214
+ "x": 3,
215
+ "y": 3
216
+ },
217
+ {
218
+ "patternId": "K",
219
+ "rotation": 180,
220
+ "x": 3,
221
+ "y": 4
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "LEFT",
227
+ "BACK",
228
+ "TOP",
229
+ "LEFT",
230
+ "FRONT",
231
+ "LEFT",
232
+ "BOTTOM",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "LEFT",
238
+ "BACK",
239
+ "TOP",
240
+ "BOTTOM"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "X",
247
+ "rotation": 180
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "square",
251
+ "rotation": 90
252
+ },
253
+ "FRONT": {
254
+ "patternId": "K",
255
+ "rotation": 180
256
+ },
257
+ "BACK": {
258
+ "patternId": "H",
259
+ "rotation": 270
260
+ },
261
+ "LEFT": {
262
+ "patternId": "smile",
263
+ "rotation": 0
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "?",
267
+ "rotation": 0
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "X",
274
+ "rotation": 180
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "square",
278
+ "rotation": 90
279
+ },
280
+ "FRONT": {
281
+ "patternId": "K",
282
+ "rotation": 180
283
+ },
284
+ "BACK": {
285
+ "patternId": "H",
286
+ "rotation": 270
287
+ },
288
+ "LEFT": {
289
+ "patternId": "smile",
290
+ "rotation": 0
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "?",
294
+ "rotation": 0
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C360\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> W -> W -> S -> E -> S -> N -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=K, rotation=180, flipVertical=true\n- step 2: patternId=smile, rotation=270, flipVertical=true\n- step 3: patternId=H, rotation=90, flipVertical=true\n- step 4: patternId=X, rotation=0, flipVertical=true\n- step 5: patternId=smile, rotation=180, flipVertical=true\n- step 6: patternId=K, rotation=90, flipVertical=true\n- step 7: patternId=smile, rotation=180, flipVertical=true\n- step 8: patternId=square, rotation=90, flipVertical=true\n- step 9: patternId=K, rotation=180, flipVertical=true\n- allowed patternId values for this task: K, smile, H, X, 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."
300
+ }
301
+ }
cube1/data/C361.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C361",
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 -> S -> 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
+ "E",
8
+ "S",
9
+ "S",
10
+ "S",
11
+ "N",
12
+ "W",
13
+ "S",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "T",
19
+ "rotation": 90,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "triangle",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "circle",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "6",
37
+ "rotation": 270,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "T",
43
+ "rotation": 180,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "6",
49
+ "rotation": 270,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "T",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "T",
61
+ "rotation": 90,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "triangle",
67
+ "rotation": 90,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C361_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 361,
78
+ "name": "Reconstruct 361",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-361.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "T",
89
+ "rotation": 270,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "C",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "triangle",
101
+ "rotation": 270,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "T",
107
+ "rotation": 90,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "6",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "circle",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "T",
126
+ "C",
127
+ "triangle",
128
+ "T",
129
+ "6",
130
+ "circle"
131
+ ],
132
+ "start_x": 2,
133
+ "start_y": 2,
134
+ "grid_width": 5,
135
+ "grid_height": 6,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "T",
139
+ "rotation": 270
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "circle",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "C",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "T",
151
+ "rotation": 270
152
+ },
153
+ "LEFT": {
154
+ "patternId": "6",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "triangle",
159
+ "rotation": 0
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "circle",
165
+ "rotation": 90,
166
+ "x": 2,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "T",
171
+ "rotation": 90,
172
+ "x": 2,
173
+ "y": 1
174
+ },
175
+ {
176
+ "patternId": "triangle",
177
+ "rotation": 180,
178
+ "x": 3,
179
+ "y": 1
180
+ },
181
+ {
182
+ "patternId": "circle",
183
+ "rotation": 180,
184
+ "x": 3,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "6",
189
+ "rotation": 270,
190
+ "x": 3,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "T",
195
+ "rotation": 180,
196
+ "x": 3,
197
+ "y": 4
198
+ },
199
+ {
200
+ "patternId": "6",
201
+ "rotation": 270,
202
+ "x": 3,
203
+ "y": 3
204
+ },
205
+ {
206
+ "patternId": "T",
207
+ "rotation": 270,
208
+ "x": 2,
209
+ "y": 3
210
+ },
211
+ {
212
+ "patternId": "T",
213
+ "rotation": 90,
214
+ "x": 2,
215
+ "y": 4
216
+ },
217
+ {
218
+ "patternId": "triangle",
219
+ "rotation": 90,
220
+ "x": 1,
221
+ "y": 4
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "BACK",
226
+ "RIGHT",
227
+ "BOTTOM",
228
+ "LEFT",
229
+ "TOP",
230
+ "LEFT",
231
+ "BACK",
232
+ "TOP",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "BACK",
237
+ "RIGHT",
238
+ "BOTTOM",
239
+ "LEFT",
240
+ "TOP"
241
+ ],
242
+ "required_count": 5,
243
+ "answer": {
244
+ "faces": {
245
+ "TOP": {
246
+ "patternId": "T",
247
+ "rotation": 270
248
+ },
249
+ "BOTTOM": {
250
+ "patternId": "circle",
251
+ "rotation": 90
252
+ },
253
+ "FRONT": {
254
+ "patternId": "?",
255
+ "rotation": 0
256
+ },
257
+ "BACK": {
258
+ "patternId": "T",
259
+ "rotation": 90
260
+ },
261
+ "LEFT": {
262
+ "patternId": "6",
263
+ "rotation": 0
264
+ },
265
+ "RIGHT": {
266
+ "patternId": "triangle",
267
+ "rotation": 270
268
+ }
269
+ }
270
+ },
271
+ "legacy_answer": {
272
+ "TOP": {
273
+ "patternId": "T",
274
+ "rotation": 270
275
+ },
276
+ "BOTTOM": {
277
+ "patternId": "circle",
278
+ "rotation": 90
279
+ },
280
+ "FRONT": {
281
+ "patternId": "?",
282
+ "rotation": 0
283
+ },
284
+ "BACK": {
285
+ "patternId": "T",
286
+ "rotation": 90
287
+ },
288
+ "LEFT": {
289
+ "patternId": "6",
290
+ "rotation": 0
291
+ },
292
+ "RIGHT": {
293
+ "patternId": "triangle",
294
+ "rotation": 270
295
+ }
296
+ },
297
+ "prompt": {
298
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
299
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C361\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): N -> E -> S -> S -> S -> N -> W -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=T, rotation=90, flipVertical=true\n- step 2: patternId=triangle, rotation=180, flipVertical=true\n- step 3: patternId=circle, rotation=180, flipVertical=true\n- step 4: patternId=6, rotation=270, flipVertical=true\n- step 5: patternId=T, rotation=180, flipVertical=true\n- step 6: patternId=6, rotation=270, flipVertical=true\n- step 7: patternId=T, rotation=270, flipVertical=true\n- step 8: patternId=T, rotation=90, flipVertical=true\n- step 9: patternId=triangle, rotation=90, flipVertical=true\n- allowed patternId values for this task: T, triangle, circle, 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."
300
+ }
301
+ }
cube1/data/C362.json ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C362",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> N -> N -> W -> W -> S -> W\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "W",
7
+ "W",
8
+ "N",
9
+ "N",
10
+ "W",
11
+ "W",
12
+ "S",
13
+ "W"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "triangle",
18
+ "rotation": 90,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "Q",
24
+ "rotation": 0,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "G",
30
+ "rotation": 90,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "W",
36
+ "rotation": 270,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "circle",
42
+ "rotation": 90,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "Q",
48
+ "rotation": 180,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "G",
54
+ "rotation": 270,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "triangle",
60
+ "rotation": 0,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C362_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 362,
71
+ "name": "Reconstruct 362",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-362.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "Q",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "8",
88
+ "rotation": 270,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "circle",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "G",
100
+ "rotation": 270,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "triangle",
106
+ "rotation": 270,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "W",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "Q",
119
+ "8",
120
+ "circle",
121
+ "G",
122
+ "triangle",
123
+ "W"
124
+ ],
125
+ "start_x": 6,
126
+ "start_y": 3,
127
+ "grid_width": 8,
128
+ "grid_height": 5,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "Q",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "W",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "8",
140
+ "rotation": 270
141
+ },
142
+ "BACK": {
143
+ "patternId": "G",
144
+ "rotation": 90
145
+ },
146
+ "LEFT": {
147
+ "patternId": "triangle",
148
+ "rotation": 180
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "circle",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "W",
158
+ "rotation": 90,
159
+ "x": 6,
160
+ "y": 3
161
+ },
162
+ {
163
+ "patternId": "triangle",
164
+ "rotation": 90,
165
+ "x": 5,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "Q",
170
+ "rotation": 0,
171
+ "x": 4,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "G",
176
+ "rotation": 90,
177
+ "x": 4,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "W",
182
+ "rotation": 270,
183
+ "x": 4,
184
+ "y": 1
185
+ },
186
+ {
187
+ "patternId": "circle",
188
+ "rotation": 90,
189
+ "x": 3,
190
+ "y": 1
191
+ },
192
+ {
193
+ "patternId": "Q",
194
+ "rotation": 180,
195
+ "x": 2,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "G",
200
+ "rotation": 270,
201
+ "x": 2,
202
+ "y": 2
203
+ },
204
+ {
205
+ "patternId": "triangle",
206
+ "rotation": 0,
207
+ "x": 1,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "LEFT",
213
+ "TOP",
214
+ "BACK",
215
+ "BOTTOM",
216
+ "RIGHT",
217
+ "TOP",
218
+ "BACK",
219
+ "LEFT"
220
+ ],
221
+ "required_slots": [
222
+ "LEFT",
223
+ "TOP",
224
+ "BACK",
225
+ "BOTTOM",
226
+ "RIGHT"
227
+ ],
228
+ "required_count": 5,
229
+ "answer": {
230
+ "faces": {
231
+ "TOP": {
232
+ "patternId": "Q",
233
+ "rotation": 180
234
+ },
235
+ "BOTTOM": {
236
+ "patternId": "W",
237
+ "rotation": 90
238
+ },
239
+ "FRONT": {
240
+ "patternId": "?",
241
+ "rotation": 0
242
+ },
243
+ "BACK": {
244
+ "patternId": "G",
245
+ "rotation": 270
246
+ },
247
+ "LEFT": {
248
+ "patternId": "triangle",
249
+ "rotation": 270
250
+ },
251
+ "RIGHT": {
252
+ "patternId": "circle",
253
+ "rotation": 90
254
+ }
255
+ }
256
+ },
257
+ "legacy_answer": {
258
+ "TOP": {
259
+ "patternId": "Q",
260
+ "rotation": 180
261
+ },
262
+ "BOTTOM": {
263
+ "patternId": "W",
264
+ "rotation": 90
265
+ },
266
+ "FRONT": {
267
+ "patternId": "?",
268
+ "rotation": 0
269
+ },
270
+ "BACK": {
271
+ "patternId": "G",
272
+ "rotation": 270
273
+ },
274
+ "LEFT": {
275
+ "patternId": "triangle",
276
+ "rotation": 270
277
+ },
278
+ "RIGHT": {
279
+ "patternId": "circle",
280
+ "rotation": 90
281
+ }
282
+ },
283
+ "prompt": {
284
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
285
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C362\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> N -> N -> W -> W -> S -> W\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=triangle, rotation=90, flipVertical=true\n- step 2: patternId=Q, rotation=0, flipVertical=true\n- step 3: patternId=G, rotation=90, flipVertical=true\n- step 4: patternId=W, rotation=270, flipVertical=true\n- step 5: patternId=circle, rotation=90, flipVertical=true\n- step 6: patternId=Q, rotation=180, flipVertical=true\n- step 7: patternId=G, rotation=270, flipVertical=true\n- step 8: patternId=triangle, rotation=0, flipVertical=true\n- allowed patternId values for this task: triangle, Q, G, W, 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."
286
+ }
287
+ }
cube1/data/C363.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C363",
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 -> S -> E -> E -> E -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "E",
7
+ "N",
8
+ "E",
9
+ "S",
10
+ "E",
11
+ "E",
12
+ "E",
13
+ "S",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "Q",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "E",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "4",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "Q",
37
+ "rotation": 270,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "N",
43
+ "rotation": 90,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "9",
49
+ "rotation": 270,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "E",
55
+ "rotation": 90,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "U",
61
+ "rotation": 0,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "Q",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C363_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 363,
78
+ "name": "Reconstruct 363",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-363.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "4",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "N",
95
+ "rotation": 270,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "Q",
101
+ "rotation": 0,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "E",
107
+ "rotation": 90,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "9",
113
+ "rotation": 180,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "U",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "4",
126
+ "N",
127
+ "Q",
128
+ "E",
129
+ "9",
130
+ "U"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 2,
134
+ "grid_width": 9,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "4",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "U",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "N",
147
+ "rotation": 270
148
+ },
149
+ "BACK": {
150
+ "patternId": "E",
151
+ "rotation": 270
152
+ },
153
+ "LEFT": {
154
+ "patternId": "9",
155
+ "rotation": 90
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "Q",
159
+ "rotation": 90
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "U",
165
+ "rotation": 0,
166
+ "x": 1,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "Q",
171
+ "rotation": 180,
172
+ "x": 2,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "E",
177
+ "rotation": 0,
178
+ "x": 2,
179
+ "y": 1
180
+ },
181
+ {
182
+ "patternId": "4",
183
+ "rotation": 270,
184
+ "x": 3,
185
+ "y": 1
186
+ },
187
+ {
188
+ "patternId": "Q",
189
+ "rotation": 270,
190
+ "x": 3,
191
+ "y": 2
192
+ },
193
+ {
194
+ "patternId": "N",
195
+ "rotation": 90,
196
+ "x": 4,
197
+ "y": 2
198
+ },
199
+ {
200
+ "patternId": "9",
201
+ "rotation": 270,
202
+ "x": 5,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "E",
207
+ "rotation": 90,
208
+ "x": 6,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "U",
213
+ "rotation": 0,
214
+ "x": 6,
215
+ "y": 3
216
+ },
217
+ {
218
+ "patternId": "Q",
219
+ "rotation": 180,
220
+ "x": 7,
221
+ "y": 3
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "RIGHT",
226
+ "BACK",
227
+ "TOP",
228
+ "RIGHT",
229
+ "FRONT",
230
+ "LEFT",
231
+ "BACK",
232
+ "BOTTOM",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "RIGHT",
237
+ "BACK",
238
+ "TOP",
239
+ "FRONT",
240
+ "LEFT",
241
+ "BOTTOM"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "4",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "U",
252
+ "rotation": 0
253
+ },
254
+ "FRONT": {
255
+ "patternId": "N",
256
+ "rotation": 270
257
+ },
258
+ "BACK": {
259
+ "patternId": "E",
260
+ "rotation": 90
261
+ },
262
+ "LEFT": {
263
+ "patternId": "9",
264
+ "rotation": 180
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "Q",
268
+ "rotation": 0
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "4",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "U",
279
+ "rotation": 0
280
+ },
281
+ "FRONT": {
282
+ "patternId": "N",
283
+ "rotation": 270
284
+ },
285
+ "BACK": {
286
+ "patternId": "E",
287
+ "rotation": 90
288
+ },
289
+ "LEFT": {
290
+ "patternId": "9",
291
+ "rotation": 180
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "Q",
295
+ "rotation": 0
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C363\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): E -> N -> E -> S -> E -> E -> E -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=Q, rotation=180, flipVertical=true\n- step 2: patternId=E, rotation=0, flipVertical=true\n- step 3: patternId=4, rotation=270, flipVertical=true\n- step 4: patternId=Q, rotation=270, flipVertical=true\n- step 5: patternId=N, rotation=90, flipVertical=true\n- step 6: patternId=9, rotation=270, flipVertical=true\n- step 7: patternId=E, rotation=90, flipVertical=true\n- step 8: patternId=U, rotation=0, flipVertical=true\n- step 9: patternId=Q, rotation=180, flipVertical=true\n- allowed patternId values for this task: Q, E, 4, N, 9, 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."
301
+ }
302
+ }
cube1/data/C364.json ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C364",
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 -> W -> N -> W -> S -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "N",
7
+ "W",
8
+ "N",
9
+ "W",
10
+ "N",
11
+ "W",
12
+ "S",
13
+ "E"
14
+ ],
15
+ "observed_path_faces": [
16
+ {
17
+ "patternId": "U",
18
+ "rotation": 180,
19
+ "flipHorizontal": false,
20
+ "flipVertical": true
21
+ },
22
+ {
23
+ "patternId": "O",
24
+ "rotation": 270,
25
+ "flipHorizontal": false,
26
+ "flipVertical": true
27
+ },
28
+ {
29
+ "patternId": "arrow_left",
30
+ "rotation": 270,
31
+ "flipHorizontal": false,
32
+ "flipVertical": true
33
+ },
34
+ {
35
+ "patternId": "arrow_down",
36
+ "rotation": 90,
37
+ "flipHorizontal": false,
38
+ "flipVertical": true
39
+ },
40
+ {
41
+ "patternId": "plus",
42
+ "rotation": 270,
43
+ "flipHorizontal": false,
44
+ "flipVertical": true
45
+ },
46
+ {
47
+ "patternId": "P",
48
+ "rotation": 90,
49
+ "flipHorizontal": false,
50
+ "flipVertical": true
51
+ },
52
+ {
53
+ "patternId": "arrow_down",
54
+ "rotation": 0,
55
+ "flipHorizontal": false,
56
+ "flipVertical": true
57
+ },
58
+ {
59
+ "patternId": "plus",
60
+ "rotation": 180,
61
+ "flipHorizontal": false,
62
+ "flipVertical": true
63
+ }
64
+ ],
65
+ "image_paths": {
66
+ "blank_net_image": "images/blank_nets/open.png",
67
+ "path_sequence_image": "images/path_sequences/C364_path_sequence.png"
68
+ },
69
+ "metadata": {
70
+ "level_id": 364,
71
+ "name": "Reconstruct 364",
72
+ "difficulty": 4,
73
+ "move_count": 8,
74
+ "tier": 4,
75
+ "source_level_path": "levels/reconstruct/generated-364.json",
76
+ "tier_label": "Difficulty 4"
77
+ },
78
+ "description": "8-move reconstruct puzzle",
79
+ "net_faces": [
80
+ {
81
+ "patternId": "arrow_left",
82
+ "rotation": 180,
83
+ "flipHorizontal": false,
84
+ "flipVertical": false
85
+ },
86
+ {
87
+ "patternId": "arrow_down",
88
+ "rotation": 0,
89
+ "flipHorizontal": false,
90
+ "flipVertical": false
91
+ },
92
+ {
93
+ "patternId": "plus",
94
+ "rotation": 90,
95
+ "flipHorizontal": false,
96
+ "flipVertical": false
97
+ },
98
+ {
99
+ "patternId": "U",
100
+ "rotation": 180,
101
+ "flipHorizontal": false,
102
+ "flipVertical": false
103
+ },
104
+ {
105
+ "patternId": "O",
106
+ "rotation": 180,
107
+ "flipHorizontal": false,
108
+ "flipVertical": false
109
+ },
110
+ {
111
+ "patternId": "P",
112
+ "rotation": 90,
113
+ "flipHorizontal": false,
114
+ "flipVertical": false
115
+ }
116
+ ],
117
+ "net_patterns": [
118
+ "arrow_left",
119
+ "arrow_down",
120
+ "plus",
121
+ "U",
122
+ "O",
123
+ "P"
124
+ ],
125
+ "start_x": 4,
126
+ "start_y": 4,
127
+ "grid_width": 6,
128
+ "grid_height": 6,
129
+ "true_solution_faces": {
130
+ "TOP": {
131
+ "patternId": "arrow_left",
132
+ "rotation": 180
133
+ },
134
+ "BOTTOM": {
135
+ "patternId": "P",
136
+ "rotation": 90
137
+ },
138
+ "FRONT": {
139
+ "patternId": "arrow_down",
140
+ "rotation": 0
141
+ },
142
+ "BACK": {
143
+ "patternId": "U",
144
+ "rotation": 0
145
+ },
146
+ "LEFT": {
147
+ "patternId": "O",
148
+ "rotation": 90
149
+ },
150
+ "RIGHT": {
151
+ "patternId": "plus",
152
+ "rotation": 180
153
+ }
154
+ },
155
+ "bottom_faces": [
156
+ {
157
+ "patternId": "P",
158
+ "rotation": 90,
159
+ "x": 4,
160
+ "y": 4
161
+ },
162
+ {
163
+ "patternId": "U",
164
+ "rotation": 180,
165
+ "x": 4,
166
+ "y": 3
167
+ },
168
+ {
169
+ "patternId": "O",
170
+ "rotation": 270,
171
+ "x": 3,
172
+ "y": 3
173
+ },
174
+ {
175
+ "patternId": "arrow_left",
176
+ "rotation": 270,
177
+ "x": 3,
178
+ "y": 2
179
+ },
180
+ {
181
+ "patternId": "arrow_down",
182
+ "rotation": 90,
183
+ "x": 2,
184
+ "y": 2
185
+ },
186
+ {
187
+ "patternId": "plus",
188
+ "rotation": 270,
189
+ "x": 2,
190
+ "y": 1
191
+ },
192
+ {
193
+ "patternId": "P",
194
+ "rotation": 90,
195
+ "x": 1,
196
+ "y": 1
197
+ },
198
+ {
199
+ "patternId": "arrow_down",
200
+ "rotation": 0,
201
+ "x": 1,
202
+ "y": 2
203
+ },
204
+ {
205
+ "patternId": "plus",
206
+ "rotation": 180,
207
+ "x": 2,
208
+ "y": 2
209
+ }
210
+ ],
211
+ "slot_sequence": [
212
+ "BACK",
213
+ "LEFT",
214
+ "TOP",
215
+ "FRONT",
216
+ "RIGHT",
217
+ "BOTTOM",
218
+ "FRONT",
219
+ "RIGHT"
220
+ ],
221
+ "required_slots": [
222
+ "BACK",
223
+ "LEFT",
224
+ "TOP",
225
+ "FRONT",
226
+ "RIGHT",
227
+ "BOTTOM"
228
+ ],
229
+ "required_count": 6,
230
+ "answer": {
231
+ "faces": {
232
+ "TOP": {
233
+ "patternId": "arrow_left",
234
+ "rotation": 180
235
+ },
236
+ "BOTTOM": {
237
+ "patternId": "P",
238
+ "rotation": 90
239
+ },
240
+ "FRONT": {
241
+ "patternId": "arrow_down",
242
+ "rotation": 0
243
+ },
244
+ "BACK": {
245
+ "patternId": "U",
246
+ "rotation": 180
247
+ },
248
+ "LEFT": {
249
+ "patternId": "O",
250
+ "rotation": 180
251
+ },
252
+ "RIGHT": {
253
+ "patternId": "plus",
254
+ "rotation": 90
255
+ }
256
+ }
257
+ },
258
+ "legacy_answer": {
259
+ "TOP": {
260
+ "patternId": "arrow_left",
261
+ "rotation": 180
262
+ },
263
+ "BOTTOM": {
264
+ "patternId": "P",
265
+ "rotation": 90
266
+ },
267
+ "FRONT": {
268
+ "patternId": "arrow_down",
269
+ "rotation": 0
270
+ },
271
+ "BACK": {
272
+ "patternId": "U",
273
+ "rotation": 180
274
+ },
275
+ "LEFT": {
276
+ "patternId": "O",
277
+ "rotation": 180
278
+ },
279
+ "RIGHT": {
280
+ "patternId": "plus",
281
+ "rotation": 90
282
+ }
283
+ },
284
+ "prompt": {
285
+ "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.",
286
+ "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: C364\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 8\n- roll_sequence (N=up, S=down, W=left, E=right): N -> W -> N -> W -> N -> W -> S -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=U, rotation=180, flipVertical=true\n- step 2: patternId=O, rotation=270, flipVertical=true\n- step 3: patternId=arrow_left, rotation=270, flipVertical=true\n- step 4: patternId=arrow_down, rotation=90, flipVertical=true\n- step 5: patternId=plus, rotation=270, flipVertical=true\n- step 6: patternId=P, rotation=90, flipVertical=true\n- step 7: patternId=arrow_down, rotation=0, flipVertical=true\n- step 8: patternId=plus, rotation=180, flipVertical=true\n- allowed patternId values for this task: U, O, arrow_left, arrow_down, plus, P, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
287
+ }
288
+ }
cube1/data/C365.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C365",
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 -> W -> N -> 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
+ "W",
7
+ "S",
8
+ "W",
9
+ "W",
10
+ "W",
11
+ "N",
12
+ "W",
13
+ "N",
14
+ "W"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "G",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "W",
25
+ "rotation": 0,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "S",
31
+ "rotation": 270,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "plus",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "triangle",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "G",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "W",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "S",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "Q",
67
+ "rotation": 0,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C365_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 365,
78
+ "name": "Reconstruct 365",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-365.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "S",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "W",
95
+ "rotation": 90,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "Q",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "plus",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "G",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "triangle",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "S",
126
+ "W",
127
+ "Q",
128
+ "plus",
129
+ "G",
130
+ "triangle"
131
+ ],
132
+ "start_x": 7,
133
+ "start_y": 2,
134
+ "grid_width": 9,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "S",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "triangle",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "W",
147
+ "rotation": 90
148
+ },
149
+ "BACK": {
150
+ "patternId": "plus",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "G",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "Q",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "triangle",
165
+ "rotation": 90,
166
+ "x": 7,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "G",
171
+ "rotation": 180,
172
+ "x": 6,
173
+ "y": 2
174
+ },
175
+ {
176
+ "patternId": "W",
177
+ "rotation": 0,
178
+ "x": 6,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "S",
183
+ "rotation": 270,
184
+ "x": 5,
185
+ "y": 3
186
+ },
187
+ {
188
+ "patternId": "plus",
189
+ "rotation": 180,
190
+ "x": 4,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "triangle",
195
+ "rotation": 0,
196
+ "x": 3,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "G",
201
+ "rotation": 90,
202
+ "x": 3,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "W",
207
+ "rotation": 270,
208
+ "x": 2,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "S",
213
+ "rotation": 180,
214
+ "x": 2,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "Q",
219
+ "rotation": 0,
220
+ "x": 1,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "FRONT",
227
+ "TOP",
228
+ "BACK",
229
+ "BOTTOM",
230
+ "LEFT",
231
+ "FRONT",
232
+ "TOP",
233
+ "RIGHT"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "FRONT",
238
+ "TOP",
239
+ "BACK",
240
+ "BOTTOM",
241
+ "RIGHT"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "S",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "triangle",
252
+ "rotation": 90
253
+ },
254
+ "FRONT": {
255
+ "patternId": "W",
256
+ "rotation": 90
257
+ },
258
+ "BACK": {
259
+ "patternId": "plus",
260
+ "rotation": 270
261
+ },
262
+ "LEFT": {
263
+ "patternId": "G",
264
+ "rotation": 0
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "Q",
268
+ "rotation": 180
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "S",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "triangle",
279
+ "rotation": 90
280
+ },
281
+ "FRONT": {
282
+ "patternId": "W",
283
+ "rotation": 90
284
+ },
285
+ "BACK": {
286
+ "patternId": "plus",
287
+ "rotation": 270
288
+ },
289
+ "LEFT": {
290
+ "patternId": "G",
291
+ "rotation": 0
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "Q",
295
+ "rotation": 180
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C365\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> S -> W -> W -> W -> N -> W -> N -> W\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=W, rotation=0, flipVertical=true\n- step 3: patternId=S, rotation=270, flipVertical=true\n- step 4: patternId=plus, rotation=180, flipVertical=true\n- step 5: patternId=triangle, rotation=0, flipVertical=true\n- step 6: patternId=G, rotation=90, flipVertical=true\n- step 7: patternId=W, rotation=270, flipVertical=true\n- step 8: patternId=S, rotation=180, flipVertical=true\n- step 9: patternId=Q, rotation=0, flipVertical=true\n- allowed patternId values for this task: G, W, S, plus, triangle, Q, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
301
+ }
302
+ }
cube1/data/C366.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C366",
3
+ "text_description": "Task: reconstruct the six outer faces of the cube from the blank cross net image and the path-view observation image.\nThe net uses the fixed face names TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\nIf a face cannot be uniquely determined, output patternId='?' and rotation=0.\nRoll sequence: W -> W -> N -> N -> E -> 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
+ "W",
8
+ "N",
9
+ "N",
10
+ "E",
11
+ "N",
12
+ "N",
13
+ "E",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "J",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "I",
25
+ "rotation": 270,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "K",
31
+ "rotation": 90,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "F",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "J",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "2",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "6",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "I",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "2",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C366_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 366,
78
+ "name": "Reconstruct 366",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-366.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "I",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "2",
95
+ "rotation": 0,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "6",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "K",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "J",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "F",
119
+ "rotation": 0,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "I",
126
+ "2",
127
+ "6",
128
+ "K",
129
+ "J",
130
+ "F"
131
+ ],
132
+ "start_x": 3,
133
+ "start_y": 5,
134
+ "grid_width": 5,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "I",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "F",
143
+ "rotation": 0
144
+ },
145
+ "FRONT": {
146
+ "patternId": "2",
147
+ "rotation": 0
148
+ },
149
+ "BACK": {
150
+ "patternId": "K",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "J",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "6",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "F",
165
+ "rotation": 0,
166
+ "x": 3,
167
+ "y": 5
168
+ },
169
+ {
170
+ "patternId": "J",
171
+ "rotation": 180,
172
+ "x": 2,
173
+ "y": 5
174
+ },
175
+ {
176
+ "patternId": "I",
177
+ "rotation": 270,
178
+ "x": 1,
179
+ "y": 5
180
+ },
181
+ {
182
+ "patternId": "K",
183
+ "rotation": 90,
184
+ "x": 1,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "F",
189
+ "rotation": 180,
190
+ "x": 1,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "J",
195
+ "rotation": 0,
196
+ "x": 2,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "2",
201
+ "rotation": 90,
202
+ "x": 2,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "6",
207
+ "rotation": 270,
208
+ "x": 2,
209
+ "y": 1
210
+ },
211
+ {
212
+ "patternId": "I",
213
+ "rotation": 270,
214
+ "x": 3,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "2",
219
+ "rotation": 180,
220
+ "x": 3,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "LEFT",
226
+ "TOP",
227
+ "BACK",
228
+ "BOTTOM",
229
+ "LEFT",
230
+ "FRONT",
231
+ "RIGHT",
232
+ "TOP",
233
+ "FRONT"
234
+ ],
235
+ "required_slots": [
236
+ "LEFT",
237
+ "TOP",
238
+ "BACK",
239
+ "BOTTOM",
240
+ "FRONT",
241
+ "RIGHT"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "I",
248
+ "rotation": 90
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "F",
252
+ "rotation": 0
253
+ },
254
+ "FRONT": {
255
+ "patternId": "2",
256
+ "rotation": 0
257
+ },
258
+ "BACK": {
259
+ "patternId": "K",
260
+ "rotation": 270
261
+ },
262
+ "LEFT": {
263
+ "patternId": "J",
264
+ "rotation": 0
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "6",
268
+ "rotation": 90
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "I",
275
+ "rotation": 90
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "F",
279
+ "rotation": 0
280
+ },
281
+ "FRONT": {
282
+ "patternId": "2",
283
+ "rotation": 0
284
+ },
285
+ "BACK": {
286
+ "patternId": "K",
287
+ "rotation": 270
288
+ },
289
+ "LEFT": {
290
+ "patternId": "J",
291
+ "rotation": 0
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "6",
295
+ "rotation": 90
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C366\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): W -> W -> N -> N -> E -> N -> N -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=J, rotation=180, flipVertical=true\n- step 2: patternId=I, rotation=270, flipVertical=true\n- step 3: patternId=K, rotation=90, flipVertical=true\n- step 4: patternId=F, rotation=180, flipVertical=true\n- step 5: patternId=J, rotation=0, flipVertical=true\n- step 6: patternId=2, rotation=90, flipVertical=true\n- step 7: patternId=6, rotation=270, flipVertical=true\n- step 8: patternId=I, rotation=270, flipVertical=true\n- step 9: patternId=2, rotation=180, flipVertical=true\n- allowed patternId values for this task: J, I, K, F, 2, 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."
301
+ }
302
+ }
cube1/data/C367.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C367",
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 -> E -> N -> 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
+ "S",
7
+ "N",
8
+ "E",
9
+ "N",
10
+ "W",
11
+ "N",
12
+ "N",
13
+ "E",
14
+ "S"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "2",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "1",
25
+ "rotation": 90,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "arrow_right",
31
+ "rotation": 0,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "T",
37
+ "rotation": 90,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "1",
43
+ "rotation": 0,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "G",
49
+ "rotation": 90,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "star",
55
+ "rotation": 180,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "T",
61
+ "rotation": 270,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "G",
67
+ "rotation": 180,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C367_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 367,
78
+ "name": "Reconstruct 367",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-367.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "star",
89
+ "rotation": 90,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "2",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "arrow_right",
101
+ "rotation": 180,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "T",
107
+ "rotation": 180,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "G",
113
+ "rotation": 0,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "1",
119
+ "rotation": 90,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "star",
126
+ "2",
127
+ "arrow_right",
128
+ "T",
129
+ "G",
130
+ "1"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 4,
134
+ "grid_width": 4,
135
+ "grid_height": 7,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "star",
139
+ "rotation": 90
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "1",
143
+ "rotation": 90
144
+ },
145
+ "FRONT": {
146
+ "patternId": "2",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "T",
151
+ "rotation": 0
152
+ },
153
+ "LEFT": {
154
+ "patternId": "G",
155
+ "rotation": 270
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "arrow_right",
159
+ "rotation": 270
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "1",
165
+ "rotation": 90,
166
+ "x": 1,
167
+ "y": 4
168
+ },
169
+ {
170
+ "patternId": "2",
171
+ "rotation": 180,
172
+ "x": 1,
173
+ "y": 5
174
+ },
175
+ {
176
+ "patternId": "1",
177
+ "rotation": 90,
178
+ "x": 1,
179
+ "y": 4
180
+ },
181
+ {
182
+ "patternId": "arrow_right",
183
+ "rotation": 0,
184
+ "x": 2,
185
+ "y": 4
186
+ },
187
+ {
188
+ "patternId": "T",
189
+ "rotation": 90,
190
+ "x": 2,
191
+ "y": 3
192
+ },
193
+ {
194
+ "patternId": "1",
195
+ "rotation": 0,
196
+ "x": 1,
197
+ "y": 3
198
+ },
199
+ {
200
+ "patternId": "G",
201
+ "rotation": 90,
202
+ "x": 1,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "star",
207
+ "rotation": 180,
208
+ "x": 1,
209
+ "y": 1
210
+ },
211
+ {
212
+ "patternId": "T",
213
+ "rotation": 270,
214
+ "x": 2,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "G",
219
+ "rotation": 180,
220
+ "x": 2,
221
+ "y": 2
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "BOTTOM",
227
+ "RIGHT",
228
+ "BACK",
229
+ "BOTTOM",
230
+ "LEFT",
231
+ "TOP",
232
+ "BACK",
233
+ "LEFT"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "BOTTOM",
238
+ "RIGHT",
239
+ "BACK",
240
+ "LEFT",
241
+ "TOP"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "star",
248
+ "rotation": 90
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "1",
252
+ "rotation": 90
253
+ },
254
+ "FRONT": {
255
+ "patternId": "2",
256
+ "rotation": 180
257
+ },
258
+ "BACK": {
259
+ "patternId": "T",
260
+ "rotation": 180
261
+ },
262
+ "LEFT": {
263
+ "patternId": "G",
264
+ "rotation": 0
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "arrow_right",
268
+ "rotation": 180
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "star",
275
+ "rotation": 90
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "1",
279
+ "rotation": 90
280
+ },
281
+ "FRONT": {
282
+ "patternId": "2",
283
+ "rotation": 180
284
+ },
285
+ "BACK": {
286
+ "patternId": "T",
287
+ "rotation": 180
288
+ },
289
+ "LEFT": {
290
+ "patternId": "G",
291
+ "rotation": 0
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "arrow_right",
295
+ "rotation": 180
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C367\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> N -> E -> N -> W -> N -> N -> E -> S\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=2, rotation=180, flipVertical=true\n- step 2: patternId=1, rotation=90, flipVertical=true\n- step 3: patternId=arrow_right, rotation=0, flipVertical=true\n- step 4: patternId=T, rotation=90, flipVertical=true\n- step 5: patternId=1, rotation=0, flipVertical=true\n- step 6: patternId=G, rotation=90, flipVertical=true\n- step 7: patternId=star, rotation=180, flipVertical=true\n- step 8: patternId=T, rotation=270, flipVertical=true\n- step 9: patternId=G, rotation=180, flipVertical=true\n- allowed patternId values for this task: 2, 1, arrow_right, T, G, star, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
301
+ }
302
+ }
cube1/data/C368.json ADDED
@@ -0,0 +1,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "sample_id": "C368",
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 -> E -> S -> E -> N -> E\nThe puzzle images already show the roll path and the observed path-face states.",
4
+ "net_layout": "standard_cross",
5
+ "roll_sequence": [
6
+ "S",
7
+ "E",
8
+ "N",
9
+ "N",
10
+ "E",
11
+ "S",
12
+ "E",
13
+ "N",
14
+ "E"
15
+ ],
16
+ "observed_path_faces": [
17
+ {
18
+ "patternId": "O",
19
+ "rotation": 180,
20
+ "flipHorizontal": false,
21
+ "flipVertical": true
22
+ },
23
+ {
24
+ "patternId": "plus",
25
+ "rotation": 180,
26
+ "flipHorizontal": false,
27
+ "flipVertical": true
28
+ },
29
+ {
30
+ "patternId": "arrow_up",
31
+ "rotation": 180,
32
+ "flipHorizontal": false,
33
+ "flipVertical": true
34
+ },
35
+ {
36
+ "patternId": "O",
37
+ "rotation": 180,
38
+ "flipHorizontal": false,
39
+ "flipVertical": true
40
+ },
41
+ {
42
+ "patternId": "R",
43
+ "rotation": 270,
44
+ "flipHorizontal": false,
45
+ "flipVertical": true
46
+ },
47
+ {
48
+ "patternId": "arrow_up",
49
+ "rotation": 270,
50
+ "flipHorizontal": false,
51
+ "flipVertical": true
52
+ },
53
+ {
54
+ "patternId": "plus",
55
+ "rotation": 270,
56
+ "flipHorizontal": false,
57
+ "flipVertical": true
58
+ },
59
+ {
60
+ "patternId": "R",
61
+ "rotation": 180,
62
+ "flipHorizontal": false,
63
+ "flipVertical": true
64
+ },
65
+ {
66
+ "patternId": "4",
67
+ "rotation": 270,
68
+ "flipHorizontal": false,
69
+ "flipVertical": true
70
+ }
71
+ ],
72
+ "image_paths": {
73
+ "blank_net_image": "images/blank_nets/open.png",
74
+ "path_sequence_image": "images/path_sequences/C368_path_sequence.png"
75
+ },
76
+ "metadata": {
77
+ "level_id": 368,
78
+ "name": "Reconstruct 368",
79
+ "difficulty": 4,
80
+ "move_count": 9,
81
+ "tier": 4,
82
+ "source_level_path": "levels/reconstruct/generated-368.json",
83
+ "tier_label": "Difficulty 4"
84
+ },
85
+ "description": "9-move reconstruct puzzle",
86
+ "net_faces": [
87
+ {
88
+ "patternId": "4",
89
+ "rotation": 0,
90
+ "flipHorizontal": false,
91
+ "flipVertical": false
92
+ },
93
+ {
94
+ "patternId": "O",
95
+ "rotation": 180,
96
+ "flipHorizontal": false,
97
+ "flipVertical": false
98
+ },
99
+ {
100
+ "patternId": "plus",
101
+ "rotation": 90,
102
+ "flipHorizontal": false,
103
+ "flipVertical": false
104
+ },
105
+ {
106
+ "patternId": "R",
107
+ "rotation": 270,
108
+ "flipHorizontal": false,
109
+ "flipVertical": false
110
+ },
111
+ {
112
+ "patternId": "O",
113
+ "rotation": 90,
114
+ "flipHorizontal": false,
115
+ "flipVertical": false
116
+ },
117
+ {
118
+ "patternId": "arrow_up",
119
+ "rotation": 270,
120
+ "flipHorizontal": false,
121
+ "flipVertical": false
122
+ }
123
+ ],
124
+ "net_patterns": [
125
+ "4",
126
+ "O",
127
+ "plus",
128
+ "R",
129
+ "O",
130
+ "arrow_up"
131
+ ],
132
+ "start_x": 1,
133
+ "start_y": 2,
134
+ "grid_width": 7,
135
+ "grid_height": 5,
136
+ "true_solution_faces": {
137
+ "TOP": {
138
+ "patternId": "4",
139
+ "rotation": 0
140
+ },
141
+ "BOTTOM": {
142
+ "patternId": "arrow_up",
143
+ "rotation": 270
144
+ },
145
+ "FRONT": {
146
+ "patternId": "O",
147
+ "rotation": 180
148
+ },
149
+ "BACK": {
150
+ "patternId": "R",
151
+ "rotation": 90
152
+ },
153
+ "LEFT": {
154
+ "patternId": "O",
155
+ "rotation": 0
156
+ },
157
+ "RIGHT": {
158
+ "patternId": "plus",
159
+ "rotation": 180
160
+ }
161
+ },
162
+ "bottom_faces": [
163
+ {
164
+ "patternId": "arrow_up",
165
+ "rotation": 270,
166
+ "x": 1,
167
+ "y": 2
168
+ },
169
+ {
170
+ "patternId": "O",
171
+ "rotation": 180,
172
+ "x": 1,
173
+ "y": 3
174
+ },
175
+ {
176
+ "patternId": "plus",
177
+ "rotation": 180,
178
+ "x": 2,
179
+ "y": 3
180
+ },
181
+ {
182
+ "patternId": "arrow_up",
183
+ "rotation": 180,
184
+ "x": 2,
185
+ "y": 2
186
+ },
187
+ {
188
+ "patternId": "O",
189
+ "rotation": 180,
190
+ "x": 2,
191
+ "y": 1
192
+ },
193
+ {
194
+ "patternId": "R",
195
+ "rotation": 270,
196
+ "x": 3,
197
+ "y": 1
198
+ },
199
+ {
200
+ "patternId": "arrow_up",
201
+ "rotation": 270,
202
+ "x": 3,
203
+ "y": 2
204
+ },
205
+ {
206
+ "patternId": "plus",
207
+ "rotation": 270,
208
+ "x": 4,
209
+ "y": 2
210
+ },
211
+ {
212
+ "patternId": "R",
213
+ "rotation": 180,
214
+ "x": 4,
215
+ "y": 1
216
+ },
217
+ {
218
+ "patternId": "4",
219
+ "rotation": 270,
220
+ "x": 5,
221
+ "y": 1
222
+ }
223
+ ],
224
+ "slot_sequence": [
225
+ "FRONT",
226
+ "RIGHT",
227
+ "BOTTOM",
228
+ "LEFT",
229
+ "BACK",
230
+ "BOTTOM",
231
+ "RIGHT",
232
+ "BACK",
233
+ "TOP"
234
+ ],
235
+ "required_slots": [
236
+ "FRONT",
237
+ "RIGHT",
238
+ "BOTTOM",
239
+ "LEFT",
240
+ "BACK",
241
+ "TOP"
242
+ ],
243
+ "required_count": 6,
244
+ "answer": {
245
+ "faces": {
246
+ "TOP": {
247
+ "patternId": "4",
248
+ "rotation": 0
249
+ },
250
+ "BOTTOM": {
251
+ "patternId": "arrow_up",
252
+ "rotation": 270
253
+ },
254
+ "FRONT": {
255
+ "patternId": "O",
256
+ "rotation": 180
257
+ },
258
+ "BACK": {
259
+ "patternId": "R",
260
+ "rotation": 270
261
+ },
262
+ "LEFT": {
263
+ "patternId": "O",
264
+ "rotation": 90
265
+ },
266
+ "RIGHT": {
267
+ "patternId": "plus",
268
+ "rotation": 90
269
+ }
270
+ }
271
+ },
272
+ "legacy_answer": {
273
+ "TOP": {
274
+ "patternId": "4",
275
+ "rotation": 0
276
+ },
277
+ "BOTTOM": {
278
+ "patternId": "arrow_up",
279
+ "rotation": 270
280
+ },
281
+ "FRONT": {
282
+ "patternId": "O",
283
+ "rotation": 180
284
+ },
285
+ "BACK": {
286
+ "patternId": "R",
287
+ "rotation": 270
288
+ },
289
+ "LEFT": {
290
+ "patternId": "O",
291
+ "rotation": 90
292
+ },
293
+ "RIGHT": {
294
+ "patternId": "plus",
295
+ "rotation": 90
296
+ }
297
+ },
298
+ "prompt": {
299
+ "system": "You are a cube-reconstruction puzzle solver. Given a blank cross net of a cube and a top-down path image showing the bottom-face imprints stamped onto the road as the cube rolls, you reconstruct the patternId and rotation of every outer face.\n\nYou will receive: (a) one blank cross-net image (the unfolded outer surface, with the six face slots TOP/BOTTOM/FRONT/BACK/LEFT/RIGHT), (b) one path-sequence image (top-down view of the cube's roll path with the bottom-face imprints visible), and (c) a structured text body listing the roll sequence, observed path faces, and the allowed patternId values for this task.\n\nYou may reason step by step before the final answer. Place your final answer on the very last line of your reply, in the form: FINAL_JSON: <one-line JSON>\n\nThe JSON object must follow the faces schema described in section 8 of the user prompt. Do NOT wrap FINAL_JSON in Markdown code fences. Do NOT write anything after the FINAL_JSON line. Emit exactly one FINAL_JSON line.\n\nIf a face cannot be uniquely determined from the inputs, output patternId=\"?\" and rotation=0 for that face. Always emit a complete FINAL_JSON line covering all six face keys; never refuse, never return prose only.",
300
+ "user": "## 1. TASK\nReconstruct the patternId and absolute rotation of every face of a cube from a roll-trace image.\nThe puzzle is solved when every output face matches the cube's true outer-surface configuration; faces that cannot be uniquely determined are reported with patternId=\"?\" and rotation=0.\n\n## 2. WORLD MODEL\n- Cube: a unit cube with one pattern printed on each of its six outer faces. Faces are named by their orientation in the world frame: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- Cross net: the unfolded outer surface laid flat in a cross shape. Each cell of the cross is one face of the cube.\n- Roll: tipping the cube 90° about one of its bottom edges into an adjacent grid cell.\n- Path imprint / bottom-face stamp: as the cube rolls, the face touching the ground stamps that face's pattern (rotated according to the roll) onto the grid cell it lay on. The path-sequence image shows these imprints from a top-down view.\n- patternId: the symbolic name of a face's printed pattern (e.g. \"smile\", \"triangle\", \"5\"). The literal string \"?\" denotes \"cannot be uniquely determined\".\n- rotation: an integer in {0, 90, 180, 270} measured clockwise from the pattern's upright orientation when the face is viewed from outside the cube.\n\n## 3. VISUAL LEGEND\n- Blank cross net image: shows the six face slots arranged in a cross with TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT labelled.\n- Path sequence image: a top-down grid showing the cube's start cell, the roll path, and the bottom-face imprints stamped along the path. Each imprint is the bottom-face pattern at the moment the cube rested on that cell, viewed from above (NOT viewed from underneath looking up).\n- Coordinate system: top-down, with grid cell positions used to locate imprints; rotations are expressed in degrees clockwise.\n\n## 4. INPUT FIELDS\n- sample_id: C368\n- net_layout: standard_cross\n- difficulty: 4\n- move_count: 9\n- roll_sequence (N=up, S=down, W=left, E=right): S -> E -> N -> N -> E -> S -> E -> N -> E\n- observed_path_faces (one entry per stamped imprint, in roll order):\n- step 1: patternId=O, rotation=180, flipVertical=true\n- step 2: patternId=plus, rotation=180, flipVertical=true\n- step 3: patternId=arrow_up, rotation=180, flipVertical=true\n- step 4: patternId=O, rotation=180, flipVertical=true\n- step 5: patternId=R, rotation=270, flipVertical=true\n- step 6: patternId=arrow_up, rotation=270, flipVertical=true\n- step 7: patternId=plus, rotation=270, flipVertical=true\n- step 8: patternId=R, rotation=180, flipVertical=true\n- step 9: patternId=4, rotation=270, flipVertical=true\n- allowed patternId values for this task: O, plus, arrow_up, R, 4, ?\n\n## 5. ACTION VOCABULARY\nA complete answer is one map from face name to its `(patternId, rotation)` pair:\n- face: one of {\"TOP\", \"BOTTOM\", \"FRONT\", \"BACK\", \"LEFT\", \"RIGHT\"}.\n- patternId: a string drawn from the allowed list above, or the literal \"?\" sentinel.\n- rotation: integer in {0, 90, 180, 270}.\nA face is \"uniquely determined\" iff the inputs (roll sequence, observed imprints, blank net) constrain its pattern and rotation to exactly one possibility.\n\n## 6. CONSTRAINTS\n- The output must list all six face keys exactly: TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT (no extras, no omissions).\n- Each `patternId` must come from the allowed list, or be the literal \"?\".\n- When `patternId == \"?\"`, `rotation` must be 0.\n- Each rotation must be one of 0, 90, 180, 270.\n- Do not invent new patternIds. The model is scored only against the listed allowed values plus \"?\".\n\n## 7. SOLVING ADVICE\n- Trace the roll one step at a time: which face becomes the bottom after each roll? The path imprint at that step records that face.\n- When a stamped imprint is rotated relative to the original pattern's upright orientation, infer the cumulative rotation that the rolling chain has applied to that face.\n- Faces that never touch the ground may not appear in the imprints; if no other constraint pins them, they are \"?\".\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"faces\":{\"TOP\":{\"patternId\":<string>,\"rotation\":<int>},\"BOTTOM\":{...},\"FRONT\":{...},\"BACK\":{...},\"LEFT\":{...},\"RIGHT\":{...}}}\n- faces: object with exactly six keys TOP, BOTTOM, FRONT, BACK, LEFT, RIGHT.\n- patternId: string from the allowed list, or \"?\".\n- rotation: integer in {0, 90, 180, 270}; 0 when patternId is \"?\".\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
301
+ }
302
+ }