Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

audit-grader-suite

Five small graders with planted defects, used to check the audit-grader agent skill of marin-community/marin#10422 on graders other than its IFBench example. It also holds blind runs of the skill on IFBench, scored against the earlier IFBench audit.

The five graders cover the four kinds the skill names: two programmatic checkers (one for math word problems, one that runs code against tests), an LLM-judge pipeline with recorded judge replies, an RL reward function for JSON answers, and an agent task whose verifier grades an answer file. Each has three planted defects, one place where its task text allows two verdicts (an ambiguity), and one behavior that looks wrong but follows the task text (a trap), with 36 to 48 stored responses or trials that stand in for a model panel.

Results

Each run was a fresh agent session (Claude Opus 5.5) whose working directory held only the skill files and one case directory, with no answer key. It was told to work only in that directory and offline; nothing enforced this. Three runs reported temporary files or path checks outside the directory, none of them in this repository. runs/SCORES.md scores each report against the case's key with the rubric in RUNNER.md.

Run Kind of grader Defects found Ambiguity as a decision Trap respected False findings Real defects found that were not planted
toymath-extract-r1 programmatic checker 3 of 3 yes yes 0 3
toycode-exec-r1 programmatic checker (code execution) 3 of 3 yes yes 0 4
toyqa-judge-r1 LLM-judge pipeline 3 of 3 yes yes (filed as a decision) 0 0
toyjson-reward-r1 RL reward function 3 of 3 yes yes 0 3
toyagent-verify-r1 agent-task verifier 3 of 3 no yes 0 1
toyagent-verify-r2 agent-task verifier 3 of 3 yes yes 0 1

The five r1 runs used skill/r1/. The toyagent-verify-r1 run wrote one reading of an undefined term into its contract (whether other words may surround the answer) and filed no decision entry for it. skill/r2/ adds one rule to step 2: such a term gets a decision entry, and the contract's reading becomes the proposal. The r2 run of the same case, with skill/r2/, filed the decision entry and kept the other results. The rule's two examples come from this case, so the r2 run shows only that a run follows the rule.

No run ran step 6's two reviewers, because the exercise did not allow subagents, so no run measured an error rate. Each run still drew and froze its review sample. Each case had one run with skill/r1/, and toyagent-verify also had one with skill/r2/.

Blind rerun on IFBench

The skill's worked example, an audit of the 58 IFBench instruction checkers, was done before the skill was written. runs/ifbench-r3/ is a rerun on the same grader: a fresh agent session (Claude Opus 5.5) audited Marin's vendored IFBench checkers with skill/r3/, without the worked example and without any result of the earlier audit, and two more sessions reviewed its frozen step 6 sample of 458 verdicts. runs/SCORES-ifbench.md scores its report against the earlier audit's findings, with the rule in keys/ifbench.md.

Earlier audit's findings Reported as a finding As a decision entry Not reported
34 checker findings that hold under every reading 28 3 3
9 checker findings that rest on a decision 3 5 1
6 protocol findings 3 2 1

The rerun lists 56 findings, and every counterexample reproduces on the grader. 40 match the earlier audit, 5 are defects that the earlier audit did not report, 8 belong in decision entries, 3 are about the case folder and the stored panel, and none is false. It puts the grader's error rate at 7.2% [5.9, 9.1]; the earlier audit's two rounds gave 7.6% [4.7, 11.3] and 6.1% [3.9, 10.1]. The score card lists the limits of a single run.

Tests of one rule for the skill

The rerun missed four of the earlier findings. Each was an input form, such as a list label or a curly quote, that the rerun had used on another check. Seven more blind runs on IFBench, through step 5, tested three wordings of a rule for step 4 that carries such edits to every check. runs/SCORES-ifbench.md scores them on the earlier audit's 143 public fixtures, of which the grader gets 81 wrong, and on five earlier findings.

Skill Rule in step 4 Runs Of the 81 fixtures, the run's replacement grader corrects
skill/r4/ none ifbench-r4, ifbench-r4-2 56, 58
skill/r4-rule/ carry an input form to the other checks, with four forms as examples ifbench-r4-rule 66
skill/r4-edits/ a list of six edits for every check ifbench-r4-edits-1, ifbench-r4-edits-2 69, 77
skill/r4-edits2/ the list with the numbered label and the typographic marks spelled out ifbench-r4-edits2-1, ifbench-r4-edits2-2 70, 75

A run tries what the rule names. With examples, the run chose its own edits and no list label. With "a list label (1., -)", both runs wrote - before the first line, which does not show the finding that needs 1.. With the numbered label spelled out, both runs tried it and both report that finding, one as a finding and one under a decision entry. Five runs of the small cases with skill/r4-edits2/ (runs/<case>-r4-edits2/) score as the earlier runs did: 15 of 15 planted defects, 5 of 5 ambiguities as decision entries, 5 of 5 traps respected, no false finding. Each version has two runs at most, and the lists come from what runs missed on this benchmark; the score cards give the limits.

The case is too large to copy here. cases/ifbench/SOURCES.md says how to rebuild it from public sources and check it against MANIFEST.sha256.

A test of the rule on a second grader

