Add Gemini failure labels (399 episodes) and prompt documentation
#2
by podolinsky - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
- GEMINI_PROMPTS.md +287 -0
- LABELS.md +24 -0
- basket/ep000/example.md +33 -0
- basket/ep000/labels.json +98 -0
- basket/ep000/labels.npz +3 -0
- basket/ep001/example.md +33 -0
- basket/ep001/labels.json +98 -0
- basket/ep001/labels.npz +3 -0
- basket/ep002/example.md +33 -0
- basket/ep002/labels.json +98 -0
- basket/ep002/labels.npz +3 -0
- basket/ep003/example.md +33 -0
- basket/ep003/labels.json +98 -0
- basket/ep003/labels.npz +3 -0
- basket/ep004/example.md +34 -0
- basket/ep004/labels.json +109 -0
- basket/ep004/labels.npz +3 -0
- basket/ep005/example.md +33 -0
- basket/ep005/labels.json +98 -0
- basket/ep005/labels.npz +3 -0
- basket/ep006/example.md +33 -0
- basket/ep006/labels.json +98 -0
- basket/ep006/labels.npz +3 -0
- basket/ep007/example.md +32 -0
- basket/ep007/labels.json +87 -0
- basket/ep007/labels.npz +3 -0
- basket/ep008/example.md +22 -0
- basket/ep008/labels.json +79 -0
- basket/ep008/labels.npz +3 -0
- basket/ep009/example.md +32 -0
- basket/ep009/labels.json +87 -0
- basket/ep009/labels.npz +3 -0
- basket/ep010/example.md +33 -0
- basket/ep010/labels.json +98 -0
- basket/ep010/labels.npz +3 -0
- basket/ep011/example.md +33 -0
- basket/ep011/labels.json +98 -0
- basket/ep011/labels.npz +3 -0
- basket/ep012/example.md +32 -0
- basket/ep012/labels.json +87 -0
- basket/ep012/labels.npz +3 -0
- basket/ep013/example.md +21 -0
- basket/ep013/labels.json +68 -0
- basket/ep013/labels.npz +3 -0
- basket/ep014/example.md +32 -0
- basket/ep014/labels.json +87 -0
- basket/ep014/labels.npz +3 -0
- basket/ep015/example.md +34 -0
- basket/ep015/labels.json +109 -0
- basket/ep015/labels.npz +3 -0
GEMINI_PROMPTS.md
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Gemini prompts used for the failure labels
|
| 2 |
+
|
| 3 |
+
These are the prompt templates exactly as they are stored in `labeler.prompts` of every `labels.json` (identical in all 399 files). `{...}` are Python `str.format` fields filled per episode. Model: `gemini-3.5-flash`; the video is the base-camera `rollout.mp4`.
|
| 4 |
+
|
| 5 |
+
Notes on how they were applied to this real-robot run:
|
| 6 |
+
|
| 7 |
+
- The templates were written for a simulator benchmark (LIBERO-X) and reused unchanged, which is why pass 1 says "in LIBERO-X" and mentions a simulator goal predicate. A real run has no simulator predicate: `{failing_predicate}` was filled with the task instruction itself and no simulator detail was available. The model is told the instruction and sees the video; it is not given any ground truth about why the episode failed beyond the human success label (failed episodes only are sent to passes 1-3).
|
| 8 |
+
- The onset is the earliest point at which the mistake responsible for the failure becomes apparent. Pass 1 picks one onset type: `obvious_mistake` (an identifiable task-relevant mistake), `operator_intervention` (no single mistake, but a human operator would step in, e.g. stuck or ineffective repetition) or `timeout` (no earlier identifiable point). It is not the time at which the task becomes unrecoverable.
|
| 9 |
+
- Pipeline: `scripts/semantic_failure` of the labelling project (two-pass onset localiser adapted from dtl184/liberox-evals). With the interactive backend the passes and the keyword phrases run in one shared video session per episode; with the Batch backend each is a separate request on the same uploaded video, with the same prompt text.
|
| 10 |
+
|
| 11 |
+
## Pass 1 - failure localisation on the full video
|
| 12 |
+
|
| 13 |
+
_one Gemini chat per episode; the whole rollout video is attached; failed episodes only._ Key in `labels.json`: `labeler.prompts.failure_coarse`.
|
| 14 |
+
|
| 15 |
+
```text
|
| 16 |
+
You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.
|
| 17 |
+
|
| 18 |
+
The video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.
|
| 19 |
+
|
| 20 |
+
Task instruction:
|
| 21 |
+
"{task_desc}"
|
| 22 |
+
|
| 23 |
+
The simulator reports that this goal predicate was NOT satisfied at the end of the episode:
|
| 24 |
+
{failing_predicate}
|
| 25 |
+
|
| 26 |
+
Additional simulator information:
|
| 27 |
+
{detail}
|
| 28 |
+
|
| 29 |
+
The simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.
|
| 30 |
+
|
| 31 |
+
Your job is to determine:
|
| 32 |
+
|
| 33 |
+
1. the primary visible failure mode,
|
| 34 |
+
2. when the failure behavior begins,
|
| 35 |
+
3. why the episode failed (a long reason AND a short keyword summary),
|
| 36 |
+
4. a recovery action for after the failure has already happened (long AND short),
|
| 37 |
+
5. a prevention action for before the failure has happened (long AND short).
|
| 38 |
+
|
| 39 |
+
FAILURE ONSET DEFINITION
|
| 40 |
+
|
| 41 |
+
Use exactly one of the following onset types:
|
| 42 |
+
|
| 43 |
+
obvious_mistake:
|
| 44 |
+
Use this when there is an identifiable task-relevant mistake such as
|
| 45 |
+
dropping an object, knocking an object away, manipulating the wrong
|
| 46 |
+
object, making a failed placement, or otherwise performing an action
|
| 47 |
+
that contributes to the eventual failure.
|
| 48 |
+
|
| 49 |
+
The onset should be the EARLIEST point where the mistake responsible
|
| 50 |
+
for the eventual failure becomes apparent.
|
| 51 |
+
|
| 52 |
+
operator_intervention:
|
| 53 |
+
Use this when there is not one discrete mistake, but the robot reaches
|
| 54 |
+
a point where a reasonable human operator would decide that the policy
|
| 55 |
+
needs assistance.
|
| 56 |
+
|
| 57 |
+
Examples include repeatedly attempting an ineffective action, becoming
|
| 58 |
+
stuck, moving erratically, or clearly ceasing to make useful progress.
|
| 59 |
+
|
| 60 |
+
timeout:
|
| 61 |
+
Use this when there is no defensible earlier failure point. If the robot
|
| 62 |
+
continues behaving plausibly but simply does not finish before the time
|
| 63 |
+
limit, the failure onset is the END of the rollout.
|
| 64 |
+
|
| 65 |
+
IMPORTANT RULES
|
| 66 |
+
|
| 67 |
+
- Do NOT treat the goal predicate being false early in the rollout as failure.
|
| 68 |
+
Most goal predicates are naturally false until the robot completes the task.
|
| 69 |
+
|
| 70 |
+
- Do NOT label a temporary mistake as failure onset if the robot later
|
| 71 |
+
successfully recovers from that mistake.
|
| 72 |
+
|
| 73 |
+
- Use the earliest mistake or intervention point that actually explains the
|
| 74 |
+
eventual failed outcome.
|
| 75 |
+
|
| 76 |
+
- Do not use hindsight to label normal task execution as failure merely because
|
| 77 |
+
you know the episode eventually fails.
|
| 78 |
+
|
| 79 |
+
- If there is no identifiable earlier point, use onset_type="timeout" and set
|
| 80 |
+
failure_onset_seconds to approximately {duration_seconds:.2f}.
|
| 81 |
+
|
| 82 |
+
FAILURE TAXONOMY
|
| 83 |
+
|
| 84 |
+
Choose exactly one:
|
| 85 |
+
|
| 86 |
+
{taxonomy}
|
| 87 |
+
|
| 88 |
+
REASON, RECOVERY, PREVENTION — TWO VERSIONS EACH
|
| 89 |
+
|
| 90 |
+
Every language field has a LONG form and a SHORT keyword summary.
|
| 91 |
+
|
| 92 |
+
LONG: one or two sentences. Specific enough for a human to audit.
|
| 93 |
+
|
| 94 |
+
SHORT: 2–8 words, semicolon-separated clauses, NOT a full sentence.
|
| 95 |
+
Same style as the 3-second action phrases. Good for later alignment.
|
| 96 |
+
Examples: "collision with object; dropping gripped object"
|
| 97 |
+
|
| 98 |
+
failure_reason / failure_reason_summary:
|
| 99 |
+
Why this episode failed. Example long: the robot hit the basket while
|
| 100 |
+
carrying the moka pot, dropped it, and knocked the basket over.
|
| 101 |
+
Example short: "collision with object; dropping gripped object"
|
| 102 |
+
|
| 103 |
+
RECOVERY (failure HAS already happened):
|
| 104 |
+
What the robot should do at or immediately after onset, now that the
|
| 105 |
+
scene is already broken. Identify object, action, and the condition to
|
| 106 |
+
restore before continuing.
|
| 107 |
+
Example long: move the basket away from the hot plate, then place the
|
| 108 |
+
moka pot on the hot-plate.
|
| 109 |
+
Example short: "clear basket; place moka on stove"
|
| 110 |
+
|
| 111 |
+
PREVENTION (failure has NOT yet happened):
|
| 112 |
+
The counterfactual at or before onset: what the robot should have done
|
| 113 |
+
so the mistake never occurs. Do not describe post-drop cleanup.
|
| 114 |
+
Example long: place the moka pot on the stove; do not approach the box.
|
| 115 |
+
Example short: "place moka on stove; avoid box"
|
| 116 |
+
|
| 117 |
+
Do not copy taxonomy names into these strings.
|
| 118 |
+
|
| 119 |
+
Return ONLY a JSON object with this structure:
|
| 120 |
+
|
| 121 |
+
{{
|
| 122 |
+
"failure_mode": " ",
|
| 123 |
+
"onset_type": "obvious_mistake|operator_intervention|timeout",
|
| 124 |
+
"failure_onset_seconds":,
|
| 125 |
+
"failure_window_start_seconds":,
|
| 126 |
+
"failure_window_end_seconds":,
|
| 127 |
+
"confidence": "high|medium|low",
|
| 128 |
+
"failure_reason": " ",
|
| 129 |
+
"failure_reason_summary": " ",
|
| 130 |
+
"recovery_action": " ",
|
| 131 |
+
"recovery_action_summary": " ",
|
| 132 |
+
"prevention_action": " ",
|
| 133 |
+
"prevention_action_summary": " ",
|
| 134 |
+
"justification": " "
|
| 135 |
+
}}
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
## Pass 2 - temporal refinement
|
| 139 |
+
|
| 140 |
+
_a magnified clip around the coarse onset (frames sampled at 1 FPS, +-3 s) is attached; failed episodes only._ Key in `labels.json`: `labeler.prompts.failure_refine`.
|
| 141 |
+
|
| 142 |
+
```text
|
| 143 |
+
You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.
|
| 144 |
+
|
| 145 |
+
The complete rollout was already reviewed by another pass of the same VLM.
|
| 146 |
+
|
| 147 |
+
The coarse analysis identified:
|
| 148 |
+
|
| 149 |
+
Failure mode:
|
| 150 |
+
{failure_mode}
|
| 151 |
+
|
| 152 |
+
Failure onset type:
|
| 153 |
+
{onset_type}
|
| 154 |
+
|
| 155 |
+
Failure reason:
|
| 156 |
+
{failure_reason}
|
| 157 |
+
|
| 158 |
+
Coarse onset estimate in the original rollout:
|
| 159 |
+
{coarse_seconds:.2f} seconds
|
| 160 |
+
|
| 161 |
+
Task instruction:
|
| 162 |
+
"{task_desc}"
|
| 163 |
+
|
| 164 |
+
Failed simulator predicate:
|
| 165 |
+
{failing_predicate}
|
| 166 |
+
|
| 167 |
+
TEMPORAL MAPPING
|
| 168 |
+
|
| 169 |
+
This clip has been deliberately slowed down.
|
| 170 |
+
|
| 171 |
+
Each SECOND of this clip corresponds to exactly ONE FRAME from the original
|
| 172 |
+
rollout.
|
| 173 |
+
|
| 174 |
+
Therefore:
|
| 175 |
+
|
| 176 |
+
refined clip second 0 = original rollout frame {start_frame}
|
| 177 |
+
refined clip second 1 = original rollout frame {start_frame_plus_one}
|
| 178 |
+
refined clip second 2 = original rollout frame {start_frame_plus_two}
|
| 179 |
+
...
|
| 180 |
+
|
| 181 |
+
The clip contains {num_frames} original rollout frames.
|
| 182 |
+
|
| 183 |
+
Your job is ONLY to refine the temporal location of the failure.
|
| 184 |
+
|
| 185 |
+
Find the EARLIEST frame in this clip where the failure identified above becomes
|
| 186 |
+
visibly apparent or where operator intervention becomes justified.
|
| 187 |
+
|
| 188 |
+
Remember:
|
| 189 |
+
|
| 190 |
+
- Do not select a temporary mistake if the robot recovers from it.
|
| 191 |
+
- Do not select a frame merely because the task is not complete yet.
|
| 192 |
+
- Select the first frame associated with the behavior responsible for the
|
| 193 |
+
eventual failure.
|
| 194 |
+
- If the coarse event is not actually visible in this clip, return null.
|
| 195 |
+
|
| 196 |
+
Return ONLY:
|
| 197 |
+
|
| 198 |
+
{{
|
| 199 |
+
"refined_second":,
|
| 200 |
+
"confidence": "high|medium|low",
|
| 201 |
+
"justification": " "
|
| 202 |
+
}}
|
| 203 |
+
```
|
| 204 |
+
|
| 205 |
+
## Pass 3 - failure language
|
| 206 |
+
|
| 207 |
+
_same chat; onset, mode and taxonomy are fixed, the model only writes the reason / recovery / prevention text; failed episodes only._ Key in `labels.json`: `labeler.prompts.failure_language`.
|
| 208 |
+
|
| 209 |
+
```text
|
| 210 |
+
You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.
|
| 211 |
+
|
| 212 |
+
Task instruction:
|
| 213 |
+
"{task_desc}"
|
| 214 |
+
|
| 215 |
+
Existing labels:
|
| 216 |
+
- failure_mode: {failure_mode}
|
| 217 |
+
- onset_type: {onset_type}
|
| 218 |
+
- failure_onset_seconds: {onset_seconds}
|
| 219 |
+
- failure_reason: {failure_reason}
|
| 220 |
+
- recovery_action: {recovery_action}
|
| 221 |
+
|
| 222 |
+
Fill the missing language fields.
|
| 223 |
+
|
| 224 |
+
SHORT STYLE
|
| 225 |
+
2–8 words, semicolon-separated clauses, not a full sentence.
|
| 226 |
+
Example: "collision with object; dropping gripped object"
|
| 227 |
+
|
| 228 |
+
RECOVERY vs PREVENTION
|
| 229 |
+
- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).
|
| 230 |
+
- prevention_action: long, what the robot should have done at or before onset so the failure never happens.
|
| 231 |
+
- prevention_action_summary: keyword form of that prevention.
|
| 232 |
+
|
| 233 |
+
Return ONLY:
|
| 234 |
+
|
| 235 |
+
{{
|
| 236 |
+
"failure_reason_summary": " ",
|
| 237 |
+
"recovery_action_summary": " ",
|
| 238 |
+
"prevention_action": " ",
|
| 239 |
+
"prevention_action_summary": " "
|
| 240 |
+
}}
|
| 241 |
+
```
|
| 242 |
+
|
| 243 |
+
## Semantic timeline - 3 second keyword phrases
|
| 244 |
+
|
| 245 |
+
_same chat; every episode (successes and failures)._ Key in `labels.json`: `labeler.prompts.keyword_phrases`.
|
| 246 |
+
|
| 247 |
+
```text
|
| 248 |
+
You are reviewing the SAME complete robot manipulation rollout.
|
| 249 |
+
|
| 250 |
+
The video is {hz:.0f} FPS. Each frame is exactly one executed robot action.
|
| 251 |
+
Episode duration is {duration:.1f} seconds ({n_control} control steps).
|
| 252 |
+
|
| 253 |
+
Task instruction:
|
| 254 |
+
"{instruction}"
|
| 255 |
+
{failure_context}
|
| 256 |
+
For EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2–6 words)
|
| 257 |
+
for what the manipulator is doing, like "reaching for mug" or "closing gripper"
|
| 258 |
+
or "idle / no progress". Not a full sentence. Only what is visible in THAT window.
|
| 259 |
+
|
| 260 |
+
Do not copy a failure mode, failure reason, recovery, or prevention into these phrases.
|
| 261 |
+
Those are stored in a separate array. If a window happens to show a mistake,
|
| 262 |
+
describe the visible motion (e.g. "dropping can"), not the taxonomy name.
|
| 263 |
+
|
| 264 |
+
Windows:
|
| 265 |
+
{windows}
|
| 266 |
+
|
| 267 |
+
Return ONLY a JSON object:
|
| 268 |
+
{{"segments": [{{"segment_index": 0, "phrase": "..."}}, ...]}}
|
| 269 |
+
Include every segment_index listed above.
|
| 270 |
+
```
|
| 271 |
+
|
| 272 |
+
## Failure-mode taxonomy (inserted into the pass-1 prompt as {taxonomy})
|
| 273 |
+
|
| 274 |
+
_the allowed values of `failure_mode`._ Key in `labels.json`: `labeler.prompts.failure_taxonomy`.
|
| 275 |
+
|
| 276 |
+
```text
|
| 277 |
+
- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.
|
| 278 |
+
- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.
|
| 279 |
+
- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).
|
| 280 |
+
- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.
|
| 281 |
+
- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).
|
| 282 |
+
- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.
|
| 283 |
+
- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).
|
| 284 |
+
- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.
|
| 285 |
+
- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.
|
| 286 |
+
- other: the failure fits none of the labels above. Briefly explain what went wrong.
|
| 287 |
+
```
|
LABELS.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Failure labels for the 399 rollouts
|
| 2 |
+
|
| 3 |
+
Per-episode files next to `rollout.npz` / `rollout.mp4` in each `<task>/<ep>/` folder, plus `manifest.csv` (one row per episode with outcome and onset).
|
| 4 |
+
|
| 5 |
+
| file | content |
|
| 6 |
+
|---|---|
|
| 7 |
+
| `labels.json` | `success` (human annotation), `semantic_timeline` (3 s keyword phrases per segment with control / policy step ranges), `vlm_failure` (failed episodes: mode, onset time and frame, reason / recovery / prevention text with short summaries, confidence, raw Gemini responses, token usage), `failure_annotation` (onset mapped to `control_step`, `policy_step`, `chunk_index`), `labeler` (model, backend, date, the prompts) |
|
| 8 |
+
| `labels.npz` | the same fields as arrays: `fail_onset_frame`, `fail_onset_seconds`, `fail_mode`, `fail_reason`, `fail_recovery`, `fail_prevention` (+ `_summary`), `sem_t_start`, `sem_t_end`, `sem_control_start`, `sem_control_end`, `sem_phrase` |
|
| 9 |
+
| `example.md` | a readable rendering of the above for that episode |
|
| 10 |
+
|
| 11 |
+
## Contents
|
| 12 |
+
|
| 13 |
+
- 399 episodes: 145 successes (no onset), 254 failures with a failure onset.
|
| 14 |
+
- Failure modes (Gemini, one per failed episode): grasp_failure 144, stuck_or_no_progress 31, placement_or_insertion_failure 29, object_displacement 24, open_close_failure 19, timeout_or_insufficient_progress 4, wrong_object 3.
|
| 15 |
+
- Onset types: obvious_mistake 223, operator_intervention 27, timeout 4.
|
| 16 |
+
- Per task (episodes / failures): basket 50/42, blocks 50/44, closer_drawer 50/22, eggplant 50/25, mushroom 49/36, pineapple_out_of_drawer 50/38, push_pineapple 50/23, tomato 50/24.
|
| 17 |
+
|
| 18 |
+
## Provenance and caveats
|
| 19 |
+
|
| 20 |
+
- Labeller: Gemini (`gemini-3.5-flash`), prompts in `GEMINI_PROMPTS.md`. 399 episode(s) via `GeminiBackend` (labelled 2026-10-20 to 2026-10-22).
|
| 21 |
+
- The labels are model outputs and have not been individually verified by a person; the success flag comes from the operator. Onset times are the first visible mistake.
|
| 22 |
+
- `vlm_failure_onset_frame` is a control-step index at the recorded control rate (about 50 Hz); the policy step is stored in `failure_annotation.failure_policy_step` and should be used instead of dividing the frame by `replan_steps` (the robot executes about 5.8 control steps per policy call on average, not the nominal 5 or 6).
|
| 23 |
+
- A few onsets are at the very start or very end of a video (`operator_intervention` at the first frames, `timeout` in the last seconds); these are worth a manual look before using them as supervision.
|
| 24 |
+
- Successes carry a keyword-phrase timeline but no failure fields.
|
basket/ep000/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep000__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 430 (8.4s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 74 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep000/rollout.mp4`
|
| 9 |
+
- **features:** `74` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–152 | 0–25 | approaching and grasping basket handle |
|
| 16 |
+
| 3.0–6.0 | 153–305 | 25–50 | pulling handle and losing grip |
|
| 17 |
+
| 6.0–8.4 | 306–429 | 51–71 | retracting gripper and remaining idle |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 3.1434184675834973 s (00:03.1)
|
| 24 |
+
- **frame / control_step:** 160 (policy_step=26, chunk_index=4)
|
| 25 |
+
- **coarse onset:** 3.8 s (refined=True)
|
| 26 |
+
- **mode:** grasp_failure
|
| 27 |
+
- **reason:** The robot attempted to flip the basket by grabbing its wire handle, but lost its grip while lifting, causing the basket to fall back down upside down.
|
| 28 |
+
Summary: lost grasp on handle; basket remained upside down
|
| 29 |
+
- **recovery:** Re-align the end-effector over the basket handle, establish a firm grip, and lift upward while rotating to flip the basket upright.
|
| 30 |
+
Summary: re-grasp handle securely; flip basket upright
|
| 31 |
+
- **prevention:** Clamp down tightly on the basket handle and maintain a firm hold while pulling up and over to ensure the basket flips completely.
|
| 32 |
+
Summary: secure firm grasp; rotate handle to flip basket
|
| 33 |
+
- **justification:** None
|
basket/ep000/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep000__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-20T21:43:22+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 3.005893909626719,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 152,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "approaching and grasping basket handle",
|
| 33 |
+
"description": "approaching and grasping basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 3.005893909626719,
|
| 38 |
+
"t_end_sec": 6.011787819253438,
|
| 39 |
+
"control_step_start": 153,
|
| 40 |
+
"control_step_end": 305,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "pulling handle and losing grip",
|
| 44 |
+
"description": "pulling handle and losing grip"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 6.011787819253438,
|
| 49 |
+
"t_end_sec": 8.447937131630649,
|
| 50 |
+
"control_step_start": 306,
|
| 51 |
+
"control_step_end": 429,
|
| 52 |
+
"policy_step_start": 51,
|
| 53 |
+
"policy_step_end": 71,
|
| 54 |
+
"phrase": "retracting gripper and remaining idle",
|
| 55 |
+
"description": "retracting gripper and remaining idle"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "grasp_failure",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 3.1434184675834973,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:03.1",
|
| 63 |
+
"vlm_failure_onset_frame": 160,
|
| 64 |
+
"vlm_failure_onset_step": 160,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 3.8,
|
| 66 |
+
"vlm_failure_window_start_seconds": 3.2,
|
| 67 |
+
"vlm_failure_window_end_seconds": 4.5,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot attempted to flip the basket by grabbing its wire handle, but lost its grip while lifting, causing the basket to fall back down upside down.",
|
| 72 |
+
"vlm_failure_reason_summary": "lost grasp on handle; basket remained upside down",
|
| 73 |
+
"vlm_recovery_action": "Re-align the end-effector over the basket handle, establish a firm grip, and lift upward while rotating to flip the basket upright.",
|
| 74 |
+
"vlm_recovery_action_summary": "re-grasp handle securely; flip basket upright",
|
| 75 |
+
"vlm_prevention_action": "Clamp down tightly on the basket handle and maintain a firm hold while pulling up and over to ensure the basket flips completely.",
|
| 76 |
+
"vlm_prevention_action_summary": "secure firm grasp; rotate handle to flip basket",
|
| 77 |
+
"vlm_justification": null,
|
| 78 |
+
"vlm_temporal_justification": "At timestamp 02:00 (120 seconds), as the robot arm lifts and rotates to flip the basket, the wire handle slips out of the gripper's fingers, causing the basket to fall back onto the table upside down.",
|
| 79 |
+
"vlm_video_fps": 50.9,
|
| 80 |
+
"vlm_video_num_frames": 430,
|
| 81 |
+
"vlm_video_duration_seconds": 8.428290766208251,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 21692,
|
| 84 |
+
"output_tokens": 325,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.8,\n \"failure_window_start_seconds\": 3.2,\n \"failure_window_end_seconds\": 4.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to flip the basket by grabbing its wire handle, but lost its grip while lifting, causing the basket to fall back down upside down.\",\n \"failure_reason_summary\": \"lost grasp on handle; basket remained upside down\",\n \"recovery_action\": \"Re-align the end-effector over the basket handle, establish a firm grip, and lift upward while rotating to flip the basket upright.\",\n \"recovery_action_summary\": \"re-grasp handle securely; flip basket upright\",\n \"prevention_action\": \"Clamp down tightly on the basket handle and maintain a firm hold while pulling up and over to ensure the basket flips completely.\",\n \"prevention_action_summary\": \"secure firm grasp; rotate handle to flip basket\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 160,
|
| 91 |
+
"failure_sim_step": 160,
|
| 92 |
+
"failure_policy_step": 26,
|
| 93 |
+
"failure_chunk_index": 4,
|
| 94 |
+
"first_post_failure_policy_step": 27,
|
| 95 |
+
"failure_type": "grasp_failure",
|
| 96 |
+
"correction_action": "Re-align the end-effector over the basket handle, establish a firm grip, and lift upward while rotating to flip the basket upright."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep000/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df71c0f780462ee77b9d4ed9e86399d431d3a2b07da16c4406a4aa0f9767c00b
|
| 3 |
+
size 3839
|
basket/ep001/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep001__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 388 (7.8s at 50 Hz)
|
| 7 |
+
- **policy inferences:** 66 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep001/rollout.mp4`
|
| 9 |
+
- **features:** `66` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–148 | 0–24 | approaching basket handle |
|
| 16 |
+
| 3.0–6.0 | 149–297 | 24–49 | grasping handle; attempting to flip |
|
| 17 |
+
| 6.0–7.8 | 298–387 | 49–64 | losing grip; retracting upward |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 5.70281124497992 s (00:05.7)
|
| 24 |
+
- **frame / control_step:** 284 (policy_step=47, chunk_index=2)
|
| 25 |
+
- **coarse onset:** 5.2 s (refined=True)
|
| 26 |
+
- **mode:** grasp_failure
|
| 27 |
+
- **reason:** The robot attempted to grasp the basket handle to flip it, but the gripper failed to establish a secure hold and slipped off, leaving the basket in its initial position as the arm retracted.
|
| 28 |
+
Summary: failed handle grasp; gripper slipped off basket
|
| 29 |
+
- **recovery:** Re-align the gripper over the basket handle, establish a secure grip, and lift while rotating to flip the basket upright.
|
| 30 |
+
Summary: re-align gripper; grasp handle firmly; flip basket upright
|
| 31 |
+
- **prevention:** Position the gripper precisely over the basket handle before closing to ensure a secure hold prior to lifting and flipping.
|
| 32 |
+
Summary: center gripper on handle; secure grip before flipping
|
| 33 |
+
- **justification:** At around 5.2 seconds, the robot closes its gripper on the basket handle but fails to achieve a stable grip. At 6.0 seconds, the arm lifts up empty while the basket remains unmoved on the table.
|
basket/ep001/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep001__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-20T21:44:53+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.991967871485944,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 148,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 24,
|
| 32 |
+
"phrase": "approaching basket handle",
|
| 33 |
+
"description": "approaching basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.991967871485944,
|
| 38 |
+
"t_end_sec": 5.983935742971888,
|
| 39 |
+
"control_step_start": 149,
|
| 40 |
+
"control_step_end": 297,
|
| 41 |
+
"policy_step_start": 24,
|
| 42 |
+
"policy_step_end": 49,
|
| 43 |
+
"phrase": "grasping handle; attempting to flip",
|
| 44 |
+
"description": "grasping handle; attempting to flip"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.983935742971888,
|
| 49 |
+
"t_end_sec": 7.791164658634538,
|
| 50 |
+
"control_step_start": 298,
|
| 51 |
+
"control_step_end": 387,
|
| 52 |
+
"policy_step_start": 49,
|
| 53 |
+
"policy_step_end": 64,
|
| 54 |
+
"phrase": "losing grip; retracting upward",
|
| 55 |
+
"description": "losing grip; retracting upward"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "grasp_failure",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 5.70281124497992,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:05.7",
|
| 63 |
+
"vlm_failure_onset_frame": 284,
|
| 64 |
+
"vlm_failure_onset_step": 284,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 5.2,
|
| 66 |
+
"vlm_failure_window_start_seconds": 5.2,
|
| 67 |
+
"vlm_failure_window_end_seconds": 6.2,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot attempted to grasp the basket handle to flip it, but the gripper failed to establish a secure hold and slipped off, leaving the basket in its initial position as the arm retracted.",
|
| 72 |
+
"vlm_failure_reason_summary": "failed handle grasp; gripper slipped off basket",
|
| 73 |
+
"vlm_recovery_action": "Re-align the gripper over the basket handle, establish a secure grip, and lift while rotating to flip the basket upright.",
|
| 74 |
+
"vlm_recovery_action_summary": "re-align gripper; grasp handle firmly; flip basket upright",
|
| 75 |
+
"vlm_prevention_action": "Position the gripper precisely over the basket handle before closing to ensure a secure hold prior to lifting and flipping.",
|
| 76 |
+
"vlm_prevention_action_summary": "center gripper on handle; secure grip before flipping",
|
| 77 |
+
"vlm_justification": "At around 5.2 seconds, the robot closes its gripper on the basket handle but fails to achieve a stable grip. At 6.0 seconds, the arm lifts up empty while the basket remains unmoved on the table.",
|
| 78 |
+
"vlm_temporal_justification": "The robot closes its gripper at the handle and begins lifting upward around 02:50. By 02:54 (frame 284 of the rollout), it is visibly apparent that the gripper failed to establish a hold on the handle, lifting away while leaving the basket completely stationary.",
|
| 79 |
+
"vlm_video_fps": 49.8,
|
| 80 |
+
"vlm_video_num_frames": 388,
|
| 81 |
+
"vlm_video_duration_seconds": 7.771084337349398,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 19875,
|
| 84 |
+
"output_tokens": 394,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 5.2,\n \"failure_window_start_seconds\": 5.2,\n \"failure_window_end_seconds\": 6.2,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grasp the basket handle to flip it, but the gripper failed to establish a secure hold and slipped off, leaving the basket in its initial position as the arm retracted.\",\n \"failure_reason_summary\": \"failed handle grasp; gripper slipped off basket\",\n \"recovery_action\": \"Re-align the gripper over the basket handle, establish a secure grip, and lift while rotating to flip the basket upright.\",\n \"recovery_action_summary\": \"re-align gripper; grasp handle firmly; flip basket upright\",\n \"prevention_action\": \"Position the gripper precisely over the basket handle before closing to ensure a secure hold prior to lifting and flipping.\",\n \"prevention_action_summary\": \"center gripper on handle; secure grip before flipping\",\n \"justification\": \"At around 5.2 seconds, the robot closes its gripper on the basket handle but fails to achieve a stable grip. At 6.0 seconds, the arm lifts up empty while the basket remains unmoved on the table.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 284,
|
| 91 |
+
"failure_sim_step": 284,
|
| 92 |
+
"failure_policy_step": 47,
|
| 93 |
+
"failure_chunk_index": 2,
|
| 94 |
+
"first_post_failure_policy_step": 48,
|
| 95 |
+
"failure_type": "grasp_failure",
|
| 96 |
+
"correction_action": "Re-align the gripper over the basket handle, establish a secure grip, and lift while rotating to flip the basket upright."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep001/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72be09e4401c14b731b30b53a72ac066426fa90460f605a1b61f0da80789b25e
|
| 3 |
+
size 3841
|
basket/ep002/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep002__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 378 (7.4s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 65 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep002/rollout.mp4`
|
| 9 |
+
- **features:** `65` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–152 | 0–25 | reaching toward red basket |
|
| 16 |
+
| 3.0–6.0 | 153–305 | 25–50 | grasping basket; slipping off handle |
|
| 17 |
+
| 6.0–7.4 | 306–377 | 51–62 | hovering arm above table |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 4.52054794520548 s (00:04.5)
|
| 24 |
+
- **frame / control_step:** 231 (policy_step=38, chunk_index=3)
|
| 25 |
+
- **coarse onset:** 4.0 s (refined=True)
|
| 26 |
+
- **mode:** object_displacement
|
| 27 |
+
- **reason:** The robot attempted to flip the basket by grabbing its handle, but lost its grip mid-motion, dropping the basket onto its side without orienting it fully upright.
|
| 28 |
+
Summary: losing grip on basket rim; leaving basket tilted
|
| 29 |
+
- **recovery:** Re-grasp the edge or handle of the basket, lift it, and rotate it until the opening faces upward and the base rests flat on the table.
|
| 30 |
+
Summary: re-grasp basket handle; rotate until fully upright
|
| 31 |
+
- **prevention:** Establish a deep and secure grasp on the basket handle before executing the upward rotation to avoid slipping.
|
| 32 |
+
Summary: secure firm grasp on rim; complete rotation fully
|
| 33 |
+
- **justification:** At 4.0 seconds, the robot gripper slips off the basket handle during the flip attempt, dropping the basket onto its side. The robot then retracts its end effector, leaving the basket incompletely flipped for the remainder of the rollout.
|
basket/ep002/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep002__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-20T21:46:33+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.99412915851272,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 152,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "reaching toward red basket",
|
| 33 |
+
"description": "reaching toward red basket"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.99412915851272,
|
| 38 |
+
"t_end_sec": 5.98825831702544,
|
| 39 |
+
"control_step_start": 153,
|
| 40 |
+
"control_step_end": 305,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "grasping basket; slipping off handle",
|
| 44 |
+
"description": "grasping basket; slipping off handle"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.98825831702544,
|
| 49 |
+
"t_end_sec": 7.397260273972602,
|
| 50 |
+
"control_step_start": 306,
|
| 51 |
+
"control_step_end": 377,
|
| 52 |
+
"policy_step_start": 51,
|
| 53 |
+
"policy_step_end": 62,
|
| 54 |
+
"phrase": "hovering arm above table",
|
| 55 |
+
"description": "hovering arm above table"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "object_displacement",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 4.52054794520548,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:04.5",
|
| 63 |
+
"vlm_failure_onset_frame": 231,
|
| 64 |
+
"vlm_failure_onset_step": 231,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 4.0,
|
| 66 |
+
"vlm_failure_window_start_seconds": 4.0,
|
| 67 |
+
"vlm_failure_window_end_seconds": 7.38,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot attempted to flip the basket by grabbing its handle, but lost its grip mid-motion, dropping the basket onto its side without orienting it fully upright.",
|
| 72 |
+
"vlm_failure_reason_summary": "losing grip on basket rim; leaving basket tilted",
|
| 73 |
+
"vlm_recovery_action": "Re-grasp the edge or handle of the basket, lift it, and rotate it until the opening faces upward and the base rests flat on the table.",
|
| 74 |
+
"vlm_recovery_action_summary": "re-grasp basket handle; rotate until fully upright",
|
| 75 |
+
"vlm_prevention_action": "Establish a deep and secure grasp on the basket handle before executing the upward rotation to avoid slipping.",
|
| 76 |
+
"vlm_prevention_action_summary": "secure firm grasp on rim; complete rotation fully",
|
| 77 |
+
"vlm_justification": "At 4.0 seconds, the robot gripper slips off the basket handle during the flip attempt, dropping the basket onto its side. The robot then retracts its end effector, leaving the basket incompletely flipped for the remainder of the rollout.",
|
| 78 |
+
"vlm_temporal_justification": "At second 180 (03:00 in the video overlay), the robot gripper loses its grip on the basket's handle during the flip attempt, dropping the basket back down onto the surface without orienting it fully upright.",
|
| 79 |
+
"vlm_video_fps": 51.1,
|
| 80 |
+
"vlm_video_num_frames": 378,
|
| 81 |
+
"vlm_video_duration_seconds": 7.3776908023483365,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 21632,
|
| 84 |
+
"output_tokens": 384,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"object_displacement\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 4.0,\n \"failure_window_start_seconds\": 4.0,\n \"failure_window_end_seconds\": 7.38,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to flip the basket by grabbing its handle, but lost its grip mid-motion, dropping the basket onto its side without orienting it fully upright.\",\n \"failure_reason_summary\": \"losing grip on basket rim; leaving basket tilted\",\n \"recovery_action\": \"Re-grasp the edge or handle of the basket, lift it, and rotate it until the opening faces upward and the base rests flat on the table.\",\n \"recovery_action_summary\": \"re-grasp basket handle; rotate until fully upright\",\n \"prevention_action\": \"Establish a deep and secure grasp on the basket handle before executing the upward rotation to avoid slipping.\",\n \"prevention_action_summary\": \"secure firm grasp on rim; complete rotation fully\",\n \"justification\": \"At 4.0 seconds, the robot gripper slips off the basket handle during the flip attempt, dropping the basket onto its side. The robot then retracts its end effector, leaving the basket incompletely flipped for the remainder of the rollout.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 231,
|
| 91 |
+
"failure_sim_step": 231,
|
| 92 |
+
"failure_policy_step": 38,
|
| 93 |
+
"failure_chunk_index": 3,
|
| 94 |
+
"first_post_failure_policy_step": 39,
|
| 95 |
+
"failure_type": "object_displacement",
|
| 96 |
+
"correction_action": "Re-grasp the edge or handle of the basket, lift it, and rotate it until the opening faces upward and the base rests flat on the table."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep002/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac136450fa6768ecf8a5ddd7c15336c388822e6ecd571d77dc7cc508b10237c9
|
| 3 |
+
size 3826
|
basket/ep003/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep003__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 311 (6.1s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 54 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep003/rollout.mp4`
|
| 9 |
+
- **features:** `54` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | approaching and grasping basket edge |
|
| 16 |
+
| 3.0–6.0 | 152–303 | 25–50 | slipping off basket and retracting |
|
| 17 |
+
| 6.0–6.1 | 304–310 | 50–51 | idle hovering above basket |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 3.201581027667984 s (00:03.2)
|
| 24 |
+
- **frame / control_step:** 162 (policy_step=27, chunk_index=0)
|
| 25 |
+
- **coarse onset:** 3.0 s (refined=True)
|
| 26 |
+
- **mode:** grasp_failure
|
| 27 |
+
- **reason:** The robot attempted to grasp the rim of the red basket to flip it, but failed to secure a firm grip, slipping off and retreating without flipping the basket.
|
| 28 |
+
Summary: failed grasp on basket edge; slipping off object
|
| 29 |
+
- **recovery:** Re-align the gripper with the edge of the red basket, establish a secure grasp on the rim, and pull upward to rotate the basket upright.
|
| 30 |
+
Summary: re-align gripper; secure basket edge; flip upright
|
| 31 |
+
- **prevention:** Position the gripper precisely over the edge of the red basket and close the fingers tightly before initiating the lifting/flipping motion.
|
| 32 |
+
Summary: position gripper securely; grasp rim firmly; flip basket
|
| 33 |
+
- **justification:** Around 3.0 seconds into the rollout, the robot closes its gripper on the top rim of the red basket, but slips off almost immediately due to a poor grasp angle. It then retracts upward and hovers for the rest of the episode, failing the task.
|
basket/ep003/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep003__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-20T21:48:42+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 3.0039525691699605,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "approaching and grasping basket edge",
|
| 33 |
+
"description": "approaching and grasping basket edge"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 3.0039525691699605,
|
| 38 |
+
"t_end_sec": 6.007905138339921,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 303,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "slipping off basket and retracting",
|
| 44 |
+
"description": "slipping off basket and retracting"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 6.007905138339921,
|
| 49 |
+
"t_end_sec": 6.146245059288537,
|
| 50 |
+
"control_step_start": 304,
|
| 51 |
+
"control_step_end": 310,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 51,
|
| 54 |
+
"phrase": "idle hovering above basket",
|
| 55 |
+
"description": "idle hovering above basket"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "grasp_failure",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 3.201581027667984,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:03.2",
|
| 63 |
+
"vlm_failure_onset_frame": 162,
|
| 64 |
+
"vlm_failure_onset_step": 162,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 3.0,
|
| 66 |
+
"vlm_failure_window_start_seconds": 2.5,
|
| 67 |
+
"vlm_failure_window_end_seconds": 3.5,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot attempted to grasp the rim of the red basket to flip it, but failed to secure a firm grip, slipping off and retreating without flipping the basket.",
|
| 72 |
+
"vlm_failure_reason_summary": "failed grasp on basket edge; slipping off object",
|
| 73 |
+
"vlm_recovery_action": "Re-align the gripper with the edge of the red basket, establish a secure grasp on the rim, and pull upward to rotate the basket upright.",
|
| 74 |
+
"vlm_recovery_action_summary": "re-align gripper; secure basket edge; flip upright",
|
| 75 |
+
"vlm_prevention_action": "Position the gripper precisely over the edge of the red basket and close the fingers tightly before initiating the lifting/flipping motion.",
|
| 76 |
+
"vlm_prevention_action_summary": "position gripper securely; grasp rim firmly; flip basket",
|
| 77 |
+
"vlm_justification": "Around 3.0 seconds into the rollout, the robot closes its gripper on the top rim of the red basket, but slips off almost immediately due to a poor grasp angle. It then retracts upward and hovers for the rest of the episode, failing the task.",
|
| 78 |
+
"vlm_temporal_justification": "At timestamp 02:42 (frame 162), the robot lowers its gripper onto the top surface of the basket and closes its fingers in an improper position, failing to clamp onto the rim or edge required to flip the basket.",
|
| 79 |
+
"vlm_video_fps": 50.6,
|
| 80 |
+
"vlm_video_num_frames": 311,
|
| 81 |
+
"vlm_video_duration_seconds": 6.126482213438735,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 21439,
|
| 84 |
+
"output_tokens": 394,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.0,\n \"failure_window_start_seconds\": 2.5,\n \"failure_window_end_seconds\": 3.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grasp the rim of the red basket to flip it, but failed to secure a firm grip, slipping off and retreating without flipping the basket.\",\n \"failure_reason_summary\": \"failed grasp on basket edge; slipping off object\",\n \"recovery_action\": \"Re-align the gripper with the edge of the red basket, establish a secure grasp on the rim, and pull upward to rotate the basket upright.\",\n \"recovery_action_summary\": \"re-align gripper; secure basket edge; flip upright\",\n \"prevention_action\": \"Position the gripper precisely over the edge of the red basket and close the fingers tightly before initiating the lifting/flipping motion.\",\n \"prevention_action_summary\": \"position gripper securely; grasp rim firmly; flip basket\",\n \"justification\": \"Around 3.0 seconds into the rollout, the robot closes its gripper on the top rim of the red basket, but slips off almost immediately due to a poor grasp angle. It then retracts upward and hovers for the rest of the episode, failing the task.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 162,
|
| 91 |
+
"failure_sim_step": 162,
|
| 92 |
+
"failure_policy_step": 27,
|
| 93 |
+
"failure_chunk_index": 0,
|
| 94 |
+
"first_post_failure_policy_step": 28,
|
| 95 |
+
"failure_type": "grasp_failure",
|
| 96 |
+
"correction_action": "Re-align the gripper with the edge of the red basket, establish a secure grasp on the rim, and pull upward to rotate the basket upright."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep003/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07c248f6a33b5a882fcd8a812f016e274fb0f17a9241e02ef0cb32a84deb150d
|
| 3 |
+
size 3832
|
basket/ep004/example.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep004__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 480 (9.4s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 82 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep004/rollout.mp4`
|
| 9 |
+
- **features:** `82` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–152 | 0–25 | approaching and grasping basket |
|
| 16 |
+
| 3.0–6.0 | 153–305 | 25–50 | lifting and placing basket down |
|
| 17 |
+
| 6.0–9.0 | 306–458 | 51–76 | retracting gripper away |
|
| 18 |
+
| 9.0–9.4 | 459–479 | 76–79 | remaining idle above table |
|
| 19 |
+
|
| 20 |
+
## Failure
|
| 21 |
+
|
| 22 |
+
- **yes**
|
| 23 |
+
- **onset type:** obvious_mistake
|
| 24 |
+
- **onset:** 3.9411764705882355 s (00:03.9)
|
| 25 |
+
- **frame / control_step:** 201 (policy_step=33, chunk_index=3)
|
| 26 |
+
- **coarse onset:** 3.8 s (refined=True)
|
| 27 |
+
- **mode:** placement_or_insertion_failure
|
| 28 |
+
- **reason:** The robot lifts the basket by its handle but fails to rotate it into an upright orientation before setting it back down on its side.
|
| 29 |
+
Summary: failed to rotate basket; incorrect placement orientation
|
| 30 |
+
- **recovery:** Grasp the basket again, rotate it 90 degrees so its bottom rests flat on the table, and release it in the upright position.
|
| 31 |
+
Summary: re-grasp basket; rotate upright; place flat on table
|
| 32 |
+
- **prevention:** Rotate the wrist joint sufficiently while lifting the basket to orientation-flip it upright before setting it down on the table surface.
|
| 33 |
+
Summary: rotate gripper to flip basket upright; verify orientation before releasing
|
| 34 |
+
- **justification:** None
|
basket/ep004/labels.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep004__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:31:20+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 3.0,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 152,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "approaching and grasping basket",
|
| 33 |
+
"description": "approaching and grasping basket"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 3.0,
|
| 38 |
+
"t_end_sec": 6.0,
|
| 39 |
+
"control_step_start": 153,
|
| 40 |
+
"control_step_end": 305,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "lifting and placing basket down",
|
| 44 |
+
"description": "lifting and placing basket down"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 6.0,
|
| 49 |
+
"t_end_sec": 9.0,
|
| 50 |
+
"control_step_start": 306,
|
| 51 |
+
"control_step_end": 458,
|
| 52 |
+
"policy_step_start": 51,
|
| 53 |
+
"policy_step_end": 76,
|
| 54 |
+
"phrase": "retracting gripper away",
|
| 55 |
+
"description": "retracting gripper away"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"segment_index": 3,
|
| 59 |
+
"t_start_sec": 9.0,
|
| 60 |
+
"t_end_sec": 9.411764705882353,
|
| 61 |
+
"control_step_start": 459,
|
| 62 |
+
"control_step_end": 479,
|
| 63 |
+
"policy_step_start": 76,
|
| 64 |
+
"policy_step_end": 79,
|
| 65 |
+
"phrase": "remaining idle above table",
|
| 66 |
+
"description": "remaining idle above table"
|
| 67 |
+
}
|
| 68 |
+
],
|
| 69 |
+
"vlm_failure": {
|
| 70 |
+
"vlm_failure_mode": "placement_or_insertion_failure",
|
| 71 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 72 |
+
"vlm_failure_onset_seconds": 3.9411764705882355,
|
| 73 |
+
"vlm_failure_onset_timestamp": "00:03.9",
|
| 74 |
+
"vlm_failure_onset_frame": 201,
|
| 75 |
+
"vlm_failure_onset_step": 201,
|
| 76 |
+
"vlm_coarse_failure_onset_seconds": 3.8,
|
| 77 |
+
"vlm_failure_window_start_seconds": 3.0,
|
| 78 |
+
"vlm_failure_window_end_seconds": 4.5,
|
| 79 |
+
"vlm_temporal_refined": true,
|
| 80 |
+
"vlm_confidence": "high",
|
| 81 |
+
"vlm_temporal_confidence": "high",
|
| 82 |
+
"vlm_failure_reason": "The robot lifts the basket by its handle but fails to rotate it into an upright orientation before setting it back down on its side.",
|
| 83 |
+
"vlm_failure_reason_summary": "failed to rotate basket; incorrect placement orientation",
|
| 84 |
+
"vlm_recovery_action": "Grasp the basket again, rotate it 90 degrees so its bottom rests flat on the table, and release it in the upright position.",
|
| 85 |
+
"vlm_recovery_action_summary": "re-grasp basket; rotate upright; place flat on table",
|
| 86 |
+
"vlm_prevention_action": "Rotate the wrist joint sufficiently while lifting the basket to orientation-flip it upright before setting it down on the table surface.",
|
| 87 |
+
"vlm_prevention_action_summary": "rotate gripper to flip basket upright; verify orientation before releasing",
|
| 88 |
+
"vlm_justification": null,
|
| 89 |
+
"vlm_temporal_justification": "The robot lifts the basket by its handle to peak height, but at second 160 it begins descending back towards the table surface without attempting to rotate or flip the basket into an upright orientation.",
|
| 90 |
+
"vlm_video_fps": 51.0,
|
| 91 |
+
"vlm_video_num_frames": 480,
|
| 92 |
+
"vlm_video_duration_seconds": 9.392156862745098,
|
| 93 |
+
"vlm_usage": {
|
| 94 |
+
"input_tokens": 21755,
|
| 95 |
+
"output_tokens": 321,
|
| 96 |
+
"cached_tokens": 0
|
| 97 |
+
},
|
| 98 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"placement_or_insertion_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.8,\n \"failure_window_start_seconds\": 3.0,\n \"failure_window_end_seconds\": 4.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot lifts the basket by its handle but fails to rotate it into an upright orientation before setting it back down on its side.\",\n \"failure_reason_summary\": \"failed to rotate basket; incorrect placement orientation\",\n \"recovery_action\": \"Grasp the basket again, rotate it 90 degrees so its bottom rests flat on the table, and release it in the upright position.\",\n \"recovery_action_summary\": \"re-grasp basket; rotate upright; place flat on table\",\n \"prevention_action\": \"Rotate the wrist joint sufficiently while lifting the basket to orientation-flip it upright before setting it down on the table surface.\",\n \"prevention_action_summary\": \"rotate gripper to flip basket upright; verify orientation before releasing\"\n}\n```"
|
| 99 |
+
},
|
| 100 |
+
"failure_annotation": {
|
| 101 |
+
"failure_control_step": 201,
|
| 102 |
+
"failure_sim_step": 201,
|
| 103 |
+
"failure_policy_step": 33,
|
| 104 |
+
"failure_chunk_index": 3,
|
| 105 |
+
"first_post_failure_policy_step": 34,
|
| 106 |
+
"failure_type": "placement_or_insertion_failure",
|
| 107 |
+
"correction_action": "Grasp the basket again, rotate it 90 degrees so its bottom rests flat on the table, and release it in the upright position."
|
| 108 |
+
}
|
| 109 |
+
}
|
basket/ep004/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf3cb55a2743d032de650f7be061ddc1957a1450fe4b5afe5ae5e55fa9f918de
|
| 3 |
+
size 3911
|
basket/ep005/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep005__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 334 (6.7s at 50 Hz)
|
| 7 |
+
- **policy inferences:** 58 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep005/rollout.mp4`
|
| 9 |
+
- **features:** `58` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–150 | 0–25 | approaching basket and slipping |
|
| 16 |
+
| 3.0–6.0 | 151–301 | 25–50 | attempting second grasp on basket |
|
| 17 |
+
| 6.0–6.7 | 302–333 | 50–55 | retracting end effector upward |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 2.549800796812749 s (00:02.5)
|
| 24 |
+
- **frame / control_step:** 128 (policy_step=21, chunk_index=2)
|
| 25 |
+
- **coarse onset:** 2.0 s (refined=True)
|
| 26 |
+
- **mode:** grasp_failure
|
| 27 |
+
- **reason:** The robot attempted to grasp the edge or handle of the upside-down basket to flip it, but failed to secure a solid grip and slipped off without moving the basket upright.
|
| 28 |
+
Summary: failed grasp on basket; slipped off handle
|
| 29 |
+
- **recovery:** Reposition the end-effector directly over the basket edge or handle, secure a tight grip, and rotate the wrist to flip the basket upright.
|
| 30 |
+
Summary: reposition gripper; secure grip on edge; flip basket upright
|
| 31 |
+
- **prevention:** Align the gripper precisely with the basket's rim or handle before closing the fingers to establish a stable grasp prior to applying the flipping rotation.
|
| 32 |
+
Summary: align gripper with rim; secure firm grip; rotate to flip
|
| 33 |
+
- **justification:** At approximately 2.0 seconds, the robot's gripper contacts the basket but fails to grasp or hook it securely, slipping away without flipping the basket. It repeats this unsuccessful maneuver around 5.0 seconds.
|
basket/ep005/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep005__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:31:51+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 3.00796812749004,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 150,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "approaching basket and slipping",
|
| 33 |
+
"description": "approaching basket and slipping"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 3.00796812749004,
|
| 38 |
+
"t_end_sec": 6.01593625498008,
|
| 39 |
+
"control_step_start": 151,
|
| 40 |
+
"control_step_end": 301,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "attempting second grasp on basket",
|
| 44 |
+
"description": "attempting second grasp on basket"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 6.01593625498008,
|
| 49 |
+
"t_end_sec": 6.653386454183266,
|
| 50 |
+
"control_step_start": 302,
|
| 51 |
+
"control_step_end": 333,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 55,
|
| 54 |
+
"phrase": "retracting end effector upward",
|
| 55 |
+
"description": "retracting end effector upward"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "grasp_failure",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 2.549800796812749,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:02.5",
|
| 63 |
+
"vlm_failure_onset_frame": 128,
|
| 64 |
+
"vlm_failure_onset_step": 128,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 2.0,
|
| 66 |
+
"vlm_failure_window_start_seconds": 1.8,
|
| 67 |
+
"vlm_failure_window_end_seconds": 2.5,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot attempted to grasp the edge or handle of the upside-down basket to flip it, but failed to secure a solid grip and slipped off without moving the basket upright.",
|
| 72 |
+
"vlm_failure_reason_summary": "failed grasp on basket; slipped off handle",
|
| 73 |
+
"vlm_recovery_action": "Reposition the end-effector directly over the basket edge or handle, secure a tight grip, and rotate the wrist to flip the basket upright.",
|
| 74 |
+
"vlm_recovery_action_summary": "reposition gripper; secure grip on edge; flip basket upright",
|
| 75 |
+
"vlm_prevention_action": "Align the gripper precisely with the basket's rim or handle before closing the fingers to establish a stable grasp prior to applying the flipping rotation.",
|
| 76 |
+
"vlm_prevention_action_summary": "align gripper with rim; secure firm grip; rotate to flip",
|
| 77 |
+
"vlm_justification": "At approximately 2.0 seconds, the robot's gripper contacts the basket but fails to grasp or hook it securely, slipping away without flipping the basket. It repeats this unsuccessful maneuver around 5.0 seconds.",
|
| 78 |
+
"vlm_temporal_justification": "At 02:08 (128 seconds), as the robotic arm pulls upward to flip the basket, the gripper fingers lose their hold on the handle and slip off completely, leaving the basket in its upside-down position.",
|
| 79 |
+
"vlm_video_fps": 50.2,
|
| 80 |
+
"vlm_video_num_frames": 334,
|
| 81 |
+
"vlm_video_duration_seconds": 6.633466135458167,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 18166,
|
| 84 |
+
"output_tokens": 389,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 2.0,\n \"failure_window_start_seconds\": 1.8,\n \"failure_window_end_seconds\": 2.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grasp the edge or handle of the upside-down basket to flip it, but failed to secure a solid grip and slipped off without moving the basket upright.\",\n \"failure_reason_summary\": \"failed grasp on basket; slipped off handle\",\n \"recovery_action\": \"Reposition the end-effector directly over the basket edge or handle, secure a tight grip, and rotate the wrist to flip the basket upright.\",\n \"recovery_action_summary\": \"reposition gripper; secure grip on edge; flip basket upright\",\n \"prevention_action\": \"Align the gripper precisely with the basket's rim or handle before closing the fingers to establish a stable grasp prior to applying the flipping rotation.\",\n \"prevention_action_summary\": \"align gripper with rim; secure firm grip; rotate to flip\",\n \"justification\": \"At approximately 2.0 seconds, the robot's gripper contacts the basket but fails to grasp or hook it securely, slipping away without flipping the basket. It repeats this unsuccessful maneuver around 5.0 seconds.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 128,
|
| 91 |
+
"failure_sim_step": 128,
|
| 92 |
+
"failure_policy_step": 21,
|
| 93 |
+
"failure_chunk_index": 2,
|
| 94 |
+
"first_post_failure_policy_step": 22,
|
| 95 |
+
"failure_type": "grasp_failure",
|
| 96 |
+
"correction_action": "Reposition the end-effector directly over the basket edge or handle, secure a tight grip, and rotate the wrist to flip the basket upright."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep005/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a04c4bba2c259a6926ac1140c360f295c1148d5da2301d09134a66643a13d2b5
|
| 3 |
+
size 3880
|
basket/ep006/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep006__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 328 (6.5s at 50 Hz)
|
| 7 |
+
- **policy inferences:** 57 (replan_steps=5)
|
| 8 |
+
- **video:** `basket/ep006/rollout.mp4`
|
| 9 |
+
- **features:** `57` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–149 | 0–29 | attempting grasp on basket handle |
|
| 16 |
+
| 3.0–6.0 | 150–299 | 30–59 | repeating grasp attempt on handle |
|
| 17 |
+
| 6.0–6.5 | 300–327 | 60–65 | hovering above red basket |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 1.8962075848303392 s (00:01.9)
|
| 24 |
+
- **frame / control_step:** 95 (policy_step=19, chunk_index=0)
|
| 25 |
+
- **coarse onset:** 1.5 s (refined=True)
|
| 26 |
+
- **mode:** grasp_failure
|
| 27 |
+
- **reason:** The robot attempted to grasp the basket handle in order to flip it upright, but the gripper closed without securing the handle and pulled away empty.
|
| 28 |
+
Summary: failed handle grasp; missing object grip
|
| 29 |
+
- **recovery:** Realign the end-effector with the basket handle, close the gripper securely around the handle, and lift/rotate the basket into an upright position.
|
| 30 |
+
Summary: realign with handle; grasp securely; flip basket upright
|
| 31 |
+
- **prevention:** Accurately position the gripper fingers around the basket handle before closing the gripper so that a firm grip is established on the first attempt.
|
| 32 |
+
Summary: align gripper with handle; grasp firmly; flip basket upright
|
| 33 |
+
- **justification:** At around 1.5 seconds, the robot's gripper descends near the basket's black handle and closes, but misses or fails to secure a hold on it, pulling away without flipping the basket.
|
basket/ep006/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep006__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:32:20+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.9940119760479043,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 149,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 29,
|
| 32 |
+
"phrase": "attempting grasp on basket handle",
|
| 33 |
+
"description": "attempting grasp on basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.9940119760479043,
|
| 38 |
+
"t_end_sec": 5.9880239520958085,
|
| 39 |
+
"control_step_start": 150,
|
| 40 |
+
"control_step_end": 299,
|
| 41 |
+
"policy_step_start": 30,
|
| 42 |
+
"policy_step_end": 59,
|
| 43 |
+
"phrase": "repeating grasp attempt on handle",
|
| 44 |
+
"description": "repeating grasp attempt on handle"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.9880239520958085,
|
| 49 |
+
"t_end_sec": 6.54690618762475,
|
| 50 |
+
"control_step_start": 300,
|
| 51 |
+
"control_step_end": 327,
|
| 52 |
+
"policy_step_start": 60,
|
| 53 |
+
"policy_step_end": 65,
|
| 54 |
+
"phrase": "hovering above red basket",
|
| 55 |
+
"description": "hovering above red basket"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "grasp_failure",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 1.8962075848303392,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:01.9",
|
| 63 |
+
"vlm_failure_onset_frame": 95,
|
| 64 |
+
"vlm_failure_onset_step": 95,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 1.5,
|
| 66 |
+
"vlm_failure_window_start_seconds": 1.0,
|
| 67 |
+
"vlm_failure_window_end_seconds": 2.0,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot attempted to grasp the basket handle in order to flip it upright, but the gripper closed without securing the handle and pulled away empty.",
|
| 72 |
+
"vlm_failure_reason_summary": "failed handle grasp; missing object grip",
|
| 73 |
+
"vlm_recovery_action": "Realign the end-effector with the basket handle, close the gripper securely around the handle, and lift/rotate the basket into an upright position.",
|
| 74 |
+
"vlm_recovery_action_summary": "realign with handle; grasp securely; flip basket upright",
|
| 75 |
+
"vlm_prevention_action": "Accurately position the gripper fingers around the basket handle before closing the gripper so that a firm grip is established on the first attempt.",
|
| 76 |
+
"vlm_prevention_action_summary": "align gripper with handle; grasp firmly; flip basket upright",
|
| 77 |
+
"vlm_justification": "At around 1.5 seconds, the robot's gripper descends near the basket's black handle and closes, but misses or fails to secure a hold on it, pulling away without flipping the basket.",
|
| 78 |
+
"vlm_temporal_justification": "At timestamp 01:35 (95 seconds into the clip), the robot gripper fingers close completely without pinching or securing the basket's black handle, making the grasp failure visibly obvious before the arm lifts away empty.",
|
| 79 |
+
"vlm_video_fps": 50.1,
|
| 80 |
+
"vlm_video_num_frames": 328,
|
| 81 |
+
"vlm_video_duration_seconds": 6.526946107784431,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 16521,
|
| 84 |
+
"output_tokens": 374,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 1.5,\n \"failure_window_start_seconds\": 1.0,\n \"failure_window_end_seconds\": 2.0,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grasp the basket handle in order to flip it upright, but the gripper closed without securing the handle and pulled away empty.\",\n \"failure_reason_summary\": \"failed handle grasp; missing object grip\",\n \"recovery_action\": \"Realign the end-effector with the basket handle, close the gripper securely around the handle, and lift/rotate the basket into an upright position.\",\n \"recovery_action_summary\": \"realign with handle; grasp securely; flip basket upright\",\n \"prevention_action\": \"Accurately position the gripper fingers around the basket handle before closing the gripper so that a firm grip is established on the first attempt.\",\n \"prevention_action_summary\": \"align gripper with handle; grasp firmly; flip basket upright\",\n \"justification\": \"At around 1.5 seconds, the robot's gripper descends near the basket's black handle and closes, but misses or fails to secure a hold on it, pulling away without flipping the basket.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 95,
|
| 91 |
+
"failure_sim_step": 95,
|
| 92 |
+
"failure_policy_step": 19,
|
| 93 |
+
"failure_chunk_index": 0,
|
| 94 |
+
"first_post_failure_policy_step": 20,
|
| 95 |
+
"failure_type": "grasp_failure",
|
| 96 |
+
"correction_action": "Realign the end-effector with the basket handle, close the gripper securely around the handle, and lift/rotate the basket into an upright position."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep006/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58b3fc4d7c3dca92a591ba079bc18fca46723e01bd83122cce08183069198850
|
| 3 |
+
size 3847
|
basket/ep007/example.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep007__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 286 (5.6s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 50 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep007/rollout.mp4`
|
| 9 |
+
- **features:** `50` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | reaching for and gripping handle |
|
| 16 |
+
| 3.0–5.6 | 152–285 | 25–47 | losing grip and retracting arm |
|
| 17 |
+
|
| 18 |
+
## Failure
|
| 19 |
+
|
| 20 |
+
- **yes**
|
| 21 |
+
- **onset type:** obvious_mistake
|
| 22 |
+
- **onset:** 2.662721893491124 s (00:02.7)
|
| 23 |
+
- **frame / control_step:** 135 (policy_step=22, chunk_index=3)
|
| 24 |
+
- **coarse onset:** 2.5 s (refined=True)
|
| 25 |
+
- **mode:** grasp_failure
|
| 26 |
+
- **reason:** The robot attempted to grasp the basket handle to flip it, but failed to establish a secure grip, causing the handle to slip out when the arm lifted.
|
| 27 |
+
Summary: insecure grip on handle; handle slipping during lift
|
| 28 |
+
- **recovery:** Re-align the gripper over the basket handle, close the fingers firmly around it, and rotate the arm to flip the basket upright.
|
| 29 |
+
Summary: re-grasp handle securely; rotate and flip basket upright
|
| 30 |
+
- **prevention:** Position the gripper deeper around the handle before closing to secure a firm hold before initiating the upward flip motion.
|
| 31 |
+
Summary: align gripper deeper on handle; establish solid grip before flipping
|
| 32 |
+
- **justification:** At approximately 2.5 seconds, the robot closes its gripper on the handle of the red basket. As the arm lifts and attempts to flip the basket around 3.0 seconds, the handle slips out of the fingers, leaving the basket on its side.
|
basket/ep007/labels.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep007__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:32:54+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.9980276134122286,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "reaching for and gripping handle",
|
| 33 |
+
"description": "reaching for and gripping handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.9980276134122286,
|
| 38 |
+
"t_end_sec": 5.6410256410256405,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 285,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 47,
|
| 43 |
+
"phrase": "losing grip and retracting arm",
|
| 44 |
+
"description": "losing grip and retracting arm"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"vlm_failure": {
|
| 48 |
+
"vlm_failure_mode": "grasp_failure",
|
| 49 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 50 |
+
"vlm_failure_onset_seconds": 2.662721893491124,
|
| 51 |
+
"vlm_failure_onset_timestamp": "00:02.7",
|
| 52 |
+
"vlm_failure_onset_frame": 135,
|
| 53 |
+
"vlm_failure_onset_step": 135,
|
| 54 |
+
"vlm_coarse_failure_onset_seconds": 2.5,
|
| 55 |
+
"vlm_failure_window_start_seconds": 2.0,
|
| 56 |
+
"vlm_failure_window_end_seconds": 3.0,
|
| 57 |
+
"vlm_temporal_refined": true,
|
| 58 |
+
"vlm_confidence": "high",
|
| 59 |
+
"vlm_temporal_confidence": "high",
|
| 60 |
+
"vlm_failure_reason": "The robot attempted to grasp the basket handle to flip it, but failed to establish a secure grip, causing the handle to slip out when the arm lifted.",
|
| 61 |
+
"vlm_failure_reason_summary": "insecure grip on handle; handle slipping during lift",
|
| 62 |
+
"vlm_recovery_action": "Re-align the gripper over the basket handle, close the fingers firmly around it, and rotate the arm to flip the basket upright.",
|
| 63 |
+
"vlm_recovery_action_summary": "re-grasp handle securely; rotate and flip basket upright",
|
| 64 |
+
"vlm_prevention_action": "Position the gripper deeper around the handle before closing to secure a firm hold before initiating the upward flip motion.",
|
| 65 |
+
"vlm_prevention_action_summary": "align gripper deeper on handle; establish solid grip before flipping",
|
| 66 |
+
"vlm_justification": "At approximately 2.5 seconds, the robot closes its gripper on the handle of the red basket. As the arm lifts and attempts to flip the basket around 3.0 seconds, the handle slips out of the fingers, leaving the basket on its side.",
|
| 67 |
+
"vlm_temporal_justification": "At clip second 02:15 (135 seconds), the robot begins lifting its arm after closing the gripper, but fails to maintain a secure grasp on the basket handle, causing the handle to slip out as the arm raises.",
|
| 68 |
+
"vlm_video_fps": 50.7,
|
| 69 |
+
"vlm_video_num_frames": 286,
|
| 70 |
+
"vlm_video_duration_seconds": 5.621301775147929,
|
| 71 |
+
"vlm_usage": {
|
| 72 |
+
"input_tokens": 19863,
|
| 73 |
+
"output_tokens": 386,
|
| 74 |
+
"cached_tokens": 0
|
| 75 |
+
},
|
| 76 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 2.5,\n \"failure_window_start_seconds\": 2.0,\n \"failure_window_end_seconds\": 3.0,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grasp the basket handle to flip it, but failed to establish a secure grip, causing the handle to slip out when the arm lifted.\",\n \"failure_reason_summary\": \"insecure grip on handle; handle slipping during lift\",\n \"recovery_action\": \"Re-align the gripper over the basket handle, close the fingers firmly around it, and rotate the arm to flip the basket upright.\",\n \"recovery_action_summary\": \"re-grasp handle securely; rotate and flip basket upright\",\n \"prevention_action\": \"Position the gripper deeper around the handle before closing to secure a firm hold before initiating the upward flip motion.\",\n \"prevention_action_summary\": \"align gripper deeper on handle; establish solid grip before flipping\",\n \"justification\": \"At approximately 2.5 seconds, the robot closes its gripper on the handle of the red basket. As the arm lifts and attempts to flip the basket around 3.0 seconds, the handle slips out of the fingers, leaving the basket on its side.\"\n}\n```"
|
| 77 |
+
},
|
| 78 |
+
"failure_annotation": {
|
| 79 |
+
"failure_control_step": 135,
|
| 80 |
+
"failure_sim_step": 135,
|
| 81 |
+
"failure_policy_step": 22,
|
| 82 |
+
"failure_chunk_index": 3,
|
| 83 |
+
"first_post_failure_policy_step": 23,
|
| 84 |
+
"failure_type": "grasp_failure",
|
| 85 |
+
"correction_action": "Re-align the gripper over the basket handle, close the fingers firmly around it, and rotate the arm to flip the basket upright."
|
| 86 |
+
}
|
| 87 |
+
}
|
basket/ep007/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7458f115493159d30b77abda64bca148a6446b55c90072b57d3805ec73458ef
|
| 3 |
+
size 3765
|
basket/ep008/example.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep008__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** True
|
| 6 |
+
- **control steps:** 522 (10.3s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 89 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep008/rollout.mp4`
|
| 9 |
+
- **features:** `89` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | approaching the red basket |
|
| 16 |
+
| 3.0–6.0 | 152–303 | 25–50 | grasping the basket handle |
|
| 17 |
+
| 6.0–9.0 | 304–455 | 50–75 | flipping the basket upright |
|
| 18 |
+
| 9.0–10.3 | 456–521 | 76–86 | releasing the basket handle |
|
| 19 |
+
|
| 20 |
+
## Failure
|
| 21 |
+
|
| 22 |
+
No. Episode succeeded; Dan failure VLM was not run.
|
basket/ep008/labels.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep008__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": true,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:33:02+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.9980276134122286,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "approaching the red basket",
|
| 33 |
+
"description": "approaching the red basket"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.9980276134122286,
|
| 38 |
+
"t_end_sec": 5.996055226824457,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 303,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "grasping the basket handle",
|
| 44 |
+
"description": "grasping the basket handle"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.996055226824457,
|
| 49 |
+
"t_end_sec": 8.994082840236686,
|
| 50 |
+
"control_step_start": 304,
|
| 51 |
+
"control_step_end": 455,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 75,
|
| 54 |
+
"phrase": "flipping the basket upright",
|
| 55 |
+
"description": "flipping the basket upright"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"segment_index": 3,
|
| 59 |
+
"t_start_sec": 8.994082840236686,
|
| 60 |
+
"t_end_sec": 10.29585798816568,
|
| 61 |
+
"control_step_start": 456,
|
| 62 |
+
"control_step_end": 521,
|
| 63 |
+
"policy_step_start": 76,
|
| 64 |
+
"policy_step_end": 86,
|
| 65 |
+
"phrase": "releasing the basket handle",
|
| 66 |
+
"description": "releasing the basket handle"
|
| 67 |
+
}
|
| 68 |
+
],
|
| 69 |
+
"vlm_failure": {},
|
| 70 |
+
"failure_annotation": {
|
| 71 |
+
"failure_control_step": null,
|
| 72 |
+
"failure_sim_step": null,
|
| 73 |
+
"failure_policy_step": null,
|
| 74 |
+
"failure_chunk_index": null,
|
| 75 |
+
"first_post_failure_policy_step": null,
|
| 76 |
+
"failure_type": null,
|
| 77 |
+
"correction_action": null
|
| 78 |
+
}
|
| 79 |
+
}
|
basket/ep008/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc69e0c11b35a4c0e02d6a1c26c9a8acbfd81906d012e13c902d2a879ec5272a
|
| 3 |
+
size 3106
|
basket/ep009/example.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep009__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 275 (5.4s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 47 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep009/rollout.mp4`
|
| 9 |
+
- **features:** `47` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | grasping basket handle and lifting |
|
| 16 |
+
| 3.0–5.4 | 152–274 | 25–45 | dropping basket and raising gripper |
|
| 17 |
+
|
| 18 |
+
## Failure
|
| 19 |
+
|
| 20 |
+
- **yes**
|
| 21 |
+
- **onset type:** obvious_mistake
|
| 22 |
+
- **onset:** 3.102766798418972 s (00:03.1)
|
| 23 |
+
- **frame / control_step:** 157 (policy_step=26, chunk_index=1)
|
| 24 |
+
- **coarse onset:** 3.0 s (refined=True)
|
| 25 |
+
- **mode:** object_displacement
|
| 26 |
+
- **reason:** The robot grasped the handle of the red basket and lifted it, but lost its grip mid-motion, dropping the basket back onto the table without successfully flipping it upright.
|
| 27 |
+
Summary: dropping gripped basket; failed to flip upright
|
| 28 |
+
- **recovery:** Regrasp the basket's handle or edge, lift and rotate it until it is upright, and set it down stably on the table.
|
| 29 |
+
Summary: regrasp basket handle; flip upright
|
| 30 |
+
- **prevention:** Maintain a firm and stable grip on the basket handle throughout the lifting and flipping motion to prevent it from slipping.
|
| 31 |
+
Summary: maintain firm grip; rotate basket carefully
|
| 32 |
+
- **justification:** At around 3.0 seconds, while lifting the basket to flip it, the gripper loses hold of the handle. The basket falls back onto the table, leaving the task incomplete.
|
basket/ep009/labels.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep009__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:33:35+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 3.0039525691699605,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "grasping basket handle and lifting",
|
| 33 |
+
"description": "grasping basket handle and lifting"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 3.0039525691699605,
|
| 38 |
+
"t_end_sec": 5.434782608695652,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 274,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 45,
|
| 43 |
+
"phrase": "dropping basket and raising gripper",
|
| 44 |
+
"description": "dropping basket and raising gripper"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"vlm_failure": {
|
| 48 |
+
"vlm_failure_mode": "object_displacement",
|
| 49 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 50 |
+
"vlm_failure_onset_seconds": 3.102766798418972,
|
| 51 |
+
"vlm_failure_onset_timestamp": "00:03.1",
|
| 52 |
+
"vlm_failure_onset_frame": 157,
|
| 53 |
+
"vlm_failure_onset_step": 157,
|
| 54 |
+
"vlm_coarse_failure_onset_seconds": 3.0,
|
| 55 |
+
"vlm_failure_window_start_seconds": 2.8,
|
| 56 |
+
"vlm_failure_window_end_seconds": 3.5,
|
| 57 |
+
"vlm_temporal_refined": true,
|
| 58 |
+
"vlm_confidence": "high",
|
| 59 |
+
"vlm_temporal_confidence": "high",
|
| 60 |
+
"vlm_failure_reason": "The robot grasped the handle of the red basket and lifted it, but lost its grip mid-motion, dropping the basket back onto the table without successfully flipping it upright.",
|
| 61 |
+
"vlm_failure_reason_summary": "dropping gripped basket; failed to flip upright",
|
| 62 |
+
"vlm_recovery_action": "Regrasp the basket's handle or edge, lift and rotate it until it is upright, and set it down stably on the table.",
|
| 63 |
+
"vlm_recovery_action_summary": "regrasp basket handle; flip upright",
|
| 64 |
+
"vlm_prevention_action": "Maintain a firm and stable grip on the basket handle throughout the lifting and flipping motion to prevent it from slipping.",
|
| 65 |
+
"vlm_prevention_action_summary": "maintain firm grip; rotate basket carefully",
|
| 66 |
+
"vlm_justification": "At around 3.0 seconds, while lifting the basket to flip it, the gripper loses hold of the handle. The basket falls back onto the table, leaving the task incomplete.",
|
| 67 |
+
"vlm_temporal_justification": "At timestamp 02:37 (157 seconds into the clip), the robot gripper loses its grip on the handle of the red basket, causing it to slip out and drop back onto the table.",
|
| 68 |
+
"vlm_video_fps": 50.6,
|
| 69 |
+
"vlm_video_num_frames": 275,
|
| 70 |
+
"vlm_video_duration_seconds": 5.41501976284585,
|
| 71 |
+
"vlm_usage": {
|
| 72 |
+
"input_tokens": 19488,
|
| 73 |
+
"output_tokens": 359,
|
| 74 |
+
"cached_tokens": 0
|
| 75 |
+
},
|
| 76 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"object_displacement\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.0,\n \"failure_window_start_seconds\": 2.8,\n \"failure_window_end_seconds\": 3.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot grasped the handle of the red basket and lifted it, but lost its grip mid-motion, dropping the basket back onto the table without successfully flipping it upright.\",\n \"failure_reason_summary\": \"dropping gripped basket; failed to flip upright\",\n \"recovery_action\": \"Regrasp the basket's handle or edge, lift and rotate it until it is upright, and set it down stably on the table.\",\n \"recovery_action_summary\": \"regrasp basket handle; flip upright\",\n \"prevention_action\": \"Maintain a firm and stable grip on the basket handle throughout the lifting and flipping motion to prevent it from slipping.\",\n \"prevention_action_summary\": \"maintain firm grip; rotate basket carefully\",\n \"justification\": \"At around 3.0 seconds, while lifting the basket to flip it, the gripper loses hold of the handle. The basket falls back onto the table, leaving the task incomplete.\"\n}\n```"
|
| 77 |
+
},
|
| 78 |
+
"failure_annotation": {
|
| 79 |
+
"failure_control_step": 157,
|
| 80 |
+
"failure_sim_step": 157,
|
| 81 |
+
"failure_policy_step": 26,
|
| 82 |
+
"failure_chunk_index": 1,
|
| 83 |
+
"first_post_failure_policy_step": 27,
|
| 84 |
+
"failure_type": "object_displacement",
|
| 85 |
+
"correction_action": "Regrasp the basket's handle or edge, lift and rotate it until it is upright, and set it down stably on the table."
|
| 86 |
+
}
|
| 87 |
+
}
|
basket/ep009/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9ed86b6765379af746a157b9e3e96adc20a2a19eff5c3a319649f0576717f43
|
| 3 |
+
size 3745
|
basket/ep010/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep010__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 320 (6.3s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 55 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep010/rollout.mp4`
|
| 9 |
+
- **features:** `55` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | positioning gripper above basket |
|
| 16 |
+
| 3.0–6.0 | 152–303 | 25–50 | lowering gripper and bumping handle |
|
| 17 |
+
| 6.0–6.3 | 304–319 | 50–53 | remaining near displaced basket |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 4.803149606299213 s (00:04.8)
|
| 24 |
+
- **frame / control_step:** 244 (policy_step=40, chunk_index=4)
|
| 25 |
+
- **coarse onset:** 4.9 s (refined=True)
|
| 26 |
+
- **mode:** object_displacement
|
| 27 |
+
- **reason:** The robot lowered its end-effector to grasp the handle of the inverted basket, but misaligned and bumped into the handle, displacing the basket instead of gripping it.
|
| 28 |
+
Summary: collision with handle; object displacement
|
| 29 |
+
- **recovery:** Realign the gripper over the green handle, establish a firm grip on the handle, and carefully lift and flip the basket upright.
|
| 30 |
+
Summary: realign gripper; grasp handle; flip basket upright
|
| 31 |
+
- **prevention:** Align the end-effector accurately over the center of the handle before descending to prevent knocking or displacing the basket.
|
| 32 |
+
Summary: align over handle; lower precisely; execute grasp
|
| 33 |
+
- **justification:** At around 4.9 seconds (00:05 in the video), the end-effector descends directly onto the handle without proper alignment, knocking and displacing the red basket rather than grasping the handle to flip it.
|
basket/ep010/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep010__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:34:06+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.9921259842519685,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "positioning gripper above basket",
|
| 33 |
+
"description": "positioning gripper above basket"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.9921259842519685,
|
| 38 |
+
"t_end_sec": 5.984251968503937,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 303,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "lowering gripper and bumping handle",
|
| 44 |
+
"description": "lowering gripper and bumping handle"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.984251968503937,
|
| 49 |
+
"t_end_sec": 6.299212598425197,
|
| 50 |
+
"control_step_start": 304,
|
| 51 |
+
"control_step_end": 319,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 53,
|
| 54 |
+
"phrase": "remaining near displaced basket",
|
| 55 |
+
"description": "remaining near displaced basket"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "object_displacement",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 4.803149606299213,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:04.8",
|
| 63 |
+
"vlm_failure_onset_frame": 244,
|
| 64 |
+
"vlm_failure_onset_step": 244,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 4.9,
|
| 66 |
+
"vlm_failure_window_start_seconds": 4.4,
|
| 67 |
+
"vlm_failure_window_end_seconds": 5.4,
|
| 68 |
+
"vlm_temporal_refined": true,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot lowered its end-effector to grasp the handle of the inverted basket, but misaligned and bumped into the handle, displacing the basket instead of gripping it.",
|
| 72 |
+
"vlm_failure_reason_summary": "collision with handle; object displacement",
|
| 73 |
+
"vlm_recovery_action": "Realign the gripper over the green handle, establish a firm grip on the handle, and carefully lift and flip the basket upright.",
|
| 74 |
+
"vlm_recovery_action_summary": "realign gripper; grasp handle; flip basket upright",
|
| 75 |
+
"vlm_prevention_action": "Align the end-effector accurately over the center of the handle before descending to prevent knocking or displacing the basket.",
|
| 76 |
+
"vlm_prevention_action_summary": "align over handle; lower precisely; execute grasp",
|
| 77 |
+
"vlm_justification": "At around 4.9 seconds (00:05 in the video), the end-effector descends directly onto the handle without proper alignment, knocking and displacing the red basket rather than grasping the handle to flip it.",
|
| 78 |
+
"vlm_temporal_justification": "At clip second 02:27 (frame 147), the robot end-effector makes direct contact with the top handle of the basket due to misalignment, causing the object to displace rather than being cleanly grasped.",
|
| 79 |
+
"vlm_video_fps": 50.8,
|
| 80 |
+
"vlm_video_num_frames": 320,
|
| 81 |
+
"vlm_video_duration_seconds": 6.2795275590551185,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 16277,
|
| 84 |
+
"output_tokens": 372,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"object_displacement\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 4.9,\n \"failure_window_start_seconds\": 4.4,\n \"failure_window_end_seconds\": 5.4,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot lowered its end-effector to grasp the handle of the inverted basket, but misaligned and bumped into the handle, displacing the basket instead of gripping it.\",\n \"failure_reason_summary\": \"collision with handle; object displacement\",\n \"recovery_action\": \"Realign the gripper over the green handle, establish a firm grip on the handle, and carefully lift and flip the basket upright.\",\n \"recovery_action_summary\": \"realign gripper; grasp handle; flip basket upright\",\n \"prevention_action\": \"Align the end-effector accurately over the center of the handle before descending to prevent knocking or displacing the basket.\",\n \"prevention_action_summary\": \"align over handle; lower precisely; execute grasp\",\n \"justification\": \"At around 4.9 seconds (00:05 in the video), the end-effector descends directly onto the handle without proper alignment, knocking and displacing the red basket rather than grasping the handle to flip it.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 244,
|
| 91 |
+
"failure_sim_step": 244,
|
| 92 |
+
"failure_policy_step": 40,
|
| 93 |
+
"failure_chunk_index": 4,
|
| 94 |
+
"first_post_failure_policy_step": 41,
|
| 95 |
+
"failure_type": "object_displacement",
|
| 96 |
+
"correction_action": "Realign the gripper over the green handle, establish a firm grip on the handle, and carefully lift and flip the basket upright."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep010/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c6dbd6413d720b66681a424fd950b7814c841c015e0f0932aced31536520508
|
| 3 |
+
size 3818
|
basket/ep011/example.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep011__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 330 (6.5s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 56 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep011/rollout.mp4`
|
| 9 |
+
- **features:** `56` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | reaching and grasping basket handle |
|
| 16 |
+
| 3.0–6.0 | 152–303 | 25–50 | losing grip and dropping basket |
|
| 17 |
+
| 6.0–6.5 | 304–329 | 50–54 | retracting gripper away |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
- **yes**
|
| 22 |
+
- **onset type:** obvious_mistake
|
| 23 |
+
- **onset:** 3.201581027667984 s (00:03.2)
|
| 24 |
+
- **frame / control_step:** 162 (policy_step=27, chunk_index=0)
|
| 25 |
+
- **coarse onset:** 3.2 s (refined=False)
|
| 26 |
+
- **mode:** object_displacement
|
| 27 |
+
- **reason:** The robot grasped the handle of the red basket to flip it, but lost its grip mid-rotation, causing the basket to tumble and land improperly on the table.
|
| 28 |
+
Summary: lost grip while flipping; basket dropped improperly
|
| 29 |
+
- **recovery:** Re-grasp the handle or rim of the red basket, lift it, and complete the flipping motion to place it upright on the table surface.
|
| 30 |
+
Summary: re-grasp handle; rotate basket upright
|
| 31 |
+
- **prevention:** Maintain a firm and stable grip on the basket handle throughout the entire rotation to prevent the object from slipping mid-flip.
|
| 32 |
+
Summary: secure handle grip; rotate smoothly until upright
|
| 33 |
+
- **justification:** Around 3.2 seconds, as the robot arm elevates and rotates the basket to flip it upright, the gripper loses hold of the handle. The basket falls back down onto the table in an un-flipped position, failing the task.
|
basket/ep011/labels.json
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep011__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:34:38+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 3.0039525691699605,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "reaching and grasping basket handle",
|
| 33 |
+
"description": "reaching and grasping basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 3.0039525691699605,
|
| 38 |
+
"t_end_sec": 6.007905138339921,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 303,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "losing grip and dropping basket",
|
| 44 |
+
"description": "losing grip and dropping basket"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 6.007905138339921,
|
| 49 |
+
"t_end_sec": 6.521739130434782,
|
| 50 |
+
"control_step_start": 304,
|
| 51 |
+
"control_step_end": 329,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 54,
|
| 54 |
+
"phrase": "retracting gripper away",
|
| 55 |
+
"description": "retracting gripper away"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {
|
| 59 |
+
"vlm_failure_mode": "object_displacement",
|
| 60 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 61 |
+
"vlm_failure_onset_seconds": 3.201581027667984,
|
| 62 |
+
"vlm_failure_onset_timestamp": "00:03.2",
|
| 63 |
+
"vlm_failure_onset_frame": 162,
|
| 64 |
+
"vlm_failure_onset_step": 162,
|
| 65 |
+
"vlm_coarse_failure_onset_seconds": 3.2,
|
| 66 |
+
"vlm_failure_window_start_seconds": 2.8,
|
| 67 |
+
"vlm_failure_window_end_seconds": 3.8,
|
| 68 |
+
"vlm_temporal_refined": false,
|
| 69 |
+
"vlm_confidence": "high",
|
| 70 |
+
"vlm_temporal_confidence": "high",
|
| 71 |
+
"vlm_failure_reason": "The robot grasped the handle of the red basket to flip it, but lost its grip mid-rotation, causing the basket to tumble and land improperly on the table.",
|
| 72 |
+
"vlm_failure_reason_summary": "lost grip while flipping; basket dropped improperly",
|
| 73 |
+
"vlm_recovery_action": "Re-grasp the handle or rim of the red basket, lift it, and complete the flipping motion to place it upright on the table surface.",
|
| 74 |
+
"vlm_recovery_action_summary": "re-grasp handle; rotate basket upright",
|
| 75 |
+
"vlm_prevention_action": "Maintain a firm and stable grip on the basket handle throughout the entire rotation to prevent the object from slipping mid-flip.",
|
| 76 |
+
"vlm_prevention_action_summary": "secure handle grip; rotate smoothly until upright",
|
| 77 |
+
"vlm_justification": "Around 3.2 seconds, as the robot arm elevates and rotates the basket to flip it upright, the gripper loses hold of the handle. The basket falls back down onto the table in an un-flipped position, failing the task.",
|
| 78 |
+
"vlm_temporal_justification": "At 02:24, the robot gripper slips off the black handle while trying to lift and flip the basket, causing the basket to drop back onto the table upside down.",
|
| 79 |
+
"vlm_video_fps": 50.6,
|
| 80 |
+
"vlm_video_num_frames": 330,
|
| 81 |
+
"vlm_video_duration_seconds": 6.5019762845849804,
|
| 82 |
+
"vlm_usage": {
|
| 83 |
+
"input_tokens": 21506,
|
| 84 |
+
"output_tokens": 370,
|
| 85 |
+
"cached_tokens": 0
|
| 86 |
+
},
|
| 87 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"object_displacement\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.2,\n \"failure_window_start_seconds\": 2.8,\n \"failure_window_end_seconds\": 3.8,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot grasped the handle of the red basket to flip it, but lost its grip mid-rotation, causing the basket to tumble and land improperly on the table.\",\n \"failure_reason_summary\": \"lost grip while flipping; basket dropped improperly\",\n \"recovery_action\": \"Re-grasp the handle or rim of the red basket, lift it, and complete the flipping motion to place it upright on the table surface.\",\n \"recovery_action_summary\": \"re-grasp handle; rotate basket upright\",\n \"prevention_action\": \"Maintain a firm and stable grip on the basket handle throughout the entire rotation to prevent the object from slipping mid-flip.\",\n \"prevention_action_summary\": \"secure handle grip; rotate smoothly until upright\",\n \"justification\": \"Around 3.2 seconds, as the robot arm elevates and rotates the basket to flip it upright, the gripper loses hold of the handle. The basket falls back down onto the table in an un-flipped position, failing the task.\"\n}\n```"
|
| 88 |
+
},
|
| 89 |
+
"failure_annotation": {
|
| 90 |
+
"failure_control_step": 162,
|
| 91 |
+
"failure_sim_step": 162,
|
| 92 |
+
"failure_policy_step": 27,
|
| 93 |
+
"failure_chunk_index": 0,
|
| 94 |
+
"first_post_failure_policy_step": 28,
|
| 95 |
+
"failure_type": "object_displacement",
|
| 96 |
+
"correction_action": "Re-grasp the handle or rim of the red basket, lift it, and complete the flipping motion to place it upright on the table surface."
|
| 97 |
+
}
|
| 98 |
+
}
|
basket/ep011/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:057eaba6256318f7f850886822db572dbeeec54d7d8316e99761f70350f3a09a
|
| 3 |
+
size 3816
|
basket/ep012/example.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep012__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 249 (4.9s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 43 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep012/rollout.mp4`
|
| 9 |
+
- **features:** `43` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–152 | 0–25 | attempting grasp on basket handle |
|
| 16 |
+
| 3.0–4.9 | 153–248 | 25–41 | retracting end-effector and hovering |
|
| 17 |
+
|
| 18 |
+
## Failure
|
| 19 |
+
|
| 20 |
+
- **yes**
|
| 21 |
+
- **onset type:** obvious_mistake
|
| 22 |
+
- **onset:** 1.8003913894324852 s (00:01.8)
|
| 23 |
+
- **frame / control_step:** 92 (policy_step=15, chunk_index=2)
|
| 24 |
+
- **coarse onset:** 1.2 s (refined=True)
|
| 25 |
+
- **mode:** grasp_failure
|
| 26 |
+
- **reason:** The robot attempted to grasp the basket by its handle but closed its gripper prematurely above the handle without making contact, failing to secure the object.
|
| 27 |
+
Summary: failed grasp attempt; missing basket handle
|
| 28 |
+
- **recovery:** Re-orient and lower the end-effector directly onto the basket handle or rim, close the gripper securely, and flip the basket upright.
|
| 29 |
+
Summary: re-align gripper; grasp handle; flip basket upright
|
| 30 |
+
- **prevention:** Accurately position the end-effector around the handle or rim before closing the fingers to guarantee a successful grasp.
|
| 31 |
+
Summary: align gripper around handle; ensure secure grasp
|
| 32 |
+
- **justification:** At approximately 1.2 seconds into the video, the robot closes its gripper in mid-air above the red basket handle without gripping it, then retracts upward without completing the task.
|
basket/ep012/labels.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep012__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:35:10+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.99412915851272,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 152,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "attempting grasp on basket handle",
|
| 33 |
+
"description": "attempting grasp on basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.99412915851272,
|
| 38 |
+
"t_end_sec": 4.87279843444227,
|
| 39 |
+
"control_step_start": 153,
|
| 40 |
+
"control_step_end": 248,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 41,
|
| 43 |
+
"phrase": "retracting end-effector and hovering",
|
| 44 |
+
"description": "retracting end-effector and hovering"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"vlm_failure": {
|
| 48 |
+
"vlm_failure_mode": "grasp_failure",
|
| 49 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 50 |
+
"vlm_failure_onset_seconds": 1.8003913894324852,
|
| 51 |
+
"vlm_failure_onset_timestamp": "00:01.8",
|
| 52 |
+
"vlm_failure_onset_frame": 92,
|
| 53 |
+
"vlm_failure_onset_step": 92,
|
| 54 |
+
"vlm_coarse_failure_onset_seconds": 1.2,
|
| 55 |
+
"vlm_failure_window_start_seconds": 1.0,
|
| 56 |
+
"vlm_failure_window_end_seconds": 2.0,
|
| 57 |
+
"vlm_temporal_refined": true,
|
| 58 |
+
"vlm_confidence": "high",
|
| 59 |
+
"vlm_temporal_confidence": "high",
|
| 60 |
+
"vlm_failure_reason": "The robot attempted to grasp the basket by its handle but closed its gripper prematurely above the handle without making contact, failing to secure the object.",
|
| 61 |
+
"vlm_failure_reason_summary": "failed grasp attempt; missing basket handle",
|
| 62 |
+
"vlm_recovery_action": "Re-orient and lower the end-effector directly onto the basket handle or rim, close the gripper securely, and flip the basket upright.",
|
| 63 |
+
"vlm_recovery_action_summary": "re-align gripper; grasp handle; flip basket upright",
|
| 64 |
+
"vlm_prevention_action": "Accurately position the end-effector around the handle or rim before closing the fingers to guarantee a successful grasp.",
|
| 65 |
+
"vlm_prevention_action_summary": "align gripper around handle; ensure secure grasp",
|
| 66 |
+
"vlm_justification": "At approximately 1.2 seconds into the video, the robot closes its gripper in mid-air above the red basket handle without gripping it, then retracts upward without completing the task.",
|
| 67 |
+
"vlm_temporal_justification": "At second 92 (01:32), the robot begins closing its gripper prematurely above the basket's handle loop without making contact or fully lowering around the handle, failing to secure the object.",
|
| 68 |
+
"vlm_video_fps": 51.1,
|
| 69 |
+
"vlm_video_num_frames": 249,
|
| 70 |
+
"vlm_video_duration_seconds": 4.853228962818004,
|
| 71 |
+
"vlm_usage": {
|
| 72 |
+
"input_tokens": 15702,
|
| 73 |
+
"output_tokens": 357,
|
| 74 |
+
"cached_tokens": 0
|
| 75 |
+
},
|
| 76 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 1.2,\n \"failure_window_start_seconds\": 1.0,\n \"failure_window_end_seconds\": 2.0,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grasp the basket by its handle but closed its gripper prematurely above the handle without making contact, failing to secure the object.\",\n \"failure_reason_summary\": \"failed grasp attempt; missing basket handle\",\n \"recovery_action\": \"Re-orient and lower the end-effector directly onto the basket handle or rim, close the gripper securely, and flip the basket upright.\",\n \"recovery_action_summary\": \"re-align gripper; grasp handle; flip basket upright\",\n \"prevention_action\": \"Accurately position the end-effector around the handle or rim before closing the fingers to guarantee a successful grasp.\",\n \"prevention_action_summary\": \"align gripper around handle; ensure secure grasp\",\n \"justification\": \"At approximately 1.2 seconds into the video, the robot closes its gripper in mid-air above the red basket handle without gripping it, then retracts upward without completing the task.\"\n}\n```"
|
| 77 |
+
},
|
| 78 |
+
"failure_annotation": {
|
| 79 |
+
"failure_control_step": 92,
|
| 80 |
+
"failure_sim_step": 92,
|
| 81 |
+
"failure_policy_step": 15,
|
| 82 |
+
"failure_chunk_index": 2,
|
| 83 |
+
"first_post_failure_policy_step": 16,
|
| 84 |
+
"failure_type": "grasp_failure",
|
| 85 |
+
"correction_action": "Re-orient and lower the end-effector directly onto the basket handle or rim, close the gripper securely, and flip the basket upright."
|
| 86 |
+
}
|
| 87 |
+
}
|
basket/ep012/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8ce1199248b976f93a9fab382603c3e254cb3add8a53d09547f1e2d138130f0
|
| 3 |
+
size 3772
|
basket/ep013/example.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep013__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** True
|
| 6 |
+
- **control steps:** 323 (6.4s at 50 Hz)
|
| 7 |
+
- **policy inferences:** 57 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep013/rollout.mp4`
|
| 9 |
+
- **features:** `57` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–149 | 0–24 | reaching and grasping basket handle |
|
| 16 |
+
| 3.0–6.0 | 150–299 | 25–49 | flipping basket upright |
|
| 17 |
+
| 6.0–6.4 | 300–322 | 50–53 | retracting arm away |
|
| 18 |
+
|
| 19 |
+
## Failure
|
| 20 |
+
|
| 21 |
+
No. Episode succeeded; Dan failure VLM was not run.
|
basket/ep013/labels.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep013__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": true,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:35:17+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.9940119760479043,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 149,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 24,
|
| 32 |
+
"phrase": "reaching and grasping basket handle",
|
| 33 |
+
"description": "reaching and grasping basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.9940119760479043,
|
| 38 |
+
"t_end_sec": 5.9880239520958085,
|
| 39 |
+
"control_step_start": 150,
|
| 40 |
+
"control_step_end": 299,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 49,
|
| 43 |
+
"phrase": "flipping basket upright",
|
| 44 |
+
"description": "flipping basket upright"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.9880239520958085,
|
| 49 |
+
"t_end_sec": 6.447105788423153,
|
| 50 |
+
"control_step_start": 300,
|
| 51 |
+
"control_step_end": 322,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 53,
|
| 54 |
+
"phrase": "retracting arm away",
|
| 55 |
+
"description": "retracting arm away"
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
"vlm_failure": {},
|
| 59 |
+
"failure_annotation": {
|
| 60 |
+
"failure_control_step": null,
|
| 61 |
+
"failure_sim_step": null,
|
| 62 |
+
"failure_policy_step": null,
|
| 63 |
+
"failure_chunk_index": null,
|
| 64 |
+
"first_post_failure_policy_step": null,
|
| 65 |
+
"failure_type": null,
|
| 66 |
+
"correction_action": null
|
| 67 |
+
}
|
| 68 |
+
}
|
basket/ep013/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07498299c7bba88eb16556d34a7d4f55e4cb0e2783fa728cc3f42e1bf9f77ea8
|
| 3 |
+
size 3081
|
basket/ep014/example.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep014__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 274 (5.4s at 50 Hz)
|
| 7 |
+
- **policy inferences:** 47 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep014/rollout.mp4`
|
| 9 |
+
- **features:** `47` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–150 | 0–25 | reaching for and grasping basket |
|
| 16 |
+
| 3.0–5.4 | 151–273 | 25–45 | lifting inverted basket straight up |
|
| 17 |
+
|
| 18 |
+
## Failure
|
| 19 |
+
|
| 20 |
+
- **yes**
|
| 21 |
+
- **onset type:** obvious_mistake
|
| 22 |
+
- **onset:** 3.5317460317460316 s (00:03.5)
|
| 23 |
+
- **frame / control_step:** 178 (policy_step=29, chunk_index=4)
|
| 24 |
+
- **coarse onset:** 3.0 s (refined=True)
|
| 25 |
+
- **mode:** placement_or_insertion_failure
|
| 26 |
+
- **reason:** The robot grasps the strap of the inverted basket and lifts it straight upward without executing a rotation, leaving the basket hanging upside down in mid-air.
|
| 27 |
+
Summary: lifting basket straight up; failing to rotate upright
|
| 28 |
+
- **recovery:** Lower the basket back onto the surface, adjust the grasp to an edge, and rotate the end-effector to turn the basket right-side up before setting it down.
|
| 29 |
+
Summary: lower basket; rotate wrist; set upright on table
|
| 30 |
+
- **prevention:** Execute a wrist rotation while lifting or push the edge of the basket to flip it upright onto its base.
|
| 31 |
+
Summary: rotate end-effector while lifting; turn basket right-side up
|
| 32 |
+
- **justification:** Around 3.0 seconds into the rollout, the robot closes its gripper on the inverted basket and lifts straight up without applying any rotational motion. Consequently, the basket stays inverted, failing the task requirement to flip it upright.
|
basket/ep014/labels.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep014__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:35:50+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.996031746031746,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 150,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "reaching for and grasping basket",
|
| 33 |
+
"description": "reaching for and grasping basket"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.996031746031746,
|
| 38 |
+
"t_end_sec": 5.436507936507937,
|
| 39 |
+
"control_step_start": 151,
|
| 40 |
+
"control_step_end": 273,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 45,
|
| 43 |
+
"phrase": "lifting inverted basket straight up",
|
| 44 |
+
"description": "lifting inverted basket straight up"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"vlm_failure": {
|
| 48 |
+
"vlm_failure_mode": "placement_or_insertion_failure",
|
| 49 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 50 |
+
"vlm_failure_onset_seconds": 3.5317460317460316,
|
| 51 |
+
"vlm_failure_onset_timestamp": "00:03.5",
|
| 52 |
+
"vlm_failure_onset_frame": 178,
|
| 53 |
+
"vlm_failure_onset_step": 178,
|
| 54 |
+
"vlm_coarse_failure_onset_seconds": 3.0,
|
| 55 |
+
"vlm_failure_window_start_seconds": 2.5,
|
| 56 |
+
"vlm_failure_window_end_seconds": 3.5,
|
| 57 |
+
"vlm_temporal_refined": true,
|
| 58 |
+
"vlm_confidence": "high",
|
| 59 |
+
"vlm_temporal_confidence": "high",
|
| 60 |
+
"vlm_failure_reason": "The robot grasps the strap of the inverted basket and lifts it straight upward without executing a rotation, leaving the basket hanging upside down in mid-air.",
|
| 61 |
+
"vlm_failure_reason_summary": "lifting basket straight up; failing to rotate upright",
|
| 62 |
+
"vlm_recovery_action": "Lower the basket back onto the surface, adjust the grasp to an edge, and rotate the end-effector to turn the basket right-side up before setting it down.",
|
| 63 |
+
"vlm_recovery_action_summary": "lower basket; rotate wrist; set upright on table",
|
| 64 |
+
"vlm_prevention_action": "Execute a wrist rotation while lifting or push the edge of the basket to flip it upright onto its base.",
|
| 65 |
+
"vlm_prevention_action_summary": "rotate end-effector while lifting; turn basket right-side up",
|
| 66 |
+
"vlm_justification": "Around 3.0 seconds into the rollout, the robot closes its gripper on the inverted basket and lifts straight up without applying any rotational motion. Consequently, the basket stays inverted, failing the task requirement to flip it upright.",
|
| 67 |
+
"vlm_temporal_justification": "At timestamp 02:58 (frame 178), after grasping the strap, the robot arm begins lifting the basket straight upward off the table without attempting any flipping or rotation maneuver, causing the basket to remain upside down in mid-air.",
|
| 68 |
+
"vlm_video_fps": 50.4,
|
| 69 |
+
"vlm_video_num_frames": 274,
|
| 70 |
+
"vlm_video_duration_seconds": 5.416666666666667,
|
| 71 |
+
"vlm_usage": {
|
| 72 |
+
"input_tokens": 19426,
|
| 73 |
+
"output_tokens": 392,
|
| 74 |
+
"cached_tokens": 0
|
| 75 |
+
},
|
| 76 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"placement_or_insertion_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.0,\n \"failure_window_start_seconds\": 2.5,\n \"failure_window_end_seconds\": 3.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot grasps the strap of the inverted basket and lifts it straight upward without executing a rotation, leaving the basket hanging upside down in mid-air.\",\n \"failure_reason_summary\": \"lifting basket straight up; failing to rotate upright\",\n \"recovery_action\": \"Lower the basket back onto the surface, adjust the grasp to an edge, and rotate the end-effector to turn the basket right-side up before setting it down.\",\n \"recovery_action_summary\": \"lower basket; rotate wrist; set upright on table\",\n \"prevention_action\": \"Execute a wrist rotation while lifting or push the edge of the basket to flip it upright onto its base.\",\n \"prevention_action_summary\": \"rotate end-effector while lifting; turn basket right-side up\",\n \"justification\": \"Around 3.0 seconds into the rollout, the robot closes its gripper on the inverted basket and lifts straight up without applying any rotational motion. Consequently, the basket stays inverted, failing the task requirement to flip it upright.\"\n}\n```"
|
| 77 |
+
},
|
| 78 |
+
"failure_annotation": {
|
| 79 |
+
"failure_control_step": 178,
|
| 80 |
+
"failure_sim_step": 178,
|
| 81 |
+
"failure_policy_step": 29,
|
| 82 |
+
"failure_chunk_index": 4,
|
| 83 |
+
"first_post_failure_policy_step": 30,
|
| 84 |
+
"failure_type": "placement_or_insertion_failure",
|
| 85 |
+
"correction_action": "Lower the basket back onto the surface, adjust the grasp to an edge, and rotate the end-effector to turn the basket right-side up before setting it down."
|
| 86 |
+
}
|
| 87 |
+
}
|
basket/ep014/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:611f1a62f4d46653ea607835ceb7855ebcd6eec804b83c15b09ce13d398b09c9
|
| 3 |
+
size 3842
|
basket/ep015/example.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# t002__ep015__basket
|
| 2 |
+
|
| 3 |
+
- **suite / variant:** `` / ``
|
| 4 |
+
- **instruction:** Flip the basket upright
|
| 5 |
+
- **success:** False
|
| 6 |
+
- **control steps:** 463 (9.1s at 51 Hz)
|
| 7 |
+
- **policy inferences:** 80 (replan_steps=6)
|
| 8 |
+
- **video:** `basket/ep015/rollout.mp4`
|
| 9 |
+
- **features:** `80` prefix tensors (`prefix`; model=``)
|
| 10 |
+
|
| 11 |
+
## Semantic timeline
|
| 12 |
+
|
| 13 |
+
| seconds | control_step | policy_step | phrase |
|
| 14 |
+
|---|---|---|---|
|
| 15 |
+
| 0.0–3.0 | 0–151 | 0–25 | approaching and missing basket handle |
|
| 16 |
+
| 3.0–6.0 | 152–303 | 25–50 | retracting and hovering over basket |
|
| 17 |
+
| 6.0–9.0 | 304–455 | 50–75 | hovering near basket |
|
| 18 |
+
| 9.0–9.1 | 456–462 | 76–77 | remaining stationary |
|
| 19 |
+
|
| 20 |
+
## Failure
|
| 21 |
+
|
| 22 |
+
- **yes**
|
| 23 |
+
- **onset type:** obvious_mistake
|
| 24 |
+
- **onset:** 2.677165354330709 s (00:02.7)
|
| 25 |
+
- **frame / control_step:** 136 (policy_step=22, chunk_index=4)
|
| 26 |
+
- **coarse onset:** 3.0 s (refined=True)
|
| 27 |
+
- **mode:** grasp_failure
|
| 28 |
+
- **reason:** The robot attempted to grab the handle of the upside-down basket to flip it, but failed to establish a grip and lifted away without manipulating the object.
|
| 29 |
+
Summary: failed grasp on basket handle; empty retraction
|
| 30 |
+
- **recovery:** Re-align the gripper with the basket's handle or rim, secure a firm grip, and rotate/flip the basket upright.
|
| 31 |
+
Summary: re-grasp basket handle; flip basket upright
|
| 32 |
+
- **prevention:** Precisely align the gripper jaws over the basket handle before closing to ensure a secure grip before executing the flipping trajectory.
|
| 33 |
+
Summary: align gripper with handle; secure grip before flipping
|
| 34 |
+
- **justification:** At around 3.0 seconds, the robot's gripper closes near the handle of the basket but fails to grasp it, retracting empty and hovering unproductively for the remainder of the episode.
|
basket/ep015/labels.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"rollout_id": "t002__ep015__basket",
|
| 3 |
+
"scene_variant": "",
|
| 4 |
+
"task_id": 2,
|
| 5 |
+
"task_file": "",
|
| 6 |
+
"instruction": "Flip the basket upright",
|
| 7 |
+
"success": false,
|
| 8 |
+
"model_id": "",
|
| 9 |
+
"labeler": {
|
| 10 |
+
"backend": "GeminiBackend",
|
| 11 |
+
"model": "gemini-3.5-flash",
|
| 12 |
+
"refine": true,
|
| 13 |
+
"labeled_at": "2026-10-22T19:36:26+00:00",
|
| 14 |
+
"pipeline": "scripts/semantic_failure",
|
| 15 |
+
"prompts": {
|
| 16 |
+
"keyword_phrases": "You are reviewing the SAME complete robot manipulation rollout.\n\nThe video is {hz:.0f} FPS. Each frame is exactly one executed robot action.\nEpisode duration is {duration:.1f} seconds ({n_control} control steps).\n\nTask instruction:\n\"{instruction}\"\n{failure_context}\nFor EACH numbered 3-second window, write a SHORT KEYWORD PHRASE (2\u20136 words)\nfor what the manipulator is doing, like \"reaching for mug\" or \"closing gripper\"\nor \"idle / no progress\". Not a full sentence. Only what is visible in THAT window.\n\nDo not copy a failure mode, failure reason, recovery, or prevention into these phrases.\nThose are stored in a separate array. If a window happens to show a mistake,\ndescribe the visible motion (e.g. \"dropping can\"), not the taxonomy name.\n\nWindows:\n{windows}\n\nReturn ONLY a JSON object:\n{{\"segments\": [{{\"segment_index\": 0, \"phrase\": \"...\"}}, ...]}}\nInclude every segment_index listed above.\n",
|
| 17 |
+
"failure_coarse": "You are reviewing the COMPLETE video of a failed robot manipulation rollout in LIBERO-X.\n\nThe video begins at rollout time 0.0 seconds and has a duration of approximately {duration_seconds:.2f} seconds.\n\nTask instruction:\n\"{task_desc}\"\n\nThe simulator reports that this goal predicate was NOT satisfied at the end of the episode:\n{failing_predicate}\n\nAdditional simulator information:\n{detail}\n\nThe simulator predicate tells you WHAT goal condition was unsatisfied at the end. It does NOT tell you when the behavior that caused the failure began.\n\nYour job is to determine:\n\n1. the primary visible failure mode,\n2. when the failure behavior begins,\n3. why the episode failed (a long reason AND a short keyword summary),\n4. a recovery action for after the failure has already happened (long AND short),\n5. a prevention action for before the failure has happened (long AND short).\n\nFAILURE ONSET DEFINITION\n\nUse exactly one of the following onset types:\n\nobvious_mistake:\n Use this when there is an identifiable task-relevant mistake such as\n dropping an object, knocking an object away, manipulating the wrong\n object, making a failed placement, or otherwise performing an action\n that contributes to the eventual failure.\n\n The onset should be the EARLIEST point where the mistake responsible\n for the eventual failure becomes apparent.\n\noperator_intervention:\n Use this when there is not one discrete mistake, but the robot reaches\n a point where a reasonable human operator would decide that the policy\n needs assistance.\n\n Examples include repeatedly attempting an ineffective action, becoming\n stuck, moving erratically, or clearly ceasing to make useful progress.\n\ntimeout:\n Use this when there is no defensible earlier failure point. If the robot\n continues behaving plausibly but simply does not finish before the time\n limit, the failure onset is the END of the rollout.\n\nIMPORTANT RULES\n\n- Do NOT treat the goal predicate being false early in the rollout as failure.\n Most goal predicates are naturally false until the robot completes the task.\n\n- Do NOT label a temporary mistake as failure onset if the robot later\n successfully recovers from that mistake.\n\n- Use the earliest mistake or intervention point that actually explains the\n eventual failed outcome.\n\n- Do not use hindsight to label normal task execution as failure merely because\n you know the episode eventually fails.\n\n- If there is no identifiable earlier point, use onset_type=\"timeout\" and set\n failure_onset_seconds to approximately {duration_seconds:.2f}.\n\nFAILURE TAXONOMY\n\nChoose exactly one:\n\n{taxonomy}\n\nREASON, RECOVERY, PREVENTION \u2014 TWO VERSIONS EACH\n\nEvery language field has a LONG form and a SHORT keyword summary.\n\nLONG: one or two sentences. Specific enough for a human to audit.\n\nSHORT: 2\u20138 words, semicolon-separated clauses, NOT a full sentence.\n Same style as the 3-second action phrases. Good for later alignment.\n Examples: \"collision with object; dropping gripped object\"\n\nfailure_reason / failure_reason_summary:\n Why this episode failed. Example long: the robot hit the basket while\n carrying the moka pot, dropped it, and knocked the basket over.\n Example short: \"collision with object; dropping gripped object\"\n\nRECOVERY (failure HAS already happened):\n What the robot should do at or immediately after onset, now that the\n scene is already broken. Identify object, action, and the condition to\n restore before continuing.\n Example long: move the basket away from the hot plate, then place the\n moka pot on the hot-plate.\n Example short: \"clear basket; place moka on stove\"\n\nPREVENTION (failure has NOT yet happened):\n The counterfactual at or before onset: what the robot should have done\n so the mistake never occurs. Do not describe post-drop cleanup.\n Example long: place the moka pot on the stove; do not approach the box.\n Example short: \"place moka on stove; avoid box\"\n\nDo not copy taxonomy names into these strings.\n\nReturn ONLY a JSON object with this structure:\n\n{{\n \"failure_mode\": \" \",\n \"onset_type\": \"obvious_mistake|operator_intervention|timeout\",\n \"failure_onset_seconds\":,\n \"failure_window_start_seconds\":,\n \"failure_window_end_seconds\":,\n \"confidence\": \"high|medium|low\",\n \"failure_reason\": \" \",\n \"failure_reason_summary\": \" \",\n \"recovery_action\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \",\n \"justification\": \" \"\n}}\n",
|
| 18 |
+
"failure_refine": "You are reviewing a TEMPORALLY MAGNIFIED clip from a failed robot rollout.\n\nThe complete rollout was already reviewed by another pass of the same VLM.\n\nThe coarse analysis identified:\n\nFailure mode:\n{failure_mode}\n\nFailure onset type:\n{onset_type}\n\nFailure reason:\n{failure_reason}\n\nCoarse onset estimate in the original rollout:\n{coarse_seconds:.2f} seconds\n\nTask instruction:\n\"{task_desc}\"\n\nFailed simulator predicate:\n{failing_predicate}\n\nTEMPORAL MAPPING\n\nThis clip has been deliberately slowed down.\n\nEach SECOND of this clip corresponds to exactly ONE FRAME from the original\nrollout.\n\nTherefore:\n\n refined clip second 0 = original rollout frame {start_frame}\n refined clip second 1 = original rollout frame {start_frame_plus_one}\n refined clip second 2 = original rollout frame {start_frame_plus_two}\n ...\n\nThe clip contains {num_frames} original rollout frames.\n\nYour job is ONLY to refine the temporal location of the failure.\n\nFind the EARLIEST frame in this clip where the failure identified above becomes\nvisibly apparent or where operator intervention becomes justified.\n\nRemember:\n\n- Do not select a temporary mistake if the robot recovers from it.\n- Do not select a frame merely because the task is not complete yet.\n- Select the first frame associated with the behavior responsible for the\n eventual failure.\n- If the coarse event is not actually visible in this clip, return null.\n\nReturn ONLY:\n\n{{\n \"refined_second\":,\n \"confidence\": \"high|medium|low\",\n \"justification\": \" \"\n}}\n",
|
| 19 |
+
"failure_language": "You already analyzed this failed robot rollout. The onset, mode, and taxonomy are FIXED. Do not change them.\n\nTask instruction:\n\"{task_desc}\"\n\nExisting labels:\n- failure_mode: {failure_mode}\n- onset_type: {onset_type}\n- failure_onset_seconds: {onset_seconds}\n- failure_reason: {failure_reason}\n- recovery_action: {recovery_action}\n\nFill the missing language fields.\n\nSHORT STYLE\n2\u20138 words, semicolon-separated clauses, not a full sentence.\nExample: \"collision with object; dropping gripped object\"\n\nRECOVERY vs PREVENTION\n- recovery_action_summary: keyword form of the EXISTING recovery (failure already happened).\n- prevention_action: long, what the robot should have done at or before onset so the failure never happens.\n- prevention_action_summary: keyword form of that prevention.\n\nReturn ONLY:\n\n{{\n \"failure_reason_summary\": \" \",\n \"recovery_action_summary\": \" \",\n \"prevention_action\": \" \",\n \"prevention_action_summary\": \" \"\n}}\n",
|
| 20 |
+
"failure_taxonomy": "- wrong_object: the robot acts on (grasps, pushes, presses, turns, opens, or closes) an object or control other than the one the task specifies, for example picking up the wrong item, pressing the wrong button, or opening the wrong drawer. Use this whenever the robot targets the wrong entity, even if the action itself is also unsuccessful.\n- wrong_target: the robot manipulates the correct object but takes it to the wrong destination, location, or receptacle.\n- press_failure: the robot targets the correct button or knob but does not achieve the required result, for example pressing without triggering it, not pressing far enough, or not turning the knob to the required position. Does not apply if the wrong button or knob was targeted (use wrong_object).\n- open_close_failure: the robot targets the correct container (drawer, door, lid, box, etc.) but does not achieve the required open or closed state, for example a partial opening, a lid left ajar, or a door handle or drawer handle that is grabbed but the door or drawer does not move.\n- grasp_failure: the robot attempts to grasp the correct object but never acquires it securely, including repeated unsuccessful grasp attempts. Does not apply if the object was held and then lost (use object_displacement).\n- object_displacement: the robot unintentionally knocks over, pushes away, or drops an object, including dropping an object it had successfully grasped, in a way that causes task failure.\n- placement_or_insertion_failure: the robot holds the correct object and brings it to the correct target, but the final placement, insertion, position, or orientation is incorrect (e.g. misaligned peg, object resting off-target, tilted or upside down).\n- stuck_or_no_progress: the robot shows visibly unproductive behavior, such as looping, oscillating, repeating the same ineffective motion, hovering without acting, or freezing. The robot is active or idle in a way that clearly is not advancing the task. Does not apply if the robot is moving purposefully but slowly.\n- timeout_or_insufficient_progress: the robot moves purposefully toward completing the task and makes no identifiable mistake, but is too slow to finish before the episode ends. Use only when no other label applies.\n- other: the failure fits none of the labels above. Briefly explain what went wrong.\n"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"semantic_timeline": [
|
| 24 |
+
{
|
| 25 |
+
"segment_index": 0,
|
| 26 |
+
"t_start_sec": 0.0,
|
| 27 |
+
"t_end_sec": 2.9921259842519685,
|
| 28 |
+
"control_step_start": 0,
|
| 29 |
+
"control_step_end": 151,
|
| 30 |
+
"policy_step_start": 0,
|
| 31 |
+
"policy_step_end": 25,
|
| 32 |
+
"phrase": "approaching and missing basket handle",
|
| 33 |
+
"description": "approaching and missing basket handle"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"segment_index": 1,
|
| 37 |
+
"t_start_sec": 2.9921259842519685,
|
| 38 |
+
"t_end_sec": 5.984251968503937,
|
| 39 |
+
"control_step_start": 152,
|
| 40 |
+
"control_step_end": 303,
|
| 41 |
+
"policy_step_start": 25,
|
| 42 |
+
"policy_step_end": 50,
|
| 43 |
+
"phrase": "retracting and hovering over basket",
|
| 44 |
+
"description": "retracting and hovering over basket"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"segment_index": 2,
|
| 48 |
+
"t_start_sec": 5.984251968503937,
|
| 49 |
+
"t_end_sec": 8.976377952755906,
|
| 50 |
+
"control_step_start": 304,
|
| 51 |
+
"control_step_end": 455,
|
| 52 |
+
"policy_step_start": 50,
|
| 53 |
+
"policy_step_end": 75,
|
| 54 |
+
"phrase": "hovering near basket",
|
| 55 |
+
"description": "hovering near basket"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"segment_index": 3,
|
| 59 |
+
"t_start_sec": 8.976377952755906,
|
| 60 |
+
"t_end_sec": 9.114173228346457,
|
| 61 |
+
"control_step_start": 456,
|
| 62 |
+
"control_step_end": 462,
|
| 63 |
+
"policy_step_start": 76,
|
| 64 |
+
"policy_step_end": 77,
|
| 65 |
+
"phrase": "remaining stationary",
|
| 66 |
+
"description": "remaining stationary"
|
| 67 |
+
}
|
| 68 |
+
],
|
| 69 |
+
"vlm_failure": {
|
| 70 |
+
"vlm_failure_mode": "grasp_failure",
|
| 71 |
+
"vlm_failure_onset_type": "obvious_mistake",
|
| 72 |
+
"vlm_failure_onset_seconds": 2.677165354330709,
|
| 73 |
+
"vlm_failure_onset_timestamp": "00:02.7",
|
| 74 |
+
"vlm_failure_onset_frame": 136,
|
| 75 |
+
"vlm_failure_onset_step": 136,
|
| 76 |
+
"vlm_coarse_failure_onset_seconds": 3.0,
|
| 77 |
+
"vlm_failure_window_start_seconds": 2.0,
|
| 78 |
+
"vlm_failure_window_end_seconds": 3.5,
|
| 79 |
+
"vlm_temporal_refined": true,
|
| 80 |
+
"vlm_confidence": "high",
|
| 81 |
+
"vlm_temporal_confidence": "high",
|
| 82 |
+
"vlm_failure_reason": "The robot attempted to grab the handle of the upside-down basket to flip it, but failed to establish a grip and lifted away without manipulating the object.",
|
| 83 |
+
"vlm_failure_reason_summary": "failed grasp on basket handle; empty retraction",
|
| 84 |
+
"vlm_recovery_action": "Re-align the gripper with the basket's handle or rim, secure a firm grip, and rotate/flip the basket upright.",
|
| 85 |
+
"vlm_recovery_action_summary": "re-grasp basket handle; flip basket upright",
|
| 86 |
+
"vlm_prevention_action": "Precisely align the gripper jaws over the basket handle before closing to ensure a secure grip before executing the flipping trajectory.",
|
| 87 |
+
"vlm_prevention_action_summary": "align gripper with handle; secure grip before flipping",
|
| 88 |
+
"vlm_justification": "At around 3.0 seconds, the robot's gripper closes near the handle of the basket but fails to grasp it, retracting empty and hovering unproductively for the remainder of the episode.",
|
| 89 |
+
"vlm_temporal_justification": "At timestamp 02:16 (frame 136), the robot gripper finishes closing without properly capturing or securing the wire handle of the basket. As the arm lifts shortly after, the handle remains on the table, making the grasp failure visibly apparent.",
|
| 90 |
+
"vlm_video_fps": 50.8,
|
| 91 |
+
"vlm_video_num_frames": 463,
|
| 92 |
+
"vlm_video_duration_seconds": 9.094488188976378,
|
| 93 |
+
"vlm_usage": {
|
| 94 |
+
"input_tokens": 21627,
|
| 95 |
+
"output_tokens": 374,
|
| 96 |
+
"cached_tokens": 0
|
| 97 |
+
},
|
| 98 |
+
"vlm_raw_response": "```json\n{\n \"failure_mode\": \"grasp_failure\",\n \"onset_type\": \"obvious_mistake\",\n \"failure_onset_seconds\": 3.0,\n \"failure_window_start_seconds\": 2.0,\n \"failure_window_end_seconds\": 3.5,\n \"confidence\": \"high\",\n \"failure_reason\": \"The robot attempted to grab the handle of the upside-down basket to flip it, but failed to establish a grip and lifted away without manipulating the object.\",\n \"failure_reason_summary\": \"failed grasp on basket handle; empty retraction\",\n \"recovery_action\": \"Re-align the gripper with the basket's handle or rim, secure a firm grip, and rotate/flip the basket upright.\",\n \"recovery_action_summary\": \"re-grasp basket handle; flip basket upright\",\n \"prevention_action\": \"Precisely align the gripper jaws over the basket handle before closing to ensure a secure grip before executing the flipping trajectory.\",\n \"prevention_action_summary\": \"align gripper with handle; secure grip before flipping\",\n \"justification\": \"At around 3.0 seconds, the robot's gripper closes near the handle of the basket but fails to grasp it, retracting empty and hovering unproductively for the remainder of the episode.\"\n}\n```"
|
| 99 |
+
},
|
| 100 |
+
"failure_annotation": {
|
| 101 |
+
"failure_control_step": 136,
|
| 102 |
+
"failure_sim_step": 136,
|
| 103 |
+
"failure_policy_step": 22,
|
| 104 |
+
"failure_chunk_index": 4,
|
| 105 |
+
"first_post_failure_policy_step": 23,
|
| 106 |
+
"failure_type": "grasp_failure",
|
| 107 |
+
"correction_action": "Re-align the gripper with the basket's handle or rim, secure a firm grip, and rotate/flip the basket upright."
|
| 108 |
+
}
|
| 109 |
+
}
|
basket/ep015/labels.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e988cb64cfb79fef1ba3c6d9c82f20fd82972730f5ff3a9b52bf0be9374e7c24
|
| 3 |
+
size 3829
|