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-rotate-valve-fahexa-i00-standard
| Benchmark | AM-Bench |
| Mode | standard (eai-standard/2.2) |
| Twin | ambench-rotate-valve-fahexa-i00-privileged |
| Simulator / robot | ambench / ambench-fahexa |
| Family / instance | rotate_valve_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
Standard-mode twin of ambench-rotate-valve-fahexa-i00-privileged (the same frozen instance: AM-Bench environment RotateValve-Am-FAHexa-Abs-PID-Direct-v0, its seeded reset with seed
0): A valve is mounted on the front face of a wall in front of the hovering aerial manipulator: a large red wheel disc on a short shaft, with a handle bar sticking out of the disc's face toward the robot. Turn the valve: rotate the wheel clockwise, as seen from the robot's side of the wall, by at least 170 degrees from its starting angle. The agent gets only the eai-standard/2.2 client (docs/protocol/standard_mode.md); the simulator runs in
the sim sidecar (environment/docker-compose.yaml, GPU on the sidecar), which owns the scene and records the episode as a
(T, 8) trajectory of AM-Bench's own end-effector pose actions. The collect hook (environment/sim/finalize.sh) ends the
episode, lets the service exit, writes final.json from the live episode's record (no replay) and then films the
trajectory once (the video only); the verifier runs in a separate sandbox (tests/Dockerfile) over those artifacts. Compare against the privileged task to measure the cost of losing
resets and privileged state.
Difficulty
That of ambench-rotate-valve-fahexa-i00-privileged (its README), without resets, object poses or a success measure (the episode just ends, reason success, when the check holds): The valve's pose and angle are not given: the red disc, the blue base plate and the handle have to be located with the onboard cameras, and the turned angle can only be judged from the handle's position around the hub. Clockwise refers to the view from the robot's side of the wall.
Reference solution
solution/oracle_replay.py streams the privileged oracle's rows (solution/oracle_qpos.npy: AM-Bench's scripted expert for
this task, recorded on this instance, then 2 s of holding its last command; one row per control step) as one-second ee_pose
chunks (hold) through the client; after a service crash it waits for the resumed episode and continues from the control
step the service reports.
Verification
Graded by the live episode (owner 2026-10-17): success = the live episode's success, judged by the sim service on the episode the agent ran, with no grading replay (until 2026-10-17: live success ∧ two fresh-process replays that succeed and agree on the outcome). The live service runs camera-free physics (its cameras are drawn by a separate render process), the same computation as a fresh-process replay of its rows. tests/grade.py reads final.json with no network and writes the reward fields (graded_by_live = 1,
replays = 0, infra_error, the crash-recovery fields), plus /logs/verifier/replay.mp4 (the recorded rows drawn by the
render worker in one film pass after the verdict, an illustration: its failure costs the video only). AM-Bench's success
check is evaluated after every control step; the episode ends at the first step where it holds. Before serving, the
service checks the rebuilt scene's state hash against the frozen instance's (instance_mismatch: an infrastructure
failure), and GPU faults in the live episode's physics (live_gpu_faults) make it no verdict on the agent
(infra_error). Oracle: success at control step 1002; the live
episode ended in the privileged oracle's end state (hash 1b976104a88384d6; under the earlier rule both replays did too). nop: the episode ends at the
agent's time-out with the check never met, reward 0.
Resources
Caps per container (PROTOCOL §6).
| Container | CPUs | Memory | Processes | GPU memory | Disk |
|---|---|---|---|---|---|
main (the agent's) |
2 | 4 GiB | 1024 | no GPU | 10 GiB |
sim |
11 | 21 GiB | 1024 | 16 GiB | — |
verifier (as main) |
2 | 4 GiB | no cap | no GPU | 10 GiB |
- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in
gpu_types: L40S, L40, RTX 4090, RTX PRO 6000 Blackwell, held bysim. - Recommended GPU: L40S 48GB / RTX 4090 24GB.
Details
| Episode | one episode, no reset, no step budget: it ends at the first control step where AM-Bench's success check holds, at the task's own time-out (episode length 20 s: control step 2399, reason episode_timeout), when the agent's time is up, or on a simulator error; simulated time advances only with the agent's calls |
| Action space | submit chunks of ee_pose (8: AM-Bench's own action, the tool frame's target pose + the gripper command, streamed at 120 Hz with the agent's dt, a multiple of 1/120 s, hold or linear); observe frames or a watch window; /kinematics (FK / IK of the arm on its airframe, stateless); binary RCB1 responses |
| Cameras | ee_camera (on the end effector), base_camera (on the airframe, looking forward), 384×384 RGB, z-depth on request; drawn by a render-only Isaac process from the physics state |
| Images | the sim sidecar runs efe-private:ambench (BUILD_ONLY, images/ambench/BUILD_ONLY); the agent container and the verifier run the shared client image with its pip pins (embodied_first_exam/standard/client.env) |
| Crash recovery | resume class approx (GPU PhysX replays the journal to the checkpointed state almost always; a rare race can leave the last bits different, so a resume's deviation is recorded, resume_state_mismatch, and the episode continues; the live state after it is graded): every control step journaled, a checkpoint with the state hash after every call; restart: on-failure:6, the service resumes the same episode (docs/protocol/standard_mode.md §13) |
| Benchmark notes | tasks/ambench/README.md |