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.

4.5 KB
Raw Blame

dexjoco-bimanual-hanoi-i00-privileged

Benchmark DexJoCo
Mode privileged
Twin dexjoco-bimanual-hanoi-i00-standard
Simulator / robot dexjoco / franka-allegro-bimanual
Family / instance bimanual_hanoi / 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:dexjoco-0.1.2

Task

DexJoCo bimanual_hanoi (two Franka Panda arms, each with a 16-DoF Allegro hand): Tower of Hanoi with three disks on three vertical posts in a row along y: the small disk is on post A (y > 0, the left arm's side), the medium disk on post B (middle), the large disk on post C (y < 0). Build the full tower on post C: large at the bottom, then medium, then small, posts A and B empty, every disk at rest and seated on the post (horizontally within 4 cm of it, at its stacking height within 1.2 cm), held for 20 consecutive control steps. A larger disk resting on a smaller one, or a disk resting on the table, for 10 consecutive steps ends the episode as a failure. Privileged mode: the agent works in the simulator's container with live object poses, unlimited resets and thin motion primitives, and hands in one trajectory replayed open-loop from the frozen instance.

Difficulty

First-pass rating: medium. Dexterous manipulation with two 16-DoF hands on two arms (46 action values per control step); the primitives only move tcp and hand-joint targets, so grasping, pressing and every other skill is the agent's. The reference (the human teleoperator's demonstration) takes 1085 control steps (21.7 s at 50 Hz).

Reference solution

solution/oracle_trajectory.npz = the human demonstration's own actions, rounded to float32 (the standard client's precision; the rounded rows still succeed) and replayed from the frozen instance until the episode ends in success (1085 rows). The demonstration is public (DexJoCo-Datasets-Raw on Hugging Face), so agent egress is limited to the model APIs.

Verification

Open-loop replay of /app/output/trajectory.npz from tests/instance.npz, twice in a fresh process in the verifier's own sandbox (no network); pass iff both episodes end in success and their final-state hashes agree (tests/grade.py); plus /logs/verifier/replay.mp4, rendered after the verdict is written. A rebuilt instance that does not match its recorded hash (the image no longer rebuilds the scene) replays nothing and gives no verdict: instance_mismatch, grader_error and infra_error = 1, not the agent's 0. A file that is not a readable trajectory (not an npz, no task / actions, a wrong shape, NaN) or has more than 50,000 rows scores 0 as bad_trajectory: the cap is what two replays of the slowest family fit into the verifier's 3600 s. A verifier that runs fewer than 4 OpenBLAS threads (fewer than 4 CPUs visible to it) replays nothing and gives no verdict: too_few_cpus, grader_error and infra_error = 1, not the agent's 0. Oracle: success after 1085 control steps.

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 no cap no cap no cap no GPU no cap
  • GPU: not needed.

Details

Upstream DexJoCo @ 8d23b0f (brave-eai/dexjoco, MIT) on MuJoCo 3.4.0; CPU physics, OSMesa rendering, no GPU
Instance the initial state of the human demonstration hanoi_demo_10_2026-03-13_15-45-06_925668 (DexJoCo-Datasets-Raw), restored with DexJoCo's own state restorer; instance sha 93165d7fd0c8813c
Resources 4 CPUs, 8 GB, no GPU; OPENBLAS_NUM_THREADS=4 in the agent's container and the verifier's (the simulation's result depends on the thread count below 4: tasks/dexjoco/README.md). The 4 CPUs must be visible to the container (its cpuset / affinity; a cpus: quota does not matter): OpenBLAS runs no more threads than that

Tooling notes

DexJoCo's reset samples object poses from the global RNG and its state restorer edits the MuJoCo model (table height, fixed bodies), so instance.npz stores the full physics state (mjSTATE_INTEGRATION), the mocap targets, the controls, every numeric model array a task can change, and the env's Python-side task state. Its per-step camera rendering, real-time sleep, episode cap and hanoi's wall-clock auto-reset are disabled in the tooling (rcb_dexjoco.py).

Provenance

Generated from the frozen instance (environment/instance.npz), restored from DexJoCo's demonstration of the task.