falsepass

Output files#

Everything an audit writes lives in audits/<env>/ (or the folder given with --out).

File For Written by
env.toml how the environment is installed: id, framework (verifiers, inspect, hud; default verifiers), task (Inspect or HUD task spec), package, version, module, index, verifiers / inspect_ai / hud (version pins), optional source (a local folder), answers (HUD reference file), extra, python, load_args falsepass init
src/ the Hub wheel's source, for the static scan (local environments are scanned in place); for an installed Inspect task, its own folder and its scorers' modules, rewritten on every audit falsepass init; falsepass audit for Inspect
probe-results.json every probe run, machine-readable (below) falsepass audit
summary.md the same for people: headline numbers, one row per probe variant, reward terms, static hints falsepass audit
completions.json the full text of every completion a result refers to, keyed by completion_id falsepass audit
job.json, job.log an audit or reach job started from the MCP server: its command, state (running, finished, failed), pid, start time, and its console output falsepass mcp
reach/<probe>.json, reach/latest.json per-row counts over many tasks (below) falsepass reach
repro_auto.py stand-alone script that re-scores the failing completions; under a reference-relative scale each line shows the scaled score and, in parentheses, the raw reward with the task's floor and reference falsepass repro
repro_auto.output.txt, repro-run.json the first of two runs of a repro script, headed by its command and whether the second was identical; the comparison as JSON (below) falsepass repro --run
REPORT.draft.md candidate findings to review falsepass draft

probe-results.json#

