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.

3.2 KB
Raw Blame

mujoco_playground_spot_flat_terrain_joystick-privileged

Benchmark MuJoCo Playground
Mode privileged
Twin mujoco_playground_spot_flat_terrain_joystick-standard
Simulator / robot mujoco / boston-dynamics-spot
Family / instance mujoco_playground/SpotFlatTerrainJoystick / seed 0
Oracle full
Agent time budget 1800 s; tokens: protocol default (docs/protocol/running.md "Official runs")
Base image ghcr.io/mll-lab-nu/efe:mujoco-0.1.3

Task

MuJoCo Playground SpotFlatTerrainJoystick (Boston Dynamics Spot), rebuilt in plain MuJoCo from Playground's scene files: Make Boston Dynamics Spot follow the joystick command schedule on flat ground for the whole 20 s episode without falling over. For 20 s the robot gets a joystick command schedule (5 segments: planar velocity and yaw rate in its own frame) and must track it without falling over. The deliverable is one replayable trajectory of joint position targets (/app/output/trajectory.npz, (T, 12), T = 1000 (the whole schedule)).

Difficulty

Velocity tracking for 20 s: the agent has to make a 12-joint quadruped walk (a gait, not one motion) and steer it through the schedule's changes of speed, direction and turning rate, and an open-loop trajectory of 1000 steps only works if it is computed against the simulator. Spot is large and heavy, and Playground stops the episode once its trunk tilts by about 32 deg, so the gait has to stay level.

Reference solution

A policy trained here on Playground's SpotFlatTerrainJoystick reward (PPO on the CPU; the training code is not in the image), its targets recorded: worst segment errors 0.155 m/s and 0.072 rad/s. Replayed by solution/solve.sh (solution/oracle.npy, 1000 rows); the rows are float32-exact, so the standard twin's client executes the same targets. Re-verified: two fresh-process replays succeed and end in the same state.

Verification

tests/grade.py in a separate sandbox without network: two replays, each in a fresh process, from the verifier's own copy of the instance (tests/instance.json; the start state is checked against its hash on every load); pass iff both succeed and end in the same state (deterministic). Oracle: success, worst segment errors 0.155 m/s and 0.072 rad/s. nop: no trajectory, 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
verifier 4 8 GiB no cap no GPU no cap
  • GPU: not needed.

Details

Upstream MuJoCo Playground @ 4057c14 (Apache-2.0): locomotion/spot/xmls/scene_mjx_feetonly_flat_terrain.xml; MuJoCo Menagerie @ 1b86ece (boston_dynamics_spot); simulated in MuJoCo 3.3.7 on the CPU
Instance Playground's reset with jax.random.PRNGKey(0) and Playground's command process over the 1000 steps; chosen (seed 0; the first candidate)
Actions 12 joint position targets per control step (0.02 s of simulated time); kp = 300 N m/rad, joint damping 1 N m s/rad, plus the actuators' own damping of 20 N m s/rad
Resources 4 CPUs, no GPU (CPU physics, EGL or OSMesa rendering)