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.

5.4 KB
Raw Blame

pandadyn-d09-lever-launch-catch-reload-i00-standard

Benchmark Panda Dynamic Scenes
Mode standard (eai-standard/2.1)
Twin pandadyn-d09-lever-launch-catch-reload-i00-privileged
Simulator / robot maniskill / franka-panda-bimanual
Family / instance d09_lever_launch_catch_reload / 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:pandadyn-0.2.0

Task

Standard-mode twin of pandadyn-d09-lever-launch-catch-reload-i00-privileged (same frozen instance and success check): the agent gets only the eai-standard/2.1 client (docs/protocol/standard_mode.md Part 1, with the optional reset capability); the simulator runs in the sim sidecar (environment/docker-compose.yaml, GPU on the sidecar for SAPIEN's renderer), which owns the scene, judges the episode live and records every control step it ran. Between the agent's calls the world is frozen; 3 resets, only the last episode graded. The sidecar's adapter (environment/sim/server.py) is the benchmark's realtime twins', code for code, on the same shared service layer, so where a family has that twin the two modes differ only in the clock. Compare against the privileged task to measure the cost of losing privileged state, free resets and self-replay. A ball starts in the right arm's cup. The right arm must load it into the small basket of a passive see-saw launcher and move its cup away. The left arm, holding a mallet, must strike the lever so that the ball is flung up into free flight, and the right arm must catch it in its cup. The right arm then loads the ball into the basket a second time and clears away, and the left arm launches it again. In the end the ball must come to rest inside an open box that slides back and forth on a rail, while the box is moving. The left arm's mallet must never touch the ball.

Difficulty

That of pandadyn-d09-lever-launch-catch-reload-i00-privileged (its README), without object poses or the success signal and with 3 resets: the moving objects are seen only through two static cameras (RGB, depth) and the robot's own proprioception; the simulated clock advances only with the agent's calls (so the agent can look between control steps, at a cost in calls), and a missed catch costs an episode.

Reference solution

solution/oracle_replay.py spends the reset budget on short scouting episodes (the first second of the rows each, then reset), then streams the privileged oracle's rows (solution/oracle_qpos.npy, one row per control step, hold) as one-second joint_position chunks through the client in the last episode; after a service crash it waits for the resumed episode and continues from the control step the service reports. It uses no privileged information at run time.

Verification

The sim service (environment/sim/rcb_service.py, the shared eai-standard/2.1 layer, with environment/sim/server.py, this benchmark's adapter on rcb_pandadyn.Session) judges the episode live and records every control step it ran (trajectory_live.f64); after the agent's time the collect hook stops the agent's programs and signals the service, which writes the last episode's verdict into final.json (graded_by = live, replays = 0; nothing is replayed to grade it) and then renders the video from the graded episode's rows; tests/grade.py (separate sandbox, no network) passes iff the last episode ended in the task's success (every phase in order, no failure: the episode's end, so there is no settle window to add). The frozen start is checked when the first episode begins and after every reset (the state hash against the instance's initial_sha; a mismatch is instance_mismatch, an infrastructure failure). Oracle: the last episode ends in the privileged oracle's final state (hash 08c59a7acb8bb75e). nop: no control step is executed; the episode ends at the collect hook with no phase complete, reward 0.

Resources

Caps per container (PROTOCOL §6).

Container CPUs Memory Processes GPU memory Disk
main (the agent's) 4 10 GiB 2048 no GPU 10 GiB
sim 2 5 GiB 1024 3 GiB —
verifier (as main) 4 10 GiB no cap no GPU 10 GiB
  • GPU: any NVIDIA GPU, held by sim.
  • Recommended GPU: any 8 GB+ NVIDIA GPU with Vulkan (RTX 4090 / L4).

Details

Episode it ends at the first control step where the task has succeeded or failed (the task's horizon, 25 s of simulated time, is a failure), when the agent's time is up, or on a simulator error; 3 resets (POST /reset: the scene rebuilt from the frozen instance); no step budget, the wall clock is the only budget
Action space submit chunks of joint_position (16: per arm 7 joint targets + the aperture, one row per 10 ms control step or dt apart, a chunk at most 10 s); observe frames or a watch window (at most 30 s); binary RCB1 responses
Cameras overview and closeup (static), 640×480 RGB, z-depth on request
Images the sim sidecar runs efe:pandadyn (images/pandadyn/); the agent container and the verifier run the shared client image with its pip pins (embodied_first_exam/standard/client.env)
Crash recovery the shared service layer's: every control step journaled, a checkpoint with the state hash after every call; restart: on-failure:6, the service resumes the same episode
Benchmark notes tasks/pandadyn/README.md