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

abc-sim-hang-mug-i00-privileged

Benchmark ABC Sim
Mode privileged
Twin abc-sim-hang-mug-i00-standard
Simulator / robot mujoco / i2rt-yam-bimanual
Family / instance hang_mug / 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:abc-sim-0.1.0

Task

ABC Sim hang_mug_on_mug_rack (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Hang the mug on the mug tree. Success: the mug's centre is within 0.115 m horizontally of the tree's axis and between the tree's base and 0.05 m above its top, and the mug touches neither the table nor either gripper (it hangs from the tree, released). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success. A mug stands on the table near a mug tree (a stand with pegs). The deliverable is one replayable trajectory (/app/output/trajectory.npz, (T, 14), one row per 0.034 s control step).

Difficulty

First-pass rating: medium. Threading a mug's handle onto a peg: a precise insertion with little clearance, from a grasp that must leave the handle free. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.

Reference solution

The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: solution/oracle.npy, 314 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by solution/solve.sh.

Verification

/opt/abc-tools/grade.py in a separate sandbox without network: two replays of /app/output/trajectory.npz, each in a fresh process (side by side), 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 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 16 GiB 8192 5 GiB 10 GiB
verifier 4 8 GiB no cap 5 GiB no cap
  • GPU: any NVIDIA GPU, held by main.
  • Recommended GPU: any NVIDIA GPU with EGL (RTX 4090 / L4).

Details

Upstream ABC Sim, abc_sim of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0
Instance the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash f971caba9bc2c81c, checked on every load
Actions 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms)
Success the upstream evaluator hang_mug_on_mug_rack held 30 control steps (hang mug: plus no contact with the table or a gripper)

Provenance

The frozen instance (instance.npz) and the reference solution (solution/oracle.npy) were made at generation time from an upstream validation demonstration; see tasks/abc-sim/README.md.