beat_block_hammer / reset_failure
The hard one. After a failed episode the world is in a **degraded but
ill-defined** state — hammer might be on the floor, gripper might be wedged,
block might be flipped.
Pipeline
capture_imagehead_camera.- Ask VLM to classify the failure into one of a fixed taxonomy (and free-form):
hammer_dropped— hammer no longer between armshammer_held_wrong— gripper closed on wrong endblock_displaced— block moved out of workspacearms_collided— robot stuckunknown
- Dispatch a recovery sub-routine per mode (each is base-tool sequence). For sim
the cheap fallback is env.reset(next_seed); for real, the recovery has to
be physical.
- Log the whole sequence (pre-image + classification + recovery actions + result)
into DataStore label beat_block_hammer_reset_failure_<mode>/.
Why per-mode labels
So atomic.train can train a reset-policy that handles each mode. Common modes
get more data → better recovery. Rare modes still trigger VLM until they too
accumulate enough data.
Implementation note
Currently sim falls back to env.reset(next_seed) for any mode (sim is cheap
to reset). Real-mode recoveries use the dispatch table; for now those branches
raise NotImplementedError until the corresponding base-tool sequences are written.