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.
RoboCasa · CloseDoubleDoor — STANDARD MODE (robot as a service)
A Franka Panda arm on an Omron mobile base (with a torso lift) works in a kitchen: RoboCasa's CloseDoubleDoor kitchen task (robosuite, MuJoCo).
Task: Close the cabinet doors.
The scene is one frozen instance: the initial state of one of the benchmark's official demonstrations.
You control the robot as if it were real hardware: the simulator runs in a service you cannot open. You get one client and one episode.
Rules (real-robot rules)
- No reset. What you knock over stays knocked over.
- No privileged state. You see what the robot's cameras see (RGB, optional depth, with each camera's calibration) and the robot's own state. No object poses, no scene layout, no success signal.
- Your only budget is the time limit (
## Time limit;meta["time_left_s"]is the service's count of it). There is nothing to hand in: the service records the episode as the trajectory and grades it. Leave your script at/app/output/gen.pyfor the record. - Do not use the benchmark's demonstrations, trained policies or any published solution; write your own controller.
- Images come back as arrays in a Python object; what you look at and where you store it is up to your code.
Scoring
The episode runs until your time is up. The service then applies the environment's own success check for CloseDoubleDoor to
the state of the live episode after the last executed control step: the episode as the service ran it, nothing is
replayed. A success reached earlier and then lost does not count: end in the state you want graded and stop submitting.
What CloseDoubleDoor's check requires (RoboCasa @ 756598a), all on that final state:
- Both cabinet doors are at most 5% open (each hinge within 4.5° of closed; the check scales 0–90° to 0–100%).
Client (/opt/tools/rcb_client.py, protocol eai-standard/2.1)
from rcb_client import Robot
r = Robot() # connects (waits while the service starts: about a minute)
spec = r.spec() # control_dt, action layout + limits + kinds, cameras, proprio layout, budget
cams = list(spec["cameras"]) # robot0_agentview_center, robot0_agentview_left, robot0_agentview_right, robot0_eye_in_hand
obs = r.get_obs(cameras=cams, include_depth=True) # obs.last[cam] -> uint8 (240, 320, 3); obs.depth[cam] -> metres
obs.meta["proprio"] # {"layout": [...], "now": [...]}: joints, end effector, last command
obs.meta["cameras"] # per camera: intrinsic_cv, cam2world_gl (OpenGL: looks along -z), current
obs = r.get_obs(cameras=cams[:1], seconds=2.0, video="mp4") # hold still and watch for 2 s (max 30)
res = r.submit("ee_delta", A, cameras=cams[:1], video="mp4") # A: (T, 12) rows, one per control step
res.meta["done"], res.meta["reason"], res.meta["control_steps"]
res.video[cam]; res.frames[cam]; res.last[cam]; res.proprio; res.save("/app/runs/003")
- Action
ee_delta: the robot's native controller command, applied once per control step (control_dt= 0.05 s; float64). 12 channels, in order:arm_dx, arm_dy, arm_dz, arm_drx, arm_dry, arm_drz-- the end effector's motion per control step in the robot's base frame, scaled by the controller (1.0 = 5 cm and 0.5 rad per step);grip(+1 closes, -1 opens);base_x, base_y, base_yaw-- the mobile base's target velocities in its own frame (1.0 = 1 m/s forbase_x/base_yand 1.5 rad/s forbase_yaw; force-limited velocity servos, so the base may lag the target);torso-- the torso lift, a joint-position controller with delta input (each step sets the lift's height target to its current height + 0.05 m × the value, so 1.0 = 5 cm per step; lift range 0–0.34 m);hybrid_mode(> 0: base mode, the arm's goal moves with the base; <= 0: arm mode, the default -1). Every channel is clipped to [-1, 1]. Rows aredtapart (default and minimum:control_dt; a chunk covers at most 10 s). get_obs(seconds=s)holds the robot still (delta channels zero, targets, grip and mode kept) while physics runs forsseconds; those control steps are part of the episode.- The cameras are mounted on the robot and move with it: use the calibration that comes with each response.
- World frame: metres, z up.
One call returns at most 3000 images (max_frames_per_call, PROTOCOL §3 "Images per call").
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: 2 CPUs, 5 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).