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

pandadyn-s07-conveyor-load-brake-unload-i00-realtime

Benchmark Panda Dynamic Scenes
Mode realtime (eai-standard/2.3)
Twin pandadyn-s07-conveyor-load-brake-unload-i00-privileged
Simulator / robot maniskill / franka-panda
Family / instance s07_conveyor_load_brake_unload / seed 0
Oracle full
Agent time budget 3600 s; tokens: protocol default (docs/protocol/running.md "Official runs")
Real time slowdown S = 4 (the world runs at 1/S of real speed: one control step every S x control_dt s of wall time; RCB_SLOWDOWN's default); reset budget 3 (RCB_RESET_BUDGET's default) (PROTOCOL §3)
Base image ghcr.io/mll-lab-nu/efe:pandadyn-0.2.0

Task

Realtime twin of pandadyn-s07-conveyor-load-brake-unload-i00-privileged (same frozen instance and success check as it and as pandadyn-s07-conveyor-load-brake-unload-i00-standard): the agent gets only the realtime client (eai-standard/2.3, docs/protocol/standard_mode.md Part 3); the simulator runs in the sim sidecar on a clock that does not stop, at slowdown S = 4 (one 10 ms control step every 40 ms of wall-clock time), with 3 resets (only the last episode is graded). At the start a small cube (the part) rides along a powered roller conveyor, and a shallow carriage is already coasting along a frictionless rail. Grasp the part with the gripper while it is moving and lift it; set it on the moving carriage and let go while the carriage is still moving; then grip the carriage's vertical handle with both fingers and bring the carriage to a stop, with the part still on it, before it reaches the end of its rail; grasp the part again and lift it off the carriage; finally set it down in a fixed dock and leave it there at rest.

Difficulty

That of pandadyn-s07-conveyor-load-brake-unload-i00-standard, but the scene does not wait between calls: once an episode's clock starts, the moving objects and the robot's servos run whatever the agent does, so the agent has to plan or stream the targets from a program of its own (the task's horizon is 25 s of robot time, about 100 s of wall-clock time at S = 4), and learn the scene from 4 real attempts.

Reference solution

solution/oracle_plan.py plans the privileged oracle's rows (solution/oracle_qpos.npy, one row per control step, hold) into the episode from control step 0 through the realtime client, one chunk of at most 10 s at a time, each at its own step (at), so every row runs at the control step it was recorded for; it uses no privileged information at run time. Checked at S = 4: live success, fresh-process replay success, the same final state.

Verification

The sim service (environment/sim/rcb_realtime.py + rcb_service.py, the shared eai-standard/2.3 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 live 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 (the state hash against the instance's initial_sha; a mismatch is instance_mismatch, an infrastructure failure). The clock's record (stalls, max_lag_s, late_steps, ...) is copied into reward.json and decides nothing. nop: the episode never starts (its clock starts at the first submit), reward 0.

Resources

Caps per container (PROTOCOL §6).

Container CPUs Memory Processes GPU memory Disk
main (the agent's) 4 10 GiB 1024 no GPU 10 GiB
sim 4 12 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 robot 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, paused)
Action space submit chunks of joint_position (8: per arm 7 joint targets + the aperture, one row per 10 ms control step or dt apart) planned from step at; observe now or a watch window; binary RCB1 responses
Cameras overview and closeup (static), 640×480 RGB, z-depth on request, rendered by SAPIEN on the sidecar's GPU
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 realtime layer's: a checkpoint every second of robot time, restart: on-failure:6, the service resumes the same episode, paused
Benchmark notes tasks/pandadyn/README.md