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

dexjoco-click-mouse-i00-privileged

Benchmark DexJoCo
Mode privileged
Twin dexjoco-click-mouse-i00-standard
Simulator / robot dexjoco / franka-allegro
Family / instance click_mouse / 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 click_mouse (a Franka Panda arm with a 16-DoF Allegro hand): Put the computer mouse on the magenta mousepad and click its button. Success: the mouse is on the pad (its centre within the pad's 0.15 m radius horizontally and within 0.05 m of the pad's height), the button has been pressed while the mouse was on the pad (button joint more than 0.001 rad past its rest angle), which turns the monitor blue, and the mouse then stays on the pad for 10 consecutive control steps. A click while the mouse is off the pad does nothing. 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 a 16-DoF hand on a 7-DoF arm (23 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 560 control steps (11.2 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 (560 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 560 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 monitor_mousepad_demo_10_2026-03-10_20-07-29_950914 (DexJoCo-Datasets-Raw), restored with DexJoCo's own state restorer; instance sha ad73bedaf42257f0
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.