Agents do not budget their time or their submissions
Across 1,200 FrontierCS 2 runs, the median agent used 41% of its time and 29% of its submission budget, and its use of submissions barely changes with the size of the budget.
Every FrontierCS 2 task now runs on Pumpkin, a runner we wrote. A runner can keep an agent off the network by itself. To catch an agent that fakes its result, it has to work together with the task's judge.
FrontierCS 2 is our benchmark of research tasks for coding agents. A run of one task is not one container. An agent works in a sandbox for up to five hours, asks judges for scores, and borrows machines. Pumpkin is the runner we wrote to orchestrate that, and every FrontierCS 2 task now runs on it.
This post shows how a task describes such a run and how Pumpkin carries it out. Then it turns to cheating. A runner can keep an agent off the network by itself. To catch an agent that fakes its result, it has to work together with the task’s judge, and we show how the work divides.
A FrontierCS 2 task starts from a published paper and its code. The agent gets the code and five hours, and it has to beat the authors’ own result, which we call the human reference.
While it works, the agent can send in a candidate and get a score back, measured on a development set of workloads. Our task files call this a train call, and each task allows between 3 and 100 of them. When the agent is done, its last submission is scored once more, on workloads it has never seen. The program that does the scoring is the judge.
Some steps need hardware that a sandbox does not have. For those, the agent or the judge can borrow a separate machine for a limited time. Usually it is a machine with a GPU. Sometimes it is just one with more CPUs and memory.
So an agent can ask for three things while it works: a score, a machine, and an answer from its model. In our previous infrastructure each went through a different mechanism: scores through a submission command, machines over SSH, and model requests through a gateway with its own hooks. To write a task, or to work out why a run went wrong, you had to know all three. We wanted all three to go through one place that checks them.
One of our tasks is RAGEN. It trains a language model to play Sokoban, and the agent has to improve the code that turns the model’s moves into training batches. A run of it looks like this:
The names in the figure come from the task’s file. Here is part of it, with our comments:
fcs_task(
# The sandbox the agent works in.
agent = {"cpu_millis": 3000, "memory_bytes": 12 * GiB},
# A machine the agent may borrow: one at a time, for 1,800 seconds.
agent_lease = {
"machine": GPU_RUNNER | {"gpu": A100_80},
"instances": 1,
"instance_seconds": 1800,
# ...
},
# The sandbox that scores a submission.
judge = {"cpu_millis": 3000, "memory_bytes": 12 * GiB},
# Machines a judge may borrow to run the training: two at a time.
judge_leases = {
"candidate": {
"trusted": False,
"machine": GPU_RUNNER | {"gpu": A100_80},
"instances": 2,
# ...
},
},
# The agent may ask for a score three times.
train_calls = 3,
# ...
)
To lease is to borrow, and each lease gets a fresh machine. Each time the agent asks for a score, Pumpkin starts a new judge sandbox, and that judge borrows machines of its own. At the end a final judge does the same once more. No agent can ask for the final judge. Pumpkin starts it by itself, after every agent has finished and every sandbox they used has been deleted.
So a task lists every sandbox a run may create, and every request one sandbox may make of another, with a limit on each.
A sandbox has no other way to reach another sandbox. On Docker it has only a loopback interface, and on EC2 it can reach only the address and port of Pumpkin’s driver, the box in the middle of the figure. Our sandboxes on Modal, which we use for GPU machines, can still send DNS queries. We have not closed that yet.
The file is written in Starlark, a configuration language that build systems such as Bazel use. We picked it for the reason they do. Evaluating a file has no side effects: it reads only the task’s sources, its arguments, and Pumpkin’s own library. So Pumpkin can evaluate a task, and refuse a broken one, before it builds an image or reserves a machine.
Our tasks have one agent each. A task may list several, and Pumpkin’s repository has an example with two that exchange messages through a third sandbox.
Each run has one process in charge, which we call the driver. Every request from a sandbox goes to it.
To ask for a score, an agent runs sandboxctl, a command that Pumpkin puts in every sandbox. This one is from a run of binary fuse filters, a task that allows 100 train calls:
$ sandboxctl call train reference.tar --wait 18000
The flag makes the command wait for the answer. The driver checks the request against the task’s limits and writes it into the run’s log. Here is the entry, with some fields left out:
{"seq": 5,
"event": {
"kind": "op_arrived",
"caller": "agent-0",
"request": {
"kind": "call",
"grant": "train"}},
"actions": [
{"kind": "reply",
"reply": {
"job": 0,
"remaining": {"calls": 99}}},
{"kind": "start_call",
"grant": "train",
"job": 0}]}
event is what happened, and actions is what the driver decided to do about it. It told the agent that 99 calls remain, and it started the call. Every entry in the log has this shape, so a refusal sits next to the request that caused it. A refused request does not count against the agent’s limit.
Borrowing a machine is the same command with another name, sandboxctl call gpu.open, and it goes through the same checks. Model requests go to the driver too, as the last section describes.
In the old format, borrowed machines were reached over SSH, and RAGEN’s file had to budget the SSH sessions by hand:
# SSH sessions to the GPU runners, per role (they must sum to max_ssh_sessions). A sandbox run
# uses 1 upload + 4 steps + 1 collect = 6, two runs per verification: 12 per call.
[network.audit]
max_ssh_bytes_per_direction = 8388608 # 8 MiB, as before
max_ssh_sessions = 80
ssh_session_budgets = { agent = 32, verifier_train = 36, verifier_eval = 12 }
Someone had to work out that one scoring takes 12 sessions, and that the three budgets add up to 80. Another line gave the judges 12,000 seconds of GPU time, and its comment showed the arithmetic: two machines, times 1,500 seconds, times four scorings.
The new file has none of this arithmetic. The task sets how many machines a sandbox may hold at once and how long each may last. A judge gets those limits afresh every time it is called, so nobody has to multiply by the number of calls. The driver does the counting, and it refuses the request that would go over a limit.
The move also changed one image. RAGEN’s judge for train calls used to carry some of the data for the final scoring. In Pumpkin the train judge and the final judge are built from separate images, so we left that data out of the train judge’s image. We did the same in most of our tasks.
Otherwise the move was mostly an occasion to read each judge and each image again. In some tasks we replaced the judge’s scoring code, so that the score no longer depends on what the submitted code prints or leaves behind. That is work on the judge, and we would have had to do it on any runner.
We have described three ways an agent got a good score without solving its task. We fixed each one at the time, before any task moved to Pumpkin. For each fix, we then asked whether the runner could enforce it, so that the next person who writes a task does not have to remember it.
The network. One agent ran git clone on the repository of the paper its task came from. Internet access was turned off for that run, but a leftover network rule let HTTPS through anyway.
Pumpkin has no switch for internet access. The only thing a task can let a running sandbox reach is a list of models:
"egress": {"model": [{"api": "responses", "models": [model]}]},
The agent sends its model requests to a local address, and it has no API key. The driver checks that the model is on the list, adds the key, and forwards the request. It also records the request and counts what it cost. Some model APIs can run tools such as web search on the provider’s servers, so the driver refuses requests that turn them on.
So the runner can enforce this rule by itself. It cannot do anything about what the model already knows. If the model has seen the paper’s code, no network rule takes that away.
Leftover state. SCOPE is a task that scores speed. Its judge runs the submitted program five times and takes the median time. One agent saved its answers in a folder that survived from one run to the next, so the first run did the work and the other four read the saved answers.
Whatever submitted code writes must be gone before submitted code runs again. The runner can take care of half of this. Every train call in our tasks gets a new judge sandbox, so nothing survives from one call to the next. That is Pumpkin’s default. A task can ask for a sandbox that lasts instead, and ours do not.
But the five runs happen inside one call, where the runner cannot see them. Only the judge knows that it is about to run the same program five times. So that half of the rule lives in the judge, in a library that gives each run a private directory, no network, and no view of the judge’s files. The move to Pumpkin did not change it.
Trusting the submission. In RAGEN, one agent threw away the model’s moves and replaced them with a breadth-first search. Then it rewrote the record of each game so that the moves looked like the model’s. It scored about eight times the human reference.
The judge trusted a record the submission wrote. Now it replays every game from its seed and checks each move against what the model actually answered.
No runner can do this for you, because only the task knows what an honest result looks like. What the runner can do is protect the judge. In Pumpkin an agent can only ask for a train call, and it gets back only the numbers the task chose to show. And when the judge runs the agent’s training code, it runs it on a borrowed machine that has none of the judge’s files on it. That is what "trusted": False meant in RAGEN’s file.
| Rule | What the runner does | What the judge does |
|---|---|---|
| No network, only the model | all of it | nothing |
| Nothing left over between runs | a new sandbox for each call | a clean start for each run inside a call |
| Do not trust the submission | keeps the judge out of reach | all of the checking |
Across 1,200 FrontierCS 2 runs, the median agent used 41% of its time and 29% of its submission budget, and its use of submissions barely changes with the size of the budget.
Claude Sonnet 5.5, Claude Fable 5.1, Inkling 2 Small and MiniMax-M3.1-Flash join the leaderboard. We show how far agents went to game the judge, how we closed each hole, and how we rebuilt all 48 tasks on one format and shared base images. Handshake and Snorkel AI join our sponsors.