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

labutopia-shake-i00-privileged

Benchmark LabUtopia
Mode privileged
Twin labutopia-shake-i00-standard
Simulator / robot labutopia / franka-panda
Family / instance shake / 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 shake (Shake (LabUtopia's level-2 ShakeBeaker is the same task)), with a Franka Panda arm (7 joints) with its two-finger gripper, fixed to a laboratory bench: Pick up the beaker, shake it, and hold it still. Nothing is counted at a control step at which the beaker's centre is less than 0.05 m above where it started. Success, at the first control step at which the second condition is met: (1) five times, the beaker's centre gets 0.05 m or more (horizontally) from where it was when that count began (each count begins at the next step); (2) after the fifth, its centre stays within 0.01 m in x and in y over 60 control steps (1 s). On the bench in front of the arm: one small glass beaker, about 6.5 cm across and 10 cm tall. 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. A small beaker has to survive five quick moves of 5 cm in the grip and then be held within 1 cm for a second: the grasp has to be firm enough for the accelerations. 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 (shake, config level1_shake @ 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, 1087 rows, success after 1087 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_shake (task shake, stage assets/chemistry_lab/lab_003/lab_003.usd) after LabUtopia's reset with seed 0 and 5 physics steps; placement hash 7b35fdf9cf30147c (checked on every load), start-state hash 536512837f73b9e1
Rule ShakeRule in rcb_labutopia.py: counted only while the beaker's centre is at least 0.05 m above where it started: five times in a row the centre moves 0.05 m or more (horizontally) from where it was when that count began; after the fifth, the centre stays within 0.01 m in x and in y over 60 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