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.

3.9 KB
Raw Blame

labutopia-open-drawer-i00-privileged

Benchmark LabUtopia
Mode privileged
Twin labutopia-open-drawer-i00-standard
Simulator / robot labutopia / franka-panda
Family / instance open_drawer / seed 2
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_drawer (Open Drawer), with a Franka Panda arm (7 joints) with its two-finger gripper, fixed to a laboratory bench: Open the top drawer of the cabinet and let go of it. Success, at the first control step at which this has held for 60 consecutive control steps (1 s): the drawer handle's centre (/World/Cabinet_01/drawer_handle_top) is more than 0.12 m from where it started and the hand (the point between the fingertips) 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 1. The drawer has to be pulled out more than 12 cm by a thin bar handle and then released: a grip that slips leaves it short, and a drawer still held does not count. 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 (open, config level1_open_drawer @ 8df7278), seed 2: 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, 641 rows, success after 641 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 level1_open_drawer (task openclose, stage assets/chemistry_lab/lab_001/lab_001.usd) after LabUtopia's reset with seed 2 and 5 physics steps; placement hash c7f2b6488a0e8b8a (checked on every load), start-state hash b8ce7542050b7784
Rule OpenRule in rcb_labutopia.py: the handle's centre is more than 0.12 m from where it started and the hand is more than 0.04 m from the handle's centre (the handle is released), for 60 consecutive control steps (1 s)
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