The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.
roboarc-knot-untying-09-i01-privileged
| Benchmark | RoboARC |
| Mode | privileged |
| Twin | roboarc-knot-untying-09-i01-standard |
| Simulator / robot | roboarc / aloha-2 |
| Family / instance | knot_untying / seed 0 |
| Oracle | full |
| Agent time budget | 10800 s; tokens: protocol default (docs/protocol/running.md "Official runs") |
| Base image | ghcr.io/mll-lab-nu/efe:roboarc-0.2.0 |
Task
RoboARC knot_untying (ALOHA 2, MuJoCo): produce one replayable trajectory. Untie and spread the rope on the tabletop until its top-down projection has no crossings or overlaps, then release it. One end of every rope is clamped to the table under a staple and stays clamped. Lay the rope inside the green dashed goal region. The goal region is not drawn in the scene: the region images /app/goal/region_cam_high.png (from the overhead camera cam_high) and /app/goal/region_cam_low.png (from the low oblique camera cam_low) show the start scene with the region's dashed line drawn in. Frozen scene instance (variation knot_untying_rd_medium, seed 0).
Difficulty
Two 6-dof aloha (viperx) arms with parallel-jaw grippers on a fixed base with a 14-D joint-target action space at 40 Hz; success needs the task's predicate (above) held for 0.5 s. Grasping: assisted grasping (contact_weld_v1).
Reference solution
solution/solve.sh copies solution/trajectory.npz (sha256 61f4be9922b7c662…) to /app/output/: the MuJoCo reference, which its author replayed to success with a reproducible end state outside Harbor. No Harbor oracle trial of it has been run yet, so no score is claimed here.
Verification
Open-loop replay of /app/output/trajectory.npz from the frozen instance (/tests/instance.json, staged from the image and checked against tests/runtime_binding.json) in a fresh process, twice; pass iff the
task's predicate holds after every replay (tests/grade.py). /logs/verifier/replay.mp4 is rendered during the second
replay (two passes, no separate video replay). The physics runs on the CPU and is bit-deterministic on one host; the
final-state hashes (deterministic) are still diagnostic; the rebuilt frozen scene must match (instance_ok)
(Embodied First Exam's GPU-backend rule).
The replays are grading replays (tooling v18): if this family's episode has not ended after the last row, the
final targets are held for up to 2 s with the replay tolerances of the grader details; at least one replay must
reach the goal with the instance's own thresholds within the trajectory's rows.
A trajectory may have at most 45000 rows (RCB_MAX_STEPS: two replays must fit the verifier's timeout; a longer one is
bad_trajectory).
nop: no record yet on this base (harbor run -p tasks/roboarc-knot-untying-09-i01-privileged -a nop).
Resources
Caps per container (PROTOCOL §6).
| Container | CPUs | Memory | Processes | GPU memory | Disk |
|---|---|---|---|---|---|
main (the agent's) |
7 | 23 GiB | 1024 | 4 GiB | 10 GiB |
| verifier | no cap | no cap | no cap | 4 GiB | no cap |
- GPU: any NVIDIA GPU, held by
main. - Recommended GPU: L40S 48GB / RTX 4090 24GB / L4 24GB (sm_86 or newer).
Details
| Grasping | assisted grasping (contact_weld_v1) |
| Success rule | task-native success (goal_complete True; frozen parameters; terminal revision terminal_v5_fixed_contact_active_clearance_1mm) |
Goal
Untie and spread the rope on the tabletop until its top-down projection has no crossings or overlaps, then release it. One end of every rope is clamped to the table under a staple and stays clamped. Lay the rope inside the green dashed goal region. The goal region is not drawn in the scene: the region images /app/goal/region_cam_high.png (from the overhead camera cam_high) and /app/goal/region_cam_low.png (from the low oblique camera cam_low) show the start scene with the region's dashed line drawn in.
Success requirements
- Remove projected crossings, overlaps, collapsed projected segments and exact foldbacks. Nonlocal rope segments must be separated by at least one rope diameter in the top-down view; merely changing over/under order is insufficient.
- Keep the entire rope close to the tabletop: no point more than 1 mm below it, and no point higher than one rope diameter plus 3 mm above it.
- Release all target parts and disengage any assisted grasp. Keep at least 1 mm of verified clearance between the rope and grippers or other robot links that can move. World-fixed bases may touch the rope normally. Interior overlap with any robot part is forbidden; ambiguous bounding-volume overlaps require a native-solid geometry check.
- During confirmation, every target point or rigid body's linear speed must be at most 1 mm/s and its displacement from the start of confirmation at most 1 mm.
- Put the whole centre line of the rope inside the green dashed goal region: the inner edge of the 2 mm wide dashed green line is the containment limit; it encloses a rectangle 460 mm wide (left to right in cam_high's image) and 330 mm deep. Every point of the centre line counts; the rope's own thickness may reach over the line.
- Keep all final conditions satisfied together for at least 0.5 s of simulation time. If any final condition stops holding, the confirmation interval starts again. A brief qualifying pose is not enough; let the simulation advance through the full interval.
Grader details (in addition to the requirements above)
- The rope is a chain of 318 rigid capsule links (4.5 mm long, 8 mm thick) joined end to end; each joint bends and twists against a spring set by the rope's material (Young's modulus 50 kPa), with damping, and stops bending at 0.9 rad, where neighbouring links touch. The links do not deform: nothing about the rope's shape or volume ends the episode. A link moving faster than 2 m/s or spinning faster than 150 rad/s is slowed by extra damping (a speed clamp); this is not reported and does not end the episode. Pulled harder than about 14.9 N, the rope's links get extra rotational inertia (a tension guard), which only removes energy and is not reported.
- Robot safety (this benchmark's tooling): no gripper target goes lower than 15 mm below the tabletop; a commanded target that would bring any part of a gripper lower is stopped there, on the commanded path. The fingertips reach about 16 mm beyond the tool frame (TCP) along its approach axis, open or closed. Arm drive torques are capped (the effort limits in robot_spec), so an arm pushing against an obstacle stalls at that torque. An arm with any part more than 5 mm deep in a fixed object (a fixture, the table) is stopped where it is: its joint targets become its measured joints for that control step, so it stops pushing (the safety readings report these stops as static_guard).
- Forcing is recorded, not judged: an arm drive (not a gripper drive) at 95% of its torque cap or more while that arm's gripper, or a part it holds, presses on anything else with 20 N or more in total is forcing; 0.5 s of it on every physics tick is a forcing event in the evidence (
s.safety(),s.status()["forcing"]), shown to the reviewer when a success is reviewed. Forcing does not end the episode and does not change the grade by itself. - Simulator breakdown (a MuJoCo instability: a non-finite or diverging acceleration, position or velocity): the episode ends as an infrastructure error, not your failure, unless an arm was forcing (even for one tick) within the 0.25 s before it: then it is your failure (forced_breakdown: what broke and what forced it).
- The rope is 8 mm thick (radius 4 mm), so its highest point may be at most 11 mm above the tabletop.
- "Nonlocal" means at least 16 mm apart along the rope: such parts of the rope's centreline must be at least 8 mm apart in the top view. Closer parts are exempt, but an actual crossing always counts.
- The release check bounds the rope's volume mesh (carried rigidly by its capsule links), element by element, against the robot's collision geometries and decides the close ones with the exact solids: every robot part that can move (grippers, arm links) needs at least 1 mm of clearance from the rope; a world-fixed base may touch it. An overlap with the interior of any robot part means the release is not certified: no success while it lasts, never a failure.
- Grasp regions (assisted grasping, see Grippers above; one or more spheres per graspable part): rope: 318 spheres of radius 8 mm. Both finger contacts must lie inside one of the part's spheres; a part touched elsewhere is grasped physically. Each region's centre (in its link's frame) is in
/app/instance.jsonundersimulator.grasp_assist.targets. - Grading: the verifier replays your trajectory twice in a fresh process. This family's physics runs on the CPU (MuJoCo, float64), so a replay reproduces your own run on the same host; the rule is kept as a margin: each replay runs the rows with the thresholds above and, if the episode has not ended after the last row, holds the final targets for up to 2 s (80 control steps), stopping at the first success or failure, so a confirmation that starts a few physics ticks later than in your own run can still complete; during that hold it accepts rope speeds up to 1.25 mm/s instead of 1 mm/s. Success needs both replays to succeed AND at least one of them to reach the goal with the thresholds above within your own rows (not only in the hold). Nothing else is relaxed: every other condition, the failure conditions and the confirmation time are the same. A recording stops at your own success, so a replay whose confirmation ends a few ticks later needs more rows: you may append copies of the final row (holding still) before saving.
s.replay(actions, grading=True)replays as the verifier does. - A failure is reported in
s.status()["episode_end"]as "forced_breakdown: " (: the readable reason);s.safety()reports forcing, contact depths, volume ratios and table-guard stops against these limits.
Provenance
- Frozen instance: a MuJoCo instance (
simulator.physics_engine"mujoco", its scene frozen underinstance_assets/mujoco/), built by TopoGym sourcec9171f79(MuJoCo instance made before this image was built (TopoGym source c9171f79; its bytes are bound into the release image efe:roboarc-0.2.0)); bound to this release's runtime (sourcec9171f79, toolingd8692e15). - Frozen instance files (
instance.json,instance_assets/): not in this directory. The public image carries them in/opt/robotangle/instances/knot-untying-09-i01/(images/roboarc/assets.jsonpins each file's sha256), and/opt/robotangle/stage_instance.pycopies this task's instance next to itsruntime_binding.json, which names the instance's canonical sha256 and every asset's sha256. The tooling checks them again at every session start. - Release: dev/robotangle_mujoco
7947eaa7b, imageghcr.io/mll-lab-nu/efe:roboarc-0.2.0(images/roboarc/). - Name: RoboARC is the published name of this benchmark. Code identifiers keep the simulator's name: the simulator package
topogym, the toolingrcb_topogym.py,TOPOGYM_*variables.