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-arm-reach-i00-privileged

Benchmark MyoSuite
Mode privileged
Twin myosuite-arm-reach-i00-standard
Simulator / robot myosuite / myoarm
Family / instance arm_reach / 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 myoArmReachFixed-v0 (MyoArm, a musculoskeletal model of a human shoulder, arm and hand, 34 muscles): Bring the index fingertip to the target point in space: its distance below 0.0125 m for 50 consecutive control steps (1.0 s). Failure (the episode ends, from the third control step on): the distance above 1.00 m. The arm hangs at the side; a small sphere in front of the body marks the target for the index fingertip. The deliverable is one replayable trajectory of actuator commands (/app/output/trajectory.npz, (T, 34), one row per 20 ms control step).

Difficulty

First-pass rating: medium. The action is muscle-level (34 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 myoArmReachFixed-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, 128 rows (float32-exact, so the standard twin's client executes the same rows), success after 128 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 myoArmReachFixed-v0 after seed(0) and reset(seed=0) (rcb_myosuite.py make-instance); state hash 525e013b2c9a385b, checked on every load
Actions 34 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.