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.
LIBERO-MAX · libero_spatial · obstacle insertion — instance i00
A Franka Panda arm (LIBERO on robosuite / MuJoCo) at a table. Task: Lift the black bowl between the plate and ramekin and set it on the plate.
The scene is one frozen LIBERO-MAX case: a LIBERO-PRO variant of a libero_spatial task (semantic), with one online
event: the first time the gripper comes within 0.18 m of akita_black_bowl_1, LIBERO-MAX changes the scene
once (cookies_1 appears as an obstacle, offset (0, -0.14, 0) m from akita_black_bowl_1). You have the full simulator state, so you can see the change happen (s.state()["event_fired"]).
What you hand in
/app/output/trajectory.npz with key actions: LIBERO's native control steps, shape (T, 7), 1 ≤ T ≤ 220
(the libero_spatial step limit), one row per control step (1/20 s), starting after LIBERO's 10 warm-up steps (no-ops with the
gripper open, already part of the frozen start). Write it with s.save_trajectory() so the format is right. Leave the
script that produced it at /app/output/gen.py.
Success
The verifier replays your actions from the frozen start in a separate sandbox (twice, each in a fresh process; the event is applied by the same trigger), and applies LIBERO's own success check: the task's goal, all of
akita_black_bowl_1is onplate_1(LIBERO's On:akita_black_bowl_1's origin is no lower thanplate_1's, less than 3 cm from it horizontally, and the two touch) The episode ends the moment the check holds, so the trajectory must end there: actions after that make it invalid.s.check()computes exactly this check on the current state.
Tooling (/opt/tools/lmx_tool.py, importable as lmx_tool)
import numpy as np, lmx_tool
s = lmx_tool.Session("/app/instance.json") # builds the frozen scene; ONE Session per Python process
st = s.state() # eef {pos, quat_wxyz}, gripper_qpos, joint_pos/vel, objects / fixtures {name: pos, quat_wxyz},
# articulations {joint: position} (drawer slides in m, door and knob hinges in rad),
# goal, instruction, success, done, event_fired, event_step, control_steps, steps_left
r = s.step([dx, dy, dz, drx, dry, drz, grip]) # one control step -> {"success", "done", "event_fired", ...}
s.check() # LIBERO's success check on the current state
s.save_trajectory() # the actions so far -> /app/output/trajectory.npz
lmx_tool.replay_fresh(A) # replay A in a NEW process (what the verifier does) -> {"success", "state_sha", ...}
img = s.render("agentview", 256) # RGB, upright; cameras "agentview" and "wrist"; depth=True adds metric depth
- One simulator per process. Some LIBERO-PRO variants do not rebuild bit-exactly a second time in the same
process, so a second
Sessionin one process raises an error: to start over, start a new Python process (as many times as you like);replay_freshdoes this for you. - Action
[dx, dy, dz, drx, dry, drz, grip], each clipped to [-1, 1]: LIBERO's operational-space controller (OSC_POSE) moves the hand's target by[dx, dy, dz]× 0.05 m and rotates it by[drx, dry, drz]× 0.5 rad (axis-angle, world frame) per control step;grip+1 closes, -1 opens the gripper. - World frame: metres; the robot's base is at (-0.66, 0, 0.912) facing +x: x forward (across the table), y to the robot's left, z up; quaternions are w x y z.
- Everything in
s.env(robosuite's LIBERO environment) ands.simis readable (privileged mode).
Rules
- Write your own controller. Do not use LIBERO's demonstrations, LIBERO-MAX's policies or any published solution.
- Only the actions count: editing the simulator state while debugging changes nothing in the replay.
- Save a working trajectory early, then improve it; do not stop early.
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, 10 GiB of memory, 1024 processes and threads and 10 GiB of disk (new files under /app, /tmp and /root). Your container has no GPU. 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).