Skip to content

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.

4.4 KB
Raw Blame

Full-simulator fencing: develop a program against level 2

Win one complete bout against the frozen sport's scripted level-2 fencer, seed 35: the same frozen instance as embodied-olympics-match-fencing-bout-i02-standard (its standard twin; there you see the phrase record and images only). The robots, the actions, the rules, the opponent and the chess clock are unchanged. It is a turn sport: the bout waits for your decision.

Development and deliverable

from tools.fullsim.turn import TurnSession; TurnSession("fencing", level=2, seed=35) gives state(), world, spec(), act(command) (plays your intention for the next phrase, and the opponent's answer, at once) and reset(). The simulator and its source are at /opt/fullsim. Reset rebuilds the WHOLE same-seed bout. You may inspect and change private bouts and develop and search with repeated resets within your resource and time limits; nothing of this reaches the formal bout. Read /opt/fullsim/README.md for the program API, the truth fields and the self-test.

Leave /app/output/policy/program.py and any helper or data files in that directory (512 regular files, 32 MiB; no links or special files). Define make_policy(config) returning an object with act(view); it lives for the whole bout. view holds state (the twin's observation fields), truth (the full current state), scores. Return one original action, {"type": "ready"} during a review (after each of your phrases), or None. No model or API calls during the formal evaluation. Submit executable code, not a recorded list of intentions or a claimed score; save a valid program early and improve it.

Formal evaluation

A separate verifier without network runs your final program as an unprivileged process against a fresh, unmodified bout; your program can read a public, read-only copy of the simulator (/opt/dev, the same as /opt/fullsim) for its own predictions, never the trusted copy that runs the bout, the referee or the logs. There is no formal reset. The twin's turn service runs the bout: on your turn your chess clock (3600 s in all, as in the twin) runs while your program computes, and each exchange with your program is limited to 5 s; out of time loses the bout. The service replays the trusted journal once in a fresh process; success is a complete win by the original referee with a matching replay. This fixed instance does not measure generalization to other instances.

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: 8 CPUs, 16 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 7200 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).