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

autobio-screw-tighten-i00-privileged

Benchmark AutoBio
Mode privileged
Twin autobio-screw-tighten-i00-standard
Simulator / robot autobio / aloha-2
Family / instance screw_tighten / 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:autobio-0.1.0

Task

AutoBio's screw_tighten (Screw on centrifuge tube cap), with two ALOHA arms (arm1 and arm2; 6 joints and a parallel gripper each), fixed to the bench on either side of the rack: Screw the cap onto the 50 mL centrifuge tube. The tube stands open in the rack; its cap lies on the bench. Success at the first control step where the cap is less than 0.123 m above the tube body's origin (fully screwed on: 0.1197 m), the cap's axis is within 5 mm of the tube's, and the cap's thread (geom 6/nut) touches the tube's (geom 7/bolt). On the bench: a rack with an open 50 mL tube standing in it, and the tube's screw cap lying on the bench. The thread is a real one: the cap goes on only by turning it. AutoBio's prompt for this task: "one grips tube while the other twists cap". The deliverable is one replayable trajectory of joint position targets (/app/output/trajectory.npz, (T, 14), one row per 2 ms control step).

Difficulty

AutoBio's level: hard. A real thread: the cap has to be picked off the bench, set on the tube within 5 mm of its axis and turned down to within 3.3 mm of fully on. The agent has full access to the simulator and to AutoBio's task code, but not to its scripted expert: it has to build the motion itself from joint position targets at the physics rate.

Reference solution

AutoBio's scripted expert (screw_tighten.py @ 0850421), seed 0: the position targets it sends, recorded at every physics step, clipped to the actuators' ranges, rounded to float32 (so the standard twin's client executes the same rows), cut at the first success: solution/oracle.npz, 7638 rows, success after 7638 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 compiled model and the rebuilt start state are checked against its recorded hashes); pass iff both episodes succeed (the first control step at which AutoBio's check holds ends the episode in success) 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) 4 12 GiB 8192 no GPU 10 GiB
verifier 4 8 GiB no cap no GPU no cap
  • GPU: not needed.

Details

Upstream AutoBio (github.com/autobio-bench/AutoBio @ 0850421, no licence stated: the image is built locally, images/autobio/BUILD_ONLY) on MuJoCo 3.3.0
Instance ScrewTighten (screw_tighten.py) after AutoBio's reset(seed=0); model hash f168bb2de7a282c0, start-state hash 2667e5f48d914481, checked on every load
Actions 14 position targets per control step (2 ms, one physics step); success rule first (tasks/autobio/README.md)
Resources 4 CPUs, no GPU (CPU physics, OSMesa rendering)