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

pandadyn-d07-spring-gate-switchyard-i00-privileged

Benchmark Panda Dynamic Scenes
Mode privileged
Twin pandadyn-d07-spring-gate-switchyard-i00-standard
Simulator / robot maniskill / franka-panda-bimanual
Family / instance d07_spring_gate_switchyard / 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

A low-friction puck slides inside a U-shaped pen of bouncy rails that is open toward the right arm, and a spring-loaded swinging gate stands inside the pen. The left Panda has a bare gripper. It must take hold of the gate's handle (the block on the gate's free end) with both fingers, swing the gate open one way, and keep holding the handle with the gate well open whenever a later phase is judged. The right Panda's paddle must then hit the puck so that it travels deep into the pen. While the puck runs round, the left hand, still gripping, must swing the gate the other way: at the moment the puck hits the upper (+y) rail, the gate must be at that opposite angle. The right paddle then intercepts the puck. Finally the puck must cross a goal line in front of a backstop on the right arm's side while the left hand still holds the handle with the gate deflected well away from its rest position and the paddle is not touching the puck. The deliverable is one replayable trajectory of 100 Hz joint-target actions (/app/output/trajectory.npz, 16 values per row), graded by the task's own staged success check: 5 phases (left_gate_open, right_loop_shot, gate_reconfiguration, return_interception, final_gate_shot), in order, with no failure event and no safety-limit violation, within the task's horizon of 35 s.

Difficulty

The left hand must keep a two-finger hold on the handle of a light, spring-loaded gate and swing it from one side to the other in time with a fast, bouncing puck. The swing must reach the opposite angle exactly when the puck hits the upper rail. Meanwhile the right paddle must time two separate contacts, and every judged moment, the final crossing included, needs the gate held by its handle and well open. Privileged mode gives the full simulator state (every object's pose and velocity, the fixtures, the announced goals), the parameters, unlimited exact resets and snapshots, and self-replay; the tooling offers only joint targets and kinematics. This mode is the control for the standard twin.

Reference solution

solution/oracle_actions.npy (2526 control steps, run by solution/oracle.py through the agent's own tooling): a recorded rollout of this instance by the benchmark's reference controller, which reads the simulator's true state in closed loop, replayed open-loop. The reference controllers and their recordings are not in the image, 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 the task's success check holds in both (every phase complete, no failure) and both end in the same state (deterministic), plus /logs/verifier/replay.mp4 (overview camera). Oracle: 2526 control steps (25.26 s simulated), success at the last one; the oracle run and two fresh-process replays end in the same state (hash 41950603763b76ec), and the rollout reproduces the physical state the benchmark recorded for it after every control step, bit for bit. nop: no trajectory, reward 0; a trajectory that holds the arm still fails (the benchmark's parked controls never succeeded).

Resources

Caps per container (PROTOCOL §6).

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

Details

Benchmark source Panda Dynamic Scenes (the environment package images/pandadyn/panda_dynamics/, from images/pandadyn/sync_env.py); task PandaMultiStage/D07-SpringGateSwitchyard-v0
Instance difficulty nominal, seed 0, the resolved parameters and the start's state hash in environment/instance.json (initial_sha 09f02cb9cf2b1779)
Actions 16 per control step (10 ms): per arm 7 absolute joint targets (rad) + the total aperture (m); a Ruckig + torque servo per arm
Physics CPU PhysX at 1000 Hz with enhanced determinism (single thread); SAPIEN renders on the GPU only when a frame is asked for
Image images/pandadyn/ (public); needs an NVIDIA GPU with Vulkan for SAPIEN (environment/docker-compose.yaml)
Budget the agent's cutoff is the Agent time budget row above (this task's [agent] timeout_sec); a scene builds in ~5-15 s

Provenance

Scene description D07, frozen instance D07-SpringGateSwitchyard-i00, chosen and frozen in ghcr.io/mll-lab-nu/efe:pandadyn-0.2.0.