{
  "meta": {"environment": "owner/env", "date": "…", "examples": 25, "seed": 0, "python": "3.12.x",
           "versions": {"verifiers": "…", "…": "…"}, "falsepass": "…", "max_reward": 1.0,
           "bad_tolerance": 0.0, "weights": {"term": 1.0}, "adapter": {"…": "how the format was inferred"} },
  "results": [ { "probe": "P5", "name": "shotgun", "variant": "all_in_one_slot", "example": "row-98",
                 "expected": "zero", "score": 1.0, "passed": false, "detail": "expected zero, got 1.0",
                 "completion": "preview", "metrics": {"term": 1.0}, "errors": [],
                 "answer_free": false, "completion_id": "…", "same_as_good": false } ],
  "static": [ { "rule": "reference_substring_match", "file": "env.py", "line": 26, "where": "load_environment",
                "evidence": "source line", "meaning": "…", "confirm_with": ["P9", "P5", "S3"],
                "verdict": "confirmed: P9 failed 10/20, P5 failed 10/30" } ],
  "rewardlint": null
}
  • expected: full (a correct completion, must get the maximum), zero (a known-bad completion, must get nothing), stable (the same completion scored repeatedly, must get the same score), at_most_reference (must not beat the concise correct answer), lazy (a fixed strategy that is right on some tasks by chance, such as O1's constant decision: the row never fails; only the mean of its rows, the lazy-policy reward, is read), paid_once (O3, one action repeated through an episode: the row fails when it is paid on 5 or more steps in a row; score is the sum of the step rewards and metrics.paid_steps counts the paid steps; left out of the headline numbers), below_reference (a changed value, such as P17's denied field, or an adapter's wrong episode judged with check(..., Expect.BELOW_REFERENCE, reference=...): must earn less than the reference earns on the same task).
  • passed: whether the grader did what expected asks.
  • meta.scale (only when the adapter defines scale_points, for a reward with no fixed scale): {"kind": "reference-relative", "floor": "…", "reference": "…", "tasks": 24, "points": {"task-3": [floor, reference]}, "excluded": {"task-0": "why"}}. Every score is then (raw - floor) / (reference - floor) on its task, max_reward is 1.0, and the raw reward is in metrics.raw_reward.
  • P11 rows reference_other_hash_seed and wrong_in_format_other_hash_seed: the same replies scored once more in a second process with another PYTHONHASHSEED (set order of strings differs between processes, never within one). meta.hash_seed_check says why the check did not run, when it did not (loading took over a minute; the second process failed).
  • meta.binary_references (only when there were some): how many tasks' reference is a binary file sent as text (an EXR, PNG or MP4 a repair task asks for). The probes that write text around the reference (P2's default forms, P5, P9, P14, P15, P18, P19, the search) were skipped there, since a file reader sees the same file; an adapter's own rows test damaged files.
  • meta.timings: where the time went, in seconds: total_s (the probe process, after set-up), set_up_s (resolving and installing the virtualenv, when started through the CLI; words adds the two), phases (load, prepare, probes, slower_probes, output_file (T9's episodes, only when a prompt names an output file), hygiene, rewardlint, close, hash_seed, static), jobs (tasks scored at once; 1 where the scorer is not safe to run concurrently) and hub_checked (the dataset library was loaded with nothing telling it to stay offline, so a Hub-hosted dataset was checked with the Hub; --offline skips that once the data is cached). The summary's Time line and the digest's timings.words say the same in words.
  • answer_free: the completion was built without the reference answer, so a policy that knows nothing about the task could produce it. These feed the lazy-policy number.
  • metrics: the value of each reward term, so a leak can be traced to the term that pays.
  • errors: exceptions or timeouts raised by the reward code on this completion.
  • completion_id: key into completions.json; empty for completions over 60,000 characters (generated payloads such as P10's 2 MB reply), which are kept as a preview. A policy's episode that long (one that ran into the turn cap) is kept with its first and last 10 messages and "shortened": true; it is not replayed by repro and not compared for same_as_good.
  • same_as_good: a known-bad completion that is identical to a known-good one on the same task (for a policy: the same replies). It is marked passed and left out of the ceiling; the lazy-policy reward still counts it, since a fixed strategy earns it on every task.
  • no_control: a known-bad tool-policy row (T5, T6) on a task where refusing or doing nothing is the right answer: declared by the adapter (refusal_tasks, filled from refusing_is_right in the init --policies skeleton for v1), or inferred when "Done." without a tool call earns the maximum on that task but not on every task. Marked passed and left out of the ceiling; the headline counts them (no_control, no_control_tasks). When doing nothing earns the maximum on every task, the rows stay counted: that is a false pass.
  • final_as_good: a known-bad completion whose last reply equals a known-good one's but which said other things first: right by chance, or wrong tries before the right one (a real exploit if the grader pays it). It is counted; the headline adds a note when the ceiling rests on such a row, with the ceiling without them.

falsepass results --json#

A digest of the same run, small enough to hand to a model (numbers from falsepass demo). When the control failed, at least half the probe rows produced no score, or (with no control) every reply scored the same on each task, the digest has "status": "inconclusive", a reason, next, and no headline (see the agents page). A finished run of task-blind policies (no control) adds facts_that_hold, not_counted and next. scores lists the first five failed rows; scores_note says so when there are more:

{
  "environment": "owner/env",
  "meta": {"date": "…", "falsepass": "…", "versions": {"…": "…"}, "examples": 25, "max_reward": 1.0,
           "adapter": {"format": "<answer>", "answers": "open", "turns": "single-turn", "validity": "ok"}},
  "headline": {"false_pass_ceiling": 1.0, "false_pass_via": "P5 shotgun/all_in_one_slot",
               "false_pass_ceiling_tasks": [10, 10],
               "lazy_policy_reward": 0.0, "lazy_policy_via": "P3 empty/empty",
               "false_fail_rate": 0.108, "known_good": 93, "known_bad": 233, "scoring_errors": 0,
               "same_as_good": 0},
  "…": "false_pass_ceiling_tasks: on how many of the tasks that row ran on it reached the ceiling.
        When the ceiling rests on a row whose last reply equals a known-good one, the headline
        also has false_pass_note, false_pass_ceiling_other and false_pass_other_via",
  "failing": [ {"probe": "P5", "name": "shotgun", "variant": "all_in_one_slot", "expected": "zero",
                "runs": 10, "failed": 10, "scores": [1.0, 1.0, 1.0, 1.0, 1.0], "detail": "…", "example": "row-98",
                "completion": "start … [316 chars] … end", "completion_id": "da79bcea66a8",
                "answer_free": false} ],
  "static_hints": [ "as in probe-results.json" ],
  "note": "Leads, not findings: …"
}

Also in the digest when they apply: meta.notes (a hand-written adapter's load notes), meta.source (the audit ran on a patched copy), and warning (automatic mode left the episode open after its one reply on most rows: the environment takes several steps; or an OpenEnv reset() takes keywords that pick a task, listed in meta.default_reset, and no tasks.json named any, so every row ran the environment's default set-up). A policy run whose tool calls all failed, or whose solver (X0) earned less than the maximum on at least half the tasks, is inconclusive; probe-results.json keeps the counts under meta.tool_calls (tool_calls, failed, first_failure).

reward_terms (when the reward has named terms) says which part of the reward paid on known-bad and fixed-strategy rows: {"term": "format_reward", "weight": 0.2, "nonzero_share": 0.82, "mean": 0.164} per term, the same as summary.md's "Reward terms" table. A correctness term should be 0 there; a format or length term that pays explains a ceiling.

failing lists false passes first (a known-bad completion was paid), the most consistent ones on top, then false fails. An entry's note adds what changes its reading: the reference is a structured answer, or the row earns no more than a single wrong answer (P6, P7) on the same task, which is the grader's partial credit for any reply rather than a reward for listing or denying. meta and static_hints are trimmed to what an agent needs; everything else is in probe-results.json.

The headline numbers:

  • false-pass ceiling: the highest reward any known-bad completion received.
  • lazy-policy reward: the best average reward of one fixed strategy that never uses the reference answer. On a closed answer set, one fixed label earns its share of the dataset under any correct grader; subtract that base rate before reading it.
  • false-fail rate: the share of known-good completions denied full reward. Some of these are deliberate strictness about format; read the variant names.
  • near misses paid (near_misses_paid, near_misses_paid_via; only when there are some): below_reference rows that earned as much as the reference on their task, such as an adapter's repair with one link still wrong, or P17's denied field. They stay out of the ceiling, because the changed part may simply not be graded; read one before deciding.

completion shows the start and the end of the first failing completion (the answer is usually at the end); falsepass results <env> --completion <completion_id> prints all of it. A row without a completion_id carries a completion_note saying why.

repro-run.json#

Written by falsepass repro <env> --run (and returned by MCP falsepass_repro with run=true):

{"script": "repro_auto.py", "command": "uv run -q --isolated …", "exit_codes": [0, 0],
 "identical": true, "output": "/abs/path/audits/env/repro_auto.output.txt", "lines": 12,
 "differences": [], "cases": 12, "reproduced": 12}

With --source (MCP source) the result carries source and the output is stored as <script>.source.output.txt, apart from the unpatched baseline. When every case raised, the result has inconclusive (the first exception line) and MCP returns status inconclusive. cases and reproduced appear for scripts falsepass repro wrote: reproduced counts the cases that still miss what a correct verifier gives. A first run that fails gives error and stderr instead, and nothing is stored.

reach/.json#

{"meta": {"environment": "owner/env", "date": "…", "falsepass": "…", "asked": ["P15/denied"],
          "tasks_counted": 500, "tasks_in_dataset": 500, "all_tasks": true, "seed": 0, "jobs": 8,
          "tasks_without_reference": 0,
          "max_reward": 1.0, "bad_tolerance": 0.0, "format": "reasoning+boxed",
          "audit_format": "reasoning+boxed", "note": "", "versions": {"verifiers": "…"}},
 "rows": [{"probe": "P1", "name": "ground_truth", "variant": "reference", "control": true,
           "expected": "full", "tasks": 500, "not_applicable": 0, "failed": 0, "full_reward": 500,
           "errors": 0, "same_as_good": 0, "mean_reward": 1.0, "failed_tasks": [], "examples": []},
          {"probe": "P15", "name": "hedged_in_slot", "variant": "denied", "control": false,
           "expected": "zero", "tasks": 500, "not_applicable": 0, "failed": 7, "full_reward": 7,
           "errors": 0, "same_as_good": 0, "mean_reward": 0.014, "failed_tasks": ["test-17", "…"],
           "examples": [{"task": "test-17", "score": 1.0, "completion_id": "…", "completion": "…"}]}]}

failed counts rows that missed their expectation: for expected zero, paid more than bad_tolerance; for expected full, paid less than max_reward. errors are calls that returned no score. same_as_good counts tasks where the known-bad completion came out identical to the reference reply (a wrong value that happens to equal the answer, a template that reduces to it): paid, but not counted in failed, so full_reward can exceed failed. not_applicable counts tasks where the probe writes no such completion (P16 on a task with no free-text field, for example), so tasks can be smaller than tasks_counted. The answer format is inferred again for this run; note says so when it differs from the audit's. latest.json is the same document plus file, its path.

meta.timings is the audit's (total, set-up, seconds per phase: load, prepare, catalog, reach, close; jobs; hub_checked), and the text output ends with a time: line. With --template, meta also has templates and template_expect, and each template is a row with probe "U1", variant "t1", "t2", ... in the order given, plus template (the text as given) and first_completion (what it became on the first task). The file is named <probes>+template-<hash>.json.

falsepass init --json#

{"name": "gsm8k", "folder": "/abs/path/audits/gsm8k", "framework": "verifiers",
 "env": {"id": "primeintellect/gsm8k", "package": "gsm8k", "version": "…"}, "manual": false,
 "automatic_likely": true, "others": [], "next": "falsepass audit gsm8k"}

name is what every other command takes. Names are forgiving: arc_easy finds arc-easy. automatic_likely is read from the package source (single- or multi-turn, a reference answer in the data, no sandbox, tools, judge, API key or outside service): false means the automatic run will probably stop and an adapter (--manual or --policies) is needed; null when there is no wheel to read (local folders, Inspect registry names). With false, automatic_unlikely_because says why (e.g. "sandbox, no reference answer found in the source"). outside_hosts lists the hosts of an outside service the code calls (an HTTP client in the source and a URL that is not local and not a data or documentation host: a game server, a judge service, a live API); an audit should not reach them. reference_files lists files in the package named like a known-good output (_reference_good.ocio, gold.exr), kept in src/ whatever their suffix: for a repair or render task, one is often the control.

env.toml records wheel_sha256 (the exact bytes audited) and the package's project_urls for a Hub environment.

Exit codes#

falsepass audit exits 1 when a --fail-on condition is met, when the run was stopped (--time-limit, SIGTERM, Ctrl-C: stopped.md says where, and partial-results.jsonl holds the rows of every task finished, one JSON object per line as in probe-results.json), and with the probe run's own code when it fails; falsepass reach exits 2 when the rows asked for do not exist (the message lists those that do); falsepass repro --run exits 1 when the two runs differ; every other command exits 0 on success and 1 with a message on stderr when its input is missing.