Skip to content
Current section: Bench

The Clean Environment

A Bench result should depend on the configuration, not on whose machine ran it. Three layers see to that.

Every task runs with an agent home that holds your sign-in and nothing else: no rules, skills, hooks, memory, MCP servers or account connectors of yours. Each agent has its own recipe, such as a fresh CODEX_HOME for Codex, or safe mode with a strict MCP configuration for Claude Code.

Your sign-in is mounted read-only for the run, never copied or printed. cedr never writes your sign-in file.

The agent and the graders run only in the edition’s pinned container image, with fixed toolchains, fonts and browser. The agent’s network reaches only its model provider; graders get no network at all.

For comparisons on your own repo and your own machine, use Compare. Bench requires the pinned container.

Before the first task, Bench runs two separate prompts in empty workspaces with fresh agent homes. The fingerprint prompt records input tokens (fresh, cache reads and cache writes together). The readiness prompt asks the agent to run a shell command and write a file, and verifies both outputs. The result records readiness as tools_ok, with a tool count where the agent reports one. Extra context can change the fingerprint; a match allows a difference of at most 16 tokens.

The edition carries a reference for each agent version, model and effort. The result records the probe as:

Status Meaning
match The probe matched the edition’s reference
reference This run set the reference, for an agent version or model the edition had none for
mismatch The fingerprint differed from the reference by more than the allowed tolerance
no_reference The edition has no reference yet for this agent version and model

Run cedr bench probe to check it on its own before a full run.

A run is eligible for the public Benchmarks page only when all of these hold:

  • it completed every task;
  • it ran in the pinned container (environment.mode is container and environment.pinned is true);
  • its network was restricted to the provider allowlist;
  • its agent home was clean (environment.clean_home is true);
  • its probe matched the edition’s published reference (match); a run that set its own reference is not eligible;
  • its readiness probe verified both tool outputs (tools_ok is true);
  • it used a verified agent adapter, never command;
  • it has no unresolved tamper flags: a run with a tamper flag is listed only after a person has read its patch.

The runner records this decision in eligible. The page lists only results where it is true. A run with mismatched evidence cannot be cleared for listing.

Every eligible run is published as measured, including runs that went over the cost goal.