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.
ambench-peg-in-hole-fahexa-i00-privileged
| Benchmark | AM-Bench |
| Mode | privileged |
| Twin | ambench-peg-in-hole-fahexa-i00-standard |
| Simulator / robot | ambench / ambench-fahexa |
| Family / instance | peg_in_hole_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
The hovering aerial manipulator starts holding a metal peg (a cylinder 15 cm long and 4 cm in diameter) in its gripper, pointing straight ahead. A wall stands ahead with a blue square socket mounted on its front face: a square frame whose square opening faces the robot and is closed at the back by a red plate. Insert the peg: the centre of the peg's front end (the end pointing ahead at the start) must be inside the square opening and more than 2 cm deep into it (the opening is 3 cm deep up to the red plate). AM-Bench environment PegInHole-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 opening can be as small as 4.5 cm square for the 4 cm peg, the wall tilt of up to 30 degrees changes the insertion direction per instance along with the socket's place, and the peg is held only by the gripper's grip on 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
1041 (8.675 s simulated) in both fresh-process replays, which end in the frozen end state (hash
88054491e8410ae5; 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 bymain. - 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 | PegInHole-Am-FAHexa-Abs-PID-Direct-v0, seed 0, the start's state hash in environment/instance.json (initial_sha 67bd15ae70451731) |
| 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.