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.
AutoBio · insert_centrifuge_5430 — STANDARD MODE (robot as a service, eai-standard/2.2)
You control a UR5e arm (6 joints) with a Robotiq 2F-85 gripper, fixed to the bench, as if it were real: the simulator (AutoBio's biology laboratory on MuJoCo 3.3.0) runs in a service you cannot open. You get one client and one episode. Task: Load a second 1.5 mL tube into the centrifuge's rotor, into the slot diametrically opposite the tube that is already in it (the rotor has 30 slots). The tube to load stands in the plate on the bench. Success the moment the tube is seated in that slot: its body within 5 mm of its seated position there, and its body's height within a fixed 6 mm window (AutoBio's test; standard mode gives no world heights). That seated position is computed when the episode starts: turning the rotor moves the slot away from it, so leave the rotor where it is. In this instance a tube that has been let go comes to rest just outside the 5 mm (5.0 to 5.1 mm away, AutoBio's own expert's tube included), so the test holds while the tube is still being lowered into the slot, held by the gripper; the episode ends in success at that moment.
On the bench: a centrifuge (an Eppendorf 5430 model) with its lid open and a 30-slot rotor holding one 1.5 mL tube, and a well plate with a second 1.5 mL tube standing in it.
Rules
- No reset. The episode starts when the service comes up and ends the moment the goal is reached (success), when your time is up, or on a simulator
error. A MuJoCo physics warning (an unstable simulation, for instance after the robot was driven hard into
something) also ends it at once, as a failure:
meta["reason"]is then"failure: simulator warning (unstable state)". - No privileged state. You see what the cameras see (RGB, and depth on request, with each camera's calibration) and
the robot's own proprioception: joint positions, velocities and drive efforts, gripper openings, the
poses of its tool frames and the targets in effect. No poses of tubes, racks or instruments, no instrument state, no
success check:
meta["done"]/meta["reason"]tell you when the episode is over and why. - Steps are unlimited; your only budget is the time limit (
## Time limit;meta["time_left_s"]is the service's count of it). Simulated time only advances with your commands (andget_obs(seconds=...), which holds the last targets). Do not stop early. r.submit("done", [])ends the episode in its current state; before the goal is reached that is a failure.- Nothing to hand in: the service records your episode and grades it. Leave your script at
/app/output/gen.py. - If the service crashes, a call fails with a connection error: it restarts and resumes the SAME episode (never a
reset) in the state after the last call it completed.
r.wait_ready()waits for it; then checkr.status(). - Nothing is put into your context automatically. Images and videos come back as arrays/bytes in a Python object.
Client (/opt/tools/rcb_client.py, protocol eai-standard/2.2)
from rcb_client import Robot
r = Robot() # connects (waits while the service starts)
spec = r.spec() # action layout and limits, robot_spec, cameras (+ intrinsics, mounting), proprio layout, kinematics, budget
obs = r.get_obs() # obs.last[cam] -> uint8 (480, 640, 3) (default cameras: table_cam_front, wrist_cam)
obs = r.get_obs(cameras=["table_cam_front"], depth=True) # + obs.last_depth[cam] -> float32 (480, 640), metres
obs.meta["proprio"] # {"layout": [...], "now": [...]}: q_*, qd_*, *_opening, <tcp>_x..qz, effort_*, cmd_*
obs.meta["cameras"] # per camera intrinsic_cv / extrinsic_cv / cam2world_gl at the last frame
res = r.submit("joint_position", rows, dt=0.02) # rows: (T, 7) targets, here one every 20 ms, reached linearly in 2 ms steps
res.meta["done"], res.meta["reason"], res.meta["control_steps_chunk"], res.meta["clipped"]; res.video[cam]; res.last[cam]; res.proprio
obs = r.get_obs(seconds=1.0, video="mp4") # hold the last targets and watch for 1 s (max 30)
r.fk(q); r.ik({frame: pose}) # kinematics of the arm joints (spec["kinematics"]): no physics, no collision check
r.submit("done", []) # ends the episode now, in its current state
r.status() # calls, control steps, done, reason, elapsed time
Cameras (table_cam_front, table_cam_left, wrist_cam; 640x480): table_cam_front and table_cam_left are fixed and look at the bench from two sides;
wrist_cam is mounted on the arm's last
link and moves with it. spec["cameras"] gives each camera's mounting and intrinsics, and every response carries each
frame's pose. Rendering is on the CPU: ask only for the cameras you need; video="none" makes a chunk fastest.
Proprioception (spec["proprio_groups"]): joint_pos (q_<joint>), joint_vel (qd_<joint>), gripper_opening
(metres between the fingertips, per parallel gripper), tcp_pose (each tool frame, tcp: x y z + wxyz
quaternion in the world frame), joint_effort (effort_<joint>), command (cmd_<entry>, the targets in effect).
spec["robot_spec"] is the robot's spec sheet: where each arm's base stands, joint limits, the drives' gains, the
grippers' commands, the tool frames.
Action type joint_position (7)
7 position targets per control step, in this order: shoulder_pan, shoulder_lift, elbow, wrist_1, wrist_2, wrist_3, 2f85_fingers_actuator (the Robotiq gripper: 0 open .. 255 closed). Arm joints are in rad. Each entry is the target of a PD position drive (stiffness, damping and force limit per entry: spec["robot_spec"]["controller"]["gains"]); a target outside the entry's range is clipped to it. Columns in
spec["action_types"]["joint_position"]["layout"] order. Rows are dt apart (a whole multiple of the 2 ms control
period, at most 0.5 s; a chunk covers at most 10 s), interpolate="linear" (default, from the previous target) or
"hold"; the client sends them as float32. The control rate is 500 Hz (one physics step per control step). There is
no step budget: the one technical cap is spec["max_control_steps"], 600000 (1200 s of simulated time), at which the
episode ends. One call returns at most 3000 images (max_frames_per_call, PROTOCOL §3 "Images per call"); video_fps is up to 50, default 10.
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, 4 GiB of memory, 1024 processes and threads and 10 GiB of disk (new files under /app, /tmp and /root). Your container has no GPU. The simulator runs in its own container and does not count against these. 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 3600 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 you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's time_left_s counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is time_left_s minus the time you spent before that request. Plan by it. 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).