Contain, Conform, Compare (Extended Version): A Red-Teamed Evaluation Kit for Small Coding Agents and the Full Record of Its Experiments: what it means for business leaders
A red-teamed local evaluation kit for small coding agents, released with 9,660 run-level results, shows that most agent improvements seen in development disappear once tested on new tasks under a rule fixed in advance.
1. What the method is
The paper presents drydock-eval, a kit for evaluating small coding agents locally, together with the complete record of the experiments run with it. It has three modules. Contain runs each agent job in a fresh container with no network, no capabilities and capped resources. Conform is eight checks that compare the requests a local stack sends to the model with the configuration of the official scorer, down to rendered tokens. Compare is a set of paired statistical tests that treat tasks from one repository as a cluster, with a pass rule frozen before results are read. The setting is a Kaggle competition in which Gemma 4 agents fix GitHub issues, but the method is general. The release covers 9,660 agent runs, 2,494 grading controls and 72 serving measurements. The prompts and agent bundles themselves are withheld while the competition runs.
2. Why the method was developed
The competition's hosted score is one noisy number per day: third-party analyses put its standard deviation near 1.5 of 58 tasks, so it cannot separate two agents that differ by a few tasks. Development therefore depends on local evaluation, and the author names three ways local numbers go wrong. The first is safety: an agent run executes model-written shell commands, and the first setup had no sandbox. The second is fidelity: a configuration detail can silently change the tokens the model receives while runs still finish and score. In the first setup a served model name containing gemma4 made the framework send tool results under a different role, and solve counts did not reveal it. The third is inference: tasks from one repository succeed and fail together, a small model solves about one task in five, and a team that tries many variants will find leaders by chance.
3. Who should care
Engineering leaders who run or plan coding agents should read this as a warning about how agent changes get approved. If our teams pick prompt or architecture variants from a few dozen tasks run once each, the record here says we are mostly selecting noise. Platform and security teams should note the containment findings: every runner design passed its own escape tests, yet nine high-severity vectors were found in what the host shared with the container. ML infrastructure owners get measured throughput for three Gemma 4 sizes on four L4 GPUs and the cost of serving a LoRA adapter. Anyone buying agent products can ask vendors the questions this paper answers for itself: how many tasks, how many repeats, whether the rule was fixed before the outcomes were seen, and whether the test harness matches production prompts.
4. How the method works
Contain gives each job one container with a read-only root, an unprivileged user, a seccomp filter, 2 CPUs, 10 GiB of memory and capped temporary filesystems. The only way out is a per-job Unix socket to a forwarder that passes only chat-completion requests with allow-listed fields, under rate and size caps. Runs start only if eight recorded hashes of image, code, flags and model files still match. Conform re-renders each request outside the model server with the reference chat template and compares token counts or token ids, alongside checks for tool-result role, sampling settings, tool schemas, message shape, thought handling, a newline rule and history compaction. Compare passes a candidate only if the mean gain is at least 3.45 points, a one-sided wild cluster bootstrap over repositories gives p of 0.025 or less, at least three repositories gain with every leave-one-out estimate positive, agent time stays within 1.2 times baseline, and no repository loses two task-equivalents.
5. How it was evaluated
Tasks were 70 competition development tasks from four repositories and 579 validated tasks from the Berth benchmark, split into a 48-task screen set, panels of 72 and 200 tasks, and a 231-task case-study panel. Every task was graded with its reference patch and with an empty patch before use. The runner went through seven versions, each attacked by independent verifier agents, ending with 200 scripted escape tests. The conformance checks were tested with 103 mutations giving 412 runs against a mock server. The pass rule was simulated 3,000 times per scenario before use. Experiments covered six configurations of a 31B agent on the 70 tasks, a pre-registered five-arm experiment on the small E4B model with 4,620 jobs, and three screen-then-confirm programmes for E4B changes. AI agents built, attacked and analysed the work; a human approved machine use and release, and verified here means that process, not human review.
6. How it performed
The final runner passed 200 of 200 escape tests and ran about 250 jobs per hour on one RTX 5090; the conformance checks caught 317 of 325 applicable drifts. Most experimental results are nulls. Six 31B configurations solved 37 to 44 of 70 tasks with no difference detected. Four prompt divergences changed the E4B solve rate by less than the experiment could detect, though its intervals leave room for a drop of up to 5.1 points. Three E4B changes led their screens by 1.0 to 6.2 points; on new tasks they gained -0.35, -0.39 and +4.10 points, and none was confirmed. The unchanged baseline moved 1.17 points when rerun, and 65% of 128 tasks were never solved in eight runs. Limits: containers share the host kernel, no experiment was sized to prove equivalence, and local rates did not predict hosted scores. Our call: pilot the evaluation discipline on our own agent work now, since the kit is tied to one competition. (Source: arXiv 2611.16485, 2026)
← Back to dossier index