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.
humanoidbench-loco-balance-hard-i00-privileged
| Benchmark | HumanoidBench |
| Mode | privileged |
| Twin | humanoidbench-loco-balance-hard-i00-standard |
| Simulator / robot | humanoidbench / unitree-h1 |
| Family / instance | balance_hard / seed 0 |
| Oracle | none — none known: no run has passed it, and published RL reaches 31% of the bar (paper 57, FastTD3 244, bar 800) with upstream's mesh feet on MuJoCo 3.1.6 (box feet since image 0.2.0); human review in PR #9 |
| Agent time budget | 3600 s; tokens: protocol default (docs/protocol/running.md "Official runs") |
| Base image | ghcr.io/mll-lab-nu/efe:humanoidbench-0.2.0 |
Task
HumanoidBench balance_hard: produce one replayable trajectory that keeps the Unitree H1 standing on a board balanced on a rolling sphere, frozen scene instance 00.
Difficulty
The pass mark is a threshold on the whole episode's return (>= 800 over 1000 steps), not a
predicate on the final state.
- Same reward function as
balance_simple, three times the gap to the bar. The published best goes from 98.6% to 31% with no change to the scoring code — only the support changes, from a board on a fixed pivot to a board on a free-rolling sphere (task DoF 7 → 14): the pair isolates how much of a task's difficulty is the reward and how much is the physics, and of the two this one stays (upstream's hard version). - The support drifts. A rolling fulcrum integrates the robot's errors instead of merely reflecting them, so a correction that works once stops working a second later; there is no fixed operating point to stabilise around.
- An all-zero trajectory terminates at step 46, earlier than on the simple board.
Measured floors (this instance): an all-zero trajectory scores 30.42 / 800 (the episode terminates at step 46 of 1000). Holding the starting pose instead — the floor a competent agent gets before writing a controller — scores 4.6% of the bar; that is the number this task was selected on (the benchmark's give-away limit). External evidence: published RL results reach 31% of the bar (paper 57, FastTD3 244, bar 800) — training runs of millions of environment steps, not a one-hour coding session, so treat it as proof that the task has a solution rather than as a target.
The agent does not see the reward function. It is deleted from the image and restored only
inside the verifier (images/humanoidbench/scrub_oracles.py, tests/rcb_rewards.py), so the
numbers above are upstream's own scoring (on our physics: see Physics vs upstream) while the agent
works from the task statement and the physical state alone.
Reference solution
None. Requiring one would cap the benchmark at what we can already solve, which systematically
removes the interesting tasks. What replaces it (docs/protocol/README.md §4): the floor above
(doing nothing cannot pass), the evidence that the task has a solution (oracle_evidence in
task.toml), and a human reviewer.
Verification
In its own container, built from tests/Dockerfile (no network): the agent's container is gone by
then, and only /app/output/ crosses over. Open-loop replay of /app/output/trajectory.npz from
tests/instance.npz in a fresh process, twice; pass iff every replay's episode return reaches
success_bar and the final-state hashes agree (bit-exact determinism). tests/grade.py also
writes /logs/verifier/replay.mp4 and, because Harbor promotes every reward.json key to a
leaderboard metric, keeps the per-task numbers (episode_return, success_bar) in
/logs/verifier/diagnostics.json. No oracle; human review in PR #9. nop scores 0.
Resources
Caps per container (PROTOCOL §6).
| Container | CPUs | Memory | Processes | GPU memory | Disk |
|---|---|---|---|---|---|
main (the agent's) |
16 | 20 GiB | 2048 | no GPU | 10 GiB |
| verifier | 4 | 8 GiB | no cap | no GPU | no cap |
- GPU: not needed.
Details
| Capability class | C3 · quasi-static stabilisation |
| Physics vs upstream | upstream's model (HumanoidBench cb11890) on MuJoCo 3.3.7, not the 3.1.6 upstream pins, whose convex collision reported wrong contacts; results on image 0.1.6 or earlier are other physics and are reported apart (tasks/humanoidbench/README.md, Physics). Also fixed here: box feet: a mesh foot on a box gets one contact point, which on 3.1.6 reported wrong depths (a robot with every joint locked slid off a stair tread) and on 3.3.7 never comes to rest; each foot is four boxes that follow the mesh's hull, the sole exactly (images/humanoidbench/box_feet.py). |
GPU
Optional, and passing never depends on it: MuJoCo physics is CPU-only, so a GPU only speeds up the
agent's own offscreen rendering (osmesa ~130 ms/frame, egl ~0.4 ms). Hand one to the agent's
container with --extra-docker-compose environment/gpu.docker-compose.yaml; rcb_hb.py then picks
EGL by itself unless MUJOCO_GL says otherwise. The overlay is not named docker-compose.yaml
because Harbor would load that on every machine, and a device reservation the host cannot satisfy
stops the container from starting.
Provenance
The instance (environment/instance.npz and its byte copy tests/instance.npz) is seed 0 (sha d0209e3edd87).