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

mujoco_playground_spot_getup-privileged

Benchmark MuJoCo Playground
Mode privileged
Twin mujoco_playground_spot_getup-standard
Simulator / robot mujoco / boston-dynamics-spot
Family / instance mujoco_playground/SpotGetup / seed 1
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 SpotGetup (Boston Dynamics Spot), rebuilt in plain MuJoCo from Playground's scene files: Boston Dynamics Spot has fallen over. Make it get up and stand upright at its standing height. It starts lying with its trunk tilted 128.4 deg (Playground's random drop, then a 0.5 s settle) and has 6 s to stand upright at its standing height. The deliverable is one replayable trajectory of joint position targets (/app/output/trajectory.npz, (T, 12), 1 <= T <= 300).

Difficulty

Recovery from a fall: the robot lies on its side or back and has to turn itself over with its legs and then stand up within 6 s, with the trunk, thighs and calves all in contact with the floor (full collisions). The motion is whole-body and contact-rich, and a turn that fails leaves it on its back. Spot's trunk alone weighs 33 kg and its legs are long: a turn has to be timed against gravity.

Reference solution

A policy trained here on Playground's SpotGetup reward (PPO on the CPU; the training code is not in the image), run closed loop until the check completes: upright after 63 control steps, IMU at 0.478 m. Replayed by solution/solve.sh (solution/oracle.npy, 63 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 after 63 control steps. 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_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(1) (a drop; the 0.5 s settle runs in the task's own MuJoCo); chosen (seed 1; skipped 0: not dropped (starts standing))
Actions 12 joint position targets per control step (0.02 s of simulated time); kp = 400 N m/rad, joint damping 20 N m s/rad
Resources 4 CPUs, no GPU (CPU physics, EGL or OSMesa rendering)