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.
MuJoCo Playground · Panda open cabinet
A Franka Panda arm stands in front of a green handle mounted on a slide (it moves only along x, from x = 0.5 m
towards the robot), with a shelf behind a barrier. A red target sphere marks where the handle should end up.
Task: grasp the handle and pull it along its slide to the target. This is MuJoCo Playground's
PandaOpenCabinet, run here in plain MuJoCo; the target and the arm's start posture are randomized as in Playground,
with a fixed seed.
What you hand in
/app/output/trajectory.npz — actuator targets, shape (T, 8) (T ≤ 3000), one row per control step (1/50 s), each held
for 4 physics steps. Record it with the tooling so the layout is right. The verifier replays it from the frozen start
in a separate sandbox (MuJoCo on CPU is bit-exact). Leave the script that produced it at /app/output/gen.py.
Success
At the end of the trajectory the handle is within 1.5 cm of the target along x (s.target_pos[0]).
s.check() computes exactly this.
Tooling (/opt/tools/rcb_panda.py, importable as rcb_panda)
import numpy as np, rcb_panda as rp
s = rp.Session("/app/instance.json") # the frozen instance; s.model / s.data are MuJoCo objects
st = s.state() # qpos, qvel, targets, gripper_pos, gripper_mat, object_pos, object_quat_wxyz, target_pos,
# target_quat_wxyz, plus the success check fields
s.record_start()
r = s.step(targets) # (8,) actuator targets for one control step -> the success check fields
A = s.record_stop(); s.save_trajectory(A) # -> /app/output/trajectory.npz
s.replay(A) # fresh replay from the start (what the verifier does)
s.reset() # back to the start (as often as you like)
img = s.render() # RGB (240, 320, 3); s.render_grid() gives four views
Actuators: actuator1..7 = joint position targets (rad) for joint1..joint7, actuator8 = finger opening (0 = closed
… 0.04 m = open). Limits: s.lower, s.upper. The site gripper sits between the fingertips; the hand approaches
along the site's z axis and the fingers close along its y axis. Everything in s.model / s.data is readable
(privileged mode), e.g. for inverse kinematics with mujoco.mj_jacSite.
Rules
- Write your own controller; do not use trained policies from MuJoCo Playground or elsewhere.
- Only the actuator targets count: editing
s.datawhile debugging changes nothing in the replay.
External material
You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.
Resources
Your container: 4 CPUs, 5 GiB of memory, 8192 processes and threads, 10 GiB of disk (new files under /app, /tmp and /root) and one GPU, 6 GiB of its memory. CPU only slows you down; a process that goes over any other cap can be killed. Usage and caps: /run/rcb-limits/usage.json.
Time limit
You have 1800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.
This is wall-clock time from the start of your session; the time a simulator takes to start counts. When it is up you are stopped without warning and only what is in /app/output/ at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. Your session started when you received this task. /run/rcb-limits/usage.json, rewritten every few seconds, gives the time left on this limit (time_left_s) and its end (deadline_utc), counted from a little before your session started, so it never gives you more time than you have: read it (or run date) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (## External material above).