The wording of skill/r4-edits2/ comes from IFBench, so four more blind runs audited graders that it was not written for: the two rewards of the instruction-following rows of Marin's Nemotron RLVR1 data, NVIDIA's checkers in the SkyRL reward and verifyit's checks in the task-curation gate. Two runs had skill/r4/ and two had skill/r4-edits2/. runs/SCORES-rlvr1.md scores them against an earlier audit of the same rewards, which is not published.

Skill Runs Of 39 defect fixtures of the SkyRL reward, corrected Of 65 of the gate, corrected
skill/r4/ rlvr1-r4-1, rlvr1-r4-2 31, 28 57, 59
skill/r4-edits2/ rlvr1-r4-edits2-1, rlvr1-r4-edits2-2 33, 29 58, 61

The rule costs nothing measured here, and both rule runs applied the whole list; in both, the dash bullet showed that verifyit counts a bare - as a word in its word checks, which the key has no fixture for. The fixture battery and the six target rows do not separate the versions, because the target defects are frequent on this panel and the controls find them too. The stored responses and the key are not published, so these records cannot be rerun from this repository.

Six more runs on 12 November make five runs per version, and the battery still does not separate the versions. A second measure counts the (form, check) pairs that a run's own inputs exercise; in a pair, the input form changes the check's verdict while the contract's verdict stays the same under every reading of the decision entries. This measure separates the versions when inputs whose verdict rests on a decision entry count. It needs the earlier audit's contracts, which are not published; runs/SCORES-rlvr1.md defines it and gives each run's counts. Each p is the exact two-sided Mann-Whitney p for five runs against five.

Mean per run Without the rule With the rule p
Of 39 defect fixtures of the SkyRL reward, corrected 30.0 30.8 0.46
Of 65 of the gate, corrected 58.2 59.4 0.20
NVIDIA pairs its inputs exercise, of 89 8.0 19.0 0.095
the same, also counting inputs whose verdict rests on a decision entry 11.0 31.6 0.008
Gate pairs its inputs exercise, of 59 6.0 8.6 0.30
the same, also counting inputs whose verdict rests on a decision entry 6.0 10.4 0.016

Layout

Path Contents
cases/<case>/ TASK.md, the grader, data, stored responses or trials, MANIFEST.sha256
keys/<case>.md the answer key: planted items, counterexamples, panel numbers, likely non-planted observations
keys/tools/ builders, private oracles and checks; last_check_*.txt hold the final check outputs
skill/r1/, skill/r2/ the skill files the runs used
runs/<case>-r<N>/ one run's audit directory: AUDIT.md, ISSUE.md, tests, frozen samples
runs/SCORES.md the score card
cases/ifbench/ what identifies the IFBench case, and SOURCES.md, how to rebuild it
keys/ifbench.md, keys/tools/ifbench/ the earlier audit's files, the scoring rule, and the scripts and outputs behind the score
skill/r3/, skill/r4/, skill/r4-rule/, skill/r4-edits/, skill/r4-edits2/ the skill files the IFBench runs used; the last also served the five later runs of the small cases
runs/ifbench-r3/, runs/ifbench-r3-prompts/ the rerun's audit directory and the briefs of its two auditor sessions
runs/ifbench-r4/, runs/ifbench-r4-rule/, runs/ifbench-r4-prompts/ the two controlled runs' audit directories and their brief
runs/ifbench-r4-2/, runs/ifbench-r4-edits-1/, -2/, runs/ifbench-r4-edits2-1/, -2/ the audit directories of the five later controlled runs, which got the same brief
runs/<case>-r4-edits2/, runs/r4-edits2-prompts/ the five runs of the small cases with skill/r4-edits2/, and their brief
runs/SCORES-ifbench.md the IFBench score card
cases/rlvr1/ what identifies the RLVR1 case: TASK.md, SOURCES.md, MANIFEST.sha256, the panel's settings and the package list
keys/tools/rlvr1/ the fixture battery's script (it needs the unpublished key) and its output table
runs/rlvr1-r4-1/, -2/, runs/rlvr1-r4-edits2-1/, -2/, runs/rlvr1-prompts/brief.txt the four RLVR1 runs' audit directories and their brief
runs/rlvr1-r4-3/ to -5/, runs/rlvr1-r4-edits2-3/ to -5/, runs/rlvr1-prompts/brief-batch2.txt the audit directories of the six RLVR1 runs of 12 November, and their brief
runs/SCORES-rlvr1.md the RLVR1 score card
RUNNER.md how to run one audit and score it

Reproduce

Check a case against its private oracle (from the repository root; standard library only, checked with Python 3.12; toyagent-verify also needs bash, and on Windows the checks should run from Git Bash so that they find its bash):

python -B keys/tools/check_toymath.py

Each check ends with ALL CHECKS PASSED when the grader matches the oracle with every planted defect switched on and the reference, where there is one, matches it with every defect off. RUNNER.md lists all five checks. To rerun one run's tests, make a directory with case/ (a copy of cases/<case>/) and audit/ (a copy of runs/<case>-r<N>/), then run python -I -m unittest discover -s audit/tests in it. To run a new audit, follow RUNNER.md, and give the auditor no file from keys/ or runs/.

License

Apache-2.0.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages