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.

4.5 KB
Raw Blame

labutopia-open-close-i00-privileged

Benchmark LabUtopia
Mode privileged
Twin labutopia-open-close-i00-standard
Simulator / robot labutopia / franka-panda
Family / instance open_close / seed 0
Oracle full
Agent time budget 3600 s; tokens: protocol default (docs/protocol/running.md "Official runs")
Base image ghcr.io/mll-lab-nu/efe-private:labutopia-0.1.0

Task

LabUtopia's open_close (OpenClose), with a Franka Panda arm (7 joints) with its two-finger gripper, fixed to a laboratory bench: Open the top drawer of the cabinet, let go of it, then close it again and let go. Success, at the first control step at which the second condition has held for 60 consecutive control steps (1 s): (1) for 60 consecutive control steps, the drawer handle's centre (/World/Cabinet_01/drawer_handle_top) is more than 0.13 m from where it started and the hand (the point between the fingertips) is more than 0.04 m from the handle's centre; (2) after that, measured from where the handle was at the step (1) was met: the handle's centre is more than 0.13 m from there and nearer to where it started than it was at that step (the drawer has come back, not gone further out), and the hand is more than 0.04 m from the handle's centre. On the bench in front of the arm: a grey cabinet with a white top, about 67 cm deep, 76 cm wide and 79 cm high: two drawers at the top, one above the other, each with a bar handle, and two doors below them. Everything is closed. The deliverable is one replayable trajectory of joint targets (/app/output/trajectory.npz, (T, 18), one row per 1/60 s control step: 9 position targets, then 9 velocity targets).

Difficulty

LabUtopia's level 2. Two manipulations of the same drawer in a row, each ending with the handle released for a second: pull it out more than 13 cm, then push it back more than 13 cm. The agent has full access to the simulator and to LabUtopia's scene and task code, but not to its scripted controller or its motion primitives: it has to build the motion itself from joint targets at 60 Hz.

Reference solution

LabUtopia's scripted controller (openclose, config level2_openclose @ 8df7278), seed 0: the joint targets it sends, one row per control step (float32, as PhysX holds them), cut at the first step at which the rule is met: solution/oracle.npz, 1341 rows, success after 1341 control steps. Replayed and saved by solution/solve.sh; re-checked by the privileged verifier (harbor run -a oracle: two fresh-process replays, same final state).

Verification

tests/grade.py in a separate sandbox without network: two replays of /app/output/trajectory.npz, each in a fresh process, from the verifier's own copy of the instance (tests/instance.json; the rebuilt placements are checked against its recorded hash); pass iff both episodes succeed (the first control step at which the rule is met ends the episode) in the same state (deterministic). nop: no trajectory, reward 0.

Resources

Caps per container (PROTOCOL §6).

Container CPUs Memory Processes GPU memory Disk
main (the agent's) 8 32 GiB 4096 16 GiB 10 GiB
verifier 8 32 GiB no cap 16 GiB no cap
  • GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in gpu_types: RTX 4090, L40S, held by main.
  • Recommended GPU: RTX 4090 24GB / L40S 48GB.

Details

Upstream LabUtopia (github.com/Rui-li023/LabUtopia @ 8df7278; code MIT, assets CC BY-NC 4.0) on NVIDIA Isaac Sim 6.1.0 (LabUtopia pins 5.1.0; the image is built locally, images/labutopia/BUILD_ONLY)
Instance config level2_openclose (task openclose, stage assets/chemistry_lab/lab_001/lab_001.usd) after LabUtopia's reset with seed 0 and 5 physics steps; placement hash 911ba5ada025cd92 (checked on every load), start-state hash 0f55e340d5e61a7e
Rule OpenCloseRule in rcb_labutopia.py: first the handle's centre is more than 0.13 m from where it started with the hand more than 0.04 m from it, for 60 consecutive control steps (opened and released); then, measured from where the handle is at that moment, the handle is more than 0.13 m from there and nearer to where it started than it was, with the hand more than 0.04 m from it, for 60 consecutive control steps (closed and released)
Actions 18 joint targets per control step (1/60 s, one physics step); the first step at which the rule is met ends the episode (tasks/labutopia/README.md)
Resources an RTX-class NVIDIA GPU (Isaac Sim), 8 CPUs, 32 GB of RAM