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.
VLABench · select_nth_largest_poker — instance i00 — STANDARD MODE (robot as a service)
You control a simulated Franka Panda arm (VLABench on MuJoCo) as if it were real hardware: the simulator runs in a service you cannot open, and you reach it only through a client. Task: Please pick up the smallest poker card and hold it up (grasped, lifted to z >= 0.9 m).
Rules (real-robot rules)
- One episode, no reset. The episode starts when the service comes up. It ends when the task succeeds, after
9000 control steps (900 s of robot time; a technical cap so that the episode's video can be
rendered in its time limit), when your time is up, or on a simulator error.
spec()["budget"]["reset"]is 0. - Time moves only inside calls.
submitruns your targets andget_obs(seconds=s)holds the last ones forsseconds; both use up control steps. Between calls the robot waits, frozen, while you think;get_obs()with no seconds is free. - No privileged state, no score. You see four cameras (
forward,left,rightfixed,wriston the hand; RGB 320×320, depth on request, each camera's intrinsics and pose inspec()["cameras"]) and the robot's own state: joint angles and velocities, finger positions, the hand's pose (tcp_*) and the last command. Not the objects' poses, not the task's conditions or success check: the service only tells you that the episode ended and why (meta["done"],meta["reason"]:"success","failed"at the step cap,"error"after a simulator error). - There is nothing to hand in: the service records the episode and grades it as it ran. Keep the script that
drives the robot at
/app/output/gen.pyfor the record: save it early and keep it current. - Wall-clock budget: the time limit (
## Time limit). It ends without warning, and ending your session earlier ends the run the same way, so do not stop early. - Do not use VLABench's expert solutions or any published solution for this benchmark; write your own controller.
Scoring
VLABench's own success check for select_nth_largest_poker (the task's termination condition). The service ends the episode the
moment it holds (reason = "success"); that live episode is the verdict.
Client (/opt/tools/rcb_client.py, protocol eai-standard/2.1)
Your whole interface to the robot. Its docstring is the full reference (python -c "import rcb_client; help(rcb_client)"; its examples come from another benchmark: the numbers here and in spec() are this task's).
| call | endpoint | what it does |
|---|---|---|
r = Robot() |
connects (http://sim:8000, then http://localhost:8000) and waits until the scene is ready |
|
r.spec() |
GET /spec |
the robot's facts: action_types, control_dt (0.1 s), max_control_steps (9000), cameras, proprio_layout, frames, budget |
r.status() |
GET /status |
calls, rows, control_steps, done, reason, elapsed_s |
r.get_obs(cameras=None, seconds=0, include_depth=False, video="frames") |
POST /observe |
the current frames (free), or hold the last targets and watch for seconds (at most 30) |
r.submit("joint_position", A, dt=0.1, interpolate="linear", cameras=None, video="mp4") |
POST /submit |
runs A, rows of 9 targets dt seconds apart (a multiple of 0.1; a chunk covers at most 10 s); stops early when the episode ends |
One call returns at most 3000 images (max_frames_per_call, PROTOCOL §3 "Images per call").
The answers come back decoded: res.meta (the counters, done, reason, proprio["now"], clipped), res.last[cam]
(the last frame), res.frames or res.video (what the cameras saw during the call), res.proprio (rows).
from rcb_client import Robot
r = Robot()
res = r.submit("joint_position", A, dt=0.1, cameras=["forward"], video="none") # A: (T, 9)
- Action
joint_position(9, float64): absolute position targets for VLABench's own actuators, the 7 arm joints (rad) and the 2 fingers (m, 0 closed … 0.04 open), each row held for its control steps (0.1 s, 100 physics steps each). The model sets no arm joint limits; stay inside the Panda's own,spec()["action_types"]["joint_position"] ["panda_joint_limits_rad"]. - Proprioception (
spec()["proprio_layout"]):joint1..7_pos(rad),joint1..7_vel(rad/s),finger1_pos,finger2_pos(m),tcp_x/y/z(m) andtcp_qw/qx/qy/qz(the hand's pose),cmd_*(the last command). - World frame: metres; the robot's base is at (0, -0.4, 0.78) facing +y: x to the robot's right, y forward (across the
table), z up; quaternions are w x y z. Each camera's
cam2world_glis its pose (OpenGL convention: it looks along its -z axis, +y up);intrinsic_cvits pinhole intrinsics in pixels. - Measured cost here: about 40 ms of simulation per control step, plus about 15 ms per camera image.
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, 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 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 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).