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

ambench-push-slider-fahexa-i00-privileged

Benchmark AM-Bench
Mode privileged
Twin ambench-push-slider-fahexa-i00-standard
Simulator / robot ambench / ambench-fahexa
Family / instance push_slider_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, with a horizontal slider mounted on its front face: a straight rail about 1 m long and a red knob that slides along it. The knob starts at the rail's left end (as seen from the robot facing the wall) and must be pushed along the rail until it is within 5 cm of the right end of its travel, i.e. at least 0.95 m along its 1 m travel. AM-Bench environment PushSlider-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 26 s.

Difficulty

The knob has to be driven 0.95 m, almost the whole length of the rail, in one direction against joint friction and damping, and the fixture's place on the wall changes per instance. 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 1353 (11.275 s simulated) in both fresh-process replays, which end in the frozen end state (hash 01a85d356fead490; 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 PushSlider-Am-FAHexa-Abs-PID-Direct-v0, seed 0, the start's state hash in environment/instance.json (initial_sha 9bd26bad8cd1cd81)
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.