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-lemon-harvesting-fahexa-i00-privileged

Benchmark AM-Bench
Mode privileged
Twin ambench-lemon-harvesting-fahexa-i00-standard
Simulator / robot ambench / ambench-fahexa
Family / instance lemon_harvesting_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

One lemon and six limes are fixed to the front face of a wall in front of the hovering aerial manipulator, and a grey storage tote sits on a small table against the wall to the robot's left. Harvest the lemon: free it from the wall and get it into the tote. Success needs the lemon's reference point (the base of the fruit) inside the tote's nominal box while the gripper is fully open. AM-Bench environment LemonHarvesting-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 30 s.

Difficulty

The lemon has to be told apart from six fixed limes, freed from a joint that only gives way under a 10 N load, carried to the tote and let go with the gripper fully open, all from a hovering base; the fruits' places on the wall change 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 1739 (14.492 s simulated) in both fresh-process replays, which end in the frozen end state (hash a0426217ca460de2; 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 LemonHarvesting-Am-FAHexa-Abs-PID-Direct-v0, seed 0, the start's state hash in environment/instance.json (initial_sha a4bbf9bad3a9583c)
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.