simver commited on
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- cutrope/data/rope-097.json +164 -0
- cutrope/data/rope-098.json +124 -0
- cutrope/data/rope-099.json +122 -0
- cutrope/data/rope-100.json +133 -0
- cutrope/data/rope-101.json +131 -0
- cutrope/data/rope-102.json +171 -0
- cutrope/data/rope-103.json +135 -0
- cutrope/data/rope-104.json +128 -0
- cutrope/data/rope-105.json +184 -0
- cutrope/data/rope-106.json +155 -0
- cutrope/data/rope-107.json +156 -0
- cutrope/data/rope-108.json +124 -0
- cutrope/data/rope-109.json +182 -0
- cutrope/data/rope-110.json +206 -0
- cutrope/data/rope-111.json +154 -0
- cutrope/data/rope-112.json +201 -0
- cutrope/data/rope-113.json +192 -0
- cutrope/data/rope-114.json +201 -0
- cutrope/data/rope-115.json +130 -0
- cutrope/data/rope-116.json +186 -0
- cutrope/data/rope-117.json +170 -0
- cutrope/data/rope-118.json +134 -0
- cutrope/data/rope-119.json +123 -0
- cutrope/data/rope-120.json +133 -0
- cutrope/data/rope-121.json +199 -0
- cutrope/data/rope-122.json +165 -0
- cutrope/data/rope-123.json +154 -0
- cutrope/data/rope-124.json +202 -0
- cutrope/data/rope-125.json +142 -0
- cutrope/data/rope-126.json +149 -0
- cutrope/data/rope-127.json +200 -0
- cutrope/data/rope-128.json +184 -0
- cutrope/data/rope-129.json +146 -0
- cutrope/data/rope-130.json +147 -0
- cutrope/data/rope-131.json +231 -0
- cutrope/data/rope-132.json +139 -0
- cutrope/data/rope-133.json +150 -0
- cutrope/data/rope-134.json +137 -0
- cutrope/data/rope-135.json +245 -0
- cutrope/data/rope-136.json +154 -0
- cutrope/data/rope-137.json +197 -0
- cutrope/data/rope-138.json +204 -0
- cutrope/data/rope-139.json +188 -0
- cutrope/data/rope-140.json +119 -0
- cutrope/data/rope-141.json +141 -0
- cutrope/data/rope-142.json +138 -0
- cutrope/data/rope-143.json +137 -0
- cutrope/data/rope-144.json +120 -0
- cutrope/data/rope-145.json +218 -0
- cutrope/data/rope-146.json +161 -0
cutrope/data/rope-097.json
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-097",
|
| 4 |
+
"level_file": "data/task/rope-097.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-097.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 1,
|
| 20 |
+
"bubble": 2,
|
| 21 |
+
"candy": 1,
|
| 22 |
+
"grab_or_rope_anchor": 3,
|
| 23 |
+
"sock": 2,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 320,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 52,
|
| 46 |
+
"x": 164,
|
| 47 |
+
"y": 266
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 2,
|
| 51 |
+
"x": 236,
|
| 52 |
+
"y": 73
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": 100,
|
| 56 |
+
"x": 154,
|
| 57 |
+
"y": 129,
|
| 58 |
+
"length": 100,
|
| 59 |
+
"wheel": false,
|
| 60 |
+
"gun": false,
|
| 61 |
+
"radius": -1,
|
| 62 |
+
"moveLength": -1,
|
| 63 |
+
"moveVertical": false,
|
| 64 |
+
"moveOffset": 0,
|
| 65 |
+
"spider": false,
|
| 66 |
+
"part": "R"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 100,
|
| 70 |
+
"x": 283,
|
| 71 |
+
"y": 269,
|
| 72 |
+
"length": 95,
|
| 73 |
+
"wheel": false,
|
| 74 |
+
"gun": false,
|
| 75 |
+
"radius": -1,
|
| 76 |
+
"moveLength": -1,
|
| 77 |
+
"moveVertical": false,
|
| 78 |
+
"moveOffset": 0,
|
| 79 |
+
"spider": false,
|
| 80 |
+
"part": "R"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 3,
|
| 84 |
+
"x": 77,
|
| 85 |
+
"y": 382,
|
| 86 |
+
"timeout": -1
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 3,
|
| 90 |
+
"x": 258,
|
| 91 |
+
"y": 378,
|
| 92 |
+
"timeout": -1
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 3,
|
| 96 |
+
"x": 235,
|
| 97 |
+
"y": 163,
|
| 98 |
+
"timeout": -1
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 82,
|
| 102 |
+
"x": 307,
|
| 103 |
+
"y": 385,
|
| 104 |
+
"angle": 90,
|
| 105 |
+
"size": 2
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"name": 54,
|
| 109 |
+
"x": 77,
|
| 110 |
+
"y": 173
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"name": 56,
|
| 114 |
+
"x": 203,
|
| 115 |
+
"y": 382,
|
| 116 |
+
"group": 0,
|
| 117 |
+
"angle": 0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"name": 56,
|
| 121 |
+
"x": 79,
|
| 122 |
+
"y": 104,
|
| 123 |
+
"group": 0,
|
| 124 |
+
"angle": 90
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": 100,
|
| 128 |
+
"x": 34,
|
| 129 |
+
"y": 274,
|
| 130 |
+
"length": 95,
|
| 131 |
+
"wheel": false,
|
| 132 |
+
"gun": false,
|
| 133 |
+
"radius": -1,
|
| 134 |
+
"moveLength": -1,
|
| 135 |
+
"moveVertical": false,
|
| 136 |
+
"moveOffset": 0,
|
| 137 |
+
"spider": false,
|
| 138 |
+
"part": "R"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"name": 54,
|
| 142 |
+
"x": 80,
|
| 143 |
+
"y": 374
|
| 144 |
+
}
|
| 145 |
+
],
|
| 146 |
+
"mirroredFrom": "06-23.json"
|
| 147 |
+
},
|
| 148 |
+
"reference_solution": "cut_rope 0,2\npop_bubble 0 when candy_y < 340",
|
| 149 |
+
"reference": {
|
| 150 |
+
"won": true,
|
| 151 |
+
"stars": 3,
|
| 152 |
+
"updated_at": "2026-05-05T17:39:56.417Z"
|
| 153 |
+
},
|
| 154 |
+
"answer": {
|
| 155 |
+
"commands": "cut_rope 0,2\npop_bubble 0 when candy_y < 340",
|
| 156 |
+
"reason": "reference solution",
|
| 157 |
+
"confidence": 1.0
|
| 158 |
+
},
|
| 159 |
+
"legacy_answer": "cut_rope 0,2\npop_bubble 0 when candy_y < 340",
|
| 160 |
+
"prompt": {
|
| 161 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 162 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-097\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n - bubble: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 163 |
+
}
|
| 164 |
+
}
|
cutrope/data/rope-098.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-098",
|
| 4 |
+
"level_file": "data/task/rope-098.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-098.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"sock": 2,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 2,
|
| 45 |
+
"x": 140,
|
| 46 |
+
"y": 165
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 56,
|
| 50 |
+
"x": 140,
|
| 51 |
+
"y": 403,
|
| 52 |
+
"group": 0,
|
| 53 |
+
"angle": 270
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"name": 56,
|
| 57 |
+
"x": 247,
|
| 58 |
+
"y": 402,
|
| 59 |
+
"group": 0,
|
| 60 |
+
"angle": 270
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 3,
|
| 64 |
+
"x": 249,
|
| 65 |
+
"y": 53,
|
| 66 |
+
"timeout": -1
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 3,
|
| 70 |
+
"x": 143,
|
| 71 |
+
"y": 298,
|
| 72 |
+
"timeout": -1
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 3,
|
| 76 |
+
"x": 251,
|
| 77 |
+
"y": 296,
|
| 78 |
+
"timeout": -1
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 52,
|
| 82 |
+
"x": 246,
|
| 83 |
+
"y": 131
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 100,
|
| 87 |
+
"x": 248,
|
| 88 |
+
"y": 239,
|
| 89 |
+
"length": 80,
|
| 90 |
+
"wheel": false,
|
| 91 |
+
"radius": -1,
|
| 92 |
+
"moveLength": -1,
|
| 93 |
+
"moveVertical": false,
|
| 94 |
+
"moveOffset": 0,
|
| 95 |
+
"spider": false,
|
| 96 |
+
"part": "R"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"name": 54,
|
| 100 |
+
"x": 247,
|
| 101 |
+
"y": 128
|
| 102 |
+
}
|
| 103 |
+
],
|
| 104 |
+
"levelId": "04-13",
|
| 105 |
+
"levelEditedAt": "2026-05-05T15:41:29.028Z",
|
| 106 |
+
"mirroredFrom": "04-13.json"
|
| 107 |
+
},
|
| 108 |
+
"reference_solution": "cut_rope 0 \npop_bubble 0 when candy_y < 140\ncut_rope 0 when candy_y > 570",
|
| 109 |
+
"reference": {
|
| 110 |
+
"won": true,
|
| 111 |
+
"stars": 3,
|
| 112 |
+
"updated_at": "2026-05-05T15:41:57.174Z"
|
| 113 |
+
},
|
| 114 |
+
"answer": {
|
| 115 |
+
"commands": "cut_rope 0 \npop_bubble 0 when candy_y < 140\ncut_rope 0 when candy_y > 570",
|
| 116 |
+
"reason": "reference solution",
|
| 117 |
+
"confidence": 1.0
|
| 118 |
+
},
|
| 119 |
+
"legacy_answer": "cut_rope 0 \npop_bubble 0 when candy_y < 140\ncut_rope 0 when candy_y > 570",
|
| 120 |
+
"prompt": {
|
| 121 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 122 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-098\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 123 |
+
}
|
| 124 |
+
}
|
cutrope/data/rope-099.json
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-099",
|
| 4 |
+
"level_file": "data/task/rope-099.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-099.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 2,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"pump": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 640,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 54,
|
| 45 |
+
"x": 237,
|
| 46 |
+
"y": 124
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 54,
|
| 50 |
+
"x": 237,
|
| 51 |
+
"y": 319
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": 55,
|
| 55 |
+
"x": 162,
|
| 56 |
+
"y": 126,
|
| 57 |
+
"angle": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": 2,
|
| 61 |
+
"x": 383,
|
| 62 |
+
"y": 420
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"name": 52,
|
| 66 |
+
"x": 236,
|
| 67 |
+
"y": 324
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": 3,
|
| 71 |
+
"x": 387,
|
| 72 |
+
"y": 317,
|
| 73 |
+
"timeout": 8
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"name": 3,
|
| 77 |
+
"x": 380,
|
| 78 |
+
"y": 135,
|
| 79 |
+
"timeout": 9
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 3,
|
| 83 |
+
"x": 236,
|
| 84 |
+
"y": 124,
|
| 85 |
+
"timeout": 7
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 100,
|
| 89 |
+
"x": 237,
|
| 90 |
+
"y": 434,
|
| 91 |
+
"length": 80,
|
| 92 |
+
"wheel": false,
|
| 93 |
+
"gun": false,
|
| 94 |
+
"radius": -1,
|
| 95 |
+
"moveLength": -1,
|
| 96 |
+
"moveVertical": false,
|
| 97 |
+
"moveOffset": 0,
|
| 98 |
+
"spider": false,
|
| 99 |
+
"part": "R"
|
| 100 |
+
}
|
| 101 |
+
],
|
| 102 |
+
"levelId": "02-19",
|
| 103 |
+
"levelEditedAt": "2026-05-05T14:21:35.907Z",
|
| 104 |
+
"mirroredFrom": "02-19.json"
|
| 105 |
+
},
|
| 106 |
+
"reference_solution": "cut_rope 0 when candy_still for 0.3 and candy_near 770,720,60\nactivate_pump 0 when candy_y < 300\npop_bubble 0 when candy_y < 100",
|
| 107 |
+
"reference": {
|
| 108 |
+
"won": true,
|
| 109 |
+
"stars": 3,
|
| 110 |
+
"updated_at": "2026-05-05T14:21:53.945Z"
|
| 111 |
+
},
|
| 112 |
+
"answer": {
|
| 113 |
+
"commands": "cut_rope 0 when candy_still for 0.3 and candy_near 770,720,60\nactivate_pump 0 when candy_y < 300\npop_bubble 0 when candy_y < 100",
|
| 114 |
+
"reason": "reference solution",
|
| 115 |
+
"confidence": 1.0
|
| 116 |
+
},
|
| 117 |
+
"legacy_answer": "cut_rope 0 when candy_still for 0.3 and candy_near 770,720,60\nactivate_pump 0 when candy_y < 300\npop_bubble 0 when candy_y < 100",
|
| 118 |
+
"prompt": {
|
| 119 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 120 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-099\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 2\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 121 |
+
}
|
| 122 |
+
}
|
cutrope/data/rope-100.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-100",
|
| 4 |
+
"level_file": "data/task/rope-100.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-100.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 3,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 640,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 52,
|
| 44 |
+
"x": 402,
|
| 45 |
+
"y": 351
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 2,
|
| 49 |
+
"x": 234,
|
| 50 |
+
"y": 61
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 54,
|
| 54 |
+
"x": 247,
|
| 55 |
+
"y": 410
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 100,
|
| 59 |
+
"x": 330,
|
| 60 |
+
"y": 128,
|
| 61 |
+
"length": 210,
|
| 62 |
+
"wheel": false,
|
| 63 |
+
"gun": false,
|
| 64 |
+
"radius": -1,
|
| 65 |
+
"moveLength": -1,
|
| 66 |
+
"moveVertical": false,
|
| 67 |
+
"moveOffset": 0,
|
| 68 |
+
"spider": false,
|
| 69 |
+
"part": "L",
|
| 70 |
+
"hidePath": false
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"name": 100,
|
| 74 |
+
"x": 224,
|
| 75 |
+
"y": 126,
|
| 76 |
+
"length": 275,
|
| 77 |
+
"wheel": false,
|
| 78 |
+
"gun": false,
|
| 79 |
+
"radius": -1,
|
| 80 |
+
"moveLength": -1,
|
| 81 |
+
"moveVertical": false,
|
| 82 |
+
"moveOffset": 0,
|
| 83 |
+
"spider": false,
|
| 84 |
+
"part": "L",
|
| 85 |
+
"hidePath": false
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 54,
|
| 89 |
+
"x": 325,
|
| 90 |
+
"y": 418
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"name": 54,
|
| 94 |
+
"x": 403,
|
| 95 |
+
"y": 412
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": 3,
|
| 99 |
+
"x": 404,
|
| 100 |
+
"y": 287,
|
| 101 |
+
"timeout": -1
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"name": 3,
|
| 105 |
+
"x": 235,
|
| 106 |
+
"y": 193,
|
| 107 |
+
"timeout": -1
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 3,
|
| 111 |
+
"x": 326,
|
| 112 |
+
"y": 418,
|
| 113 |
+
"timeout": -1
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
},
|
| 117 |
+
"reference_solution": "cut_rope 0 \npop_bubble 2 when candy_y < 400",
|
| 118 |
+
"reference": {
|
| 119 |
+
"won": true,
|
| 120 |
+
"stars": 3,
|
| 121 |
+
"updated_at": "2026-05-05T13:12:36.555Z"
|
| 122 |
+
},
|
| 123 |
+
"answer": {
|
| 124 |
+
"commands": "cut_rope 0 \npop_bubble 2 when candy_y < 400",
|
| 125 |
+
"reason": "reference solution",
|
| 126 |
+
"confidence": 1.0
|
| 127 |
+
},
|
| 128 |
+
"legacy_answer": "cut_rope 0 \npop_bubble 2 when candy_y < 400",
|
| 129 |
+
"prompt": {
|
| 130 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 131 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-100\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 3\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 132 |
+
}
|
| 133 |
+
}
|
cutrope/data/rope-101.json
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-101",
|
| 4 |
+
"level_file": "data/task/rope-101.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-101.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"pump": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 100,
|
| 45 |
+
"x": 125,
|
| 46 |
+
"y": 258,
|
| 47 |
+
"length": 100,
|
| 48 |
+
"wheel": false,
|
| 49 |
+
"gun": false,
|
| 50 |
+
"radius": 40,
|
| 51 |
+
"moveLength": -1,
|
| 52 |
+
"moveVertical": false,
|
| 53 |
+
"moveOffset": 0,
|
| 54 |
+
"spider": false,
|
| 55 |
+
"part": "R"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 3,
|
| 59 |
+
"x": 126,
|
| 60 |
+
"y": 371,
|
| 61 |
+
"timeout": 10
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 54,
|
| 65 |
+
"x": 127,
|
| 66 |
+
"y": 378
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 2,
|
| 70 |
+
"x": 124,
|
| 71 |
+
"y": 71
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": 3,
|
| 75 |
+
"x": 205,
|
| 76 |
+
"y": 83,
|
| 77 |
+
"timeout": -1
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"name": 55,
|
| 81 |
+
"x": 36,
|
| 82 |
+
"y": 146,
|
| 83 |
+
"angle": 0
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 3,
|
| 87 |
+
"x": 31,
|
| 88 |
+
"y": 76,
|
| 89 |
+
"timeout": -1
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": 52,
|
| 93 |
+
"x": 125,
|
| 94 |
+
"y": 140
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"name": 100,
|
| 98 |
+
"x": 126,
|
| 99 |
+
"y": 34,
|
| 100 |
+
"length": 70,
|
| 101 |
+
"wheel": false,
|
| 102 |
+
"gun": false,
|
| 103 |
+
"radius": -1,
|
| 104 |
+
"moveLength": -1,
|
| 105 |
+
"moveVertical": false,
|
| 106 |
+
"moveOffset": 0,
|
| 107 |
+
"spider": false,
|
| 108 |
+
"part": "R"
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"levelId": "02-22",
|
| 112 |
+
"levelEditedAt": "2026-05-05T14:38:58.835Z",
|
| 113 |
+
"mirroredFrom": "02-22.json"
|
| 114 |
+
},
|
| 115 |
+
"reference_solution": "activate_pump 0 \ncut_rope 1 when candy_near 730,250,50 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 116 |
+
"reference": {
|
| 117 |
+
"won": true,
|
| 118 |
+
"stars": 3,
|
| 119 |
+
"updated_at": "2026-05-05T14:41:38.128Z"
|
| 120 |
+
},
|
| 121 |
+
"answer": {
|
| 122 |
+
"commands": "activate_pump 0 \ncut_rope 1 when candy_near 730,250,50 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 123 |
+
"reason": "reference solution",
|
| 124 |
+
"confidence": 1.0
|
| 125 |
+
},
|
| 126 |
+
"legacy_answer": "activate_pump 0 \ncut_rope 1 when candy_near 730,250,50 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 127 |
+
"prompt": {
|
| 128 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 129 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-101\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 1\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 130 |
+
}
|
| 131 |
+
}
|
cutrope/data/rope-102.json
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-102",
|
| 4 |
+
"level_file": "data/task/rope-102.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-102.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 2,
|
| 20 |
+
"bubble": 2,
|
| 21 |
+
"candy": 1,
|
| 22 |
+
"grab_or_rope_anchor": 3,
|
| 23 |
+
"object_103": 1,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 320,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 2,
|
| 46 |
+
"x": 157,
|
| 47 |
+
"y": 41
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 52,
|
| 51 |
+
"x": 154,
|
| 52 |
+
"y": 174
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": 100,
|
| 56 |
+
"x": 258,
|
| 57 |
+
"y": 161,
|
| 58 |
+
"length": 100,
|
| 59 |
+
"wheel": false,
|
| 60 |
+
"gun": false,
|
| 61 |
+
"kickable": false,
|
| 62 |
+
"radius": -1,
|
| 63 |
+
"invisible": false,
|
| 64 |
+
"moveLength": -1,
|
| 65 |
+
"moveVertical": false,
|
| 66 |
+
"moveOffset": 0,
|
| 67 |
+
"spider": false,
|
| 68 |
+
"part": "L"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 100,
|
| 72 |
+
"x": 50,
|
| 73 |
+
"y": 160,
|
| 74 |
+
"length": 100,
|
| 75 |
+
"wheel": false,
|
| 76 |
+
"gun": false,
|
| 77 |
+
"kickable": false,
|
| 78 |
+
"radius": -1,
|
| 79 |
+
"invisible": false,
|
| 80 |
+
"moveLength": -1,
|
| 81 |
+
"moveVertical": false,
|
| 82 |
+
"moveOffset": 0,
|
| 83 |
+
"spider": false,
|
| 84 |
+
"part": "L"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": 100,
|
| 88 |
+
"x": 157,
|
| 89 |
+
"y": 301,
|
| 90 |
+
"length": 100,
|
| 91 |
+
"wheel": false,
|
| 92 |
+
"gun": false,
|
| 93 |
+
"kickable": false,
|
| 94 |
+
"radius": -1,
|
| 95 |
+
"invisible": false,
|
| 96 |
+
"moveLength": -1,
|
| 97 |
+
"moveVertical": false,
|
| 98 |
+
"moveOffset": 0,
|
| 99 |
+
"spider": false,
|
| 100 |
+
"part": "L"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": 3,
|
| 104 |
+
"x": 198,
|
| 105 |
+
"y": 397,
|
| 106 |
+
"timeout": -1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": 3,
|
| 110 |
+
"x": 155,
|
| 111 |
+
"y": 109,
|
| 112 |
+
"timeout": 9
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": 3,
|
| 116 |
+
"x": 110,
|
| 117 |
+
"y": 402,
|
| 118 |
+
"timeout": -1
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": 81,
|
| 122 |
+
"x": 63,
|
| 123 |
+
"y": 407,
|
| 124 |
+
"angle": 90,
|
| 125 |
+
"size": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"name": 81,
|
| 129 |
+
"x": 260,
|
| 130 |
+
"y": 288,
|
| 131 |
+
"angle": 90,
|
| 132 |
+
"size": 1
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"name": 54,
|
| 136 |
+
"x": 106,
|
| 137 |
+
"y": 398
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"name": 54,
|
| 141 |
+
"x": 154,
|
| 142 |
+
"y": 173
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": 103,
|
| 146 |
+
"x": 38,
|
| 147 |
+
"y": 212,
|
| 148 |
+
"angle": 20,
|
| 149 |
+
"Pj": 12
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"levelId": "06-17",
|
| 153 |
+
"levelEditedAt": "2026-05-05T17:31:14.946Z"
|
| 154 |
+
},
|
| 155 |
+
"reference_solution": "cut_rope 1 \npop_bubble 1 when candy_still for 0.3 and candy_near 960,370,60\ncut_rope 0 when candy_y > 660\ncut_rope 2 when candy_y < 380",
|
| 156 |
+
"reference": {
|
| 157 |
+
"won": true,
|
| 158 |
+
"stars": 3,
|
| 159 |
+
"updated_at": "2026-05-05T17:32:03.745Z"
|
| 160 |
+
},
|
| 161 |
+
"answer": {
|
| 162 |
+
"commands": "cut_rope 1 \npop_bubble 1 when candy_still for 0.3 and candy_near 960,370,60\ncut_rope 0 when candy_y > 660\ncut_rope 2 when candy_y < 380",
|
| 163 |
+
"reason": "reference solution",
|
| 164 |
+
"confidence": 1.0
|
| 165 |
+
},
|
| 166 |
+
"legacy_answer": "cut_rope 1 \npop_bubble 1 when candy_still for 0.3 and candy_near 960,370,60\ncut_rope 0 when candy_y > 660\ncut_rope 2 when candy_y < 380",
|
| 167 |
+
"prompt": {
|
| 168 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 169 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-102\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n - bubble: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 170 |
+
}
|
| 171 |
+
}
|
cutrope/data/rope-103.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-103",
|
| 4 |
+
"level_file": "data/task/rope-103.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-103.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 4,
|
| 21 |
+
"star": 3,
|
| 22 |
+
"target": 1
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"level_json_without_solution": {
|
| 26 |
+
"settings": [
|
| 27 |
+
{
|
| 28 |
+
"name": 0,
|
| 29 |
+
"gridSize": 32,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": 1,
|
| 35 |
+
"special": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1
|
| 37 |
+
}
|
| 38 |
+
],
|
| 39 |
+
"objects": [
|
| 40 |
+
{
|
| 41 |
+
"name": 52,
|
| 42 |
+
"x": 162,
|
| 43 |
+
"y": 187
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"name": 2,
|
| 47 |
+
"x": 58,
|
| 48 |
+
"y": 362
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 100,
|
| 52 |
+
"x": 159,
|
| 53 |
+
"y": 315,
|
| 54 |
+
"length": 93,
|
| 55 |
+
"wheel": false,
|
| 56 |
+
"radius": -1,
|
| 57 |
+
"moveLength": -1,
|
| 58 |
+
"moveVertical": false,
|
| 59 |
+
"moveOffset": 0,
|
| 60 |
+
"spider": false
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 100,
|
| 64 |
+
"x": 31,
|
| 65 |
+
"y": 186,
|
| 66 |
+
"length": 105,
|
| 67 |
+
"wheel": false,
|
| 68 |
+
"radius": -1,
|
| 69 |
+
"moveLength": -1,
|
| 70 |
+
"moveVertical": false,
|
| 71 |
+
"moveOffset": 0,
|
| 72 |
+
"spider": false
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 100,
|
| 76 |
+
"x": 158,
|
| 77 |
+
"y": 57,
|
| 78 |
+
"length": 93,
|
| 79 |
+
"wheel": false,
|
| 80 |
+
"radius": -1,
|
| 81 |
+
"moveLength": -1,
|
| 82 |
+
"moveVertical": false,
|
| 83 |
+
"moveOffset": 0,
|
| 84 |
+
"spider": false
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": 100,
|
| 88 |
+
"x": 287,
|
| 89 |
+
"y": 186,
|
| 90 |
+
"length": 105,
|
| 91 |
+
"wheel": false,
|
| 92 |
+
"radius": -1,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"name": 3,
|
| 100 |
+
"x": 161,
|
| 101 |
+
"y": 226,
|
| 102 |
+
"timeout": -1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 3,
|
| 106 |
+
"x": 288,
|
| 107 |
+
"y": 312,
|
| 108 |
+
"timeout": -1
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 3,
|
| 112 |
+
"x": 159,
|
| 113 |
+
"y": 434,
|
| 114 |
+
"timeout": -1
|
| 115 |
+
}
|
| 116 |
+
],
|
| 117 |
+
"mirroredFrom": "01-04.json"
|
| 118 |
+
},
|
| 119 |
+
"reference_solution": "cut_rope 2\ncut_rope 1 when candy_still for 0.3 \ncut_rope 3 when candy_x > 1200",
|
| 120 |
+
"reference": {
|
| 121 |
+
"won": true,
|
| 122 |
+
"stars": 3,
|
| 123 |
+
"updated_at": "2026-05-05T10:54:15.133Z"
|
| 124 |
+
},
|
| 125 |
+
"answer": {
|
| 126 |
+
"commands": "cut_rope 2\ncut_rope 1 when candy_still for 0.3 \ncut_rope 3 when candy_x > 1200",
|
| 127 |
+
"reason": "reference solution",
|
| 128 |
+
"confidence": 1.0
|
| 129 |
+
},
|
| 130 |
+
"legacy_answer": "cut_rope 2\ncut_rope 1 when candy_still for 0.3 \ncut_rope 3 when candy_x > 1200",
|
| 131 |
+
"prompt": {
|
| 132 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 133 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-103\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 134 |
+
}
|
| 135 |
+
}
|
cutrope/data/rope-104.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-104",
|
| 4 |
+
"level_file": "data/task/rope-104.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-104.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 2,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"sock": 2,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 640,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 52,
|
| 45 |
+
"x": 388,
|
| 46 |
+
"y": 284
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 56,
|
| 50 |
+
"x": 228,
|
| 51 |
+
"y": 395,
|
| 52 |
+
"group": 0,
|
| 53 |
+
"angle": 270
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"name": 56,
|
| 57 |
+
"x": 384,
|
| 58 |
+
"y": 394,
|
| 59 |
+
"group": 0,
|
| 60 |
+
"angle": 270
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 3,
|
| 64 |
+
"x": 230,
|
| 65 |
+
"y": 60,
|
| 66 |
+
"timeout": -1
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 2,
|
| 70 |
+
"x": 388,
|
| 71 |
+
"y": 122
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": 3,
|
| 75 |
+
"x": 229,
|
| 76 |
+
"y": 179,
|
| 77 |
+
"timeout": -1
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"name": 3,
|
| 81 |
+
"x": 230,
|
| 82 |
+
"y": 119,
|
| 83 |
+
"timeout": -1
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 100,
|
| 87 |
+
"x": 387,
|
| 88 |
+
"y": 219,
|
| 89 |
+
"length": 30,
|
| 90 |
+
"wheel": false,
|
| 91 |
+
"gun": false,
|
| 92 |
+
"radius": -1,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false,
|
| 97 |
+
"part": "R"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 54,
|
| 101 |
+
"x": 388,
|
| 102 |
+
"y": 343
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 54,
|
| 106 |
+
"x": 230,
|
| 107 |
+
"y": 256
|
| 108 |
+
}
|
| 109 |
+
],
|
| 110 |
+
"mirroredFrom": "04-07.json"
|
| 111 |
+
},
|
| 112 |
+
"reference_solution": "cut_rope 0 when candy_still for 0.3 and candy_near 1110,640,60\npop_bubble 0 when candy_y < 450\npop_bubble 1 when candy_y < 100",
|
| 113 |
+
"reference": {
|
| 114 |
+
"won": true,
|
| 115 |
+
"stars": 3,
|
| 116 |
+
"updated_at": "2026-05-05T15:44:30.241Z"
|
| 117 |
+
},
|
| 118 |
+
"answer": {
|
| 119 |
+
"commands": "cut_rope 0 when candy_still for 0.3 and candy_near 1110,640,60\npop_bubble 0 when candy_y < 450\npop_bubble 1 when candy_y < 100",
|
| 120 |
+
"reason": "reference solution",
|
| 121 |
+
"confidence": 1.0
|
| 122 |
+
},
|
| 123 |
+
"legacy_answer": "cut_rope 0 when candy_still for 0.3 and candy_near 1110,640,60\npop_bubble 0 when candy_y < 450\npop_bubble 1 when candy_y < 100",
|
| 124 |
+
"prompt": {
|
| 125 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 126 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-104\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 127 |
+
}
|
| 128 |
+
}
|
cutrope/data/rope-105.json
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-105",
|
| 4 |
+
"level_file": "data/task/rope-105.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-105.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": true,
|
| 17 |
+
"special": null,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 2,
|
| 20 |
+
"bubble": 1,
|
| 21 |
+
"grab_or_rope_anchor": 4,
|
| 22 |
+
"left_candy": 1,
|
| 23 |
+
"right_candy": 1,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 320,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"twoParts": true
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 51,
|
| 45 |
+
"x": 285,
|
| 46 |
+
"y": 188
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 50,
|
| 50 |
+
"x": 28,
|
| 51 |
+
"y": 188
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": 100,
|
| 55 |
+
"x": 287,
|
| 56 |
+
"y": 95,
|
| 57 |
+
"length": 50,
|
| 58 |
+
"wheel": false,
|
| 59 |
+
"gun": false,
|
| 60 |
+
"kickable": false,
|
| 61 |
+
"kicked": false,
|
| 62 |
+
"radius": -1,
|
| 63 |
+
"invisible": false,
|
| 64 |
+
"moveLength": -1,
|
| 65 |
+
"moveVertical": false,
|
| 66 |
+
"moveOffset": 0,
|
| 67 |
+
"spider": false,
|
| 68 |
+
"part": "R"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 100,
|
| 72 |
+
"x": 30,
|
| 73 |
+
"y": 95,
|
| 74 |
+
"length": 50,
|
| 75 |
+
"wheel": false,
|
| 76 |
+
"gun": false,
|
| 77 |
+
"kickable": false,
|
| 78 |
+
"kicked": false,
|
| 79 |
+
"radius": -1,
|
| 80 |
+
"invisible": false,
|
| 81 |
+
"moveLength": -1,
|
| 82 |
+
"moveVertical": false,
|
| 83 |
+
"moveOffset": 0,
|
| 84 |
+
"spider": false,
|
| 85 |
+
"part": "L"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 100,
|
| 89 |
+
"x": 287,
|
| 90 |
+
"y": 384,
|
| 91 |
+
"length": 110,
|
| 92 |
+
"wheel": false,
|
| 93 |
+
"gun": false,
|
| 94 |
+
"kickable": false,
|
| 95 |
+
"kicked": false,
|
| 96 |
+
"radius": -1,
|
| 97 |
+
"invisible": false,
|
| 98 |
+
"moveLength": -1,
|
| 99 |
+
"moveVertical": false,
|
| 100 |
+
"moveOffset": 0,
|
| 101 |
+
"spider": false,
|
| 102 |
+
"part": "R"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 100,
|
| 106 |
+
"x": 30,
|
| 107 |
+
"y": 384,
|
| 108 |
+
"length": 110,
|
| 109 |
+
"wheel": false,
|
| 110 |
+
"gun": false,
|
| 111 |
+
"kickable": false,
|
| 112 |
+
"kicked": false,
|
| 113 |
+
"radius": -1,
|
| 114 |
+
"invisible": false,
|
| 115 |
+
"moveLength": -1,
|
| 116 |
+
"moveVertical": false,
|
| 117 |
+
"moveOffset": 0,
|
| 118 |
+
"spider": false,
|
| 119 |
+
"part": "L"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"name": 2,
|
| 123 |
+
"x": 160,
|
| 124 |
+
"y": 435
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": 3,
|
| 128 |
+
"x": 27,
|
| 129 |
+
"y": 143,
|
| 130 |
+
"timeout": -1
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": 3,
|
| 134 |
+
"x": 286,
|
| 135 |
+
"y": 146,
|
| 136 |
+
"timeout": -1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": 81,
|
| 140 |
+
"x": 30,
|
| 141 |
+
"y": 440,
|
| 142 |
+
"angle": 195,
|
| 143 |
+
"size": 1
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"name": 3,
|
| 147 |
+
"x": 160,
|
| 148 |
+
"y": 157,
|
| 149 |
+
"timeout": -1
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"name": 54,
|
| 153 |
+
"x": 160,
|
| 154 |
+
"y": 329
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": 81,
|
| 158 |
+
"x": 286,
|
| 159 |
+
"y": 436,
|
| 160 |
+
"angle": 165,
|
| 161 |
+
"size": 1
|
| 162 |
+
}
|
| 163 |
+
],
|
| 164 |
+
"levelId": "09-14",
|
| 165 |
+
"levelEditedAt": "2026-05-05T18:39:38.480Z",
|
| 166 |
+
"mirroredFrom": "09-14.json"
|
| 167 |
+
},
|
| 168 |
+
"reference_solution": "cut_rope 2,3 \ncut_rope 0,1 \npop_bubble 0 when candy_y < 300",
|
| 169 |
+
"reference": {
|
| 170 |
+
"won": true,
|
| 171 |
+
"stars": 3,
|
| 172 |
+
"updated_at": "2026-05-05T18:39:48.755Z"
|
| 173 |
+
},
|
| 174 |
+
"answer": {
|
| 175 |
+
"commands": "cut_rope 2,3 \ncut_rope 0,1 \npop_bubble 0 when candy_y < 300",
|
| 176 |
+
"reason": "reference solution",
|
| 177 |
+
"confidence": 1.0
|
| 178 |
+
},
|
| 179 |
+
"legacy_answer": "cut_rope 2,3 \ncut_rope 0,1 \npop_bubble 0 when candy_y < 300",
|
| 180 |
+
"prompt": {
|
| 181 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 182 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-105\n- canvas_size: 1920 x 1080\n- two_parts (split candy): True\n- object_counts:\n - target: 1\n - star: 3\n - left split candy: 1\n - right split candy: 1\n - rope/grab: 4\n - bubble: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Split candy: the level starts with left_candy and right_candy halves. Before they merge, use left_candy_* and right_candy_* conditions. After they touch and merge, use candy_* for the complete candy.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 183 |
+
}
|
| 184 |
+
}
|
cutrope/data/rope-106.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-106",
|
| 4 |
+
"level_file": "data/task/rope-106.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-106.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 5,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 3,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 640,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 54,
|
| 44 |
+
"x": 210,
|
| 45 |
+
"y": 315
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 54,
|
| 49 |
+
"x": 311,
|
| 50 |
+
"y": 420
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 100,
|
| 54 |
+
"x": 312,
|
| 55 |
+
"y": 318,
|
| 56 |
+
"length": 100,
|
| 57 |
+
"wheel": false,
|
| 58 |
+
"gun": false,
|
| 59 |
+
"radius": 80,
|
| 60 |
+
"moveLength": -1,
|
| 61 |
+
"moveVertical": false,
|
| 62 |
+
"moveOffset": 0,
|
| 63 |
+
"spider": false,
|
| 64 |
+
"part": "L"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": 54,
|
| 68 |
+
"x": 311,
|
| 69 |
+
"y": 210
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": 3,
|
| 73 |
+
"x": 403,
|
| 74 |
+
"y": 167,
|
| 75 |
+
"timeout": -1
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 3,
|
| 79 |
+
"x": 216,
|
| 80 |
+
"y": 314,
|
| 81 |
+
"timeout": -1
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"name": 3,
|
| 85 |
+
"x": 410,
|
| 86 |
+
"y": 313,
|
| 87 |
+
"timeout": -1
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": 2,
|
| 91 |
+
"x": 318,
|
| 92 |
+
"y": 41
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 54,
|
| 96 |
+
"x": 239,
|
| 97 |
+
"y": 242
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 54,
|
| 101 |
+
"x": 239,
|
| 102 |
+
"y": 387
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 100,
|
| 106 |
+
"x": 231,
|
| 107 |
+
"y": 35,
|
| 108 |
+
"length": 100,
|
| 109 |
+
"wheel": false,
|
| 110 |
+
"gun": false,
|
| 111 |
+
"radius": -1,
|
| 112 |
+
"moveLength": -1,
|
| 113 |
+
"moveVertical": false,
|
| 114 |
+
"moveOffset": 0,
|
| 115 |
+
"spider": false,
|
| 116 |
+
"part": "L"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": 52,
|
| 120 |
+
"x": 315,
|
| 121 |
+
"y": 121
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": 100,
|
| 125 |
+
"x": 416,
|
| 126 |
+
"y": 35,
|
| 127 |
+
"length": 100,
|
| 128 |
+
"wheel": false,
|
| 129 |
+
"gun": false,
|
| 130 |
+
"radius": -1,
|
| 131 |
+
"moveLength": -1,
|
| 132 |
+
"moveVertical": false,
|
| 133 |
+
"moveOffset": 0,
|
| 134 |
+
"spider": false,
|
| 135 |
+
"part": "L"
|
| 136 |
+
}
|
| 137 |
+
]
|
| 138 |
+
},
|
| 139 |
+
"reference_solution": "cut_rope 1 \ncut_rope 2 when candy_near 1250,360,60 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 140 |
+
"reference": {
|
| 141 |
+
"won": true,
|
| 142 |
+
"stars": 3,
|
| 143 |
+
"updated_at": "2026-05-05T14:01:54.229Z"
|
| 144 |
+
},
|
| 145 |
+
"answer": {
|
| 146 |
+
"commands": "cut_rope 1 \ncut_rope 2 when candy_near 1250,360,60 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 147 |
+
"reason": "reference solution",
|
| 148 |
+
"confidence": 1.0
|
| 149 |
+
},
|
| 150 |
+
"legacy_answer": "cut_rope 1 \ncut_rope 2 when candy_near 1250,360,60 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 151 |
+
"prompt": {
|
| 152 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 153 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-106\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n - bubble: 5\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 154 |
+
}
|
| 155 |
+
}
|
cutrope/data/rope-107.json
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-107",
|
| 4 |
+
"level_file": "data/task/rope-107.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-107.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 5,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 3,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 640,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 54,
|
| 44 |
+
"x": 430,
|
| 45 |
+
"y": 315
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 54,
|
| 49 |
+
"x": 329,
|
| 50 |
+
"y": 420
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 100,
|
| 54 |
+
"x": 328,
|
| 55 |
+
"y": 318,
|
| 56 |
+
"length": 100,
|
| 57 |
+
"wheel": false,
|
| 58 |
+
"gun": false,
|
| 59 |
+
"radius": 80,
|
| 60 |
+
"moveLength": -1,
|
| 61 |
+
"moveVertical": false,
|
| 62 |
+
"moveOffset": 0,
|
| 63 |
+
"spider": false,
|
| 64 |
+
"part": "R"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": 54,
|
| 68 |
+
"x": 329,
|
| 69 |
+
"y": 210
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": 3,
|
| 73 |
+
"x": 237,
|
| 74 |
+
"y": 167,
|
| 75 |
+
"timeout": -1
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 3,
|
| 79 |
+
"x": 424,
|
| 80 |
+
"y": 314,
|
| 81 |
+
"timeout": -1
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"name": 3,
|
| 85 |
+
"x": 230,
|
| 86 |
+
"y": 313,
|
| 87 |
+
"timeout": -1
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": 2,
|
| 91 |
+
"x": 322,
|
| 92 |
+
"y": 41
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 54,
|
| 96 |
+
"x": 401,
|
| 97 |
+
"y": 242
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 54,
|
| 101 |
+
"x": 401,
|
| 102 |
+
"y": 387
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 100,
|
| 106 |
+
"x": 409,
|
| 107 |
+
"y": 35,
|
| 108 |
+
"length": 100,
|
| 109 |
+
"wheel": false,
|
| 110 |
+
"gun": false,
|
| 111 |
+
"radius": -1,
|
| 112 |
+
"moveLength": -1,
|
| 113 |
+
"moveVertical": false,
|
| 114 |
+
"moveOffset": 0,
|
| 115 |
+
"spider": false,
|
| 116 |
+
"part": "R"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": 52,
|
| 120 |
+
"x": 325,
|
| 121 |
+
"y": 121
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": 100,
|
| 125 |
+
"x": 224,
|
| 126 |
+
"y": 35,
|
| 127 |
+
"length": 100,
|
| 128 |
+
"wheel": false,
|
| 129 |
+
"gun": false,
|
| 130 |
+
"radius": -1,
|
| 131 |
+
"moveLength": -1,
|
| 132 |
+
"moveVertical": false,
|
| 133 |
+
"moveOffset": 0,
|
| 134 |
+
"spider": false,
|
| 135 |
+
"part": "R"
|
| 136 |
+
}
|
| 137 |
+
],
|
| 138 |
+
"mirroredFrom": "02-13.json"
|
| 139 |
+
},
|
| 140 |
+
"reference_solution": "cut_rope 1 \ncut_rope 2 when candy_near 670,360,60 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 141 |
+
"reference": {
|
| 142 |
+
"won": true,
|
| 143 |
+
"stars": 3,
|
| 144 |
+
"updated_at": "2026-05-05T14:01:54.229Z"
|
| 145 |
+
},
|
| 146 |
+
"answer": {
|
| 147 |
+
"commands": "cut_rope 1 \ncut_rope 2 when candy_near 670,360,60 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 148 |
+
"reason": "reference solution",
|
| 149 |
+
"confidence": 1.0
|
| 150 |
+
},
|
| 151 |
+
"legacy_answer": "cut_rope 1 \ncut_rope 2 when candy_near 670,360,60 times 2\ncut_rope 0 when candy_still for 0.3",
|
| 152 |
+
"prompt": {
|
| 153 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 154 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-107\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n - bubble: 5\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 155 |
+
}
|
| 156 |
+
}
|
cutrope/data/rope-108.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-108",
|
| 4 |
+
"level_file": "data/task/rope-108.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-108.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"pump": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 640,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 2,
|
| 44 |
+
"x": 290,
|
| 45 |
+
"y": 435
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 52,
|
| 49 |
+
"x": 290,
|
| 50 |
+
"y": 203
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 3,
|
| 54 |
+
"x": 356,
|
| 55 |
+
"y": 195,
|
| 56 |
+
"timeout": -1
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"name": 3,
|
| 60 |
+
"x": 225,
|
| 61 |
+
"y": 197,
|
| 62 |
+
"timeout": -1
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"name": 55,
|
| 66 |
+
"x": 365,
|
| 67 |
+
"y": 198,
|
| 68 |
+
"angle": 180
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 3,
|
| 72 |
+
"x": 290,
|
| 73 |
+
"y": 384,
|
| 74 |
+
"timeout": -1
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": 100,
|
| 78 |
+
"x": 291,
|
| 79 |
+
"y": 26,
|
| 80 |
+
"length": 140,
|
| 81 |
+
"wheel": false,
|
| 82 |
+
"gun": false,
|
| 83 |
+
"radius": -1,
|
| 84 |
+
"moveLength": -1,
|
| 85 |
+
"moveVertical": false,
|
| 86 |
+
"moveOffset": 0,
|
| 87 |
+
"spider": false,
|
| 88 |
+
"part": "L"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": 100,
|
| 92 |
+
"x": 292,
|
| 93 |
+
"y": 341,
|
| 94 |
+
"length": 100,
|
| 95 |
+
"wheel": false,
|
| 96 |
+
"gun": false,
|
| 97 |
+
"radius": -1,
|
| 98 |
+
"moveLength": -1,
|
| 99 |
+
"moveVertical": false,
|
| 100 |
+
"moveOffset": 0,
|
| 101 |
+
"spider": false,
|
| 102 |
+
"part": "L"
|
| 103 |
+
}
|
| 104 |
+
],
|
| 105 |
+
"levelId": "02-15",
|
| 106 |
+
"levelEditedAt": "2026-05-05T14:10:19.581Z"
|
| 107 |
+
},
|
| 108 |
+
"reference_solution": "activate_pump 0 when candy_still for 0.3 and candy_near 900,460,60\ncut_rope 0 when candy_still for 0.3",
|
| 109 |
+
"reference": {
|
| 110 |
+
"won": true,
|
| 111 |
+
"stars": 3,
|
| 112 |
+
"updated_at": "2026-05-05T14:12:23.144Z"
|
| 113 |
+
},
|
| 114 |
+
"answer": {
|
| 115 |
+
"commands": "activate_pump 0 when candy_still for 0.3 and candy_near 900,460,60\ncut_rope 0 when candy_still for 0.3",
|
| 116 |
+
"reason": "reference solution",
|
| 117 |
+
"confidence": 1.0
|
| 118 |
+
},
|
| 119 |
+
"legacy_answer": "activate_pump 0 when candy_still for 0.3 and candy_near 900,460,60\ncut_rope 0 when candy_still for 0.3",
|
| 120 |
+
"prompt": {
|
| 121 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 122 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-108\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 123 |
+
}
|
| 124 |
+
}
|
cutrope/data/rope-109.json
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-109",
|
| 4 |
+
"level_file": "data/task/rope-109.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-109.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": null,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"twoParts": false
|
| 38 |
+
}
|
| 39 |
+
],
|
| 40 |
+
"objects": [
|
| 41 |
+
{
|
| 42 |
+
"name": 2,
|
| 43 |
+
"x": 160,
|
| 44 |
+
"y": 52
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": 52,
|
| 48 |
+
"x": 157,
|
| 49 |
+
"y": 367
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"name": 3,
|
| 53 |
+
"x": 161,
|
| 54 |
+
"y": 262,
|
| 55 |
+
"timeout": -1
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 3,
|
| 59 |
+
"x": 161,
|
| 60 |
+
"y": 145,
|
| 61 |
+
"timeout": -1
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 3,
|
| 65 |
+
"x": 161,
|
| 66 |
+
"y": 203,
|
| 67 |
+
"timeout": -1
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": 100,
|
| 71 |
+
"x": 159,
|
| 72 |
+
"y": 463,
|
| 73 |
+
"length": 65,
|
| 74 |
+
"wheel": false,
|
| 75 |
+
"gun": false,
|
| 76 |
+
"kickable": false,
|
| 77 |
+
"kicked": false,
|
| 78 |
+
"radius": -1,
|
| 79 |
+
"invisible": false,
|
| 80 |
+
"moveLength": -1,
|
| 81 |
+
"moveVertical": false,
|
| 82 |
+
"moveOffset": 0,
|
| 83 |
+
"spider": false,
|
| 84 |
+
"part": "R"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": 54,
|
| 88 |
+
"x": 157,
|
| 89 |
+
"y": 365
|
| 90 |
+
}
|
| 91 |
+
],
|
| 92 |
+
"ru": [
|
| 93 |
+
{
|
| 94 |
+
"name": 4,
|
| 95 |
+
"x": 166,
|
| 96 |
+
"y": 155,
|
| 97 |
+
"locale": "ru",
|
| 98 |
+
"text": "Эти пилы поворачиваются вместе",
|
| 99 |
+
"width": 150
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": 13,
|
| 103 |
+
"x": 238,
|
| 104 |
+
"y": 138,
|
| 105 |
+
"locale": "ru",
|
| 106 |
+
"moveSpeed": 100,
|
| 107 |
+
"rotateSpeed": 100
|
| 108 |
+
}
|
| 109 |
+
],
|
| 110 |
+
"w": [
|
| 111 |
+
{
|
| 112 |
+
"name": 4,
|
| 113 |
+
"x": 166,
|
| 114 |
+
"y": 161,
|
| 115 |
+
"locale": "en",
|
| 116 |
+
"text": "These blades rotate together",
|
| 117 |
+
"width": 150
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"name": 13,
|
| 121 |
+
"x": 239,
|
| 122 |
+
"y": 147,
|
| 123 |
+
"locale": "en",
|
| 124 |
+
"moveSpeed": 100,
|
| 125 |
+
"rotateSpeed": 100
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"de": [
|
| 129 |
+
{
|
| 130 |
+
"name": 4,
|
| 131 |
+
"x": 125,
|
| 132 |
+
"y": 189,
|
| 133 |
+
"locale": "de",
|
| 134 |
+
"text": "Diese Sägeblätter drehen sich gemeinsam",
|
| 135 |
+
"width": 200
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"name": 13,
|
| 139 |
+
"x": 215,
|
| 140 |
+
"y": 177,
|
| 141 |
+
"locale": "de",
|
| 142 |
+
"moveSpeed": 100,
|
| 143 |
+
"rotateSpeed": 100
|
| 144 |
+
}
|
| 145 |
+
],
|
| 146 |
+
"fr": [
|
| 147 |
+
{
|
| 148 |
+
"name": 4,
|
| 149 |
+
"x": 172,
|
| 150 |
+
"y": 162,
|
| 151 |
+
"locale": "fr",
|
| 152 |
+
"text": "Ces lames tournent ensemble",
|
| 153 |
+
"width": 140
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"name": 13,
|
| 157 |
+
"x": 236,
|
| 158 |
+
"y": 150,
|
| 159 |
+
"locale": "fr",
|
| 160 |
+
"moveSpeed": 100,
|
| 161 |
+
"rotateSpeed": 100
|
| 162 |
+
}
|
| 163 |
+
],
|
| 164 |
+
"mirroredFrom": "09-02.json"
|
| 165 |
+
},
|
| 166 |
+
"reference_solution": "cut_rope 0",
|
| 167 |
+
"reference": {
|
| 168 |
+
"won": true,
|
| 169 |
+
"stars": 3,
|
| 170 |
+
"updated_at": "2026-05-05T18:23:46.516Z"
|
| 171 |
+
},
|
| 172 |
+
"answer": {
|
| 173 |
+
"commands": "cut_rope 0",
|
| 174 |
+
"reason": "reference solution",
|
| 175 |
+
"confidence": 1.0
|
| 176 |
+
},
|
| 177 |
+
"legacy_answer": "cut_rope 0",
|
| 178 |
+
"prompt": {
|
| 179 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 180 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-109\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 181 |
+
}
|
| 182 |
+
}
|
cutrope/data/rope-110.json
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-110",
|
| 4 |
+
"level_file": "data/task/rope-110.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-110.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"object_4": 1,
|
| 22 |
+
"object_8": 1,
|
| 23 |
+
"sock": 2,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480,
|
| 34 |
+
"gridSize": 32
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 2,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 2,
|
| 46 |
+
"x": 217,
|
| 47 |
+
"y": 413
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 100,
|
| 51 |
+
"x": 50,
|
| 52 |
+
"y": 56,
|
| 53 |
+
"length": 55,
|
| 54 |
+
"wheel": false,
|
| 55 |
+
"gun": false,
|
| 56 |
+
"radius": -1,
|
| 57 |
+
"moveLength": -1,
|
| 58 |
+
"moveVertical": false,
|
| 59 |
+
"moveOffset": 0,
|
| 60 |
+
"spider": false,
|
| 61 |
+
"part": "L"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 100,
|
| 65 |
+
"x": 157,
|
| 66 |
+
"y": 58,
|
| 67 |
+
"length": 130,
|
| 68 |
+
"wheel": false,
|
| 69 |
+
"gun": false,
|
| 70 |
+
"radius": -1,
|
| 71 |
+
"moveLength": -1,
|
| 72 |
+
"moveVertical": false,
|
| 73 |
+
"moveOffset": 0,
|
| 74 |
+
"spider": false,
|
| 75 |
+
"part": "L"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 52,
|
| 79 |
+
"x": 47,
|
| 80 |
+
"y": 150
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 3,
|
| 84 |
+
"x": 151,
|
| 85 |
+
"y": 384,
|
| 86 |
+
"timeout": -1
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 3,
|
| 90 |
+
"x": 121,
|
| 91 |
+
"y": 217,
|
| 92 |
+
"timeout": -1
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 3,
|
| 96 |
+
"x": 51,
|
| 97 |
+
"y": 217,
|
| 98 |
+
"timeout": -1
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 56,
|
| 102 |
+
"x": 127,
|
| 103 |
+
"y": 388,
|
| 104 |
+
"group": 0,
|
| 105 |
+
"angle": 0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"name": 56,
|
| 109 |
+
"x": 194,
|
| 110 |
+
"y": 218,
|
| 111 |
+
"group": 0,
|
| 112 |
+
"angle": -180
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": 4,
|
| 116 |
+
"x": 51,
|
| 117 |
+
"y": 247,
|
| 118 |
+
"locale": "en",
|
| 119 |
+
"text": "Drop the candy into the sock and it will fall out from the other one",
|
| 120 |
+
"width": 220
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"name": 8,
|
| 124 |
+
"x": 160,
|
| 125 |
+
"y": 236,
|
| 126 |
+
"locale": "en",
|
| 127 |
+
"angle": 180,
|
| 128 |
+
"moveSpeed": 100,
|
| 129 |
+
"rotateSpeed": 100
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"fr": [
|
| 133 |
+
{
|
| 134 |
+
"name": 8,
|
| 135 |
+
"x": 160,
|
| 136 |
+
"y": 237,
|
| 137 |
+
"locale": "fr",
|
| 138 |
+
"angle": 180,
|
| 139 |
+
"moveSpeed": 100,
|
| 140 |
+
"rotateSpeed": 100
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"name": 4,
|
| 144 |
+
"x": 52,
|
| 145 |
+
"y": 246,
|
| 146 |
+
"locale": "fr",
|
| 147 |
+
"text": "Dépose le bonbon dans la chaussette et il sortira de l'autre chaussette",
|
| 148 |
+
"width": 160
|
| 149 |
+
}
|
| 150 |
+
],
|
| 151 |
+
"de": [
|
| 152 |
+
{
|
| 153 |
+
"name": 8,
|
| 154 |
+
"x": 161,
|
| 155 |
+
"y": 237,
|
| 156 |
+
"locale": "de",
|
| 157 |
+
"angle": 180,
|
| 158 |
+
"moveSpeed": 100,
|
| 159 |
+
"rotateSpeed": 100
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"name": 4,
|
| 163 |
+
"x": 54,
|
| 164 |
+
"y": 245,
|
| 165 |
+
"locale": "de",
|
| 166 |
+
"text": "Wirf die Süßigkeiten in den Strumpf und sie kommt aus dem anderen wieder heraus",
|
| 167 |
+
"width": 200
|
| 168 |
+
}
|
| 169 |
+
],
|
| 170 |
+
"ru": [
|
| 171 |
+
{
|
| 172 |
+
"name": 8,
|
| 173 |
+
"x": 160,
|
| 174 |
+
"y": 236,
|
| 175 |
+
"locale": "ru",
|
| 176 |
+
"angle": 180,
|
| 177 |
+
"moveSpeed": 100,
|
| 178 |
+
"rotateSpeed": 100
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": 4,
|
| 182 |
+
"x": 52,
|
| 183 |
+
"y": 242,
|
| 184 |
+
"locale": "ru",
|
| 185 |
+
"text": "Киньте леденец в один из носков, и он вылетит из другого",
|
| 186 |
+
"width": 160
|
| 187 |
+
}
|
| 188 |
+
]
|
| 189 |
+
},
|
| 190 |
+
"reference_solution": "cut_rope 0",
|
| 191 |
+
"reference": {
|
| 192 |
+
"won": true,
|
| 193 |
+
"stars": 3,
|
| 194 |
+
"updated_at": "2026-05-05T05:23:54.654Z"
|
| 195 |
+
},
|
| 196 |
+
"answer": {
|
| 197 |
+
"commands": "cut_rope 0",
|
| 198 |
+
"reason": "reference solution",
|
| 199 |
+
"confidence": 1.0
|
| 200 |
+
},
|
| 201 |
+
"legacy_answer": "cut_rope 0",
|
| 202 |
+
"prompt": {
|
| 203 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 204 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-110\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 205 |
+
}
|
| 206 |
+
}
|
cutrope/data/rope-111.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-111",
|
| 4 |
+
"level_file": "data/task/rope-111.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-111.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 3,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"pump": 1,
|
| 23 |
+
"sock": 2,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480,
|
| 34 |
+
"gridSize": 32
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 2,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 2,
|
| 46 |
+
"x": 248,
|
| 47 |
+
"y": 65
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 100,
|
| 51 |
+
"x": 183,
|
| 52 |
+
"y": 219,
|
| 53 |
+
"length": 100,
|
| 54 |
+
"wheel": false,
|
| 55 |
+
"gun": false,
|
| 56 |
+
"radius": -1,
|
| 57 |
+
"moveLength": -1,
|
| 58 |
+
"moveVertical": false,
|
| 59 |
+
"moveOffset": 0,
|
| 60 |
+
"spider": false,
|
| 61 |
+
"part": "R"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 100,
|
| 65 |
+
"x": 32,
|
| 66 |
+
"y": 218,
|
| 67 |
+
"length": 100,
|
| 68 |
+
"wheel": false,
|
| 69 |
+
"gun": false,
|
| 70 |
+
"radius": -1,
|
| 71 |
+
"moveLength": -1,
|
| 72 |
+
"moveVertical": false,
|
| 73 |
+
"moveOffset": 0,
|
| 74 |
+
"spider": false,
|
| 75 |
+
"part": "R"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 52,
|
| 79 |
+
"x": 113,
|
| 80 |
+
"y": 317
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 3,
|
| 84 |
+
"x": 108,
|
| 85 |
+
"y": 244,
|
| 86 |
+
"timeout": -1
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 3,
|
| 90 |
+
"x": 254,
|
| 91 |
+
"y": 252,
|
| 92 |
+
"timeout": -1
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 3,
|
| 96 |
+
"x": 170,
|
| 97 |
+
"y": 122,
|
| 98 |
+
"timeout": -1
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 54,
|
| 102 |
+
"x": 113,
|
| 103 |
+
"y": 182
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": 54,
|
| 107 |
+
"x": 109,
|
| 108 |
+
"y": 242
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 54,
|
| 112 |
+
"x": 256,
|
| 113 |
+
"y": 310
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"name": 55,
|
| 117 |
+
"x": 51,
|
| 118 |
+
"y": 160,
|
| 119 |
+
"angle": 0
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"name": 56,
|
| 123 |
+
"x": 107,
|
| 124 |
+
"y": 408,
|
| 125 |
+
"group": 0,
|
| 126 |
+
"angle": 270
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": 56,
|
| 130 |
+
"x": 254,
|
| 131 |
+
"y": 371,
|
| 132 |
+
"group": 0,
|
| 133 |
+
"angle": 270
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
"mirroredFrom": "00-11.json"
|
| 137 |
+
},
|
| 138 |
+
"reference_solution": "cut_rope 0,1 \npop_bubble 2 when candy_y < 400\nactivate_pump 0 when candy_y < 350",
|
| 139 |
+
"reference": {
|
| 140 |
+
"won": true,
|
| 141 |
+
"stars": 3,
|
| 142 |
+
"updated_at": "2026-05-05T09:36:55.902Z"
|
| 143 |
+
},
|
| 144 |
+
"answer": {
|
| 145 |
+
"commands": "cut_rope 0,1 \npop_bubble 2 when candy_y < 400\nactivate_pump 0 when candy_y < 350",
|
| 146 |
+
"reason": "reference solution",
|
| 147 |
+
"confidence": 1.0
|
| 148 |
+
},
|
| 149 |
+
"legacy_answer": "cut_rope 0,1 \npop_bubble 2 when candy_y < 400\nactivate_pump 0 when candy_y < 350",
|
| 150 |
+
"prompt": {
|
| 151 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 152 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-111\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 3\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 153 |
+
}
|
| 154 |
+
}
|
cutrope/data/rope-112.json
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-112",
|
| 4 |
+
"level_file": "data/task/rope-112.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-112.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 3,
|
| 21 |
+
"object_13": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 52,
|
| 45 |
+
"x": 69,
|
| 46 |
+
"y": 203
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 100,
|
| 50 |
+
"x": 52,
|
| 51 |
+
"y": 70,
|
| 52 |
+
"length": 90,
|
| 53 |
+
"wheel": false,
|
| 54 |
+
"gun": false,
|
| 55 |
+
"radius": -1,
|
| 56 |
+
"moveLength": -1,
|
| 57 |
+
"moveVertical": false,
|
| 58 |
+
"moveOffset": 0,
|
| 59 |
+
"spider": false,
|
| 60 |
+
"part": "L"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 100,
|
| 64 |
+
"x": 162,
|
| 65 |
+
"y": 69,
|
| 66 |
+
"length": 170,
|
| 67 |
+
"wheel": false,
|
| 68 |
+
"gun": false,
|
| 69 |
+
"radius": -1,
|
| 70 |
+
"moveLength": -1,
|
| 71 |
+
"moveVertical": false,
|
| 72 |
+
"moveOffset": 0,
|
| 73 |
+
"spider": false,
|
| 74 |
+
"part": "L"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": 2,
|
| 78 |
+
"x": 264,
|
| 79 |
+
"y": 419
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 3,
|
| 83 |
+
"x": 54,
|
| 84 |
+
"y": 250,
|
| 85 |
+
"timeout": -1
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 3,
|
| 89 |
+
"x": 53,
|
| 90 |
+
"y": 369,
|
| 91 |
+
"timeout": -1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"name": 3,
|
| 95 |
+
"x": 280,
|
| 96 |
+
"y": 250,
|
| 97 |
+
"timeout": -1
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 100,
|
| 101 |
+
"x": 275,
|
| 102 |
+
"y": 69,
|
| 103 |
+
"length": 320,
|
| 104 |
+
"wheel": false,
|
| 105 |
+
"gun": false,
|
| 106 |
+
"radius": -1,
|
| 107 |
+
"moveLength": -1,
|
| 108 |
+
"moveVertical": false,
|
| 109 |
+
"moveOffset": 0,
|
| 110 |
+
"spider": false,
|
| 111 |
+
"part": "L"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"name": 4,
|
| 115 |
+
"x": 133,
|
| 116 |
+
"y": 285,
|
| 117 |
+
"locale": "en",
|
| 118 |
+
"text": "Collect as many stars as you can",
|
| 119 |
+
"width": 150
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"name": 13,
|
| 123 |
+
"x": 113,
|
| 124 |
+
"y": 321,
|
| 125 |
+
"locale": "en",
|
| 126 |
+
"moveSpeed": 100,
|
| 127 |
+
"rotateSpeed": 100
|
| 128 |
+
}
|
| 129 |
+
],
|
| 130 |
+
"ru": [
|
| 131 |
+
{
|
| 132 |
+
"name": 13,
|
| 133 |
+
"x": 94,
|
| 134 |
+
"y": 315,
|
| 135 |
+
"locale": "ru",
|
| 136 |
+
"moveSpeed": 100,
|
| 137 |
+
"rotateSpeed": 100
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"name": 4,
|
| 141 |
+
"x": 103,
|
| 142 |
+
"y": 278,
|
| 143 |
+
"locale": "ru",
|
| 144 |
+
"text": "Старайтесь собирать звезды леденцом",
|
| 145 |
+
"width": 210
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
"fr": [
|
| 149 |
+
{
|
| 150 |
+
"name": 4,
|
| 151 |
+
"x": 137,
|
| 152 |
+
"y": 285,
|
| 153 |
+
"locale": "fr",
|
| 154 |
+
"text": "Collecte autant d'étoiles que tu le peux",
|
| 155 |
+
"width": 200
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"name": 13,
|
| 159 |
+
"x": 113,
|
| 160 |
+
"y": 321,
|
| 161 |
+
"locale": "fr",
|
| 162 |
+
"moveSpeed": 100,
|
| 163 |
+
"rotateSpeed": 100
|
| 164 |
+
}
|
| 165 |
+
],
|
| 166 |
+
"de": [
|
| 167 |
+
{
|
| 168 |
+
"name": 4,
|
| 169 |
+
"x": 126,
|
| 170 |
+
"y": 285,
|
| 171 |
+
"locale": "de",
|
| 172 |
+
"text": "Sammle möglichst viele Sternchen",
|
| 173 |
+
"width": 170
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"name": 13,
|
| 177 |
+
"x": 106,
|
| 178 |
+
"y": 321,
|
| 179 |
+
"locale": "de",
|
| 180 |
+
"moveSpeed": 100,
|
| 181 |
+
"rotateSpeed": 100
|
| 182 |
+
}
|
| 183 |
+
]
|
| 184 |
+
},
|
| 185 |
+
"reference_solution": "cut_rope 0\ncut_rope 1 when candy_near 700,580,50 times 2",
|
| 186 |
+
"reference": {
|
| 187 |
+
"won": true,
|
| 188 |
+
"stars": 3,
|
| 189 |
+
"updated_at": "2026-05-05T10:51:22.171Z"
|
| 190 |
+
},
|
| 191 |
+
"answer": {
|
| 192 |
+
"commands": "cut_rope 0\ncut_rope 1 when candy_near 700,580,50 times 2",
|
| 193 |
+
"reason": "reference solution",
|
| 194 |
+
"confidence": 1.0
|
| 195 |
+
},
|
| 196 |
+
"legacy_answer": "cut_rope 0\ncut_rope 1 when candy_near 700,580,50 times 2",
|
| 197 |
+
"prompt": {
|
| 198 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 199 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-112\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 200 |
+
}
|
| 201 |
+
}
|
cutrope/data/rope-113.json
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-113",
|
| 4 |
+
"level_file": "data/task/rope-113.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-113.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 1,
|
| 21 |
+
"object_4": 1,
|
| 22 |
+
"object_8": 1,
|
| 23 |
+
"sock": 2,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 320,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 2,
|
| 46 |
+
"x": 248,
|
| 47 |
+
"y": 384
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 56,
|
| 51 |
+
"x": 59,
|
| 52 |
+
"y": 367,
|
| 53 |
+
"group": 0,
|
| 54 |
+
"angle": -90
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"name": 56,
|
| 58 |
+
"x": 254,
|
| 59 |
+
"y": 114,
|
| 60 |
+
"group": 0,
|
| 61 |
+
"angle": 90
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 52,
|
| 65 |
+
"x": 55,
|
| 66 |
+
"y": 173
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 100,
|
| 70 |
+
"x": 56,
|
| 71 |
+
"y": 69,
|
| 72 |
+
"length": 90,
|
| 73 |
+
"wheel": false,
|
| 74 |
+
"gun": false,
|
| 75 |
+
"radius": -1,
|
| 76 |
+
"moveLength": 0,
|
| 77 |
+
"moveVertical": false,
|
| 78 |
+
"moveOffset": 0,
|
| 79 |
+
"spider": false,
|
| 80 |
+
"part": "L"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 4,
|
| 84 |
+
"x": 76,
|
| 85 |
+
"y": 209,
|
| 86 |
+
"locale": "en",
|
| 87 |
+
"text": "Drop the candy into the magic hat and it will fall out from the other one",
|
| 88 |
+
"width": 160
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": 8,
|
| 92 |
+
"x": 118,
|
| 93 |
+
"y": 347,
|
| 94 |
+
"locale": "en",
|
| 95 |
+
"angle": 0,
|
| 96 |
+
"moveSpeed": 100,
|
| 97 |
+
"rotateSpeed": 100
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 3,
|
| 101 |
+
"x": 56,
|
| 102 |
+
"y": 328,
|
| 103 |
+
"timeout": -1
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": 3,
|
| 107 |
+
"x": 259,
|
| 108 |
+
"y": 177,
|
| 109 |
+
"timeout": -1
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"name": 3,
|
| 113 |
+
"x": 250,
|
| 114 |
+
"y": 319,
|
| 115 |
+
"timeout": -1
|
| 116 |
+
}
|
| 117 |
+
],
|
| 118 |
+
"fr": [
|
| 119 |
+
{
|
| 120 |
+
"name": 8,
|
| 121 |
+
"x": 118,
|
| 122 |
+
"y": 347,
|
| 123 |
+
"locale": "fr",
|
| 124 |
+
"angle": 0,
|
| 125 |
+
"moveSpeed": 100,
|
| 126 |
+
"rotateSpeed": 100
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": 4,
|
| 130 |
+
"x": 76,
|
| 131 |
+
"y": 201,
|
| 132 |
+
"locale": "fr",
|
| 133 |
+
"text": "Dépose le bonbon dans le chapeau magique et il tombera de l'autre chapeau",
|
| 134 |
+
"width": 160
|
| 135 |
+
}
|
| 136 |
+
],
|
| 137 |
+
"de": [
|
| 138 |
+
{
|
| 139 |
+
"name": 8,
|
| 140 |
+
"x": 118,
|
| 141 |
+
"y": 348,
|
| 142 |
+
"locale": "de",
|
| 143 |
+
"angle": 0,
|
| 144 |
+
"moveSpeed": 100,
|
| 145 |
+
"rotateSpeed": 100
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"name": 4,
|
| 149 |
+
"x": 72,
|
| 150 |
+
"y": 197,
|
| 151 |
+
"locale": "de",
|
| 152 |
+
"text": "Wirf den Bonbon in den magischen Hut und er kommt aus einem anderen wieder raus",
|
| 153 |
+
"width": 160
|
| 154 |
+
}
|
| 155 |
+
],
|
| 156 |
+
"ru": [
|
| 157 |
+
{
|
| 158 |
+
"name": 8,
|
| 159 |
+
"x": 122,
|
| 160 |
+
"y": 354,
|
| 161 |
+
"locale": "ru",
|
| 162 |
+
"angle": 0,
|
| 163 |
+
"moveSpeed": 100,
|
| 164 |
+
"rotateSpeed": 100
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"name": 4,
|
| 168 |
+
"x": 80,
|
| 169 |
+
"y": 230,
|
| 170 |
+
"locale": "ru",
|
| 171 |
+
"text": "Киньте конфету в одну из волшебных шляп, и она вылетит из другой",
|
| 172 |
+
"width": 160
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
},
|
| 176 |
+
"reference_solution": "cut_rope 0",
|
| 177 |
+
"reference": {
|
| 178 |
+
"won": true,
|
| 179 |
+
"stars": 3,
|
| 180 |
+
"updated_at": "2026-05-05T15:23:40.902Z"
|
| 181 |
+
},
|
| 182 |
+
"answer": {
|
| 183 |
+
"commands": "cut_rope 0",
|
| 184 |
+
"reason": "reference solution",
|
| 185 |
+
"confidence": 1.0
|
| 186 |
+
},
|
| 187 |
+
"legacy_answer": "cut_rope 0",
|
| 188 |
+
"prompt": {
|
| 189 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 190 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-113\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 191 |
+
}
|
| 192 |
+
}
|
cutrope/data/rope-114.json
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-114",
|
| 4 |
+
"level_file": "data/task/rope-114.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-114.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 2,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"object_13": 1,
|
| 23 |
+
"object_4": 1,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 320,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 52,
|
| 46 |
+
"x": 256,
|
| 47 |
+
"y": 310
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 2,
|
| 51 |
+
"x": 76,
|
| 52 |
+
"y": 77
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": 100,
|
| 56 |
+
"x": 254,
|
| 57 |
+
"y": 248,
|
| 58 |
+
"length": 60,
|
| 59 |
+
"wheel": false,
|
| 60 |
+
"gun": false,
|
| 61 |
+
"radius": -1,
|
| 62 |
+
"moveLength": -1,
|
| 63 |
+
"moveVertical": false,
|
| 64 |
+
"moveOffset": 0,
|
| 65 |
+
"spider": false,
|
| 66 |
+
"part": "R",
|
| 67 |
+
"hidePath": false
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": 54,
|
| 71 |
+
"x": 255,
|
| 72 |
+
"y": 424
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 100,
|
| 76 |
+
"x": 177,
|
| 77 |
+
"y": 159,
|
| 78 |
+
"length": 100,
|
| 79 |
+
"wheel": false,
|
| 80 |
+
"gun": false,
|
| 81 |
+
"radius": 75,
|
| 82 |
+
"moveLength": -1,
|
| 83 |
+
"moveVertical": false,
|
| 84 |
+
"moveOffset": 0,
|
| 85 |
+
"spider": false,
|
| 86 |
+
"part": "R",
|
| 87 |
+
"hidePath": false
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": 54,
|
| 91 |
+
"x": 82,
|
| 92 |
+
"y": 211
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 3,
|
| 96 |
+
"x": 255,
|
| 97 |
+
"y": 425,
|
| 98 |
+
"timeout": -1
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 3,
|
| 102 |
+
"x": 257,
|
| 103 |
+
"y": 205,
|
| 104 |
+
"timeout": -1
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"name": 3,
|
| 108 |
+
"x": 81,
|
| 109 |
+
"y": 211,
|
| 110 |
+
"timeout": -1
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"name": 4,
|
| 114 |
+
"x": 185,
|
| 115 |
+
"y": 336,
|
| 116 |
+
"locale": "en",
|
| 117 |
+
"text": "You can skip the level in the pause menu",
|
| 118 |
+
"width": 140
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": 13,
|
| 122 |
+
"x": 120,
|
| 123 |
+
"y": 322,
|
| 124 |
+
"locale": "en",
|
| 125 |
+
"moveSpeed": 100,
|
| 126 |
+
"rotateSpeed": 100
|
| 127 |
+
}
|
| 128 |
+
],
|
| 129 |
+
"ru": [
|
| 130 |
+
{
|
| 131 |
+
"name": 4,
|
| 132 |
+
"x": 137,
|
| 133 |
+
"y": 312,
|
| 134 |
+
"locale": "ru",
|
| 135 |
+
"text": "Вы можете пропустить уровень через меню паузы",
|
| 136 |
+
"width": 140
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": 13,
|
| 140 |
+
"x": 202,
|
| 141 |
+
"y": 297,
|
| 142 |
+
"locale": "ru",
|
| 143 |
+
"moveSpeed": 100,
|
| 144 |
+
"rotateSpeed": 100
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
+
"fr": [
|
| 148 |
+
{
|
| 149 |
+
"name": 4,
|
| 150 |
+
"x": 135,
|
| 151 |
+
"y": 337,
|
| 152 |
+
"locale": "fr",
|
| 153 |
+
"text": "Tu peux passer le niveau via le menu Pause",
|
| 154 |
+
"width": 140
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": 13,
|
| 158 |
+
"x": 200,
|
| 159 |
+
"y": 323,
|
| 160 |
+
"locale": "fr",
|
| 161 |
+
"moveSpeed": 100,
|
| 162 |
+
"rotateSpeed": 100
|
| 163 |
+
}
|
| 164 |
+
],
|
| 165 |
+
"de": [
|
| 166 |
+
{
|
| 167 |
+
"name": 4,
|
| 168 |
+
"x": 141,
|
| 169 |
+
"y": 318,
|
| 170 |
+
"locale": "de",
|
| 171 |
+
"text": "Im Pause-Menü kannst Du den Level überspringen",
|
| 172 |
+
"width": 170
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": 13,
|
| 176 |
+
"x": 224,
|
| 177 |
+
"y": 303,
|
| 178 |
+
"locale": "de",
|
| 179 |
+
"moveSpeed": 100,
|
| 180 |
+
"rotateSpeed": 100
|
| 181 |
+
}
|
| 182 |
+
],
|
| 183 |
+
"mirroredFrom": "01-14.json"
|
| 184 |
+
},
|
| 185 |
+
"reference_solution": "cut_rope 0 \npop_bubble 0 when candy_y < 300",
|
| 186 |
+
"reference": {
|
| 187 |
+
"won": true,
|
| 188 |
+
"stars": 3,
|
| 189 |
+
"updated_at": "2026-05-05T13:13:28.866Z"
|
| 190 |
+
},
|
| 191 |
+
"answer": {
|
| 192 |
+
"commands": "cut_rope 0 \npop_bubble 0 when candy_y < 300",
|
| 193 |
+
"reason": "reference solution",
|
| 194 |
+
"confidence": 1.0
|
| 195 |
+
},
|
| 196 |
+
"legacy_answer": "cut_rope 0 \npop_bubble 0 when candy_y < 300",
|
| 197 |
+
"prompt": {
|
| 198 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 199 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-114\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 200 |
+
}
|
| 201 |
+
}
|
cutrope/data/rope-115.json
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-115",
|
| 4 |
+
"level_file": "data/task/rope-115.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-115.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 3,
|
| 21 |
+
"star": 3,
|
| 22 |
+
"target": 1
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"level_json_without_solution": {
|
| 26 |
+
"settings": [
|
| 27 |
+
{
|
| 28 |
+
"name": 0,
|
| 29 |
+
"gridSize": 32,
|
| 30 |
+
"width": 640,
|
| 31 |
+
"height": 480
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": 1,
|
| 35 |
+
"ropePhysicsSpeed": 1,
|
| 36 |
+
"special": 1,
|
| 37 |
+
"twoParts": false
|
| 38 |
+
}
|
| 39 |
+
],
|
| 40 |
+
"objects": [
|
| 41 |
+
{
|
| 42 |
+
"name": 52,
|
| 43 |
+
"x": 280,
|
| 44 |
+
"y": 221
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": 100,
|
| 48 |
+
"x": 361,
|
| 49 |
+
"y": 281,
|
| 50 |
+
"length": 95,
|
| 51 |
+
"wheel": false,
|
| 52 |
+
"gun": false,
|
| 53 |
+
"radius": -1,
|
| 54 |
+
"moveLength": -1,
|
| 55 |
+
"moveVertical": false,
|
| 56 |
+
"moveOffset": 0,
|
| 57 |
+
"spider": false,
|
| 58 |
+
"part": "R"
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"name": 100,
|
| 62 |
+
"x": 363,
|
| 63 |
+
"y": 120,
|
| 64 |
+
"length": 95,
|
| 65 |
+
"wheel": false,
|
| 66 |
+
"gun": false,
|
| 67 |
+
"radius": -1,
|
| 68 |
+
"moveLength": -1,
|
| 69 |
+
"moveVertical": false,
|
| 70 |
+
"moveOffset": 0,
|
| 71 |
+
"spider": false,
|
| 72 |
+
"part": "R"
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 2,
|
| 76 |
+
"x": 253,
|
| 77 |
+
"y": 387
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"name": 3,
|
| 81 |
+
"x": 481,
|
| 82 |
+
"y": 318,
|
| 83 |
+
"timeout": -1
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 3,
|
| 87 |
+
"x": 363,
|
| 88 |
+
"y": 403,
|
| 89 |
+
"timeout": -1
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": 3,
|
| 93 |
+
"x": 415,
|
| 94 |
+
"y": 223,
|
| 95 |
+
"timeout": -1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": 100,
|
| 99 |
+
"x": 108,
|
| 100 |
+
"y": 169,
|
| 101 |
+
"length": 140,
|
| 102 |
+
"wheel": false,
|
| 103 |
+
"gun": false,
|
| 104 |
+
"radius": -1,
|
| 105 |
+
"moveLength": -1,
|
| 106 |
+
"moveVertical": false,
|
| 107 |
+
"moveOffset": 0,
|
| 108 |
+
"spider": false,
|
| 109 |
+
"part": "R"
|
| 110 |
+
}
|
| 111 |
+
],
|
| 112 |
+
"mirroredFrom": "01-03.json"
|
| 113 |
+
},
|
| 114 |
+
"reference_solution": "cut_rope 2 \ncut_rope 1 when candy_near 1200,500,40",
|
| 115 |
+
"reference": {
|
| 116 |
+
"won": true,
|
| 117 |
+
"stars": 3,
|
| 118 |
+
"updated_at": "2026-05-05T10:52:21.093Z"
|
| 119 |
+
},
|
| 120 |
+
"answer": {
|
| 121 |
+
"commands": "cut_rope 2 \ncut_rope 1 when candy_near 1200,500,40",
|
| 122 |
+
"reason": "reference solution",
|
| 123 |
+
"confidence": 1.0
|
| 124 |
+
},
|
| 125 |
+
"legacy_answer": "cut_rope 2 \ncut_rope 1 when candy_near 1200,500,40",
|
| 126 |
+
"prompt": {
|
| 127 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 128 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-115\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 129 |
+
}
|
| 130 |
+
}
|
cutrope/data/rope-116.json
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-116",
|
| 4 |
+
"level_file": "data/task/rope-116.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-116.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 2,
|
| 44 |
+
"x": 41,
|
| 45 |
+
"y": 333
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 52,
|
| 49 |
+
"x": 113,
|
| 50 |
+
"y": 149
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 100,
|
| 54 |
+
"x": 194,
|
| 55 |
+
"y": 55,
|
| 56 |
+
"length": 100,
|
| 57 |
+
"wheel": false,
|
| 58 |
+
"gun": false,
|
| 59 |
+
"radius": -1,
|
| 60 |
+
"moveLength": -1,
|
| 61 |
+
"moveVertical": false,
|
| 62 |
+
"moveOffset": 0,
|
| 63 |
+
"spider": false,
|
| 64 |
+
"part": "R"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": 3,
|
| 68 |
+
"x": 171,
|
| 69 |
+
"y": 234,
|
| 70 |
+
"timeout": -1
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"name": 3,
|
| 74 |
+
"x": 106,
|
| 75 |
+
"y": 286,
|
| 76 |
+
"timeout": -1
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"name": 3,
|
| 80 |
+
"x": 264,
|
| 81 |
+
"y": 225,
|
| 82 |
+
"timeout": -1
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"name": 81,
|
| 86 |
+
"x": 282,
|
| 87 |
+
"y": 261,
|
| 88 |
+
"angle": 140,
|
| 89 |
+
"size": 1
|
| 90 |
+
}
|
| 91 |
+
],
|
| 92 |
+
"w": [
|
| 93 |
+
{
|
| 94 |
+
"name": 8,
|
| 95 |
+
"x": 56,
|
| 96 |
+
"y": 322,
|
| 97 |
+
"locale": "en",
|
| 98 |
+
"angle": 90,
|
| 99 |
+
"moveSpeed": 100,
|
| 100 |
+
"rotateSpeed": 100
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": 4,
|
| 104 |
+
"x": 78,
|
| 105 |
+
"y": 302,
|
| 106 |
+
"locale": "en",
|
| 107 |
+
"text": "Candy will bounce away from this platform",
|
| 108 |
+
"width": 120
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
"ru": [
|
| 112 |
+
{
|
| 113 |
+
"name": 4,
|
| 114 |
+
"x": 81,
|
| 115 |
+
"y": 302,
|
| 116 |
+
"locale": "ru",
|
| 117 |
+
"text": "Леденец отскакивает от таких платформ",
|
| 118 |
+
"width": 100
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": 8,
|
| 122 |
+
"x": 56,
|
| 123 |
+
"y": 323,
|
| 124 |
+
"locale": "ru",
|
| 125 |
+
"angle": 90,
|
| 126 |
+
"moveSpeed": 100,
|
| 127 |
+
"rotateSpeed": 100
|
| 128 |
+
}
|
| 129 |
+
],
|
| 130 |
+
"de": [
|
| 131 |
+
{
|
| 132 |
+
"name": 8,
|
| 133 |
+
"x": 65,
|
| 134 |
+
"y": 323,
|
| 135 |
+
"locale": "de",
|
| 136 |
+
"angle": 90,
|
| 137 |
+
"moveSpeed": 100,
|
| 138 |
+
"rotateSpeed": 100
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"name": 4,
|
| 142 |
+
"x": 91,
|
| 143 |
+
"y": 297,
|
| 144 |
+
"locale": "de",
|
| 145 |
+
"text": "Von dieser Plattform prallt der Bonbon ab",
|
| 146 |
+
"width": 90
|
| 147 |
+
}
|
| 148 |
+
],
|
| 149 |
+
"fr": [
|
| 150 |
+
{
|
| 151 |
+
"name": 8,
|
| 152 |
+
"x": 57,
|
| 153 |
+
"y": 323,
|
| 154 |
+
"locale": "fr",
|
| 155 |
+
"angle": 90,
|
| 156 |
+
"moveSpeed": 100,
|
| 157 |
+
"rotateSpeed": 100
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"name": 4,
|
| 161 |
+
"x": 79,
|
| 162 |
+
"y": 301,
|
| 163 |
+
"locale": "fr",
|
| 164 |
+
"text": "Le bonbon rebondira hors de cette plateforme",
|
| 165 |
+
"width": 120
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"mirroredFrom": "06-01.json"
|
| 169 |
+
},
|
| 170 |
+
"reference_solution": "cut_rope 0 when candy_x > 1080",
|
| 171 |
+
"reference": {
|
| 172 |
+
"won": true,
|
| 173 |
+
"stars": 3,
|
| 174 |
+
"updated_at": "2026-05-05T17:10:40.704Z"
|
| 175 |
+
},
|
| 176 |
+
"answer": {
|
| 177 |
+
"commands": "cut_rope 0 when candy_x > 1080",
|
| 178 |
+
"reason": "reference solution",
|
| 179 |
+
"confidence": 1.0
|
| 180 |
+
},
|
| 181 |
+
"legacy_answer": "cut_rope 0 when candy_x > 1080",
|
| 182 |
+
"prompt": {
|
| 183 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 184 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-116\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 185 |
+
}
|
| 186 |
+
}
|
cutrope/data/rope-117.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-117",
|
| 4 |
+
"level_file": "data/task/rope-117.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-117.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 7,
|
| 21 |
+
"star": 3,
|
| 22 |
+
"target": 1
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"level_json_without_solution": {
|
| 26 |
+
"settings": [
|
| 27 |
+
{
|
| 28 |
+
"name": 0,
|
| 29 |
+
"gridSize": 32,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": 1,
|
| 35 |
+
"special": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1
|
| 37 |
+
}
|
| 38 |
+
],
|
| 39 |
+
"objects": [
|
| 40 |
+
{
|
| 41 |
+
"name": 2,
|
| 42 |
+
"x": 162,
|
| 43 |
+
"y": 430
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"name": 100,
|
| 47 |
+
"x": 101,
|
| 48 |
+
"y": 271,
|
| 49 |
+
"length": 100,
|
| 50 |
+
"wheel": false,
|
| 51 |
+
"radius": 45,
|
| 52 |
+
"moveLength": -1,
|
| 53 |
+
"moveVertical": false,
|
| 54 |
+
"moveOffset": 0,
|
| 55 |
+
"spider": false
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 100,
|
| 59 |
+
"x": 36,
|
| 60 |
+
"y": 148,
|
| 61 |
+
"length": 100,
|
| 62 |
+
"wheel": false,
|
| 63 |
+
"radius": 45,
|
| 64 |
+
"moveLength": -1,
|
| 65 |
+
"moveVertical": false,
|
| 66 |
+
"moveOffset": 0,
|
| 67 |
+
"spider": false
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": 100,
|
| 71 |
+
"x": 291,
|
| 72 |
+
"y": 149,
|
| 73 |
+
"length": 100,
|
| 74 |
+
"wheel": false,
|
| 75 |
+
"radius": 45,
|
| 76 |
+
"moveLength": -1,
|
| 77 |
+
"moveVertical": false,
|
| 78 |
+
"moveOffset": 0,
|
| 79 |
+
"spider": false
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 100,
|
| 83 |
+
"x": 227,
|
| 84 |
+
"y": 273,
|
| 85 |
+
"length": 100,
|
| 86 |
+
"wheel": false,
|
| 87 |
+
"radius": 45,
|
| 88 |
+
"moveLength": -1,
|
| 89 |
+
"moveVertical": false,
|
| 90 |
+
"moveOffset": 0,
|
| 91 |
+
"spider": false
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"name": 52,
|
| 95 |
+
"x": 159,
|
| 96 |
+
"y": 159
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"name": 3,
|
| 100 |
+
"x": 96,
|
| 101 |
+
"y": 379,
|
| 102 |
+
"timeout": -1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 3,
|
| 106 |
+
"x": 29,
|
| 107 |
+
"y": 246,
|
| 108 |
+
"timeout": -1
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 3,
|
| 112 |
+
"x": 225,
|
| 113 |
+
"y": 377,
|
| 114 |
+
"timeout": -1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": 100,
|
| 118 |
+
"x": 98,
|
| 119 |
+
"y": 79,
|
| 120 |
+
"length": 90,
|
| 121 |
+
"wheel": false,
|
| 122 |
+
"radius": -1,
|
| 123 |
+
"moveLength": -1,
|
| 124 |
+
"moveVertical": false,
|
| 125 |
+
"moveOffset": 0,
|
| 126 |
+
"spider": false
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": 100,
|
| 130 |
+
"x": 226,
|
| 131 |
+
"y": 80,
|
| 132 |
+
"length": 90,
|
| 133 |
+
"wheel": false,
|
| 134 |
+
"radius": -1,
|
| 135 |
+
"moveLength": -1,
|
| 136 |
+
"moveVertical": false,
|
| 137 |
+
"moveOffset": 0,
|
| 138 |
+
"spider": false
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"name": 100,
|
| 142 |
+
"x": 162,
|
| 143 |
+
"y": 34,
|
| 144 |
+
"length": 100,
|
| 145 |
+
"wheel": false,
|
| 146 |
+
"radius": -1,
|
| 147 |
+
"moveLength": -1,
|
| 148 |
+
"moveVertical": false,
|
| 149 |
+
"moveOffset": 0,
|
| 150 |
+
"spider": false
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
"reference_solution": "cut_rope 6,5 \ncut_rope 4 when candy_x < 700\ncut_rope 1 when candy_still for 0.3\ncut_rope 0 when candy_still for 0.3 \ncut_rope 3 when candy_near 1070,870,60 times 2",
|
| 155 |
+
"reference": {
|
| 156 |
+
"won": true,
|
| 157 |
+
"stars": 3,
|
| 158 |
+
"updated_at": "2026-05-05T13:07:13.482Z"
|
| 159 |
+
},
|
| 160 |
+
"answer": {
|
| 161 |
+
"commands": "cut_rope 6,5 \ncut_rope 4 when candy_x < 700\ncut_rope 1 when candy_still for 0.3\ncut_rope 0 when candy_still for 0.3 \ncut_rope 3 when candy_near 1070,870,60 times 2",
|
| 162 |
+
"reason": "reference solution",
|
| 163 |
+
"confidence": 1.0
|
| 164 |
+
},
|
| 165 |
+
"legacy_answer": "cut_rope 6,5 \ncut_rope 4 when candy_x < 700\ncut_rope 1 when candy_still for 0.3\ncut_rope 0 when candy_still for 0.3 \ncut_rope 3 when candy_near 1070,870,60 times 2",
|
| 166 |
+
"prompt": {
|
| 167 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 168 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-117\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 7\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 169 |
+
}
|
| 170 |
+
}
|
cutrope/data/rope-118.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-118",
|
| 4 |
+
"level_file": "data/task/rope-118.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-118.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 4,
|
| 21 |
+
"star": 3,
|
| 22 |
+
"target": 1
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"level_json_without_solution": {
|
| 26 |
+
"settings": [
|
| 27 |
+
{
|
| 28 |
+
"name": 0,
|
| 29 |
+
"gridSize": 32,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": 1,
|
| 35 |
+
"special": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1
|
| 37 |
+
}
|
| 38 |
+
],
|
| 39 |
+
"objects": [
|
| 40 |
+
{
|
| 41 |
+
"name": 52,
|
| 42 |
+
"x": 158,
|
| 43 |
+
"y": 187
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"name": 2,
|
| 47 |
+
"x": 262,
|
| 48 |
+
"y": 362
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 100,
|
| 52 |
+
"x": 161,
|
| 53 |
+
"y": 315,
|
| 54 |
+
"length": 93,
|
| 55 |
+
"wheel": false,
|
| 56 |
+
"radius": -1,
|
| 57 |
+
"moveLength": -1,
|
| 58 |
+
"moveVertical": false,
|
| 59 |
+
"moveOffset": 0,
|
| 60 |
+
"spider": false
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 100,
|
| 64 |
+
"x": 289,
|
| 65 |
+
"y": 186,
|
| 66 |
+
"length": 105,
|
| 67 |
+
"wheel": false,
|
| 68 |
+
"radius": -1,
|
| 69 |
+
"moveLength": -1,
|
| 70 |
+
"moveVertical": false,
|
| 71 |
+
"moveOffset": 0,
|
| 72 |
+
"spider": false
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 100,
|
| 76 |
+
"x": 162,
|
| 77 |
+
"y": 57,
|
| 78 |
+
"length": 93,
|
| 79 |
+
"wheel": false,
|
| 80 |
+
"radius": -1,
|
| 81 |
+
"moveLength": -1,
|
| 82 |
+
"moveVertical": false,
|
| 83 |
+
"moveOffset": 0,
|
| 84 |
+
"spider": false
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": 100,
|
| 88 |
+
"x": 33,
|
| 89 |
+
"y": 186,
|
| 90 |
+
"length": 105,
|
| 91 |
+
"wheel": false,
|
| 92 |
+
"radius": -1,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"name": 3,
|
| 100 |
+
"x": 159,
|
| 101 |
+
"y": 226,
|
| 102 |
+
"timeout": -1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 3,
|
| 106 |
+
"x": 32,
|
| 107 |
+
"y": 312,
|
| 108 |
+
"timeout": -1
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 3,
|
| 112 |
+
"x": 161,
|
| 113 |
+
"y": 434,
|
| 114 |
+
"timeout": -1
|
| 115 |
+
}
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
"reference_solution": "cut_rope 2\ncut_rope 1 when candy_still for 0.3 \ncut_rope 3 when candy_x < 720",
|
| 119 |
+
"reference": {
|
| 120 |
+
"won": true,
|
| 121 |
+
"stars": 3,
|
| 122 |
+
"updated_at": "2026-05-05T10:54:15.133Z"
|
| 123 |
+
},
|
| 124 |
+
"answer": {
|
| 125 |
+
"commands": "cut_rope 2\ncut_rope 1 when candy_still for 0.3 \ncut_rope 3 when candy_x < 720",
|
| 126 |
+
"reason": "reference solution",
|
| 127 |
+
"confidence": 1.0
|
| 128 |
+
},
|
| 129 |
+
"legacy_answer": "cut_rope 2\ncut_rope 1 when candy_still for 0.3 \ncut_rope 3 when candy_x < 720",
|
| 130 |
+
"prompt": {
|
| 131 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 132 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-118\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 133 |
+
}
|
| 134 |
+
}
|
cutrope/data/rope-119.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-119",
|
| 4 |
+
"level_file": "data/task/rope-119.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-119.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480,
|
| 32 |
+
"gridSize": 32
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 2,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 2,
|
| 44 |
+
"x": 162,
|
| 45 |
+
"y": 430
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 54,
|
| 49 |
+
"x": 159,
|
| 50 |
+
"y": 320
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 100,
|
| 54 |
+
"x": 97,
|
| 55 |
+
"y": 122,
|
| 56 |
+
"length": 100,
|
| 57 |
+
"wheel": false,
|
| 58 |
+
"gun": false,
|
| 59 |
+
"radius": -1,
|
| 60 |
+
"moveLength": -1,
|
| 61 |
+
"moveVertical": false,
|
| 62 |
+
"moveOffset": 0,
|
| 63 |
+
"spider": false,
|
| 64 |
+
"part": "L"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": 52,
|
| 68 |
+
"x": 159,
|
| 69 |
+
"y": 231
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": 3,
|
| 73 |
+
"x": 161,
|
| 74 |
+
"y": 75,
|
| 75 |
+
"timeout": -1
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 3,
|
| 79 |
+
"x": 162,
|
| 80 |
+
"y": 170,
|
| 81 |
+
"timeout": -1
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"name": 3,
|
| 85 |
+
"x": 159,
|
| 86 |
+
"y": 275,
|
| 87 |
+
"timeout": -1
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": 100,
|
| 91 |
+
"x": 222,
|
| 92 |
+
"y": 122,
|
| 93 |
+
"length": 100,
|
| 94 |
+
"wheel": false,
|
| 95 |
+
"gun": false,
|
| 96 |
+
"radius": -1,
|
| 97 |
+
"moveLength": -1,
|
| 98 |
+
"moveVertical": false,
|
| 99 |
+
"moveOffset": 0,
|
| 100 |
+
"spider": false,
|
| 101 |
+
"part": "L"
|
| 102 |
+
}
|
| 103 |
+
],
|
| 104 |
+
"levelId": "00-15",
|
| 105 |
+
"levelEditedAt": "2026-05-05T10:12:06.544Z"
|
| 106 |
+
},
|
| 107 |
+
"reference_solution": "cut_rope 0,1 \npop_bubble 0 when candy_y < 190",
|
| 108 |
+
"reference": {
|
| 109 |
+
"won": true,
|
| 110 |
+
"stars": 3,
|
| 111 |
+
"updated_at": "2026-05-05T10:12:53.720Z"
|
| 112 |
+
},
|
| 113 |
+
"answer": {
|
| 114 |
+
"commands": "cut_rope 0,1 \npop_bubble 0 when candy_y < 190",
|
| 115 |
+
"reason": "reference solution",
|
| 116 |
+
"confidence": 1.0
|
| 117 |
+
},
|
| 118 |
+
"legacy_answer": "cut_rope 0,1 \npop_bubble 0 when candy_y < 190",
|
| 119 |
+
"prompt": {
|
| 120 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 121 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-119\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 122 |
+
}
|
| 123 |
+
}
|
cutrope/data/rope-120.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-120",
|
| 4 |
+
"level_file": "data/task/rope-120.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-120.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"gravity_button": 1,
|
| 23 |
+
"pump": 3,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 640,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 55,
|
| 46 |
+
"x": 600,
|
| 47 |
+
"y": 398,
|
| 48 |
+
"angle": 180
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 55,
|
| 52 |
+
"x": 483,
|
| 53 |
+
"y": 98,
|
| 54 |
+
"angle": 180
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"name": 55,
|
| 58 |
+
"x": 316,
|
| 59 |
+
"y": 398,
|
| 60 |
+
"angle": 180
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 52,
|
| 64 |
+
"x": 482,
|
| 65 |
+
"y": 301
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"name": 54,
|
| 69 |
+
"x": 479,
|
| 70 |
+
"y": 391
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"name": 100,
|
| 74 |
+
"x": 478,
|
| 75 |
+
"y": 164,
|
| 76 |
+
"length": 100,
|
| 77 |
+
"wheel": false,
|
| 78 |
+
"gun": false,
|
| 79 |
+
"radius": -1,
|
| 80 |
+
"moveLength": -1,
|
| 81 |
+
"moveVertical": false,
|
| 82 |
+
"moveOffset": 0,
|
| 83 |
+
"spider": false,
|
| 84 |
+
"part": "R"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": 2,
|
| 88 |
+
"x": 89,
|
| 89 |
+
"y": 64
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": 3,
|
| 93 |
+
"x": 354,
|
| 94 |
+
"y": 94,
|
| 95 |
+
"timeout": -1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": 3,
|
| 99 |
+
"x": 89,
|
| 100 |
+
"y": 166,
|
| 101 |
+
"timeout": 20
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"name": 3,
|
| 105 |
+
"x": 172,
|
| 106 |
+
"y": 399,
|
| 107 |
+
"timeout": -1
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 53,
|
| 111 |
+
"x": 261,
|
| 112 |
+
"y": 228
|
| 113 |
+
}
|
| 114 |
+
],
|
| 115 |
+
"mirroredFrom": "08-05.json"
|
| 116 |
+
},
|
| 117 |
+
"reference_solution": "cut_rope 0 when candy_still for 0.3 and candy_near 1320,670,60\nactivate_pump 0 when candy_y > 880\nactivate_pump 0 when candy_y > 890\ntoggle_gravity when candy_x < 1080\ntoggle_gravity when candy_x < 1060\nactivate_pump 1 when candy_y < 240\nactivate_pump 1\ntoggle_gravity when candy_y < 50\nactivate_pump 2 when candy_y > 850\nactivate_pump 2 when candy_y > 910\ntoggle_gravity when candy_y > 1000",
|
| 118 |
+
"reference": {
|
| 119 |
+
"won": true,
|
| 120 |
+
"stars": 3,
|
| 121 |
+
"updated_at": "2026-05-05T18:02:46.931Z"
|
| 122 |
+
},
|
| 123 |
+
"answer": {
|
| 124 |
+
"commands": "cut_rope 0 when candy_still for 0.3 and candy_near 1320,670,60\nactivate_pump 0 when candy_y > 880\nactivate_pump 0 when candy_y > 890\ntoggle_gravity when candy_x < 1080\ntoggle_gravity when candy_x < 1060\nactivate_pump 1 when candy_y < 240\nactivate_pump 1\ntoggle_gravity when candy_y < 50\nactivate_pump 2 when candy_y > 850\nactivate_pump 2 when candy_y > 910\ntoggle_gravity when candy_y > 1000",
|
| 125 |
+
"reason": "reference solution",
|
| 126 |
+
"confidence": 1.0
|
| 127 |
+
},
|
| 128 |
+
"legacy_answer": "cut_rope 0 when candy_still for 0.3 and candy_near 1320,670,60\nactivate_pump 0 when candy_y > 880\nactivate_pump 0 when candy_y > 890\ntoggle_gravity when candy_x < 1080\ntoggle_gravity when candy_x < 1060\nactivate_pump 1 when candy_y < 240\nactivate_pump 1\ntoggle_gravity when candy_y < 50\nactivate_pump 2 when candy_y > 850\nactivate_pump 2 when candy_y > 910\ntoggle_gravity when candy_y > 1000",
|
| 129 |
+
"prompt": {
|
| 130 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 131 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-120\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 1\n - pump: 3\n - gravity switch: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n- Gravity switch: `toggle_gravity` reverses or rotates gravity. Often triggered after the candy crosses a coordinate threshold.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 132 |
+
}
|
| 133 |
+
}
|
cutrope/data/rope-121.json
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-121",
|
| 4 |
+
"level_file": "data/task/rope-121.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-121.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"gravity_button": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"object_8": 1,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 640,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 52,
|
| 46 |
+
"x": 303,
|
| 47 |
+
"y": 214
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 100,
|
| 51 |
+
"x": 383,
|
| 52 |
+
"y": 175,
|
| 53 |
+
"length": 65,
|
| 54 |
+
"wheel": false,
|
| 55 |
+
"gun": false,
|
| 56 |
+
"radius": -1,
|
| 57 |
+
"moveLength": -1,
|
| 58 |
+
"moveVertical": false,
|
| 59 |
+
"moveOffset": 0,
|
| 60 |
+
"spider": false,
|
| 61 |
+
"part": "L"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 100,
|
| 65 |
+
"x": 215,
|
| 66 |
+
"y": 175,
|
| 67 |
+
"length": 65,
|
| 68 |
+
"wheel": false,
|
| 69 |
+
"gun": false,
|
| 70 |
+
"radius": -1,
|
| 71 |
+
"moveLength": -1,
|
| 72 |
+
"moveVertical": false,
|
| 73 |
+
"moveOffset": 0,
|
| 74 |
+
"spider": false,
|
| 75 |
+
"part": "L"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 2,
|
| 79 |
+
"x": 395,
|
| 80 |
+
"y": 386
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 3,
|
| 84 |
+
"x": 431,
|
| 85 |
+
"y": 81,
|
| 86 |
+
"timeout": -1
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 3,
|
| 90 |
+
"x": 302,
|
| 91 |
+
"y": 85,
|
| 92 |
+
"timeout": -1
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 53,
|
| 96 |
+
"x": 150,
|
| 97 |
+
"y": 392
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 4,
|
| 101 |
+
"x": 215,
|
| 102 |
+
"y": 331,
|
| 103 |
+
"locale": "en",
|
| 104 |
+
"text": "Toggle the gravity with this button",
|
| 105 |
+
"width": 140
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"name": 8,
|
| 109 |
+
"x": 222,
|
| 110 |
+
"y": 429,
|
| 111 |
+
"locale": "en",
|
| 112 |
+
"angle": 35,
|
| 113 |
+
"moveSpeed": 100,
|
| 114 |
+
"rotateSpeed": 100
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": 3,
|
| 118 |
+
"x": 302,
|
| 119 |
+
"y": 273,
|
| 120 |
+
"timeout": -1
|
| 121 |
+
}
|
| 122 |
+
],
|
| 123 |
+
"ru": [
|
| 124 |
+
{
|
| 125 |
+
"name": 8,
|
| 126 |
+
"x": 219,
|
| 127 |
+
"y": 417,
|
| 128 |
+
"locale": "ru",
|
| 129 |
+
"angle": 40,
|
| 130 |
+
"moveSpeed": 100,
|
| 131 |
+
"rotateSpeed": 100
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"name": 4,
|
| 135 |
+
"x": 229,
|
| 136 |
+
"y": 328,
|
| 137 |
+
"locale": "ru",
|
| 138 |
+
"text": "Переключайте гравитацию с помощью этой кнопки",
|
| 139 |
+
"width": 140
|
| 140 |
+
}
|
| 141 |
+
],
|
| 142 |
+
"fr": [
|
| 143 |
+
{
|
| 144 |
+
"name": 4,
|
| 145 |
+
"x": 180,
|
| 146 |
+
"y": 338,
|
| 147 |
+
"locale": "fr",
|
| 148 |
+
"text": "Active et désactive la gravité avec ce bouton",
|
| 149 |
+
"width": 200
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"name": 8,
|
| 153 |
+
"x": 211,
|
| 154 |
+
"y": 407,
|
| 155 |
+
"locale": "fr",
|
| 156 |
+
"angle": 35,
|
| 157 |
+
"moveSpeed": 100,
|
| 158 |
+
"rotateSpeed": 100
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
"de": [
|
| 162 |
+
{
|
| 163 |
+
"name": 8,
|
| 164 |
+
"x": 207,
|
| 165 |
+
"y": 425,
|
| 166 |
+
"locale": "de",
|
| 167 |
+
"angle": 55,
|
| 168 |
+
"moveSpeed": 100,
|
| 169 |
+
"rotateSpeed": 100
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"name": 4,
|
| 173 |
+
"x": 208,
|
| 174 |
+
"y": 342,
|
| 175 |
+
"locale": "de",
|
| 176 |
+
"text": "Hier kannst Du die Schwerkraft ein oder aus schalten",
|
| 177 |
+
"width": 140
|
| 178 |
+
}
|
| 179 |
+
],
|
| 180 |
+
"levelId": "08-01",
|
| 181 |
+
"levelEditedAt": "2026-05-05T17:53:03.499Z"
|
| 182 |
+
},
|
| 183 |
+
"reference_solution": "toggle_gravity \ncut_rope 1 when candy_still for 0.3 \ntoggle_gravity when candy_near 1200,190,60\ncut_rope 0 when candy_near 1050,650,60 times 2",
|
| 184 |
+
"reference": {
|
| 185 |
+
"won": true,
|
| 186 |
+
"stars": 3,
|
| 187 |
+
"updated_at": "2026-05-05T17:53:13.567Z"
|
| 188 |
+
},
|
| 189 |
+
"answer": {
|
| 190 |
+
"commands": "toggle_gravity \ncut_rope 1 when candy_still for 0.3 \ntoggle_gravity when candy_near 1200,190,60\ncut_rope 0 when candy_near 1050,650,60 times 2",
|
| 191 |
+
"reason": "reference solution",
|
| 192 |
+
"confidence": 1.0
|
| 193 |
+
},
|
| 194 |
+
"legacy_answer": "toggle_gravity \ncut_rope 1 when candy_still for 0.3 \ntoggle_gravity when candy_near 1200,190,60\ncut_rope 0 when candy_near 1050,650,60 times 2",
|
| 195 |
+
"prompt": {
|
| 196 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 197 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-121\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - gravity switch: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Gravity switch: `toggle_gravity` reverses or rotates gravity. Often triggered after the candy crosses a coordinate threshold.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 198 |
+
}
|
| 199 |
+
}
|
cutrope/data/rope-122.json
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-122",
|
| 4 |
+
"level_file": "data/task/rope-122.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-122.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 2,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"pump": 1,
|
| 23 |
+
"sock": 4,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480,
|
| 34 |
+
"gridSize": 32
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 2,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 2,
|
| 46 |
+
"x": 275,
|
| 47 |
+
"y": 76
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 55,
|
| 51 |
+
"x": 48,
|
| 52 |
+
"y": 329,
|
| 53 |
+
"angle": 270
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"name": 56,
|
| 57 |
+
"x": 50,
|
| 58 |
+
"y": 102,
|
| 59 |
+
"group": 1,
|
| 60 |
+
"angle": 90
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 56,
|
| 64 |
+
"x": 159,
|
| 65 |
+
"y": 399,
|
| 66 |
+
"group": 0,
|
| 67 |
+
"angle": 270
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": 54,
|
| 71 |
+
"x": 164,
|
| 72 |
+
"y": 160
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 56,
|
| 76 |
+
"x": 273,
|
| 77 |
+
"y": 398,
|
| 78 |
+
"group": 0,
|
| 79 |
+
"angle": 270
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 56,
|
| 83 |
+
"x": 167,
|
| 84 |
+
"y": 105,
|
| 85 |
+
"group": 1,
|
| 86 |
+
"angle": 90
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 3,
|
| 90 |
+
"x": 280,
|
| 91 |
+
"y": 159,
|
| 92 |
+
"timeout": -1
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 3,
|
| 96 |
+
"x": 162,
|
| 97 |
+
"y": 161,
|
| 98 |
+
"timeout": -1
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 3,
|
| 102 |
+
"x": 49,
|
| 103 |
+
"y": 119,
|
| 104 |
+
"timeout": -1
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"name": 100,
|
| 108 |
+
"x": 80,
|
| 109 |
+
"y": 144,
|
| 110 |
+
"length": 30,
|
| 111 |
+
"wheel": false,
|
| 112 |
+
"gun": false,
|
| 113 |
+
"radius": -1,
|
| 114 |
+
"moveLength": -1,
|
| 115 |
+
"moveVertical": false,
|
| 116 |
+
"moveOffset": 0,
|
| 117 |
+
"spider": false,
|
| 118 |
+
"part": "R"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": 52,
|
| 122 |
+
"x": 50,
|
| 123 |
+
"y": 182
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"name": 54,
|
| 127 |
+
"x": 278,
|
| 128 |
+
"y": 158
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"name": 100,
|
| 132 |
+
"x": 19,
|
| 133 |
+
"y": 143,
|
| 134 |
+
"length": 30,
|
| 135 |
+
"wheel": false,
|
| 136 |
+
"gun": false,
|
| 137 |
+
"radius": -1,
|
| 138 |
+
"moveLength": -1,
|
| 139 |
+
"moveVertical": false,
|
| 140 |
+
"moveOffset": 0,
|
| 141 |
+
"spider": false,
|
| 142 |
+
"part": "R"
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
"levelId": "00-22",
|
| 146 |
+
"levelEditedAt": "2026-05-05T10:43:19.434Z",
|
| 147 |
+
"mirroredFrom": "00-22.json"
|
| 148 |
+
},
|
| 149 |
+
"reference_solution": "cut_rope 0,1 \nactivate_pump 0 until candy_y < 300\npop_bubble 0 when candy_y < 300",
|
| 150 |
+
"reference": {
|
| 151 |
+
"won": true,
|
| 152 |
+
"stars": 3,
|
| 153 |
+
"updated_at": "2026-05-05T10:45:53.636Z"
|
| 154 |
+
},
|
| 155 |
+
"answer": {
|
| 156 |
+
"commands": "cut_rope 0,1 \nactivate_pump 0 until candy_y < 300\npop_bubble 0 when candy_y < 300",
|
| 157 |
+
"reason": "reference solution",
|
| 158 |
+
"confidence": 1.0
|
| 159 |
+
},
|
| 160 |
+
"legacy_answer": "cut_rope 0,1 \nactivate_pump 0 until candy_y < 300\npop_bubble 0 when candy_y < 300",
|
| 161 |
+
"prompt": {
|
| 162 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 163 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-122\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 2\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 164 |
+
}
|
| 165 |
+
}
|
cutrope/data/rope-123.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-123",
|
| 4 |
+
"level_file": "data/task/rope-123.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-123.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"sock": 4,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 56,
|
| 45 |
+
"x": 35,
|
| 46 |
+
"y": 340,
|
| 47 |
+
"group": 0,
|
| 48 |
+
"angle": 290
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 56,
|
| 52 |
+
"x": 101,
|
| 53 |
+
"y": 373,
|
| 54 |
+
"group": 1,
|
| 55 |
+
"angle": 290
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 56,
|
| 59 |
+
"x": 220,
|
| 60 |
+
"y": 373,
|
| 61 |
+
"group": 0,
|
| 62 |
+
"angle": 250
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"name": 56,
|
| 66 |
+
"x": 290,
|
| 67 |
+
"y": 340,
|
| 68 |
+
"group": 1,
|
| 69 |
+
"angle": 250
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": 52,
|
| 73 |
+
"x": 162,
|
| 74 |
+
"y": 164
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": 100,
|
| 78 |
+
"x": 106,
|
| 79 |
+
"y": 47,
|
| 80 |
+
"length": 100,
|
| 81 |
+
"wheel": false,
|
| 82 |
+
"gun": false,
|
| 83 |
+
"radius": -1,
|
| 84 |
+
"moveLength": -1,
|
| 85 |
+
"moveVertical": false,
|
| 86 |
+
"moveOffset": 0,
|
| 87 |
+
"spider": false,
|
| 88 |
+
"part": "L",
|
| 89 |
+
"hidePath": false
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": 100,
|
| 93 |
+
"x": 228,
|
| 94 |
+
"y": 50,
|
| 95 |
+
"length": 100,
|
| 96 |
+
"wheel": false,
|
| 97 |
+
"gun": false,
|
| 98 |
+
"radius": -1,
|
| 99 |
+
"moveLength": -1,
|
| 100 |
+
"moveVertical": false,
|
| 101 |
+
"moveOffset": 0,
|
| 102 |
+
"spider": false,
|
| 103 |
+
"part": "L",
|
| 104 |
+
"hidePath": false
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"name": 2,
|
| 108 |
+
"x": 86,
|
| 109 |
+
"y": 103
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"name": 3,
|
| 113 |
+
"x": 165,
|
| 114 |
+
"y": 329,
|
| 115 |
+
"timeout": 15
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"name": 3,
|
| 119 |
+
"x": 138,
|
| 120 |
+
"y": 293,
|
| 121 |
+
"timeout": -1
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": 3,
|
| 125 |
+
"x": 261,
|
| 126 |
+
"y": 300,
|
| 127 |
+
"timeout": -1
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"name": 54,
|
| 131 |
+
"x": 161,
|
| 132 |
+
"y": 332
|
| 133 |
+
}
|
| 134 |
+
],
|
| 135 |
+
"levelId": "09-07",
|
| 136 |
+
"levelEditedAt": "2026-05-05T18:27:32.492Z"
|
| 137 |
+
},
|
| 138 |
+
"reference_solution": "cut_rope 1 when candy_still for 0.3 and candy_near 970,380,60\ncut_rope 0 when candy_x < 930",
|
| 139 |
+
"reference": {
|
| 140 |
+
"won": true,
|
| 141 |
+
"stars": 3,
|
| 142 |
+
"updated_at": "2026-05-05T18:27:46.690Z"
|
| 143 |
+
},
|
| 144 |
+
"answer": {
|
| 145 |
+
"commands": "cut_rope 1 when candy_still for 0.3 and candy_near 970,380,60\ncut_rope 0 when candy_x < 930",
|
| 146 |
+
"reason": "reference solution",
|
| 147 |
+
"confidence": 1.0
|
| 148 |
+
},
|
| 149 |
+
"legacy_answer": "cut_rope 1 when candy_still for 0.3 and candy_near 970,380,60\ncut_rope 0 when candy_x < 930",
|
| 150 |
+
"prompt": {
|
| 151 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 152 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-123\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 153 |
+
}
|
| 154 |
+
}
|
cutrope/data/rope-124.json
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-124",
|
| 4 |
+
"level_file": "data/task/rope-124.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-124.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 3,
|
| 21 |
+
"object_13": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 52,
|
| 45 |
+
"x": 251,
|
| 46 |
+
"y": 203
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 100,
|
| 50 |
+
"x": 268,
|
| 51 |
+
"y": 70,
|
| 52 |
+
"length": 90,
|
| 53 |
+
"wheel": false,
|
| 54 |
+
"gun": false,
|
| 55 |
+
"radius": -1,
|
| 56 |
+
"moveLength": -1,
|
| 57 |
+
"moveVertical": false,
|
| 58 |
+
"moveOffset": 0,
|
| 59 |
+
"spider": false,
|
| 60 |
+
"part": "R"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 100,
|
| 64 |
+
"x": 158,
|
| 65 |
+
"y": 69,
|
| 66 |
+
"length": 170,
|
| 67 |
+
"wheel": false,
|
| 68 |
+
"gun": false,
|
| 69 |
+
"radius": -1,
|
| 70 |
+
"moveLength": -1,
|
| 71 |
+
"moveVertical": false,
|
| 72 |
+
"moveOffset": 0,
|
| 73 |
+
"spider": false,
|
| 74 |
+
"part": "R"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": 2,
|
| 78 |
+
"x": 56,
|
| 79 |
+
"y": 419
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 3,
|
| 83 |
+
"x": 266,
|
| 84 |
+
"y": 250,
|
| 85 |
+
"timeout": -1
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 3,
|
| 89 |
+
"x": 267,
|
| 90 |
+
"y": 369,
|
| 91 |
+
"timeout": -1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"name": 3,
|
| 95 |
+
"x": 40,
|
| 96 |
+
"y": 250,
|
| 97 |
+
"timeout": -1
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 100,
|
| 101 |
+
"x": 45,
|
| 102 |
+
"y": 69,
|
| 103 |
+
"length": 320,
|
| 104 |
+
"wheel": false,
|
| 105 |
+
"gun": false,
|
| 106 |
+
"radius": -1,
|
| 107 |
+
"moveLength": -1,
|
| 108 |
+
"moveVertical": false,
|
| 109 |
+
"moveOffset": 0,
|
| 110 |
+
"spider": false,
|
| 111 |
+
"part": "R"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"name": 4,
|
| 115 |
+
"x": 187,
|
| 116 |
+
"y": 285,
|
| 117 |
+
"locale": "en",
|
| 118 |
+
"text": "Collect as many stars as you can",
|
| 119 |
+
"width": 150
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"name": 13,
|
| 123 |
+
"x": 207,
|
| 124 |
+
"y": 321,
|
| 125 |
+
"locale": "en",
|
| 126 |
+
"moveSpeed": 100,
|
| 127 |
+
"rotateSpeed": 100
|
| 128 |
+
}
|
| 129 |
+
],
|
| 130 |
+
"ru": [
|
| 131 |
+
{
|
| 132 |
+
"name": 13,
|
| 133 |
+
"x": 94,
|
| 134 |
+
"y": 315,
|
| 135 |
+
"locale": "ru",
|
| 136 |
+
"moveSpeed": 100,
|
| 137 |
+
"rotateSpeed": 100
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"name": 4,
|
| 141 |
+
"x": 103,
|
| 142 |
+
"y": 278,
|
| 143 |
+
"locale": "ru",
|
| 144 |
+
"text": "Старайтесь собирать звезды леденцом",
|
| 145 |
+
"width": 210
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
"fr": [
|
| 149 |
+
{
|
| 150 |
+
"name": 4,
|
| 151 |
+
"x": 137,
|
| 152 |
+
"y": 285,
|
| 153 |
+
"locale": "fr",
|
| 154 |
+
"text": "Collecte autant d'étoiles que tu le peux",
|
| 155 |
+
"width": 200
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"name": 13,
|
| 159 |
+
"x": 113,
|
| 160 |
+
"y": 321,
|
| 161 |
+
"locale": "fr",
|
| 162 |
+
"moveSpeed": 100,
|
| 163 |
+
"rotateSpeed": 100
|
| 164 |
+
}
|
| 165 |
+
],
|
| 166 |
+
"de": [
|
| 167 |
+
{
|
| 168 |
+
"name": 4,
|
| 169 |
+
"x": 126,
|
| 170 |
+
"y": 285,
|
| 171 |
+
"locale": "de",
|
| 172 |
+
"text": "Sammle möglichst viele Sternchen",
|
| 173 |
+
"width": 170
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"name": 13,
|
| 177 |
+
"x": 106,
|
| 178 |
+
"y": 321,
|
| 179 |
+
"locale": "de",
|
| 180 |
+
"moveSpeed": 100,
|
| 181 |
+
"rotateSpeed": 100
|
| 182 |
+
}
|
| 183 |
+
],
|
| 184 |
+
"mirroredFrom": "01-02.json"
|
| 185 |
+
},
|
| 186 |
+
"reference_solution": "cut_rope 0\ncut_rope 1 when candy_near 1220,580,50 times 2",
|
| 187 |
+
"reference": {
|
| 188 |
+
"won": true,
|
| 189 |
+
"stars": 3,
|
| 190 |
+
"updated_at": "2026-05-05T10:51:22.171Z"
|
| 191 |
+
},
|
| 192 |
+
"answer": {
|
| 193 |
+
"commands": "cut_rope 0\ncut_rope 1 when candy_near 1220,580,50 times 2",
|
| 194 |
+
"reason": "reference solution",
|
| 195 |
+
"confidence": 1.0
|
| 196 |
+
},
|
| 197 |
+
"legacy_answer": "cut_rope 0\ncut_rope 1 when candy_near 1220,580,50 times 2",
|
| 198 |
+
"prompt": {
|
| 199 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 200 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-124\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 3\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 201 |
+
}
|
| 202 |
+
}
|
cutrope/data/rope-125.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-125",
|
| 4 |
+
"level_file": "data/task/rope-125.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-125.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 2,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"sock": 2,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480,
|
| 33 |
+
"gridSize": 32
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 2,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 2,
|
| 45 |
+
"x": 159,
|
| 46 |
+
"y": 429
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 56,
|
| 50 |
+
"x": 60,
|
| 51 |
+
"y": 343,
|
| 52 |
+
"group": 0,
|
| 53 |
+
"angle": 290
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"name": 56,
|
| 57 |
+
"x": 262,
|
| 58 |
+
"y": 168,
|
| 59 |
+
"group": 0,
|
| 60 |
+
"angle": 270
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 3,
|
| 64 |
+
"x": 259,
|
| 65 |
+
"y": 50,
|
| 66 |
+
"timeout": -1
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 52,
|
| 70 |
+
"x": 91,
|
| 71 |
+
"y": 200
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": 3,
|
| 75 |
+
"x": 160,
|
| 76 |
+
"y": 122,
|
| 77 |
+
"timeout": -1
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"name": 54,
|
| 81 |
+
"x": 250,
|
| 82 |
+
"y": 288
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"name": 3,
|
| 86 |
+
"x": 250,
|
| 87 |
+
"y": 289,
|
| 88 |
+
"timeout": -1
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": 100,
|
| 92 |
+
"x": 160,
|
| 93 |
+
"y": 81,
|
| 94 |
+
"length": 100,
|
| 95 |
+
"wheel": false,
|
| 96 |
+
"gun": false,
|
| 97 |
+
"radius": -1,
|
| 98 |
+
"moveLength": -1,
|
| 99 |
+
"moveVertical": false,
|
| 100 |
+
"moveOffset": 0,
|
| 101 |
+
"spider": false,
|
| 102 |
+
"part": "R"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 100,
|
| 106 |
+
"x": 158,
|
| 107 |
+
"y": 289,
|
| 108 |
+
"length": 100,
|
| 109 |
+
"wheel": false,
|
| 110 |
+
"gun": false,
|
| 111 |
+
"radius": 40,
|
| 112 |
+
"moveLength": -1,
|
| 113 |
+
"moveVertical": false,
|
| 114 |
+
"moveOffset": 0,
|
| 115 |
+
"spider": false,
|
| 116 |
+
"part": "R"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": 54,
|
| 120 |
+
"x": 160,
|
| 121 |
+
"y": 367
|
| 122 |
+
}
|
| 123 |
+
],
|
| 124 |
+
"mirroredFrom": "00-21.json"
|
| 125 |
+
},
|
| 126 |
+
"reference_solution": "cut_rope 0 when candy_x > 1090\npop_bubble 0 when candy_y < 100\ncut_rope 1 when candy_still for 0.3\npop_bubble 1 when candy_near 970,250,50",
|
| 127 |
+
"reference": {
|
| 128 |
+
"won": true,
|
| 129 |
+
"stars": 3,
|
| 130 |
+
"updated_at": "2026-05-05T10:36:45.808Z"
|
| 131 |
+
},
|
| 132 |
+
"answer": {
|
| 133 |
+
"commands": "cut_rope 0 when candy_x > 1090\npop_bubble 0 when candy_y < 100\ncut_rope 1 when candy_still for 0.3\npop_bubble 1 when candy_near 970,250,50",
|
| 134 |
+
"reason": "reference solution",
|
| 135 |
+
"confidence": 1.0
|
| 136 |
+
},
|
| 137 |
+
"legacy_answer": "cut_rope 0 when candy_x > 1090\npop_bubble 0 when candy_y < 100\ncut_rope 1 when candy_still for 0.3\npop_bubble 1 when candy_near 970,250,50",
|
| 138 |
+
"prompt": {
|
| 139 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 140 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-125\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 141 |
+
}
|
| 142 |
+
}
|
cutrope/data/rope-126.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-126",
|
| 4 |
+
"level_file": "data/task/rope-126.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-126.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"pump": 2,
|
| 23 |
+
"sock": 2,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 320,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 52,
|
| 46 |
+
"x": 112,
|
| 47 |
+
"y": 352
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 100,
|
| 51 |
+
"x": 50,
|
| 52 |
+
"y": 275,
|
| 53 |
+
"length": 70,
|
| 54 |
+
"wheel": false,
|
| 55 |
+
"radius": -1,
|
| 56 |
+
"moveLength": -1,
|
| 57 |
+
"moveVertical": false,
|
| 58 |
+
"moveOffset": 0,
|
| 59 |
+
"spider": false,
|
| 60 |
+
"part": "L"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 100,
|
| 64 |
+
"x": 177,
|
| 65 |
+
"y": 278,
|
| 66 |
+
"length": 70,
|
| 67 |
+
"wheel": false,
|
| 68 |
+
"radius": -1,
|
| 69 |
+
"moveLength": -1,
|
| 70 |
+
"moveVertical": false,
|
| 71 |
+
"moveOffset": 0,
|
| 72 |
+
"spider": false,
|
| 73 |
+
"part": "L"
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"name": 2,
|
| 77 |
+
"x": 271,
|
| 78 |
+
"y": 90
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 56,
|
| 82 |
+
"x": 270,
|
| 83 |
+
"y": 384,
|
| 84 |
+
"group": 0,
|
| 85 |
+
"angle": 270
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 56,
|
| 89 |
+
"x": 49,
|
| 90 |
+
"y": 97,
|
| 91 |
+
"group": 0,
|
| 92 |
+
"angle": 90
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 55,
|
| 96 |
+
"x": 112,
|
| 97 |
+
"y": 418,
|
| 98 |
+
"angle": 270
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 3,
|
| 102 |
+
"x": 115,
|
| 103 |
+
"y": 230,
|
| 104 |
+
"timeout": -1
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"name": 55,
|
| 108 |
+
"x": 113,
|
| 109 |
+
"y": 305,
|
| 110 |
+
"angle": 270
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"name": 3,
|
| 114 |
+
"x": 48,
|
| 115 |
+
"y": 188,
|
| 116 |
+
"timeout": -1
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": 3,
|
| 120 |
+
"x": 185,
|
| 121 |
+
"y": 359,
|
| 122 |
+
"timeout": -1
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"name": 54,
|
| 126 |
+
"x": 47,
|
| 127 |
+
"y": 188
|
| 128 |
+
}
|
| 129 |
+
],
|
| 130 |
+
"levelId": "04-06",
|
| 131 |
+
"levelEditedAt": "2026-05-05T15:30:05.369Z"
|
| 132 |
+
},
|
| 133 |
+
"reference_solution": "activate_pump 0 when candy_still for 0.3 and candy_near 850,810,60\nactivate_pump 1 when candy_y < 660\ncut_rope 2\ncut_rope 0 when candy_y > 800\ncut_rope 1 when candy_x > 1110",
|
| 134 |
+
"reference": {
|
| 135 |
+
"won": true,
|
| 136 |
+
"stars": 3,
|
| 137 |
+
"updated_at": "2026-05-05T15:30:18.013Z"
|
| 138 |
+
},
|
| 139 |
+
"answer": {
|
| 140 |
+
"commands": "activate_pump 0 when candy_still for 0.3 and candy_near 850,810,60\nactivate_pump 1 when candy_y < 660\ncut_rope 2\ncut_rope 0 when candy_y > 800\ncut_rope 1 when candy_x > 1110",
|
| 141 |
+
"reason": "reference solution",
|
| 142 |
+
"confidence": 1.0
|
| 143 |
+
},
|
| 144 |
+
"legacy_answer": "activate_pump 0 when candy_still for 0.3 and candy_near 850,810,60\nactivate_pump 1 when candy_y < 660\ncut_rope 2\ncut_rope 0 when candy_y > 800\ncut_rope 1 when candy_x > 1110",
|
| 145 |
+
"prompt": {
|
| 146 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 147 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-126\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 1\n - pump: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 148 |
+
}
|
| 149 |
+
}
|
cutrope/data/rope-127.json
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-127",
|
| 4 |
+
"level_file": "data/task/rope-127.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-127.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"gravity_button": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"object_8": 1,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 640,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 52,
|
| 46 |
+
"x": 337,
|
| 47 |
+
"y": 214
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 100,
|
| 51 |
+
"x": 257,
|
| 52 |
+
"y": 175,
|
| 53 |
+
"length": 65,
|
| 54 |
+
"wheel": false,
|
| 55 |
+
"gun": false,
|
| 56 |
+
"radius": -1,
|
| 57 |
+
"moveLength": -1,
|
| 58 |
+
"moveVertical": false,
|
| 59 |
+
"moveOffset": 0,
|
| 60 |
+
"spider": false,
|
| 61 |
+
"part": "R"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 100,
|
| 65 |
+
"x": 425,
|
| 66 |
+
"y": 175,
|
| 67 |
+
"length": 65,
|
| 68 |
+
"wheel": false,
|
| 69 |
+
"gun": false,
|
| 70 |
+
"radius": -1,
|
| 71 |
+
"moveLength": -1,
|
| 72 |
+
"moveVertical": false,
|
| 73 |
+
"moveOffset": 0,
|
| 74 |
+
"spider": false,
|
| 75 |
+
"part": "R"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 2,
|
| 79 |
+
"x": 245,
|
| 80 |
+
"y": 386
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 3,
|
| 84 |
+
"x": 209,
|
| 85 |
+
"y": 81,
|
| 86 |
+
"timeout": -1
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 3,
|
| 90 |
+
"x": 338,
|
| 91 |
+
"y": 85,
|
| 92 |
+
"timeout": -1
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 53,
|
| 96 |
+
"x": 490,
|
| 97 |
+
"y": 392
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 4,
|
| 101 |
+
"x": 425,
|
| 102 |
+
"y": 331,
|
| 103 |
+
"locale": "en",
|
| 104 |
+
"text": "Toggle the gravity with this button",
|
| 105 |
+
"width": 140
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"name": 8,
|
| 109 |
+
"x": 418,
|
| 110 |
+
"y": 429,
|
| 111 |
+
"locale": "en",
|
| 112 |
+
"angle": 145,
|
| 113 |
+
"moveSpeed": 100,
|
| 114 |
+
"rotateSpeed": 100
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": 3,
|
| 118 |
+
"x": 338,
|
| 119 |
+
"y": 273,
|
| 120 |
+
"timeout": -1
|
| 121 |
+
}
|
| 122 |
+
],
|
| 123 |
+
"ru": [
|
| 124 |
+
{
|
| 125 |
+
"name": 8,
|
| 126 |
+
"x": 219,
|
| 127 |
+
"y": 417,
|
| 128 |
+
"locale": "ru",
|
| 129 |
+
"angle": 40,
|
| 130 |
+
"moveSpeed": 100,
|
| 131 |
+
"rotateSpeed": 100
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"name": 4,
|
| 135 |
+
"x": 229,
|
| 136 |
+
"y": 328,
|
| 137 |
+
"locale": "ru",
|
| 138 |
+
"text": "Переключайте гравитацию с помощью этой кнопки",
|
| 139 |
+
"width": 140
|
| 140 |
+
}
|
| 141 |
+
],
|
| 142 |
+
"fr": [
|
| 143 |
+
{
|
| 144 |
+
"name": 4,
|
| 145 |
+
"x": 180,
|
| 146 |
+
"y": 338,
|
| 147 |
+
"locale": "fr",
|
| 148 |
+
"text": "Active et désactive la gravité avec ce bouton",
|
| 149 |
+
"width": 200
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"name": 8,
|
| 153 |
+
"x": 211,
|
| 154 |
+
"y": 407,
|
| 155 |
+
"locale": "fr",
|
| 156 |
+
"angle": 35,
|
| 157 |
+
"moveSpeed": 100,
|
| 158 |
+
"rotateSpeed": 100
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
"de": [
|
| 162 |
+
{
|
| 163 |
+
"name": 8,
|
| 164 |
+
"x": 207,
|
| 165 |
+
"y": 425,
|
| 166 |
+
"locale": "de",
|
| 167 |
+
"angle": 55,
|
| 168 |
+
"moveSpeed": 100,
|
| 169 |
+
"rotateSpeed": 100
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"name": 4,
|
| 173 |
+
"x": 208,
|
| 174 |
+
"y": 342,
|
| 175 |
+
"locale": "de",
|
| 176 |
+
"text": "Hier kannst Du die Schwerkraft ein oder aus schalten",
|
| 177 |
+
"width": 140
|
| 178 |
+
}
|
| 179 |
+
],
|
| 180 |
+
"levelId": "08-01",
|
| 181 |
+
"levelEditedAt": "2026-05-05T17:53:03.499Z",
|
| 182 |
+
"mirroredFrom": "08-01.json"
|
| 183 |
+
},
|
| 184 |
+
"reference_solution": "toggle_gravity \ncut_rope 1 when candy_still for 0.3 \ntoggle_gravity when candy_near 720,190,60\ncut_rope 0 when candy_near 870,650,60 times 2",
|
| 185 |
+
"reference": {
|
| 186 |
+
"won": true,
|
| 187 |
+
"stars": 3,
|
| 188 |
+
"updated_at": "2026-05-05T17:53:13.567Z"
|
| 189 |
+
},
|
| 190 |
+
"answer": {
|
| 191 |
+
"commands": "toggle_gravity \ncut_rope 1 when candy_still for 0.3 \ntoggle_gravity when candy_near 720,190,60\ncut_rope 0 when candy_near 870,650,60 times 2",
|
| 192 |
+
"reason": "reference solution",
|
| 193 |
+
"confidence": 1.0
|
| 194 |
+
},
|
| 195 |
+
"legacy_answer": "toggle_gravity \ncut_rope 1 when candy_still for 0.3 \ntoggle_gravity when candy_near 720,190,60\ncut_rope 0 when candy_near 870,650,60 times 2",
|
| 196 |
+
"prompt": {
|
| 197 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 198 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-127\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - gravity switch: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Gravity switch: `toggle_gravity` reverses or rotates gravity. Often triggered after the candy crosses a coordinate threshold.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
|
| 199 |
+
}
|
| 200 |
+
}
|
cutrope/data/rope-128.json
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-128",
|
| 4 |
+
"level_file": "data/task/rope-128.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-128.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": true,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"grab_or_rope_anchor": 6,
|
| 20 |
+
"left_candy": 1,
|
| 21 |
+
"right_candy": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": true
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 100,
|
| 44 |
+
"x": 259,
|
| 45 |
+
"y": 64,
|
| 46 |
+
"length": 200,
|
| 47 |
+
"wheel": false,
|
| 48 |
+
"gun": false,
|
| 49 |
+
"radius": -1,
|
| 50 |
+
"moveLength": -1,
|
| 51 |
+
"moveVertical": false,
|
| 52 |
+
"moveOffset": 0,
|
| 53 |
+
"spider": false,
|
| 54 |
+
"part": "R",
|
| 55 |
+
"hidePath": false
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 100,
|
| 59 |
+
"x": 158,
|
| 60 |
+
"y": 64,
|
| 61 |
+
"length": 30,
|
| 62 |
+
"wheel": false,
|
| 63 |
+
"gun": false,
|
| 64 |
+
"radius": -1,
|
| 65 |
+
"moveLength": -1,
|
| 66 |
+
"moveVertical": false,
|
| 67 |
+
"moveOffset": 0,
|
| 68 |
+
"spider": false,
|
| 69 |
+
"part": "L",
|
| 70 |
+
"hidePath": false
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"name": 100,
|
| 74 |
+
"x": 57,
|
| 75 |
+
"y": 63,
|
| 76 |
+
"length": 200,
|
| 77 |
+
"wheel": false,
|
| 78 |
+
"gun": false,
|
| 79 |
+
"radius": -1,
|
| 80 |
+
"moveLength": -1,
|
| 81 |
+
"moveVertical": false,
|
| 82 |
+
"moveOffset": 0,
|
| 83 |
+
"spider": false,
|
| 84 |
+
"part": "R",
|
| 85 |
+
"hidePath": false
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 100,
|
| 89 |
+
"x": 55,
|
| 90 |
+
"y": 384,
|
| 91 |
+
"length": 200,
|
| 92 |
+
"wheel": false,
|
| 93 |
+
"gun": false,
|
| 94 |
+
"radius": -1,
|
| 95 |
+
"moveLength": -1,
|
| 96 |
+
"moveVertical": false,
|
| 97 |
+
"moveOffset": 0,
|
| 98 |
+
"spider": false,
|
| 99 |
+
"part": "L",
|
| 100 |
+
"hidePath": false
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": 100,
|
| 104 |
+
"x": 160,
|
| 105 |
+
"y": 385,
|
| 106 |
+
"length": 30,
|
| 107 |
+
"wheel": false,
|
| 108 |
+
"gun": false,
|
| 109 |
+
"radius": -1,
|
| 110 |
+
"moveLength": -1,
|
| 111 |
+
"moveVertical": false,
|
| 112 |
+
"moveOffset": 0,
|
| 113 |
+
"spider": false,
|
| 114 |
+
"part": "R",
|
| 115 |
+
"hidePath": false
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"name": 100,
|
| 119 |
+
"x": 261,
|
| 120 |
+
"y": 385,
|
| 121 |
+
"length": 200,
|
| 122 |
+
"wheel": false,
|
| 123 |
+
"gun": false,
|
| 124 |
+
"radius": -1,
|
| 125 |
+
"moveLength": -1,
|
| 126 |
+
"moveVertical": false,
|
| 127 |
+
"moveOffset": 0,
|
| 128 |
+
"spider": false,
|
| 129 |
+
"part": "L",
|
| 130 |
+
"hidePath": false
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": 51,
|
| 134 |
+
"x": 156,
|
| 135 |
+
"y": 302
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"name": 50,
|
| 139 |
+
"x": 154,
|
| 140 |
+
"y": 157
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"name": 2,
|
| 144 |
+
"x": 161,
|
| 145 |
+
"y": 444
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"name": 3,
|
| 149 |
+
"x": 192,
|
| 150 |
+
"y": 335,
|
| 151 |
+
"timeout": -1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"name": 3,
|
| 155 |
+
"x": 192,
|
| 156 |
+
"y": 128,
|
| 157 |
+
"timeout": -1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"name": 3,
|
| 161 |
+
"x": 163,
|
| 162 |
+
"y": 228,
|
| 163 |
+
"timeout": -1
|
| 164 |
+
}
|
| 165 |
+
],
|
| 166 |
+
"mirroredFrom": "09-17.json"
|
| 167 |
+
},
|
| 168 |
+
"reference_solution": "cut_rope 4 when right_candy_still for 0.3 \ncut_rope 3 when candy_still for 0.3 and candy_near 960,330,60\ncut_rope 1 when candy_still for 0.3 and candy_near 1000,310,60\ncut_rope 2 when candy_still for 0.3 and candy_near 950,620,60\ncut_rope 5 when candy_x > 1370\ncut_rope 0 when candy_near 1120,700,50 times 3",
|
| 169 |
+
"reference": {
|
| 170 |
+
"won": true,
|
| 171 |
+
"stars": 3,
|
| 172 |
+
"updated_at": "2026-05-05T18:46:01.088Z"
|
| 173 |
+
},
|
| 174 |
+
"answer": {
|
| 175 |
+
"commands": "cut_rope 4 when right_candy_still for 0.3 \ncut_rope 3 when candy_still for 0.3 and candy_near 960,330,60\ncut_rope 1 when candy_still for 0.3 and candy_near 1000,310,60\ncut_rope 2 when candy_still for 0.3 and candy_near 950,620,60\ncut_rope 5 when candy_x > 1370\ncut_rope 0 when candy_near 1120,700,50 times 3",
|
| 176 |
+
"reason": "reference solution",
|
| 177 |
+
"confidence": 1.0
|
| 178 |
+
},
|
| 179 |
+
"legacy_answer": "cut_rope 4 when right_candy_still for 0.3 \ncut_rope 3 when candy_still for 0.3 and candy_near 960,330,60\ncut_rope 1 when candy_still for 0.3 and candy_near 1000,310,60\ncut_rope 2 when candy_still for 0.3 and candy_near 950,620,60\ncut_rope 5 when candy_x > 1370\ncut_rope 0 when candy_near 1120,700,50 times 3",
|
| 180 |
+
"prompt": {
|
| 181 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 182 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-128\n- canvas_size: 1920 x 1080\n- two_parts (split candy): True\n- object_counts:\n - target: 1\n - star: 3\n - left split candy: 1\n - right split candy: 1\n - rope/grab: 6\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Split candy: the level starts with left_candy and right_candy halves. Before they merge, use left_candy_* and right_candy_* conditions. After they touch and merge, use candy_* for the complete candy.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 183 |
+
}
|
| 184 |
+
}
|
cutrope/data/rope-129.json
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-129",
|
| 4 |
+
"level_file": "data/task/rope-129.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-129.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": true,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"grab_or_rope_anchor": 4,
|
| 20 |
+
"left_candy": 1,
|
| 21 |
+
"right_candy": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480,
|
| 32 |
+
"gridSize": 32
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": true
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 2,
|
| 44 |
+
"x": 162,
|
| 45 |
+
"y": 424
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 50,
|
| 49 |
+
"x": 117,
|
| 50 |
+
"y": 204
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 51,
|
| 54 |
+
"x": 239,
|
| 55 |
+
"y": 207
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 3,
|
| 59 |
+
"x": 124,
|
| 60 |
+
"y": 292,
|
| 61 |
+
"timeout": -1
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 3,
|
| 65 |
+
"x": 254,
|
| 66 |
+
"y": 298,
|
| 67 |
+
"timeout": -1
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"name": 3,
|
| 71 |
+
"x": 180,
|
| 72 |
+
"y": 360,
|
| 73 |
+
"timeout": -1
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"name": 100,
|
| 77 |
+
"x": 237,
|
| 78 |
+
"y": 72,
|
| 79 |
+
"length": 100,
|
| 80 |
+
"wheel": false,
|
| 81 |
+
"radius": -1,
|
| 82 |
+
"moveLength": -1,
|
| 83 |
+
"moveVertical": false,
|
| 84 |
+
"moveOffset": 0,
|
| 85 |
+
"spider": false,
|
| 86 |
+
"part": "R"
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 100,
|
| 90 |
+
"x": 110,
|
| 91 |
+
"y": 78,
|
| 92 |
+
"length": 100,
|
| 93 |
+
"wheel": false,
|
| 94 |
+
"radius": -1,
|
| 95 |
+
"moveLength": -1,
|
| 96 |
+
"moveVertical": false,
|
| 97 |
+
"moveOffset": 0,
|
| 98 |
+
"spider": false,
|
| 99 |
+
"part": "L"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": 100,
|
| 103 |
+
"x": 171,
|
| 104 |
+
"y": 140,
|
| 105 |
+
"length": 136,
|
| 106 |
+
"wheel": false,
|
| 107 |
+
"radius": -1,
|
| 108 |
+
"moveLength": -1,
|
| 109 |
+
"moveVertical": false,
|
| 110 |
+
"moveOffset": 0,
|
| 111 |
+
"spider": false,
|
| 112 |
+
"part": "R"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": 100,
|
| 116 |
+
"x": 168,
|
| 117 |
+
"y": 143,
|
| 118 |
+
"length": 154,
|
| 119 |
+
"wheel": false,
|
| 120 |
+
"radius": -1,
|
| 121 |
+
"moveLength": -1,
|
| 122 |
+
"moveVertical": false,
|
| 123 |
+
"moveOffset": 0,
|
| 124 |
+
"spider": false,
|
| 125 |
+
"part": "L"
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"generatorTemplate": "split_drop"
|
| 129 |
+
},
|
| 130 |
+
"reference_solution": "cut_rope 0,1 \ncut_rope 2 when candy_still for 0.3 and candy_near 1000,700,60\ncut_rope 3",
|
| 131 |
+
"reference": {
|
| 132 |
+
"won": true,
|
| 133 |
+
"stars": 3,
|
| 134 |
+
"updated_at": "2026-05-05T19:04:09.649Z"
|
| 135 |
+
},
|
| 136 |
+
"answer": {
|
| 137 |
+
"commands": "cut_rope 0,1 \ncut_rope 2 when candy_still for 0.3 and candy_near 1000,700,60\ncut_rope 3",
|
| 138 |
+
"reason": "reference solution",
|
| 139 |
+
"confidence": 1.0
|
| 140 |
+
},
|
| 141 |
+
"legacy_answer": "cut_rope 0,1 \ncut_rope 2 when candy_still for 0.3 and candy_near 1000,700,60\ncut_rope 3",
|
| 142 |
+
"prompt": {
|
| 143 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 144 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-129\n- canvas_size: 1920 x 1080\n- two_parts (split candy): True\n- object_counts:\n - target: 1\n - star: 3\n - left split candy: 1\n - right split candy: 1\n - rope/grab: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Split candy: the level starts with left_candy and right_candy halves. Before they merge, use left_candy_* and right_candy_* conditions. After they touch and merge, use candy_* for the complete candy.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 145 |
+
}
|
| 146 |
+
}
|
cutrope/data/rope-130.json
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-130",
|
| 4 |
+
"level_file": "data/task/rope-130.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-130.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 4,
|
| 21 |
+
"gravity_button": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 52,
|
| 44 |
+
"x": 160,
|
| 45 |
+
"y": 218
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 2,
|
| 49 |
+
"x": 232,
|
| 50 |
+
"y": 382
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 53,
|
| 54 |
+
"x": 61,
|
| 55 |
+
"y": 402
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 100,
|
| 59 |
+
"x": 281,
|
| 60 |
+
"y": 206,
|
| 61 |
+
"length": 100,
|
| 62 |
+
"wheel": false,
|
| 63 |
+
"radius": -1,
|
| 64 |
+
"moveLength": -1,
|
| 65 |
+
"moveVertical": false,
|
| 66 |
+
"moveOffset": 0,
|
| 67 |
+
"spider": false,
|
| 68 |
+
"part": "L"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 100,
|
| 72 |
+
"x": 44,
|
| 73 |
+
"y": 204,
|
| 74 |
+
"length": 100,
|
| 75 |
+
"wheel": false,
|
| 76 |
+
"radius": -1,
|
| 77 |
+
"moveLength": -1,
|
| 78 |
+
"moveVertical": false,
|
| 79 |
+
"moveOffset": 0,
|
| 80 |
+
"spider": false,
|
| 81 |
+
"part": "L"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"name": 100,
|
| 85 |
+
"x": 163,
|
| 86 |
+
"y": 87,
|
| 87 |
+
"length": 100,
|
| 88 |
+
"wheel": false,
|
| 89 |
+
"radius": -1,
|
| 90 |
+
"moveLength": -1,
|
| 91 |
+
"moveVertical": false,
|
| 92 |
+
"moveOffset": 0,
|
| 93 |
+
"spider": false,
|
| 94 |
+
"part": "L"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"name": 100,
|
| 98 |
+
"x": 162,
|
| 99 |
+
"y": 322,
|
| 100 |
+
"length": 245,
|
| 101 |
+
"wheel": false,
|
| 102 |
+
"radius": -1,
|
| 103 |
+
"moveLength": -1,
|
| 104 |
+
"moveVertical": false,
|
| 105 |
+
"moveOffset": 0,
|
| 106 |
+
"spider": false,
|
| 107 |
+
"part": "L"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 3,
|
| 111 |
+
"x": 157,
|
| 112 |
+
"y": 179,
|
| 113 |
+
"timeout": -1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"name": 3,
|
| 117 |
+
"x": 320,
|
| 118 |
+
"y": 330,
|
| 119 |
+
"timeout": -1
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"name": 3,
|
| 123 |
+
"x": 278,
|
| 124 |
+
"y": 95,
|
| 125 |
+
"timeout": -1
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"levelId": "08-12",
|
| 129 |
+
"levelEditedAt": "2026-05-05T18:13:11.996Z"
|
| 130 |
+
},
|
| 131 |
+
"reference_solution": "cut_rope 1,2 \ntoggle_gravity when candy_x < 980\ncut_rope 3 when candy_x < 1030\ntoggle_gravity when candy_x > 1070\ncut_rope 0 when candy_near 1300,760,50",
|
| 132 |
+
"reference": {
|
| 133 |
+
"won": true,
|
| 134 |
+
"stars": 3,
|
| 135 |
+
"updated_at": "2026-05-05T18:13:17.137Z"
|
| 136 |
+
},
|
| 137 |
+
"answer": {
|
| 138 |
+
"commands": "cut_rope 1,2 \ntoggle_gravity when candy_x < 980\ncut_rope 3 when candy_x < 1030\ntoggle_gravity when candy_x > 1070\ncut_rope 0 when candy_near 1300,760,50",
|
| 139 |
+
"reason": "reference solution",
|
| 140 |
+
"confidence": 1.0
|
| 141 |
+
},
|
| 142 |
+
"legacy_answer": "cut_rope 1,2 \ntoggle_gravity when candy_x < 980\ncut_rope 3 when candy_x < 1030\ntoggle_gravity when candy_x > 1070\ncut_rope 0 when candy_near 1300,760,50",
|
| 143 |
+
"prompt": {
|
| 144 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 145 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-130\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 4\n - gravity switch: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Gravity switch: `toggle_gravity` reverses or rotates gravity. Often triggered after the candy crosses a coordinate threshold.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 146 |
+
}
|
| 147 |
+
}
|
cutrope/data/rope-131.json
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-131",
|
| 4 |
+
"level_file": "data/task/rope-131.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-131.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 4,
|
| 21 |
+
"object_13": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"sock": 2,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480,
|
| 34 |
+
"gridSize": 32
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 2,
|
| 40 |
+
"twoParts": false
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 2,
|
| 46 |
+
"x": 257,
|
| 47 |
+
"y": 296
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 52,
|
| 51 |
+
"x": 158,
|
| 52 |
+
"y": 292
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": 100,
|
| 56 |
+
"x": 291,
|
| 57 |
+
"y": 397,
|
| 58 |
+
"length": 100,
|
| 59 |
+
"wheel": false,
|
| 60 |
+
"gun": false,
|
| 61 |
+
"radius": -1,
|
| 62 |
+
"moveLength": -1,
|
| 63 |
+
"moveVertical": false,
|
| 64 |
+
"moveOffset": 0,
|
| 65 |
+
"spider": false,
|
| 66 |
+
"part": "R"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 100,
|
| 70 |
+
"x": 26,
|
| 71 |
+
"y": 192,
|
| 72 |
+
"length": 100,
|
| 73 |
+
"wheel": false,
|
| 74 |
+
"gun": false,
|
| 75 |
+
"radius": -1,
|
| 76 |
+
"moveLength": -1,
|
| 77 |
+
"moveVertical": false,
|
| 78 |
+
"moveOffset": 0,
|
| 79 |
+
"spider": false,
|
| 80 |
+
"part": "R"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 100,
|
| 84 |
+
"x": 291,
|
| 85 |
+
"y": 192,
|
| 86 |
+
"length": 100,
|
| 87 |
+
"wheel": false,
|
| 88 |
+
"gun": false,
|
| 89 |
+
"radius": -1,
|
| 90 |
+
"moveLength": -1,
|
| 91 |
+
"moveVertical": false,
|
| 92 |
+
"moveOffset": 0,
|
| 93 |
+
"spider": false,
|
| 94 |
+
"part": "R"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"name": 100,
|
| 98 |
+
"x": 26,
|
| 99 |
+
"y": 399,
|
| 100 |
+
"length": 100,
|
| 101 |
+
"wheel": false,
|
| 102 |
+
"gun": false,
|
| 103 |
+
"radius": -1,
|
| 104 |
+
"moveLength": -1,
|
| 105 |
+
"moveVertical": false,
|
| 106 |
+
"moveOffset": 0,
|
| 107 |
+
"spider": false,
|
| 108 |
+
"part": "R"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 3,
|
| 112 |
+
"x": 159,
|
| 113 |
+
"y": 159,
|
| 114 |
+
"timeout": -1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": 3,
|
| 118 |
+
"x": 159,
|
| 119 |
+
"y": 40,
|
| 120 |
+
"timeout": -1
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"name": 3,
|
| 124 |
+
"x": 160,
|
| 125 |
+
"y": 359,
|
| 126 |
+
"timeout": -1
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": 56,
|
| 130 |
+
"x": 155,
|
| 131 |
+
"y": 401,
|
| 132 |
+
"group": 0,
|
| 133 |
+
"angle": 270
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"name": 56,
|
| 137 |
+
"x": 72,
|
| 138 |
+
"y": 292,
|
| 139 |
+
"group": 0,
|
| 140 |
+
"angle": 0
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"name": 13,
|
| 144 |
+
"x": 247,
|
| 145 |
+
"y": 97,
|
| 146 |
+
"locale": "en",
|
| 147 |
+
"moveSpeed": 100,
|
| 148 |
+
"rotateSpeed": 100
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": 4,
|
| 152 |
+
"x": 238,
|
| 153 |
+
"y": 63,
|
| 154 |
+
"locale": "en",
|
| 155 |
+
"text": "You can cut several ropes at once",
|
| 156 |
+
"width": 200
|
| 157 |
+
}
|
| 158 |
+
],
|
| 159 |
+
"ru": [
|
| 160 |
+
{
|
| 161 |
+
"name": 13,
|
| 162 |
+
"x": 40,
|
| 163 |
+
"y": 96,
|
| 164 |
+
"locale": "ru",
|
| 165 |
+
"moveSpeed": 100,
|
| 166 |
+
"rotateSpeed": 100
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": 4,
|
| 170 |
+
"x": 60,
|
| 171 |
+
"y": 50,
|
| 172 |
+
"locale": "ru",
|
| 173 |
+
"text": "Вы можете перерезать несколько веревок одновременно",
|
| 174 |
+
"width": 240
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"fr": [
|
| 178 |
+
{
|
| 179 |
+
"name": 13,
|
| 180 |
+
"x": 39,
|
| 181 |
+
"y": 78,
|
| 182 |
+
"locale": "fr",
|
| 183 |
+
"moveSpeed": 100,
|
| 184 |
+
"rotateSpeed": 100
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": 4,
|
| 188 |
+
"x": 58,
|
| 189 |
+
"y": 46,
|
| 190 |
+
"locale": "fr",
|
| 191 |
+
"text": "Vous pouvez couper plusieurs cordes à la fois",
|
| 192 |
+
"width": 250
|
| 193 |
+
}
|
| 194 |
+
],
|
| 195 |
+
"de": [
|
| 196 |
+
{
|
| 197 |
+
"name": 13,
|
| 198 |
+
"x": 46,
|
| 199 |
+
"y": 83,
|
| 200 |
+
"locale": "de",
|
| 201 |
+
"moveSpeed": 100,
|
| 202 |
+
"rotateSpeed": 100
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": 4,
|
| 206 |
+
"x": 57,
|
| 207 |
+
"y": 46,
|
| 208 |
+
"locale": "de",
|
| 209 |
+
"text": "Du kannst mehrere Seile auf einmal durchschneiden",
|
| 210 |
+
"width": 250
|
| 211 |
+
}
|
| 212 |
+
],
|
| 213 |
+
"mirroredFrom": "00-08.json"
|
| 214 |
+
},
|
| 215 |
+
"reference_solution": "cut_rope 0\ncut_rope 2",
|
| 216 |
+
"reference": {
|
| 217 |
+
"won": true,
|
| 218 |
+
"stars": 3,
|
| 219 |
+
"updated_at": "2026-05-05T05:33:53.017Z"
|
| 220 |
+
},
|
| 221 |
+
"answer": {
|
| 222 |
+
"commands": "cut_rope 0\ncut_rope 2",
|
| 223 |
+
"reason": "reference solution",
|
| 224 |
+
"confidence": 1.0
|
| 225 |
+
},
|
| 226 |
+
"legacy_answer": "cut_rope 0\ncut_rope 2",
|
| 227 |
+
"prompt": {
|
| 228 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 229 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-131\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 230 |
+
}
|
| 231 |
+
}
|
cutrope/data/rope-132.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-132",
|
| 4 |
+
"level_file": "data/task/rope-132.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-132.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 4,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"sock": 2,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 640,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 56,
|
| 45 |
+
"x": 334,
|
| 46 |
+
"y": 417,
|
| 47 |
+
"group": 1,
|
| 48 |
+
"angle": 270
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 56,
|
| 52 |
+
"x": 171,
|
| 53 |
+
"y": 189,
|
| 54 |
+
"group": 1,
|
| 55 |
+
"angle": 350
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 2,
|
| 59 |
+
"x": 424,
|
| 60 |
+
"y": 179
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 3,
|
| 64 |
+
"x": 258,
|
| 65 |
+
"y": 179,
|
| 66 |
+
"timeout": -1
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 3,
|
| 70 |
+
"x": 338,
|
| 71 |
+
"y": 336,
|
| 72 |
+
"timeout": -1
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 3,
|
| 76 |
+
"x": 215,
|
| 77 |
+
"y": 180,
|
| 78 |
+
"timeout": -1
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 52,
|
| 82 |
+
"x": 345,
|
| 83 |
+
"y": 90
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 100,
|
| 87 |
+
"x": 341,
|
| 88 |
+
"y": 213,
|
| 89 |
+
"length": 110,
|
| 90 |
+
"wheel": false,
|
| 91 |
+
"gun": false,
|
| 92 |
+
"radius": -1,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false,
|
| 97 |
+
"part": "R",
|
| 98 |
+
"hidePath": false
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 54,
|
| 102 |
+
"x": 343,
|
| 103 |
+
"y": 88
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": 54,
|
| 107 |
+
"x": 338,
|
| 108 |
+
"y": 335
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 54,
|
| 112 |
+
"x": 341,
|
| 113 |
+
"y": 254
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"name": 54,
|
| 117 |
+
"x": 340,
|
| 118 |
+
"y": 164
|
| 119 |
+
}
|
| 120 |
+
],
|
| 121 |
+
"mirroredFrom": "09-24.json"
|
| 122 |
+
},
|
| 123 |
+
"reference_solution": "pop_bubble 0 when candy_still for 0.3 and candy_near 1010,150,60\npop_bubble 3 when candy_y > 310\ncut_rope 0 when candy_y > 370\npop_bubble 2 when candy_y > 570\npop_bubble 1 when candy_y < 180",
|
| 124 |
+
"reference": {
|
| 125 |
+
"won": true,
|
| 126 |
+
"stars": 3,
|
| 127 |
+
"updated_at": "2026-05-05T18:53:54.627Z"
|
| 128 |
+
},
|
| 129 |
+
"answer": {
|
| 130 |
+
"commands": "pop_bubble 0 when candy_still for 0.3 and candy_near 1010,150,60\npop_bubble 3 when candy_y > 310\ncut_rope 0 when candy_y > 370\npop_bubble 2 when candy_y > 570\npop_bubble 1 when candy_y < 180",
|
| 131 |
+
"reason": "reference solution",
|
| 132 |
+
"confidence": 1.0
|
| 133 |
+
},
|
| 134 |
+
"legacy_answer": "pop_bubble 0 when candy_still for 0.3 and candy_near 1010,150,60\npop_bubble 3 when candy_y > 310\ncut_rope 0 when candy_y > 370\npop_bubble 2 when candy_y > 570\npop_bubble 1 when candy_y < 180",
|
| 135 |
+
"prompt": {
|
| 136 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 137 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-132\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 138 |
+
}
|
| 139 |
+
}
|
cutrope/data/rope-133.json
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-133",
|
| 4 |
+
"level_file": "data/task/rope-133.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-133.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": true,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 3,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"left_candy": 1,
|
| 22 |
+
"right_candy": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": true
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 2,
|
| 45 |
+
"x": 272,
|
| 46 |
+
"y": 369
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 3,
|
| 50 |
+
"x": 41,
|
| 51 |
+
"y": 400,
|
| 52 |
+
"timeout": -1
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": 3,
|
| 56 |
+
"x": 194,
|
| 57 |
+
"y": 397,
|
| 58 |
+
"timeout": -1
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"name": 3,
|
| 62 |
+
"x": 118,
|
| 63 |
+
"y": 333,
|
| 64 |
+
"timeout": -1
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"name": 82,
|
| 68 |
+
"x": 164,
|
| 69 |
+
"y": 440,
|
| 70 |
+
"angle": 180,
|
| 71 |
+
"size": 2
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": 82,
|
| 75 |
+
"x": 266,
|
| 76 |
+
"y": 440,
|
| 77 |
+
"angle": 180,
|
| 78 |
+
"size": 2
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 81,
|
| 82 |
+
"x": 37,
|
| 83 |
+
"y": 435,
|
| 84 |
+
"angle": 188,
|
| 85 |
+
"size": 1
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 100,
|
| 89 |
+
"x": 189,
|
| 90 |
+
"y": 35,
|
| 91 |
+
"length": 70,
|
| 92 |
+
"wheel": false,
|
| 93 |
+
"gun": false,
|
| 94 |
+
"kickable": false,
|
| 95 |
+
"kicked": false,
|
| 96 |
+
"radius": -1,
|
| 97 |
+
"invisible": false,
|
| 98 |
+
"moveLength": -1,
|
| 99 |
+
"moveVertical": false,
|
| 100 |
+
"moveOffset": 0,
|
| 101 |
+
"spider": false,
|
| 102 |
+
"part": "R"
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 51,
|
| 106 |
+
"x": 188,
|
| 107 |
+
"y": 137
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 100,
|
| 111 |
+
"x": 44,
|
| 112 |
+
"y": 36,
|
| 113 |
+
"length": 70,
|
| 114 |
+
"wheel": false,
|
| 115 |
+
"gun": false,
|
| 116 |
+
"kickable": false,
|
| 117 |
+
"kicked": false,
|
| 118 |
+
"radius": -1,
|
| 119 |
+
"invisible": false,
|
| 120 |
+
"moveLength": -1,
|
| 121 |
+
"moveVertical": false,
|
| 122 |
+
"moveOffset": 0,
|
| 123 |
+
"spider": false,
|
| 124 |
+
"part": "L"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": 50,
|
| 128 |
+
"x": 42,
|
| 129 |
+
"y": 139
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
"mirroredFrom": "09-10.json"
|
| 133 |
+
},
|
| 134 |
+
"reference_solution": "cut_rope 0,1",
|
| 135 |
+
"reference": {
|
| 136 |
+
"won": true,
|
| 137 |
+
"stars": 3,
|
| 138 |
+
"updated_at": "2026-05-05T18:32:17.053Z"
|
| 139 |
+
},
|
| 140 |
+
"answer": {
|
| 141 |
+
"commands": "cut_rope 0,1",
|
| 142 |
+
"reason": "reference solution",
|
| 143 |
+
"confidence": 1.0
|
| 144 |
+
},
|
| 145 |
+
"legacy_answer": "cut_rope 0,1",
|
| 146 |
+
"prompt": {
|
| 147 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 148 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-133\n- canvas_size: 1920 x 1080\n- two_parts (split candy): True\n- object_counts:\n - target: 1\n - star: 3\n - left split candy: 1\n - right split candy: 1\n - rope/grab: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Split candy: the level starts with left_candy and right_candy halves. Before they merge, use left_candy_* and right_candy_* conditions. After they touch and merge, use candy_* for the complete candy.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 149 |
+
}
|
| 150 |
+
}
|
cutrope/data/rope-134.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-134",
|
| 4 |
+
"level_file": "data/task/rope-134.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-134.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": true,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"left_candy": 1,
|
| 22 |
+
"pump": 1,
|
| 23 |
+
"right_candy": 1,
|
| 24 |
+
"star": 3,
|
| 25 |
+
"target": 1
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"level_json_without_solution": {
|
| 29 |
+
"settings": [
|
| 30 |
+
{
|
| 31 |
+
"name": 0,
|
| 32 |
+
"gridSize": 32,
|
| 33 |
+
"width": 640,
|
| 34 |
+
"height": 480
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"name": 1,
|
| 38 |
+
"ropePhysicsSpeed": 1,
|
| 39 |
+
"special": 1,
|
| 40 |
+
"twoParts": true
|
| 41 |
+
}
|
| 42 |
+
],
|
| 43 |
+
"objects": [
|
| 44 |
+
{
|
| 45 |
+
"name": 51,
|
| 46 |
+
"x": 338,
|
| 47 |
+
"y": 324
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 50,
|
| 51 |
+
"x": 403,
|
| 52 |
+
"y": 210
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": 2,
|
| 56 |
+
"x": 319,
|
| 57 |
+
"y": 397
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": 100,
|
| 61 |
+
"x": 405,
|
| 62 |
+
"y": 107,
|
| 63 |
+
"length": 70,
|
| 64 |
+
"wheel": false,
|
| 65 |
+
"gun": false,
|
| 66 |
+
"radius": -1,
|
| 67 |
+
"moveLength": -1,
|
| 68 |
+
"moveVertical": false,
|
| 69 |
+
"moveOffset": 0,
|
| 70 |
+
"spider": false,
|
| 71 |
+
"part": "L"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": 100,
|
| 75 |
+
"x": 344,
|
| 76 |
+
"y": 227,
|
| 77 |
+
"length": 70,
|
| 78 |
+
"wheel": false,
|
| 79 |
+
"gun": false,
|
| 80 |
+
"radius": -1,
|
| 81 |
+
"moveLength": -1,
|
| 82 |
+
"moveVertical": false,
|
| 83 |
+
"moveOffset": 0,
|
| 84 |
+
"spider": false,
|
| 85 |
+
"part": "R"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"name": 54,
|
| 89 |
+
"x": 401,
|
| 90 |
+
"y": 390
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"name": 55,
|
| 94 |
+
"x": 232,
|
| 95 |
+
"y": 323,
|
| 96 |
+
"angle": 0
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"name": 3,
|
| 100 |
+
"x": 333,
|
| 101 |
+
"y": 153,
|
| 102 |
+
"timeout": -1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 3,
|
| 106 |
+
"x": 323,
|
| 107 |
+
"y": 110,
|
| 108 |
+
"timeout": -1
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 3,
|
| 112 |
+
"x": 400,
|
| 113 |
+
"y": 391,
|
| 114 |
+
"timeout": -1
|
| 115 |
+
}
|
| 116 |
+
],
|
| 117 |
+
"levelId": "05-23",
|
| 118 |
+
"levelEditedAt": "2026-05-05T16:49:48.000Z",
|
| 119 |
+
"mirroredFrom": "05-23.json"
|
| 120 |
+
},
|
| 121 |
+
"reference_solution": "cut_rope 0 \nactivate_pump 0 when left_candy_near 1140,1000,50\ncut_rope 0 when candy_still for 0.3\npop_bubble 0 when candy_still for 0.3 and candy_near 1010,270,60\ncut_rope 1 when candy_y > 290",
|
| 122 |
+
"reference": {
|
| 123 |
+
"won": true,
|
| 124 |
+
"stars": 3,
|
| 125 |
+
"updated_at": "2026-05-05T16:50:45.570Z"
|
| 126 |
+
},
|
| 127 |
+
"answer": {
|
| 128 |
+
"commands": "cut_rope 0 \nactivate_pump 0 when left_candy_near 1140,1000,50\ncut_rope 0 when candy_still for 0.3\npop_bubble 0 when candy_still for 0.3 and candy_near 1010,270,60\ncut_rope 1 when candy_y > 290",
|
| 129 |
+
"reason": "reference solution",
|
| 130 |
+
"confidence": 1.0
|
| 131 |
+
},
|
| 132 |
+
"legacy_answer": "cut_rope 0 \nactivate_pump 0 when left_candy_near 1140,1000,50\ncut_rope 0 when candy_still for 0.3\npop_bubble 0 when candy_still for 0.3 and candy_near 1010,270,60\ncut_rope 1 when candy_y > 290",
|
| 133 |
+
"prompt": {
|
| 134 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 135 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-134\n- canvas_size: 1920 x 1080\n- two_parts (split candy): True\n- object_counts:\n - target: 1\n - star: 3\n - left split candy: 1\n - right split candy: 1\n - rope/grab: 2\n - bubble: 1\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Split candy: the level starts with left_candy and right_candy halves. Before they merge, use left_candy_* and right_candy_* conditions. After they touch and merge, use candy_* for the complete candy.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 136 |
+
}
|
| 137 |
+
}
|
cutrope/data/rope-135.json
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-135",
|
| 4 |
+
"level_file": "data/task/rope-135.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-135.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 2,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 6,
|
| 21 |
+
"object_13": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480,
|
| 33 |
+
"gridSize": 32
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 2,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 2,
|
| 45 |
+
"x": 253,
|
| 46 |
+
"y": 420
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 52,
|
| 50 |
+
"x": 159,
|
| 51 |
+
"y": 153
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": 3,
|
| 55 |
+
"x": 158,
|
| 56 |
+
"y": 357,
|
| 57 |
+
"timeout": -1
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": 3,
|
| 61 |
+
"x": 82,
|
| 62 |
+
"y": 358,
|
| 63 |
+
"timeout": -1
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"name": 3,
|
| 67 |
+
"x": 238,
|
| 68 |
+
"y": 360,
|
| 69 |
+
"timeout": -1
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": 100,
|
| 73 |
+
"x": 79,
|
| 74 |
+
"y": 220,
|
| 75 |
+
"length": 75,
|
| 76 |
+
"wheel": false,
|
| 77 |
+
"gun": false,
|
| 78 |
+
"radius": -1,
|
| 79 |
+
"moveLength": -1,
|
| 80 |
+
"moveVertical": false,
|
| 81 |
+
"moveOffset": 0,
|
| 82 |
+
"spider": false,
|
| 83 |
+
"part": "L"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 100,
|
| 87 |
+
"x": 246,
|
| 88 |
+
"y": 99,
|
| 89 |
+
"length": 75,
|
| 90 |
+
"wheel": false,
|
| 91 |
+
"gun": false,
|
| 92 |
+
"radius": -1,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false,
|
| 97 |
+
"part": "L"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 100,
|
| 101 |
+
"x": 74,
|
| 102 |
+
"y": 101,
|
| 103 |
+
"length": 75,
|
| 104 |
+
"wheel": false,
|
| 105 |
+
"gun": false,
|
| 106 |
+
"radius": -1,
|
| 107 |
+
"moveLength": -1,
|
| 108 |
+
"moveVertical": false,
|
| 109 |
+
"moveOffset": 0,
|
| 110 |
+
"spider": false,
|
| 111 |
+
"part": "L"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"name": 100,
|
| 115 |
+
"x": 243,
|
| 116 |
+
"y": 225,
|
| 117 |
+
"length": 75,
|
| 118 |
+
"wheel": false,
|
| 119 |
+
"gun": false,
|
| 120 |
+
"radius": -1,
|
| 121 |
+
"moveLength": -1,
|
| 122 |
+
"moveVertical": false,
|
| 123 |
+
"moveOffset": 0,
|
| 124 |
+
"spider": false,
|
| 125 |
+
"part": "L"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"name": 100,
|
| 129 |
+
"x": 160,
|
| 130 |
+
"y": 48,
|
| 131 |
+
"length": 75,
|
| 132 |
+
"wheel": false,
|
| 133 |
+
"gun": false,
|
| 134 |
+
"radius": -1,
|
| 135 |
+
"moveLength": -1,
|
| 136 |
+
"moveVertical": false,
|
| 137 |
+
"moveOffset": 0,
|
| 138 |
+
"spider": false,
|
| 139 |
+
"part": "L"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"name": 100,
|
| 143 |
+
"x": 160,
|
| 144 |
+
"y": 270,
|
| 145 |
+
"length": 75,
|
| 146 |
+
"wheel": false,
|
| 147 |
+
"gun": false,
|
| 148 |
+
"radius": -1,
|
| 149 |
+
"moveLength": -1,
|
| 150 |
+
"moveVertical": false,
|
| 151 |
+
"moveOffset": 0,
|
| 152 |
+
"spider": false,
|
| 153 |
+
"part": "L"
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"name": 4,
|
| 157 |
+
"x": 85,
|
| 158 |
+
"y": 274,
|
| 159 |
+
"locale": "en",
|
| 160 |
+
"text": "Collect as many stars as you can",
|
| 161 |
+
"width": 200
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"name": 13,
|
| 165 |
+
"x": 65,
|
| 166 |
+
"y": 307,
|
| 167 |
+
"locale": "en",
|
| 168 |
+
"moveSpeed": 100,
|
| 169 |
+
"rotateSpeed": 100
|
| 170 |
+
}
|
| 171 |
+
],
|
| 172 |
+
"ru": [
|
| 173 |
+
{
|
| 174 |
+
"name": 13,
|
| 175 |
+
"x": 60,
|
| 176 |
+
"y": 315,
|
| 177 |
+
"locale": "ru",
|
| 178 |
+
"moveSpeed": 100,
|
| 179 |
+
"rotateSpeed": 100
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"name": 4,
|
| 183 |
+
"x": 73,
|
| 184 |
+
"y": 278,
|
| 185 |
+
"locale": "ru",
|
| 186 |
+
"text": "Старайтесь собирать звезды леденцом",
|
| 187 |
+
"width": 210
|
| 188 |
+
}
|
| 189 |
+
],
|
| 190 |
+
"fr": [
|
| 191 |
+
{
|
| 192 |
+
"name": 4,
|
| 193 |
+
"x": 97,
|
| 194 |
+
"y": 280,
|
| 195 |
+
"locale": "fr",
|
| 196 |
+
"text": "Recueillez le plus d'étoiles possible",
|
| 197 |
+
"width": 150
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"name": 13,
|
| 201 |
+
"x": 83,
|
| 202 |
+
"y": 316,
|
| 203 |
+
"locale": "fr",
|
| 204 |
+
"moveSpeed": 100,
|
| 205 |
+
"rotateSpeed": 100
|
| 206 |
+
}
|
| 207 |
+
],
|
| 208 |
+
"de": [
|
| 209 |
+
{
|
| 210 |
+
"name": 13,
|
| 211 |
+
"x": 66,
|
| 212 |
+
"y": 311,
|
| 213 |
+
"locale": "de",
|
| 214 |
+
"moveSpeed": 100,
|
| 215 |
+
"rotateSpeed": 100
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"name": 4,
|
| 219 |
+
"x": 86,
|
| 220 |
+
"y": 275,
|
| 221 |
+
"locale": "de",
|
| 222 |
+
"text": "Sammle möglichst viele Sternchen",
|
| 223 |
+
"width": 170
|
| 224 |
+
}
|
| 225 |
+
],
|
| 226 |
+
"levelId": "00-02",
|
| 227 |
+
"levelEditedAt": "2026-05-05T04:09:02.662Z"
|
| 228 |
+
},
|
| 229 |
+
"reference_solution": "cut_rope 1\ncut_rope 2\ncut_rope 4\ncut_rope 3 \ncut_rope 0 when candy_near 780,780,50\ncut_rope 5 when candy_near 1100,800,50",
|
| 230 |
+
"reference": {
|
| 231 |
+
"won": true,
|
| 232 |
+
"stars": 3,
|
| 233 |
+
"updated_at": "2026-05-05T04:09:11.578Z"
|
| 234 |
+
},
|
| 235 |
+
"answer": {
|
| 236 |
+
"commands": "cut_rope 1\ncut_rope 2\ncut_rope 4\ncut_rope 3 \ncut_rope 0 when candy_near 780,780,50\ncut_rope 5 when candy_near 1100,800,50",
|
| 237 |
+
"reason": "reference solution",
|
| 238 |
+
"confidence": 1.0
|
| 239 |
+
},
|
| 240 |
+
"legacy_answer": "cut_rope 1\ncut_rope 2\ncut_rope 4\ncut_rope 3 \ncut_rope 0 when candy_near 780,780,50\ncut_rope 5 when candy_near 1100,800,50",
|
| 241 |
+
"prompt": {
|
| 242 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 243 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-135\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 6\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\n\n## 9. FINAL INSTRUCTION\nYou may include reasoning above, but the very last line of your reply must start with FINAL_JSON: followed by exactly one valid JSON object.\nDo not wrap FINAL_JSON in code fences and do not write anything after it."
|
| 244 |
+
}
|
| 245 |
+
}
|
cutrope/data/rope-136.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-136",
|
| 4 |
+
"level_file": "data/task/rope-136.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-136.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 1,
|
| 20 |
+
"bubble": 1,
|
| 21 |
+
"candy": 1,
|
| 22 |
+
"grab_or_rope_anchor": 2,
|
| 23 |
+
"pump": 1,
|
| 24 |
+
"sock": 2,
|
| 25 |
+
"star": 3,
|
| 26 |
+
"target": 1
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"level_json_without_solution": {
|
| 30 |
+
"settings": [
|
| 31 |
+
{
|
| 32 |
+
"name": 0,
|
| 33 |
+
"gridSize": 32,
|
| 34 |
+
"width": 640,
|
| 35 |
+
"height": 480
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"name": 1,
|
| 39 |
+
"ropePhysicsSpeed": 1,
|
| 40 |
+
"special": 1,
|
| 41 |
+
"twoParts": false
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"objects": [
|
| 45 |
+
{
|
| 46 |
+
"name": 100,
|
| 47 |
+
"x": 214,
|
| 48 |
+
"y": 25,
|
| 49 |
+
"length": 90,
|
| 50 |
+
"wheel": false,
|
| 51 |
+
"gun": false,
|
| 52 |
+
"radius": -1,
|
| 53 |
+
"moveLength": -1,
|
| 54 |
+
"moveVertical": false,
|
| 55 |
+
"moveOffset": 0,
|
| 56 |
+
"spider": false,
|
| 57 |
+
"part": "R"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": 100,
|
| 61 |
+
"x": 382,
|
| 62 |
+
"y": 26,
|
| 63 |
+
"length": 90,
|
| 64 |
+
"wheel": false,
|
| 65 |
+
"gun": false,
|
| 66 |
+
"radius": -1,
|
| 67 |
+
"moveLength": -1,
|
| 68 |
+
"moveVertical": false,
|
| 69 |
+
"moveOffset": 0,
|
| 70 |
+
"spider": false,
|
| 71 |
+
"part": "R"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": 52,
|
| 75 |
+
"x": 302,
|
| 76 |
+
"y": 116
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"name": 82,
|
| 80 |
+
"x": 299,
|
| 81 |
+
"y": 223,
|
| 82 |
+
"angle": 210,
|
| 83 |
+
"size": 2
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 56,
|
| 87 |
+
"x": 199,
|
| 88 |
+
"y": 141,
|
| 89 |
+
"group": 0,
|
| 90 |
+
"angle": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"name": 56,
|
| 94 |
+
"x": 373,
|
| 95 |
+
"y": 361,
|
| 96 |
+
"group": 0,
|
| 97 |
+
"angle": 180
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 2,
|
| 101 |
+
"x": 414,
|
| 102 |
+
"y": 178
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 3,
|
| 106 |
+
"x": 297,
|
| 107 |
+
"y": 362,
|
| 108 |
+
"timeout": -1
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 3,
|
| 112 |
+
"x": 321,
|
| 113 |
+
"y": 185,
|
| 114 |
+
"timeout": -1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": 55,
|
| 118 |
+
"x": 207,
|
| 119 |
+
"y": 354,
|
| 120 |
+
"angle": 0
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"name": 54,
|
| 124 |
+
"x": 295,
|
| 125 |
+
"y": 417
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"name": 3,
|
| 129 |
+
"x": 300,
|
| 130 |
+
"y": 71,
|
| 131 |
+
"timeout": -1
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"levelId": "06-16",
|
| 135 |
+
"levelEditedAt": "2026-05-05T17:30:39.650Z",
|
| 136 |
+
"mirroredFrom": "06-16.json"
|
| 137 |
+
},
|
| 138 |
+
"reference_solution": "cut_rope 1 \nactivate_pump 0 times 2 when candy_near 820,800,50\npop_bubble 0 when candy_y < 130",
|
| 139 |
+
"reference": {
|
| 140 |
+
"won": true,
|
| 141 |
+
"stars": 3,
|
| 142 |
+
"updated_at": "2026-05-05T17:30:47.382Z"
|
| 143 |
+
},
|
| 144 |
+
"answer": {
|
| 145 |
+
"commands": "cut_rope 1 \nactivate_pump 0 times 2 when candy_near 820,800,50\npop_bubble 0 when candy_y < 130",
|
| 146 |
+
"reason": "reference solution",
|
| 147 |
+
"confidence": 1.0
|
| 148 |
+
},
|
| 149 |
+
"legacy_answer": "cut_rope 1 \nactivate_pump 0 times 2 when candy_near 820,800,50\npop_bubble 0 when candy_y < 130",
|
| 150 |
+
"prompt": {
|
| 151 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 152 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-136\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 1\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 153 |
+
}
|
| 154 |
+
}
|
cutrope/data/rope-137.json
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-137",
|
| 4 |
+
"level_file": "data/task/rope-137.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-137.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bouncer": 7,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 4,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 640,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 81,
|
| 44 |
+
"x": 596,
|
| 45 |
+
"y": 315,
|
| 46 |
+
"angle": -5,
|
| 47 |
+
"size": 1
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": 81,
|
| 51 |
+
"x": 514,
|
| 52 |
+
"y": 318,
|
| 53 |
+
"angle": -1,
|
| 54 |
+
"size": 1
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"name": 81,
|
| 58 |
+
"x": 432,
|
| 59 |
+
"y": 319,
|
| 60 |
+
"angle": -1,
|
| 61 |
+
"size": 1
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 81,
|
| 65 |
+
"x": 352,
|
| 66 |
+
"y": 320,
|
| 67 |
+
"angle": -1,
|
| 68 |
+
"size": 1
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 81,
|
| 72 |
+
"x": 277,
|
| 73 |
+
"y": 321,
|
| 74 |
+
"angle": -1,
|
| 75 |
+
"size": 1
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"name": 81,
|
| 79 |
+
"x": 199,
|
| 80 |
+
"y": 322,
|
| 81 |
+
"angle": -1,
|
| 82 |
+
"size": 1
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"name": 2,
|
| 86 |
+
"x": 57,
|
| 87 |
+
"y": 289
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": 52,
|
| 91 |
+
"x": 570,
|
| 92 |
+
"y": 200
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 100,
|
| 96 |
+
"x": 574,
|
| 97 |
+
"y": 77,
|
| 98 |
+
"length": 100,
|
| 99 |
+
"wheel": false,
|
| 100 |
+
"gun": false,
|
| 101 |
+
"radius": -1,
|
| 102 |
+
"moveLength": -1,
|
| 103 |
+
"moveVertical": false,
|
| 104 |
+
"moveOffset": 0,
|
| 105 |
+
"spider": false,
|
| 106 |
+
"part": "L",
|
| 107 |
+
"hidePath": false
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 3,
|
| 111 |
+
"x": 196,
|
| 112 |
+
"y": 261,
|
| 113 |
+
"timeout": 9
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"name": 3,
|
| 117 |
+
"x": 353,
|
| 118 |
+
"y": 255,
|
| 119 |
+
"timeout": 7
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"name": 3,
|
| 123 |
+
"x": 500,
|
| 124 |
+
"y": 257,
|
| 125 |
+
"timeout": -1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"name": 81,
|
| 129 |
+
"x": 125,
|
| 130 |
+
"y": 323,
|
| 131 |
+
"angle": -1,
|
| 132 |
+
"size": 1
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"name": 100,
|
| 136 |
+
"x": 473,
|
| 137 |
+
"y": 344,
|
| 138 |
+
"length": 100,
|
| 139 |
+
"wheel": false,
|
| 140 |
+
"gun": false,
|
| 141 |
+
"radius": 60,
|
| 142 |
+
"moveLength": -1,
|
| 143 |
+
"moveVertical": false,
|
| 144 |
+
"moveOffset": 0,
|
| 145 |
+
"spider": false,
|
| 146 |
+
"part": "L",
|
| 147 |
+
"hidePath": false
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"name": 100,
|
| 151 |
+
"x": 316,
|
| 152 |
+
"y": 342,
|
| 153 |
+
"length": 100,
|
| 154 |
+
"wheel": false,
|
| 155 |
+
"gun": false,
|
| 156 |
+
"radius": 60,
|
| 157 |
+
"moveLength": -1,
|
| 158 |
+
"moveVertical": false,
|
| 159 |
+
"moveOffset": 0,
|
| 160 |
+
"spider": false,
|
| 161 |
+
"part": "L",
|
| 162 |
+
"hidePath": false
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"name": 100,
|
| 166 |
+
"x": 162,
|
| 167 |
+
"y": 342,
|
| 168 |
+
"length": 100,
|
| 169 |
+
"wheel": false,
|
| 170 |
+
"gun": false,
|
| 171 |
+
"radius": 60,
|
| 172 |
+
"moveLength": -1,
|
| 173 |
+
"moveVertical": false,
|
| 174 |
+
"moveOffset": 0,
|
| 175 |
+
"spider": false,
|
| 176 |
+
"part": "L",
|
| 177 |
+
"hidePath": false
|
| 178 |
+
}
|
| 179 |
+
]
|
| 180 |
+
},
|
| 181 |
+
"reference_solution": "cut_rope 0 when candy_still for 0.3 and candy_near 1540,480,60\ncut_rope 1 when candy_x < 1260\ncut_rope 2 when candy_x < 890",
|
| 182 |
+
"reference": {
|
| 183 |
+
"won": true,
|
| 184 |
+
"stars": 3,
|
| 185 |
+
"updated_at": "2026-05-05T18:29:01.485Z"
|
| 186 |
+
},
|
| 187 |
+
"answer": {
|
| 188 |
+
"commands": "cut_rope 0 when candy_still for 0.3 and candy_near 1540,480,60\ncut_rope 1 when candy_x < 1260\ncut_rope 2 when candy_x < 890",
|
| 189 |
+
"reason": "reference solution",
|
| 190 |
+
"confidence": 1.0
|
| 191 |
+
},
|
| 192 |
+
"legacy_answer": "cut_rope 0 when candy_still for 0.3 and candy_near 1540,480,60\ncut_rope 1 when candy_x < 1260\ncut_rope 2 when candy_x < 890",
|
| 193 |
+
"prompt": {
|
| 194 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 195 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-137\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 196 |
+
}
|
| 197 |
+
}
|
cutrope/data/rope-138.json
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-138",
|
| 4 |
+
"level_file": "data/task/rope-138.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-138.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"object_13": 1,
|
| 23 |
+
"object_4": 1,
|
| 24 |
+
"pump": 1,
|
| 25 |
+
"star": 3,
|
| 26 |
+
"target": 1
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"level_json_without_solution": {
|
| 30 |
+
"settings": [
|
| 31 |
+
{
|
| 32 |
+
"name": 0,
|
| 33 |
+
"gridSize": 32,
|
| 34 |
+
"width": 640,
|
| 35 |
+
"height": 480
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"name": 1,
|
| 39 |
+
"ropePhysicsSpeed": 1,
|
| 40 |
+
"special": 1,
|
| 41 |
+
"twoParts": false
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"objects": [
|
| 45 |
+
{
|
| 46 |
+
"name": 52,
|
| 47 |
+
"x": 224,
|
| 48 |
+
"y": 199
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 100,
|
| 52 |
+
"x": 223,
|
| 53 |
+
"y": 113,
|
| 54 |
+
"length": 40,
|
| 55 |
+
"wheel": false,
|
| 56 |
+
"gun": false,
|
| 57 |
+
"radius": -1,
|
| 58 |
+
"moveLength": -1,
|
| 59 |
+
"moveVertical": false,
|
| 60 |
+
"moveOffset": 0,
|
| 61 |
+
"spider": false,
|
| 62 |
+
"part": "L",
|
| 63 |
+
"hidePath": false
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"name": 2,
|
| 67 |
+
"x": 518,
|
| 68 |
+
"y": 432
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 3,
|
| 72 |
+
"x": 483,
|
| 73 |
+
"y": 332,
|
| 74 |
+
"timeout": 17
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": 3,
|
| 78 |
+
"x": 222,
|
| 79 |
+
"y": 64,
|
| 80 |
+
"timeout": 4
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 3,
|
| 84 |
+
"x": 388,
|
| 85 |
+
"y": 165,
|
| 86 |
+
"timeout": 9
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": 54,
|
| 90 |
+
"x": 222,
|
| 91 |
+
"y": 348
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"name": 55,
|
| 95 |
+
"x": 225,
|
| 96 |
+
"y": 442,
|
| 97 |
+
"angle": -90
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 100,
|
| 101 |
+
"x": 304,
|
| 102 |
+
"y": 66,
|
| 103 |
+
"length": 100,
|
| 104 |
+
"wheel": false,
|
| 105 |
+
"gun": false,
|
| 106 |
+
"radius": 70,
|
| 107 |
+
"moveLength": -1,
|
| 108 |
+
"moveVertical": false,
|
| 109 |
+
"moveOffset": 0,
|
| 110 |
+
"spider": false,
|
| 111 |
+
"part": "L",
|
| 112 |
+
"hidePath": false
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": 4,
|
| 116 |
+
"x": 176,
|
| 117 |
+
"y": 215,
|
| 118 |
+
"locale": "en",
|
| 119 |
+
"text": "Some stars require fast actions to be collected",
|
| 120 |
+
"width": 250
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"name": 13,
|
| 124 |
+
"x": 167,
|
| 125 |
+
"y": 252,
|
| 126 |
+
"locale": "en",
|
| 127 |
+
"moveSpeed": 100,
|
| 128 |
+
"rotateSpeed": 100
|
| 129 |
+
}
|
| 130 |
+
],
|
| 131 |
+
"ru": [
|
| 132 |
+
{
|
| 133 |
+
"name": 13,
|
| 134 |
+
"x": 65,
|
| 135 |
+
"y": 259,
|
| 136 |
+
"locale": "ru",
|
| 137 |
+
"moveSpeed": 100,
|
| 138 |
+
"rotateSpeed": 100
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"name": 4,
|
| 142 |
+
"x": 80,
|
| 143 |
+
"y": 213,
|
| 144 |
+
"locale": "ru",
|
| 145 |
+
"text": "Некоторые звезды пропадают если вы не достаточно быстры",
|
| 146 |
+
"width": 200
|
| 147 |
+
}
|
| 148 |
+
],
|
| 149 |
+
"fr": [
|
| 150 |
+
{
|
| 151 |
+
"name": 4,
|
| 152 |
+
"x": 46,
|
| 153 |
+
"y": 213,
|
| 154 |
+
"locale": "fr",
|
| 155 |
+
"text": "Il est nécessaire d'agir rapidement pour collecter certaines étoiles",
|
| 156 |
+
"width": 240
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"name": 13,
|
| 160 |
+
"x": 40,
|
| 161 |
+
"y": 256,
|
| 162 |
+
"locale": "fr",
|
| 163 |
+
"moveSpeed": 100,
|
| 164 |
+
"rotateSpeed": 100
|
| 165 |
+
}
|
| 166 |
+
],
|
| 167 |
+
"de": [
|
| 168 |
+
{
|
| 169 |
+
"name": 4,
|
| 170 |
+
"x": 60,
|
| 171 |
+
"y": 207,
|
| 172 |
+
"locale": "de",
|
| 173 |
+
"text": "Bei einigen Sternchen musst Du beim Einsammeln schnell sein",
|
| 174 |
+
"width": 250
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"name": 13,
|
| 178 |
+
"x": 43,
|
| 179 |
+
"y": 251,
|
| 180 |
+
"locale": "de",
|
| 181 |
+
"moveSpeed": 100,
|
| 182 |
+
"rotateSpeed": 100
|
| 183 |
+
}
|
| 184 |
+
],
|
| 185 |
+
"levelId": "02-17",
|
| 186 |
+
"levelEditedAt": "2026-05-05T14:18:10.989Z"
|
| 187 |
+
},
|
| 188 |
+
"reference_solution": "cut_rope 0 when candy_still for 0.3 and candy_near 740,420,60\npop_bubble 0 when candy_y < 170\ncut_rope 1 when candy_x > 1160",
|
| 189 |
+
"reference": {
|
| 190 |
+
"won": true,
|
| 191 |
+
"stars": 3,
|
| 192 |
+
"updated_at": "2026-05-05T14:18:22.894Z"
|
| 193 |
+
},
|
| 194 |
+
"answer": {
|
| 195 |
+
"commands": "cut_rope 0 when candy_still for 0.3 and candy_near 740,420,60\npop_bubble 0 when candy_y < 170\ncut_rope 1 when candy_x > 1160",
|
| 196 |
+
"reason": "reference solution",
|
| 197 |
+
"confidence": 1.0
|
| 198 |
+
},
|
| 199 |
+
"legacy_answer": "cut_rope 0 when candy_still for 0.3 and candy_near 740,420,60\npop_bubble 0 when candy_y < 170\ncut_rope 1 when candy_x > 1160",
|
| 200 |
+
"prompt": {
|
| 201 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 202 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-138\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 1\n - pump: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n- Pumps: activating a pump pushes nearby objects. `activate_pump N`, optionally with `times`/`every`/`until` modifiers for repeated activation.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 203 |
+
}
|
| 204 |
+
}
|
cutrope/data/rope-139.json
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-139",
|
| 4 |
+
"level_file": "data/task/rope-139.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-139.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"object_13": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 640,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 52,
|
| 45 |
+
"x": 390,
|
| 46 |
+
"y": 125
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 2,
|
| 50 |
+
"x": 322,
|
| 51 |
+
"y": 431
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": 100,
|
| 55 |
+
"x": 391,
|
| 56 |
+
"y": 46,
|
| 57 |
+
"length": 40,
|
| 58 |
+
"wheel": false,
|
| 59 |
+
"gun": false,
|
| 60 |
+
"radius": -1,
|
| 61 |
+
"moveLength": -1,
|
| 62 |
+
"moveVertical": false,
|
| 63 |
+
"moveOffset": 0,
|
| 64 |
+
"spider": false,
|
| 65 |
+
"part": "R"
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"name": 100,
|
| 69 |
+
"x": 323,
|
| 70 |
+
"y": 225,
|
| 71 |
+
"length": 70,
|
| 72 |
+
"wheel": false,
|
| 73 |
+
"gun": false,
|
| 74 |
+
"radius": 80,
|
| 75 |
+
"moveLength": -1,
|
| 76 |
+
"moveVertical": false,
|
| 77 |
+
"moveOffset": 0,
|
| 78 |
+
"spider": false,
|
| 79 |
+
"part": "R"
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 4,
|
| 83 |
+
"x": 429,
|
| 84 |
+
"y": 300,
|
| 85 |
+
"locale": "en",
|
| 86 |
+
"text": "Cut the rope before the spider reaches the candy",
|
| 87 |
+
"width": 240
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": 13,
|
| 91 |
+
"x": 446,
|
| 92 |
+
"y": 335,
|
| 93 |
+
"locale": "en",
|
| 94 |
+
"moveSpeed": 100,
|
| 95 |
+
"rotateSpeed": 100
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": 3,
|
| 99 |
+
"x": 372,
|
| 100 |
+
"y": 223,
|
| 101 |
+
"timeout": -1
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"name": 3,
|
| 105 |
+
"x": 230,
|
| 106 |
+
"y": 287,
|
| 107 |
+
"timeout": -1
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 3,
|
| 111 |
+
"x": 323,
|
| 112 |
+
"y": 377,
|
| 113 |
+
"timeout": -1
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
"ru": [
|
| 117 |
+
{
|
| 118 |
+
"name": 4,
|
| 119 |
+
"x": 48,
|
| 120 |
+
"y": 271,
|
| 121 |
+
"locale": "ru",
|
| 122 |
+
"text": "Перережьте веревку прежде чем паучок доберется до леденца",
|
| 123 |
+
"width": 200
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"name": 13,
|
| 127 |
+
"x": 35,
|
| 128 |
+
"y": 317,
|
| 129 |
+
"locale": "ru",
|
| 130 |
+
"moveSpeed": 100,
|
| 131 |
+
"rotateSpeed": 100
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"fr": [
|
| 135 |
+
{
|
| 136 |
+
"name": 4,
|
| 137 |
+
"x": 56,
|
| 138 |
+
"y": 299,
|
| 139 |
+
"locale": "fr",
|
| 140 |
+
"text": "Coupe la corde avant que l'araignée n'atteigne le bonbon",
|
| 141 |
+
"width": 240
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"name": 13,
|
| 145 |
+
"x": 39,
|
| 146 |
+
"y": 334,
|
| 147 |
+
"locale": "fr",
|
| 148 |
+
"moveSpeed": 100,
|
| 149 |
+
"rotateSpeed": 100
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
"de": [
|
| 153 |
+
{
|
| 154 |
+
"name": 4,
|
| 155 |
+
"x": 79,
|
| 156 |
+
"y": 287,
|
| 157 |
+
"locale": "de",
|
| 158 |
+
"text": "Schneide das Seil durch, bevor die Spinne am Bonbon ist",
|
| 159 |
+
"width": 170
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"name": 13,
|
| 163 |
+
"x": 150,
|
| 164 |
+
"y": 276,
|
| 165 |
+
"locale": "de",
|
| 166 |
+
"moveSpeed": 100,
|
| 167 |
+
"rotateSpeed": 100
|
| 168 |
+
}
|
| 169 |
+
],
|
| 170 |
+
"mirroredFrom": "02-09.json"
|
| 171 |
+
},
|
| 172 |
+
"reference_solution": "cut_rope 0 \ncut_rope 1 when candy_near 850,780,60 times 2",
|
| 173 |
+
"reference": {
|
| 174 |
+
"won": true,
|
| 175 |
+
"stars": 3,
|
| 176 |
+
"updated_at": "2026-05-05T13:52:31.316Z"
|
| 177 |
+
},
|
| 178 |
+
"answer": {
|
| 179 |
+
"commands": "cut_rope 0 \ncut_rope 1 when candy_near 850,780,60 times 2",
|
| 180 |
+
"reason": "reference solution",
|
| 181 |
+
"confidence": 1.0
|
| 182 |
+
},
|
| 183 |
+
"legacy_answer": "cut_rope 0 \ncut_rope 1 when candy_near 850,780,60 times 2",
|
| 184 |
+
"prompt": {
|
| 185 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 186 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-139\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 187 |
+
}
|
| 188 |
+
}
|
cutrope/data/rope-140.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-140",
|
| 4 |
+
"level_file": "data/task/rope-140.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-140.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"gravity_button": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480,
|
| 32 |
+
"gridSize": 32
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"twoParts": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 2,
|
| 44 |
+
"x": 138,
|
| 45 |
+
"y": 108
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 52,
|
| 49 |
+
"x": 136,
|
| 50 |
+
"y": 290
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"name": 3,
|
| 54 |
+
"x": 129,
|
| 55 |
+
"y": 386,
|
| 56 |
+
"timeout": -1
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"name": 3,
|
| 60 |
+
"x": 130,
|
| 61 |
+
"y": 201,
|
| 62 |
+
"timeout": -1
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"name": 3,
|
| 66 |
+
"x": 138,
|
| 67 |
+
"y": 143,
|
| 68 |
+
"timeout": -1
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 100,
|
| 72 |
+
"x": 183,
|
| 73 |
+
"y": 205,
|
| 74 |
+
"length": 115,
|
| 75 |
+
"wheel": false,
|
| 76 |
+
"radius": -1,
|
| 77 |
+
"moveLength": -1,
|
| 78 |
+
"moveVertical": false,
|
| 79 |
+
"moveOffset": 0,
|
| 80 |
+
"spider": false
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 100,
|
| 84 |
+
"x": 89,
|
| 85 |
+
"y": 212,
|
| 86 |
+
"length": 104,
|
| 87 |
+
"wheel": false,
|
| 88 |
+
"radius": -1,
|
| 89 |
+
"moveLength": -1,
|
| 90 |
+
"moveVertical": false,
|
| 91 |
+
"moveOffset": 0,
|
| 92 |
+
"spider": false
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 53,
|
| 96 |
+
"x": 268,
|
| 97 |
+
"y": 268
|
| 98 |
+
}
|
| 99 |
+
],
|
| 100 |
+
"generatorTemplate": "gravity_lift_2",
|
| 101 |
+
"mirroredFrom": "18-01.json"
|
| 102 |
+
},
|
| 103 |
+
"reference_solution": "cut_rope 0,1\ntoggle_gravity when candy_y > 850",
|
| 104 |
+
"reference": {
|
| 105 |
+
"won": true,
|
| 106 |
+
"stars": 3,
|
| 107 |
+
"updated_at": "2026-05-05T18:59:32.809Z"
|
| 108 |
+
},
|
| 109 |
+
"answer": {
|
| 110 |
+
"commands": "cut_rope 0,1\ntoggle_gravity when candy_y > 850",
|
| 111 |
+
"reason": "reference solution",
|
| 112 |
+
"confidence": 1.0
|
| 113 |
+
},
|
| 114 |
+
"legacy_answer": "cut_rope 0,1\ntoggle_gravity when candy_y > 850",
|
| 115 |
+
"prompt": {
|
| 116 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 117 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-140\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - gravity switch: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Gravity switch: `toggle_gravity` reverses or rotates gravity. Often triggered after the candy crosses a coordinate threshold.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 118 |
+
}
|
| 119 |
+
}
|
cutrope/data/rope-141.json
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-141",
|
| 4 |
+
"level_file": "data/task/rope-141.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-141.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": true,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 1,
|
| 20 |
+
"grab_or_rope_anchor": 3,
|
| 21 |
+
"left_candy": 1,
|
| 22 |
+
"right_candy": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": true
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 51,
|
| 45 |
+
"x": 209,
|
| 46 |
+
"y": 198
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 100,
|
| 50 |
+
"x": 99,
|
| 51 |
+
"y": 198,
|
| 52 |
+
"length": 30,
|
| 53 |
+
"wheel": false,
|
| 54 |
+
"gun": false,
|
| 55 |
+
"radius": -1,
|
| 56 |
+
"moveLength": -1,
|
| 57 |
+
"moveVertical": false,
|
| 58 |
+
"moveOffset": 0,
|
| 59 |
+
"spider": false,
|
| 60 |
+
"part": "R"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 100,
|
| 64 |
+
"x": 304,
|
| 65 |
+
"y": 197,
|
| 66 |
+
"length": 30,
|
| 67 |
+
"wheel": false,
|
| 68 |
+
"gun": false,
|
| 69 |
+
"radius": -1,
|
| 70 |
+
"moveLength": -1,
|
| 71 |
+
"moveVertical": false,
|
| 72 |
+
"moveOffset": 0,
|
| 73 |
+
"spider": false,
|
| 74 |
+
"part": "R"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"name": 54,
|
| 78 |
+
"x": 49,
|
| 79 |
+
"y": 548
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": 50,
|
| 83 |
+
"x": 54,
|
| 84 |
+
"y": 547
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"name": 2,
|
| 88 |
+
"x": 104,
|
| 89 |
+
"y": 42
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": 3,
|
| 93 |
+
"x": 103,
|
| 94 |
+
"y": 138,
|
| 95 |
+
"timeout": -1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"name": 3,
|
| 99 |
+
"x": 79,
|
| 100 |
+
"y": 162,
|
| 101 |
+
"timeout": -1
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"name": 3,
|
| 105 |
+
"x": 53,
|
| 106 |
+
"y": 188,
|
| 107 |
+
"timeout": -1
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": 100,
|
| 111 |
+
"x": 101,
|
| 112 |
+
"y": 365,
|
| 113 |
+
"length": 60,
|
| 114 |
+
"wheel": false,
|
| 115 |
+
"gun": false,
|
| 116 |
+
"radius": 50,
|
| 117 |
+
"moveLength": -1,
|
| 118 |
+
"moveVertical": false,
|
| 119 |
+
"moveOffset": 0,
|
| 120 |
+
"spider": false,
|
| 121 |
+
"part": "L"
|
| 122 |
+
}
|
| 123 |
+
]
|
| 124 |
+
},
|
| 125 |
+
"reference_solution": "cut_rope 1 when candy_still for 0.3 and candy_near 0,0,60\ncut_rope 2 when candy_still for 0.3 and candy_near 820,590,60\ncut_rope 0 when candy_still for 0.3 and candy_near 820,300,60",
|
| 126 |
+
"reference": {
|
| 127 |
+
"won": true,
|
| 128 |
+
"stars": 3,
|
| 129 |
+
"updated_at": "2026-05-05T15:55:39.203Z"
|
| 130 |
+
},
|
| 131 |
+
"answer": {
|
| 132 |
+
"commands": "cut_rope 1 when candy_still for 0.3 and candy_near 0,0,60\ncut_rope 2 when candy_still for 0.3 and candy_near 820,590,60\ncut_rope 0 when candy_still for 0.3 and candy_near 820,300,60",
|
| 133 |
+
"reason": "reference solution",
|
| 134 |
+
"confidence": 1.0
|
| 135 |
+
},
|
| 136 |
+
"legacy_answer": "cut_rope 1 when candy_still for 0.3 and candy_near 0,0,60\ncut_rope 2 when candy_still for 0.3 and candy_near 820,590,60\ncut_rope 0 when candy_still for 0.3 and candy_near 820,300,60",
|
| 137 |
+
"prompt": {
|
| 138 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 139 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-141\n- canvas_size: 1920 x 1080\n- two_parts (split candy): True\n- object_counts:\n - target: 1\n - star: 3\n - left split candy: 1\n - right split candy: 1\n - rope/grab: 3\n - bubble: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Split candy: the level starts with left_candy and right_candy halves. Before they merge, use left_candy_* and right_candy_* conditions. After they touch and merge, use candy_* for the complete candy.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 140 |
+
}
|
| 141 |
+
}
|
cutrope/data/rope-142.json
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-142",
|
| 4 |
+
"level_file": "data/task/rope-142.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-142.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 4,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 1,
|
| 22 |
+
"sock": 2,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 640,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 56,
|
| 45 |
+
"x": 306,
|
| 46 |
+
"y": 417,
|
| 47 |
+
"group": 1,
|
| 48 |
+
"angle": 270
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 56,
|
| 52 |
+
"x": 469,
|
| 53 |
+
"y": 189,
|
| 54 |
+
"group": 1,
|
| 55 |
+
"angle": 190
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": 2,
|
| 59 |
+
"x": 216,
|
| 60 |
+
"y": 179
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 3,
|
| 64 |
+
"x": 382,
|
| 65 |
+
"y": 179,
|
| 66 |
+
"timeout": -1
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 3,
|
| 70 |
+
"x": 302,
|
| 71 |
+
"y": 336,
|
| 72 |
+
"timeout": -1
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"name": 3,
|
| 76 |
+
"x": 425,
|
| 77 |
+
"y": 180,
|
| 78 |
+
"timeout": -1
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 52,
|
| 82 |
+
"x": 295,
|
| 83 |
+
"y": 90
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 100,
|
| 87 |
+
"x": 299,
|
| 88 |
+
"y": 213,
|
| 89 |
+
"length": 110,
|
| 90 |
+
"wheel": false,
|
| 91 |
+
"gun": false,
|
| 92 |
+
"radius": -1,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false,
|
| 97 |
+
"part": "L",
|
| 98 |
+
"hidePath": false
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"name": 54,
|
| 102 |
+
"x": 297,
|
| 103 |
+
"y": 88
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"name": 54,
|
| 107 |
+
"x": 302,
|
| 108 |
+
"y": 335
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"name": 54,
|
| 112 |
+
"x": 299,
|
| 113 |
+
"y": 254
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"name": 54,
|
| 117 |
+
"x": 300,
|
| 118 |
+
"y": 164
|
| 119 |
+
}
|
| 120 |
+
]
|
| 121 |
+
},
|
| 122 |
+
"reference_solution": "pop_bubble 0 when candy_still for 0.3 and candy_near 910,150,60\npop_bubble 3 when candy_y > 310\ncut_rope 0 when candy_y > 370\npop_bubble 2 when candy_y > 570\npop_bubble 1 when candy_y < 180",
|
| 123 |
+
"reference": {
|
| 124 |
+
"won": true,
|
| 125 |
+
"stars": 3,
|
| 126 |
+
"updated_at": "2026-05-05T18:53:54.627Z"
|
| 127 |
+
},
|
| 128 |
+
"answer": {
|
| 129 |
+
"commands": "pop_bubble 0 when candy_still for 0.3 and candy_near 910,150,60\npop_bubble 3 when candy_y > 310\ncut_rope 0 when candy_y > 370\npop_bubble 2 when candy_y > 570\npop_bubble 1 when candy_y < 180",
|
| 130 |
+
"reason": "reference solution",
|
| 131 |
+
"confidence": 1.0
|
| 132 |
+
},
|
| 133 |
+
"legacy_answer": "pop_bubble 0 when candy_still for 0.3 and candy_near 910,150,60\npop_bubble 3 when candy_y > 310\ncut_rope 0 when candy_y > 370\npop_bubble 2 when candy_y > 570\npop_bubble 1 when candy_y < 180",
|
| 134 |
+
"prompt": {
|
| 135 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 136 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-142\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 1\n - bubble: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 137 |
+
}
|
| 138 |
+
}
|
cutrope/data/rope-143.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-143",
|
| 4 |
+
"level_file": "data/task/rope-143.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-143.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 640,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"bubble": 5,
|
| 20 |
+
"candy": 1,
|
| 21 |
+
"grab_or_rope_anchor": 2,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 640,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"special": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1
|
| 38 |
+
}
|
| 39 |
+
],
|
| 40 |
+
"objects": [
|
| 41 |
+
{
|
| 42 |
+
"name": 2,
|
| 43 |
+
"x": 439,
|
| 44 |
+
"y": 373
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": 52,
|
| 48 |
+
"x": 108,
|
| 49 |
+
"y": 150
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"name": 100,
|
| 53 |
+
"x": 371,
|
| 54 |
+
"y": 94,
|
| 55 |
+
"length": 260,
|
| 56 |
+
"wheel": false,
|
| 57 |
+
"radius": -1,
|
| 58 |
+
"moveLength": -1,
|
| 59 |
+
"moveVertical": false,
|
| 60 |
+
"moveOffset": 0,
|
| 61 |
+
"spider": false
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": 100,
|
| 65 |
+
"x": 107,
|
| 66 |
+
"y": 71,
|
| 67 |
+
"length": 50,
|
| 68 |
+
"wheel": false,
|
| 69 |
+
"radius": -1,
|
| 70 |
+
"moveLength": -1,
|
| 71 |
+
"moveVertical": false,
|
| 72 |
+
"moveOffset": 0,
|
| 73 |
+
"spider": false
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"name": 54,
|
| 77 |
+
"x": 370,
|
| 78 |
+
"y": 390
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 54,
|
| 82 |
+
"x": 210,
|
| 83 |
+
"y": 343
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 54,
|
| 87 |
+
"x": 109,
|
| 88 |
+
"y": 209
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": 3,
|
| 92 |
+
"x": 108,
|
| 93 |
+
"y": 210,
|
| 94 |
+
"timeout": -1
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"name": 3,
|
| 98 |
+
"x": 209,
|
| 99 |
+
"y": 343,
|
| 100 |
+
"timeout": -1
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": 3,
|
| 104 |
+
"x": 371,
|
| 105 |
+
"y": 390,
|
| 106 |
+
"timeout": -1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": 54,
|
| 110 |
+
"x": 149,
|
| 111 |
+
"y": 284
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"name": 54,
|
| 115 |
+
"x": 288,
|
| 116 |
+
"y": 381
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"mirroredFrom": "07-16.json"
|
| 120 |
+
},
|
| 121 |
+
"reference_solution": "cut_rope 1 when candy_x < 500\npop_bubble 2 when candy_x < 480\npop_bubble 3 when candy_y > 610\npop_bubble 1 when candy_y > 740\npop_bubble 4 when candy_y > 830\npop_bubble 0 when candy_x > 1060",
|
| 122 |
+
"reference": {
|
| 123 |
+
"won": true,
|
| 124 |
+
"stars": 3,
|
| 125 |
+
"updated_at": "2026-05-05T17:50:48.146Z"
|
| 126 |
+
},
|
| 127 |
+
"answer": {
|
| 128 |
+
"commands": "cut_rope 1 when candy_x < 500\npop_bubble 2 when candy_x < 480\npop_bubble 3 when candy_y > 610\npop_bubble 1 when candy_y > 740\npop_bubble 4 when candy_y > 830\npop_bubble 0 when candy_x > 1060",
|
| 129 |
+
"reason": "reference solution",
|
| 130 |
+
"confidence": 1.0
|
| 131 |
+
},
|
| 132 |
+
"legacy_answer": "cut_rope 1 when candy_x < 500\npop_bubble 2 when candy_x < 480\npop_bubble 3 when candy_y > 610\npop_bubble 1 when candy_y > 740\npop_bubble 4 when candy_y > 830\npop_bubble 0 when candy_x > 1060",
|
| 133 |
+
"prompt": {
|
| 134 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 135 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-143\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - bubble: 5\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Bubbles: candy entering a bubble usually floats upward. `pop_bubble N` pops bubble N. In split-candy levels, `pop_bubble_left` / `pop_bubble_right` pop the bubble holding the corresponding half.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 136 |
+
}
|
| 137 |
+
}
|
cutrope/data/rope-144.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-144",
|
| 4 |
+
"level_file": "data/task/rope-144.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-144.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 2,
|
| 21 |
+
"gravity_button": 1,
|
| 22 |
+
"star": 3,
|
| 23 |
+
"target": 1
|
| 24 |
+
}
|
| 25 |
+
},
|
| 26 |
+
"level_json_without_solution": {
|
| 27 |
+
"settings": [
|
| 28 |
+
{
|
| 29 |
+
"name": 0,
|
| 30 |
+
"gridSize": 32,
|
| 31 |
+
"width": 320,
|
| 32 |
+
"height": 480
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"name": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1,
|
| 37 |
+
"special": 1,
|
| 38 |
+
"uk": false
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"objects": [
|
| 42 |
+
{
|
| 43 |
+
"name": 2,
|
| 44 |
+
"x": 153,
|
| 45 |
+
"y": 341
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"name": 3,
|
| 49 |
+
"x": 159,
|
| 50 |
+
"y": 152,
|
| 51 |
+
"timeout": -1
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": 3,
|
| 55 |
+
"x": 157,
|
| 56 |
+
"y": 195,
|
| 57 |
+
"timeout": -1
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": 3,
|
| 61 |
+
"x": 159,
|
| 62 |
+
"y": 97,
|
| 63 |
+
"timeout": -1
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"name": 53,
|
| 67 |
+
"x": 52,
|
| 68 |
+
"y": 413
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"name": 100,
|
| 72 |
+
"x": 22,
|
| 73 |
+
"y": 258,
|
| 74 |
+
"length": 75,
|
| 75 |
+
"wheel": false,
|
| 76 |
+
"radius": -1,
|
| 77 |
+
"moveLength": -1,
|
| 78 |
+
"moveVertical": false,
|
| 79 |
+
"moveOffset": 0,
|
| 80 |
+
"spider": false
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": 100,
|
| 84 |
+
"x": 286,
|
| 85 |
+
"y": 255,
|
| 86 |
+
"length": 75,
|
| 87 |
+
"wheel": false,
|
| 88 |
+
"radius": -1,
|
| 89 |
+
"moveLength": -1,
|
| 90 |
+
"moveVertical": false,
|
| 91 |
+
"moveOffset": 0,
|
| 92 |
+
"spider": false
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"name": 52,
|
| 96 |
+
"x": 159,
|
| 97 |
+
"y": 256
|
| 98 |
+
}
|
| 99 |
+
],
|
| 100 |
+
"levelId": "08-21",
|
| 101 |
+
"levelEditedAt": "2026-05-05T18:16:58.220Z",
|
| 102 |
+
"mirroredFrom": "08-21.json"
|
| 103 |
+
},
|
| 104 |
+
"reference_solution": "cut_rope 0,1\ntoggle_gravity 0\ntoggle_gravity when candy_y < 300",
|
| 105 |
+
"reference": {
|
| 106 |
+
"won": true,
|
| 107 |
+
"stars": 3,
|
| 108 |
+
"updated_at": "2026-05-05T18:17:50.592Z"
|
| 109 |
+
},
|
| 110 |
+
"answer": {
|
| 111 |
+
"commands": "cut_rope 0,1\ntoggle_gravity 0\ntoggle_gravity when candy_y < 300",
|
| 112 |
+
"reason": "reference solution",
|
| 113 |
+
"confidence": 1.0
|
| 114 |
+
},
|
| 115 |
+
"legacy_answer": "cut_rope 0,1\ntoggle_gravity 0\ntoggle_gravity when candy_y < 300",
|
| 116 |
+
"prompt": {
|
| 117 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 118 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-144\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 2\n - gravity switch: 1\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n- Gravity switch: `toggle_gravity` reverses or rotates gravity. Often triggered after the candy crosses a coordinate threshold.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 119 |
+
}
|
| 120 |
+
}
|
cutrope/data/rope-145.json
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-145",
|
| 4 |
+
"level_file": "data/task/rope-145.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-145.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 4,
|
| 21 |
+
"object_13": 1,
|
| 22 |
+
"object_4": 1,
|
| 23 |
+
"star": 3,
|
| 24 |
+
"target": 1
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"level_json_without_solution": {
|
| 28 |
+
"settings": [
|
| 29 |
+
{
|
| 30 |
+
"name": 0,
|
| 31 |
+
"gridSize": 32,
|
| 32 |
+
"width": 320,
|
| 33 |
+
"height": 480
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": 1,
|
| 37 |
+
"ropePhysicsSpeed": 1,
|
| 38 |
+
"special": 1,
|
| 39 |
+
"twoParts": false
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"objects": [
|
| 43 |
+
{
|
| 44 |
+
"name": 52,
|
| 45 |
+
"x": 243,
|
| 46 |
+
"y": 313
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": 2,
|
| 50 |
+
"x": 230,
|
| 51 |
+
"y": 436
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": 3,
|
| 55 |
+
"x": 172,
|
| 56 |
+
"y": 139,
|
| 57 |
+
"timeout": -1
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"name": 3,
|
| 61 |
+
"x": 63,
|
| 62 |
+
"y": 351,
|
| 63 |
+
"timeout": -1
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"name": 3,
|
| 67 |
+
"x": 198,
|
| 68 |
+
"y": 346,
|
| 69 |
+
"timeout": -1
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"name": 100,
|
| 73 |
+
"x": 196,
|
| 74 |
+
"y": 191,
|
| 75 |
+
"length": 70,
|
| 76 |
+
"wheel": false,
|
| 77 |
+
"gun": false,
|
| 78 |
+
"radius": -1,
|
| 79 |
+
"moveLength": -1,
|
| 80 |
+
"moveVertical": false,
|
| 81 |
+
"moveOffset": 0,
|
| 82 |
+
"spider": false,
|
| 83 |
+
"part": "R"
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"name": 100,
|
| 87 |
+
"x": 73,
|
| 88 |
+
"y": 92,
|
| 89 |
+
"length": 150,
|
| 90 |
+
"wheel": false,
|
| 91 |
+
"gun": false,
|
| 92 |
+
"radius": 55,
|
| 93 |
+
"moveLength": -1,
|
| 94 |
+
"moveVertical": false,
|
| 95 |
+
"moveOffset": 0,
|
| 96 |
+
"spider": false,
|
| 97 |
+
"part": "R"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"name": 100,
|
| 101 |
+
"x": 132,
|
| 102 |
+
"y": 289,
|
| 103 |
+
"length": 100,
|
| 104 |
+
"wheel": false,
|
| 105 |
+
"gun": false,
|
| 106 |
+
"radius": 65,
|
| 107 |
+
"moveLength": -1,
|
| 108 |
+
"moveVertical": false,
|
| 109 |
+
"moveOffset": 0,
|
| 110 |
+
"spider": false,
|
| 111 |
+
"part": "R"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"name": 100,
|
| 115 |
+
"x": 271,
|
| 116 |
+
"y": 381,
|
| 117 |
+
"length": 25,
|
| 118 |
+
"wheel": false,
|
| 119 |
+
"gun": false,
|
| 120 |
+
"radius": -1,
|
| 121 |
+
"moveLength": -1,
|
| 122 |
+
"moveVertical": false,
|
| 123 |
+
"moveOffset": 0,
|
| 124 |
+
"spider": false,
|
| 125 |
+
"part": "R"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"name": 4,
|
| 129 |
+
"x": 300,
|
| 130 |
+
"y": 98,
|
| 131 |
+
"locale": "en",
|
| 132 |
+
"text": "Stretched ropes turn red",
|
| 133 |
+
"width": 100
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"name": 13,
|
| 137 |
+
"x": 253,
|
| 138 |
+
"y": 85,
|
| 139 |
+
"locale": "en",
|
| 140 |
+
"moveSpeed": 100,
|
| 141 |
+
"rotateSpeed": 100
|
| 142 |
+
}
|
| 143 |
+
],
|
| 144 |
+
"ru": [
|
| 145 |
+
{
|
| 146 |
+
"name": 13,
|
| 147 |
+
"x": 68,
|
| 148 |
+
"y": 64,
|
| 149 |
+
"locale": "ru",
|
| 150 |
+
"moveSpeed": 100,
|
| 151 |
+
"rotateSpeed": 100
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"name": 4,
|
| 155 |
+
"x": 21,
|
| 156 |
+
"y": 77,
|
| 157 |
+
"locale": "ru",
|
| 158 |
+
"text": "Натянутые веревки становятся красными",
|
| 159 |
+
"width": 100
|
| 160 |
+
}
|
| 161 |
+
],
|
| 162 |
+
"fr": [
|
| 163 |
+
{
|
| 164 |
+
"name": 13,
|
| 165 |
+
"x": 67,
|
| 166 |
+
"y": 61,
|
| 167 |
+
"locale": "fr",
|
| 168 |
+
"moveSpeed": 100,
|
| 169 |
+
"rotateSpeed": 100
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"name": 4,
|
| 173 |
+
"x": 20,
|
| 174 |
+
"y": 74,
|
| 175 |
+
"locale": "fr",
|
| 176 |
+
"text": "Les cordes étirées deviennent rouges",
|
| 177 |
+
"width": 100
|
| 178 |
+
}
|
| 179 |
+
],
|
| 180 |
+
"de": [
|
| 181 |
+
{
|
| 182 |
+
"name": 4,
|
| 183 |
+
"x": 57,
|
| 184 |
+
"y": 33,
|
| 185 |
+
"locale": "de",
|
| 186 |
+
"text": "Gespannte Seile werden rot",
|
| 187 |
+
"width": 140
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"name": 13,
|
| 191 |
+
"x": 39,
|
| 192 |
+
"y": 68,
|
| 193 |
+
"locale": "de",
|
| 194 |
+
"moveSpeed": 100,
|
| 195 |
+
"rotateSpeed": 100
|
| 196 |
+
}
|
| 197 |
+
],
|
| 198 |
+
"levelId": "01-12",
|
| 199 |
+
"levelEditedAt": "2026-05-05T13:10:17.063Z",
|
| 200 |
+
"mirroredFrom": "01-12.json"
|
| 201 |
+
},
|
| 202 |
+
"reference_solution": "cut_rope 3 \ncut_rope 0,1 when candy_still for 0.3 \ncut_rope 2 when candy_near 1070,800,60",
|
| 203 |
+
"reference": {
|
| 204 |
+
"won": true,
|
| 205 |
+
"stars": 3,
|
| 206 |
+
"updated_at": "2026-05-05T13:10:29.123Z"
|
| 207 |
+
},
|
| 208 |
+
"answer": {
|
| 209 |
+
"commands": "cut_rope 3 \ncut_rope 0,1 when candy_still for 0.3 \ncut_rope 2 when candy_near 1070,800,60",
|
| 210 |
+
"reason": "reference solution",
|
| 211 |
+
"confidence": 1.0
|
| 212 |
+
},
|
| 213 |
+
"legacy_answer": "cut_rope 3 \ncut_rope 0,1 when candy_still for 0.3 \ncut_rope 2 when candy_near 1070,800,60",
|
| 214 |
+
"prompt": {
|
| 215 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 216 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-145\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 4\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 217 |
+
}
|
| 218 |
+
}
|
cutrope/data/rope-146.json
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"level_id": "rope-146",
|
| 4 |
+
"level_file": "data/task/rope-146.json",
|
| 5 |
+
"video": {
|
| 6 |
+
"path": "data/video/rope-146.mp4",
|
| 7 |
+
"mime_type": "video/mp4",
|
| 8 |
+
"duration_seconds": 3,
|
| 9 |
+
"fps": 30
|
| 10 |
+
},
|
| 11 |
+
"prompt_level": {
|
| 12 |
+
"canvas_width": 1920,
|
| 13 |
+
"canvas_height": 1080,
|
| 14 |
+
"map_width": 320,
|
| 15 |
+
"map_height": 480,
|
| 16 |
+
"two_parts": false,
|
| 17 |
+
"special": 1,
|
| 18 |
+
"object_counts": {
|
| 19 |
+
"candy": 1,
|
| 20 |
+
"grab_or_rope_anchor": 6,
|
| 21 |
+
"star": 3,
|
| 22 |
+
"target": 1
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"level_json_without_solution": {
|
| 26 |
+
"settings": [
|
| 27 |
+
{
|
| 28 |
+
"name": 0,
|
| 29 |
+
"gridSize": 32,
|
| 30 |
+
"width": 320,
|
| 31 |
+
"height": 480
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": 1,
|
| 35 |
+
"special": 1,
|
| 36 |
+
"ropePhysicsSpeed": 1
|
| 37 |
+
}
|
| 38 |
+
],
|
| 39 |
+
"objects": [
|
| 40 |
+
{
|
| 41 |
+
"name": 2,
|
| 42 |
+
"x": 22,
|
| 43 |
+
"y": 409
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"name": 52,
|
| 47 |
+
"x": 160,
|
| 48 |
+
"y": 149
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"name": 3,
|
| 52 |
+
"x": 62,
|
| 53 |
+
"y": 356,
|
| 54 |
+
"timeout": -1
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"name": 3,
|
| 58 |
+
"x": 254,
|
| 59 |
+
"y": 358,
|
| 60 |
+
"timeout": -1
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"name": 3,
|
| 64 |
+
"x": 53,
|
| 65 |
+
"y": 196,
|
| 66 |
+
"timeout": -1
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": 100,
|
| 70 |
+
"x": 156,
|
| 71 |
+
"y": 42,
|
| 72 |
+
"length": 100,
|
| 73 |
+
"wheel": false,
|
| 74 |
+
"radius": -1,
|
| 75 |
+
"moveLength": -1,
|
| 76 |
+
"moveVertical": false,
|
| 77 |
+
"moveOffset": 0,
|
| 78 |
+
"spider": false
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"name": 100,
|
| 82 |
+
"x": 54,
|
| 83 |
+
"y": 84,
|
| 84 |
+
"length": 100,
|
| 85 |
+
"wheel": false,
|
| 86 |
+
"radius": -1,
|
| 87 |
+
"moveLength": -1,
|
| 88 |
+
"moveVertical": false,
|
| 89 |
+
"moveOffset": 0,
|
| 90 |
+
"spider": false
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"name": 100,
|
| 94 |
+
"x": 252,
|
| 95 |
+
"y": 85,
|
| 96 |
+
"length": 100,
|
| 97 |
+
"wheel": false,
|
| 98 |
+
"radius": -1,
|
| 99 |
+
"moveLength": -1,
|
| 100 |
+
"moveVertical": false,
|
| 101 |
+
"moveOffset": 0,
|
| 102 |
+
"spider": false
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"name": 100,
|
| 106 |
+
"x": 252,
|
| 107 |
+
"y": 232,
|
| 108 |
+
"length": 100,
|
| 109 |
+
"wheel": false,
|
| 110 |
+
"radius": -1,
|
| 111 |
+
"moveLength": -1,
|
| 112 |
+
"moveVertical": false,
|
| 113 |
+
"moveOffset": 0,
|
| 114 |
+
"spider": false
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": 100,
|
| 118 |
+
"x": 156,
|
| 119 |
+
"y": 287,
|
| 120 |
+
"length": 100,
|
| 121 |
+
"wheel": false,
|
| 122 |
+
"radius": -1,
|
| 123 |
+
"moveLength": -1,
|
| 124 |
+
"moveVertical": false,
|
| 125 |
+
"moveOffset": 0,
|
| 126 |
+
"spider": false
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": 100,
|
| 130 |
+
"x": 51,
|
| 131 |
+
"y": 229,
|
| 132 |
+
"length": 100,
|
| 133 |
+
"wheel": false,
|
| 134 |
+
"radius": -1,
|
| 135 |
+
"moveLength": -1,
|
| 136 |
+
"moveVertical": false,
|
| 137 |
+
"moveOffset": 0,
|
| 138 |
+
"spider": false
|
| 139 |
+
}
|
| 140 |
+
],
|
| 141 |
+
"levelId": "01-07",
|
| 142 |
+
"levelEditedAt": "2026-05-05T11:29:53.852Z",
|
| 143 |
+
"mirroredFrom": "01-07.json"
|
| 144 |
+
},
|
| 145 |
+
"reference_solution": "cut_rope 0,2,3 \ncut_rope 1 when candy_near 760,520,40\ncut_rope 5 when candy_y > 820\ncut_rope 4 when candy_near 820,900,40 times 2",
|
| 146 |
+
"reference": {
|
| 147 |
+
"won": true,
|
| 148 |
+
"stars": 3,
|
| 149 |
+
"updated_at": "2026-05-05T11:30:02.639Z"
|
| 150 |
+
},
|
| 151 |
+
"answer": {
|
| 152 |
+
"commands": "cut_rope 0,2,3 \ncut_rope 1 when candy_near 760,520,40\ncut_rope 5 when candy_y > 820\ncut_rope 4 when candy_near 820,900,40 times 2",
|
| 153 |
+
"reason": "reference solution",
|
| 154 |
+
"confidence": 1.0
|
| 155 |
+
},
|
| 156 |
+
"legacy_answer": "cut_rope 0,2,3 \ncut_rope 1 when candy_near 760,520,40\ncut_rope 5 when candy_y > 820\ncut_rope 4 when candy_near 820,900,40 times 2",
|
| 157 |
+
"prompt": {
|
| 158 |
+
"system": "You are a Cut the Rope replayable-script solver. Given a short gameplay video of one Cut the Rope level (with a coordinate grid overlay) and a structured description of the level objects, you produce a deterministic command script that, replayed from the same initial state, wins the level.\n\nYou will receive: (a) one short gameplay video of the level, (b) a structured text body listing the canvas size, the count of each gameplay object (candy, target, ropes, bubbles, pumps, gravity switches, stars), and the level metadata.\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 commands schema described in section 8 of the user prompt: keys `commands`, `reason`, `confidence`. Multiple winning scripts may be valid; output any one. 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 you cannot reason out a confident solution, still emit a best-effort FINAL_JSON line with at least one command and a confidence value below 1.0. Never refuse, never return prose only.",
|
| 159 |
+
"user": "## 1. TASK\nProduce a replayable command script that wins the Cut the Rope level shown in the gameplay video. The script must be deterministic so that replaying it from the same initial state in the simulator produces a win.\nThe level is solved when the candy reaches the target monster's mouth. Three-star completion is preferred but stable winning is the first priority.\n\n## 2. WORLD MODEL\n- Candy: a physics object affected by gravity, ropes, bubbles, pumps, and other active objects. Must be delivered to the target.\n- Target / monster: the level is won when the candy enters the target's mouth.\n- Rope: a constraint between the candy (or a split-candy half) and an anchor. Cutting a rope releases the candy from that constraint. Ropes are zero-indexed.\n- Grab: an anchor for a rope that can be repositioned during play. Zero-indexed.\n- Bubble: when the candy enters a bubble, it usually floats upward. Pop the bubble to release the candy.\n- Pump: a gust source that pushes objects. Each activation produces one impulse.\n- Gravity switch: toggles gravity direction or magnitude.\n- Star: collected by candy passing through its position. Up to 3 stars per level.\n- Split candy: some levels start with two candy halves (`left_candy`, `right_candy`). Use the half-specific conditions before the halves merge; switch to `candy_*` conditions after they merge.\n\n## 3. VISUAL LEGEND\n- The video is a short clip showing the full level layout and a coordinate grid overlay.\n- Coordinates: origin at the top-left corner. x increases to the right; y increases downward.\n- Indices in the video are zero-based for ropes, bubbles, pumps, and grabs. Infer indices from object positions and the order they appear in the clip.\n\n## 4. INPUT FIELDS\n- level_id: rope-146\n- canvas_size: 1920 x 1080\n- two_parts (split candy): False\n- object_counts:\n - target: 1\n - star: 3\n - candy: 1\n - rope/grab: 6\n- gameplay objects in this level:\n- Target (monster): the level is won when the candy reaches the monster's mouth. The target is usually fixed in place.\n- Candy: the candy is affected by gravity, ropes, bubbles, pumps, and other active objects. It must be delivered to the target.\n- Ropes / grabs: ropes constrain the candy or split-candy movement. `cut_rope N` cuts rope N; `cut_rope N,M,K` cuts multiple at once. If a grab can move, `move_grab N X` or `move_grab N X Y` repositions it.\n- Stars: candy or split-candy collects a star by passing through it. Prefer paths that collect 3 stars, but stable completion takes priority.\n\n## 5. ACTION VOCABULARY\nA complete answer is one ordered command script (one command per line). Available actions:\n- `cut_rope N` — cut rope N\n- `cut_rope N,M,K` — cut several ropes simultaneously\n- `pop_bubble N` — pop bubble N\n- `pop_bubble_left` — pop the bubble holding the left split-candy half\n- `pop_bubble_right` — pop the bubble holding the right split-candy half\n- `activate_pump N` — fire pump N once\n- `activate_pump N times C` — fire C times back-to-back\n- `activate_pump N times C every S` — fire C times spaced S seconds apart\n- `activate_pump N every S until <CONDITION>` — fire repeatedly until CONDITION holds\n- `move_grab N X` — move grab N to x-coordinate X (y unchanged)\n- `move_grab N X Y` — move grab N to (X, Y)\n- `kick_rope N` — apply a one-shot impulse to rope N\n- `toggle_gravity` — toggle the gravity setting\n\nEach command may be guarded by an optional `when <CONDITION>` clause. Available condition primitives:\n- `candy_x > N`, `candy_x < N`, `candy_y > N`, `candy_y < N`\n- `candy_near X,Y,R` — candy is within radius R of (X,Y); optional `for S` requires the predicate to hold for S seconds\n- `candy_still for S` — candy speed is below threshold for S seconds (useful before cutting after a swing settles)\n- `left_candy_*` and `right_candy_*` mirror the candy_* primitives for the corresponding split half\n- `grab_x I > N`, `grab_y I < N`, `grab_near I,X,Y,R`\n- `rope_cut N` — rope N has been cut\n- `no_rope`, `candy_in_bubble`\n- Conditions can be combined with `and`, `or`, and parentheses.\n\n## 6. CONSTRAINTS\n- One command per line in the `commands` string.\n- Indices must be zero-based and consistent with the level video.\n- `wait_frames` is NOT allowed in this benchmark version. Use condition-based waits.\n- The script must be deterministic; do not output stochastic or \"either-or\" entries.\n- The script must terminate without manual intervention; the simulator runs it from the initial state and decides win/loss.\n\n## 7. SOLVING ADVICE\n- Identify which ropes mainly control the candy first; choose a cut order that releases the candy along the shortest stable path to the target.\n- When waiting for the candy to reach a place, prefer `candy_near` / `candy_y` / `candy_x` over fixed timing.\n- For repeated pumping, use `activate_pump N times C every S` or `activate_pump N every S until CONDITION`.\n- In split-candy levels, do NOT use `candy_still` / `candy_near` for the merged candy before the halves merge; use the `left_candy_*` / `right_candy_*` primitives instead.\n\n## 8. OUTPUT SCHEMA\nFINAL_JSON: {\"commands\":\"<command-script with \\n separators>\",\"reason\":\"<one-sentence intent>\",\"confidence\":<0..1>}\n- commands: string. One command per line; lines separated by `\\n`.\n- reason: short one-sentence explanation of the intended sequence.\n- confidence: float in `[0, 1]`.\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."
|
| 160 |
+
}
|
| 161 |
+
}
|