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

ambench-press-button-fahexa-i00-privileged

Benchmark AM-Bench
Mode privileged
Twin ambench-press-button-fahexa-i00-standard
Simulator / robot ambench / ambench-fahexa
Family / instance press_button_fahexa / 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:ambench-0.3.1

Task

A wall stands in front of the hovering aerial manipulator, and a push button is mounted flat on the wall's front face, facing the robot: a red circular plunger in a dark-grey circular housing. Press the button, i.e. push its spring-loaded plunger into the housing, along the wall's normal, until it is depressed by at least 4 mm (40 % of its 10 mm travel). AM-Bench environment PressButton-Am-FAHexa-Abs-PID-Direct-v0 (the fully actuated hexarotor with the 4-joint arm, AM-Bench's PID controller), its seeded reset with seed 0. The deliverable is one replayable trajectory of AM-Bench's absolute end-effector pose actions at 120 Hz (/app/output/trajectory.npz), graded by AM-Bench's own success check within the task's episode length of 20 s.

Difficulty

The target is small (as little as 6 cm across), its place on the wall and the wall's tilt change per instance, and the plunger springs back: the 4 mm depression has to be produced by pushing along the (possibly tilted) wall normal from a free-flying, hovering base. Privileged mode gives the full simulator state, unlimited resets and self-replay; the tooling offers only the environment's own action, its state and its cameras.

Reference solution

solution/oracle_actions.npy (run by solution/oracle.py through the agent's own tooling): AM-Bench's scripted expert for this task, run on this instance (it reads the simulator's state in closed loop) and recorded, followed by 2 s of holding its last command (a replay may succeed a step later than the live run; rows after success never run). The image has no expert (images/ambench/Dockerfile removes them), and the agent's network reaches only the model APIs and the package registries.

Verification

tests/grade.py in a separate sandbox: two replays, each in a fresh process, from the verifier's own copy of the instance (tests/instance.json; the rebuilt start is checked against its hash); pass iff AM-Bench's success check holds in both (deterministic: the outcome repeats; the end-state hashes are reported as state_identical, not decisive: tasks/ambench/README.md, Determinism). /logs/verifier/replay.mp4 (both onboard cameras) is filmed after the verdict by the film CLI, the same rows drawn by the render worker, an illustration only. Oracle: success at control step 1027 (8.558 s simulated) in both fresh-process replays, which end in the frozen end state (hash fcd4de9b60a77009; a rare race can change the last bits of one, never measured to change the outcome). nop: no trajectory, reward 0.

Resources

Caps per container (PROTOCOL §6).

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

Details

Upstream AM-Bench @ 60bf5b7 (Apache-2.0) on Isaac Lab @ f4aa17f / Isaac Sim 5.1.0; Pyroki @ 2eafc99, acados @ fa0af20
Instance PressButton-Am-FAHexa-Abs-PID-Direct-v0, seed 0, the start's state hash in environment/instance.json (initial_sha c125ec8a4fdd2662)
Actions 8 per control step (1/120 s): end-effector target x y z (m), quaternion w x y z (command frame), gripper (-1 closed .. +1 open)
Physics PhysX on the GPU (dt 1/120 s, one physics step per action), bit-reproducible in a fresh process; the onboard cameras (Session(cameras=True)) are drawn by a second, render-only Isaac process from the physics state
Image built locally on every host (images/ambench/BUILD_ONLY: it contains Isaac Sim); needs an RTX-class NVIDIA GPU (environment/docker-compose.yaml)
Budget the agent's cutoff is the Agent time budget row above (this task's [agent] timeout_sec); out of it, every Python process pays ~2-6 min of Isaac Sim launch + scene build

Provenance

The frozen instance and the expert's rows were recorded in ghcr.io/mll-lab-nu/efe-private:ambench-0.2.0.