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.7 KB
Raw Blame

labutopia-press-i00-privileged

Benchmark LabUtopia
Mode privileged
Twin labutopia-press-i00-standard
Simulator / robot labutopia / franka-panda
Family / instance press / 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 press (Press), with a Franka Panda arm (7 joints) with its two-finger gripper, fixed to a laboratory bench: Press the red button on the instrument's front panel and keep it pressed. Success, at the first control step at which this has held for 60 consecutive control steps (1 s): the button's cap (/World/target_button/button) is beyond x = 0.405 m. It starts at x = 0.40 m and is pushed in along +x. In front of the arm stands an instrument with a vertical front panel that carries three square buttons in a row, each 8 cm across: one red, two dark grey. 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 target is one of three identical buttons told apart by colour only, on a vertical panel at arm's length; it has to be held in for a full second. 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 (press, config level1_press @ 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, 328 rows, success after 328 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 39 GiB 16384 16 GiB 20 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_press (task press, stage assets/chemistry_lab/lab_003/lab_003.usd) after LabUtopia's reset with seed 0 and 5 physics steps; placement hash a6133f1b6f914c4c (checked on every load), start-state hash b165eeea0d847840
Rule PressRule in rcb_labutopia.py: the target button's cap is pushed in beyond x = 0.405 m (it starts at x = 0.40), 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