Skip to content

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.

10.6 KB
Raw Blame

roboarc-rope-threading-08-i01-standard

Benchmark RoboARC
Mode standard (eai-standard/2.4)
Twin roboarc-rope-threading-08-i01-privileged
Simulator / robot roboarc / aloha-2
Family / instance rope_threading / 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

Standard-mode twin of roboarc-rope-threading-08-i01-privileged (same frozen instance): the agent gets only the eai-standard/2.4 client (docs/protocol/standard_mode.md); the simulator runs in the sim sidecar (environment/docker-compose.yaml, GPU on the sidecar), which owns the scene and records the episode as a (T, 14) trajectory; its collect hook (environment/sim/finalize.sh) writes the live episode's verdict, then renders the video in one video-only replay of the recorded rows (no grading replay). The verifier runs in a separate sandbox (tests/Dockerfile) over the sidecar's artifacts. Compare against the privileged task to measure the cost of losing resets, privileged state and the tooling's primitives.

Difficulty

Same scene, instance and success rule as roboarc-rope-threading-08-i01-privileged (see its Difficulty). In standard mode the agent loses resets, privileged state and planning primitives: it sees camera images and proprioception only, acts through the client, and gets one episode, so it has to estimate the scene from images and recover from its own mistakes without starting over.

Reference solution

solution/solve.sh streams the rows of the standard reference (solution/oracle_qpos.npy, one joint_position row per control step, hold) through the client (solution/oracle_replay.py): the released reference moved an arm joint target more than the standard service's joint-speed rule (0.04 rad per control step) in 1174 rows; the standard reference is re-recorded from the frozen instance within the rule (its rows are the joint targets the simulator applied, every arm joint step at most 0.04 rad), so the service runs every row as it is (the privileged reference is unchanged). That episode scored 1 (live and fresh replay, end state caaf4eb644bc4593) on the release image efe:roboarc-0.1.0, which holds the same frozen instance and reference rows (efe:roboarc-0.2.0 adds speed cuts in the simulator's host code only; its physics is bit-identical) (2026-10-14; simulator source 37aa7ac0, tooling d8692e15).

Verification

See tests/grade.py.

nop scored 0 on this base in both modes (the release image efe:roboarc-0.1.0; harbor run -a nop with rendering off; 2026-10-14).

Resources

Caps per container (PROTOCOL §6).

Container CPUs Memory Processes GPU memory Disk
main (the agent's) 4 16 GiB 1024 no GPU 10 GiB
sim 2 9 GiB 1024 4 GiB —
verifier (as main) 4 16 GiB no cap no GPU 10 GiB
  • GPU: any NVIDIA GPU, held by sim.
  • Recommended GPU: L40S 48GB / RTX 4090 24GB / L4 24GB (sm_86 or newer).

Details

Goal

Thread the rope through the cyan grommet in the wall (G1) then green ring (A) then purple grommet in the wall (G2) then amber ring (T) then red grommet in the wall (G3) then cyan ring (C), in that order along the rope from material start to material end.

Success requirements

  • Required directions along that material order: cyan grommet in the wall (G1): cross toward the side containing the cyan ring (C); green ring (A): cross away from the side containing the cyan ring (C); purple grommet in the wall (G2): cross toward the side containing the amber ring (T); amber ring (T): cross away from the side containing the purple grommet in the wall (G2); red grommet in the wall (G3): cross toward the side containing the green ring (A); cyan ring (C): cross away from the side containing the green ring (A). Do not reverse the crossing directions.
  • Pass fully through each required hole exactly once, with no extra crossings or ambiguous tangencies. Keep the full rope thickness clear of the rim, with an additional 0.1 mm radial margin; the passage must clear both sides of each ring's thickness, not just its middle plane.
  • Keep every rope point at or below 10 mm/s. Holding is allowed; release is not required.
  • Keep the rope intact; collapsed or inverted rope volume is not accepted.
  • 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 544 rigid capsule links (5.5 mm long, 8 mm thick) joined end to end; each joint bends and twists against a spring set by the rope's material, 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 6 m/s or spinning faster than 300 rad/s is slowed by extra damping (a speed clamp); this is not reported and does not end the episode. Pulled harder than about 997 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 (reported in clipped[]).
  • 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 (meta["safety"]), 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).
  • Sizes (rope radius 4 mm): G1: inner radius 40 mm, tube radius 6 mm, centreline passage radius 36.9 mm on the middle plane and 39.2 mm on the two tube-offset planes; A: inner radius 35 mm, tube radius 6 mm, centreline passage radius 31.9 mm on the middle plane and 34.2 mm on the two tube-offset planes; G2: inner radius 40 mm, tube radius 6 mm, centreline passage radius 36.9 mm on the middle plane and 39.2 mm on the two tube-offset planes; T: inner radius 35 mm, tube radius 6 mm, centreline passage radius 31.9 mm on the middle plane and 34.2 mm on the two tube-offset planes; G3: inner radius 40 mm, tube radius 6 mm, centreline passage radius 36.9 mm on the middle plane and 39.2 mm on the two tube-offset planes; C: inner radius 35 mm, tube radius 6 mm, centreline passage radius 31.9 mm on the middle plane and 34.2 mm on the two tube-offset planes.
  • Aperture check: round_ring, compression allowance 1 mm. This allowance changes the geometric passage test; the collision geometry stays as declared.
  • The material start is the rope end that is farther from the rings at the start.
  • Only the grippers' fingers collide with the rope and the rings: every other robot part (palms, wrists, arm links, bases) passes through them without contact, so only the fingers can push, pinch or hold the rope.
  • Grasp regions (assisted grasping, see Grippers above; one or more spheres per graspable part): rope: 544 spheres of radius 8 mm. Both finger contacts must lie inside one of the part's spheres; a part touched elsewhere is grasped physically.
  • Grading: the live episode is the verdict: success needs it to succeed with the thresholds above (within its confirmation time); a live failure is final. Nothing is replayed to grade it: the video is rendered afterwards from the recorded rows and never changes the grade.
mode standard (RGB, optional depth, proprioception, calibrated cameras, no reset)
action space eai-standard/2.4: submit chunks of joint_position (14, streamed at the 25 Hz control rate with the agent's dt) or ee_pose (16, IK per row); observe frames or a watch window; binary RCB1 responses
oracle full (solution/)
verification success = the live success: the task predicate on the live simulator with the instance's own thresholds (its confirmation time included), as the sim service recorded it (final.json: graded_by live, replays 0); no grading replay. The frozen instance is checked when the service builds it (instance_mismatch: infrastructure). After the verdict is written, one video-only fresh-process replay in the sidecar's collect hook renders /logs/verifier/replay.mp4 (and, for a success held for review, the frames around its live review events); a failed video never changes the verdict
crash recovery eai-standard/2.4 §13: journal + per-call checkpoints, restart: on-failure:6, resume class approx

Provenance

  • Frozen instance: a MuJoCo instance (simulator.physics_engine "mujoco", its scene frozen under instance_assets/mujoco/), built by TopoGym source a018f53a (MuJoCo instance made before this image was built (TopoGym source a018f53a; its bytes are bound into the release image efe:roboarc-0.2.0)); bound to this release's runtime (source c9171f79, tooling d8692e15).
  • Frozen instance files (instance.json, instance_assets/): not in this directory. The public image carries them in /opt/robotangle/instances/rope-threading-08-i01/ (images/roboarc/assets.json pins each file's sha256), and /opt/robotangle/stage_instance.py copies this task's instance next to its runtime_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, image ghcr.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 tooling rcb_topogym.py, TOPOGYM_* variables.