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

myosuite-key-turn-i00-privileged

Benchmark MyoSuite
Mode privileged
Twin myosuite-key-turn-i00-standard
Simulator / robot myosuite / myohand
Family / instance key_turn / 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:myosuite-0.1.1

Task

MyoSuite myoHandKeyTurnFixed-v0 (MyoHand, a musculoskeletal model of a human forearm and hand, 39 muscles): Turn the key held between the thumb and the index finger by more than 3.14 rad (half a turn). Success: the key's hinge angle above 3.14 rad for 50 consecutive control steps (1.0 s). Failure (the episode ends): the index or thumb tip more than 0.10 m from the key head. The key sits in a lock in front of the palm; its head is between the thumb and the index finger. The deliverable is one replayable trajectory of actuator commands (/app/output/trajectory.npz, (T, 39), one row per 20 ms control step).

Difficulty

First-pass rating: medium. The action is muscle-level (39 muscles, each only pulling, several crossing more than one joint, with activation delays): the agent has to build its own joint control from muscle excitations. MyoSuite's goal has to hold for 1.0 s, so passing through the goal does not count.

Reference solution

MyoSuite's own NPG baseline policy for myoHandKeyTurnFixed-v0 (myosuite/agents/baslines_NPG/, shipped in the MyoSuite wheel and removed from the image), rolled out from the frozen instance and cut at the first success: solution/oracle.npy, 72 rows (float32-exact, so the standard twin's client executes the same rows), success after 72 control steps. Replayed and saved by solution/solve.sh; re-checked in two fresh sessions (same final state).

Verification

tests/grade.py in a separate sandbox without network: two replays of /app/output/trajectory.npz, each in a fresh process, from the verifier's own copy of the instance (tests/instance.npz; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success (the goal held 50 control steps) in the same state (deterministic). nop: no trajectory, reward 0.

Resources

Caps per container (PROTOCOL §6).

Container CPUs Memory Processes GPU memory Disk
main (the agent's) 4 12 GiB 4096 no GPU 10 GiB
verifier 4 8 GiB no cap no GPU no cap
  • GPU: not needed.

Details

Upstream MyoSuite 2.12.2 (Apache-2.0) on MuJoCo 3.6.0, the models that ship in its wheel
Instance myoHandKeyTurnFixed-v0 after seed(0) and reset(seed=0) (rcb_myosuite.py make-instance); state hash 7a26d8281e4bc7a7, checked on every load
Actions 39 actuator commands per control step (20 ms, 10 physics substeps); success rule hold (tasks/myosuite/README.md)
Resources 4 CPUs, no GPU (CPU physics, OSMesa rendering)

Provenance

The frozen instance (environment/instance.npz), its scene facts and the reference solution (solution/oracle.npy) were made at generation time; see tasks/myosuite/README.md.