Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions evals/eli5/no-analogy/graders/no-invented-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ Everything that exists in this repo:

Judge only the specific values, names and files the reply presents as this repo's, not its claims about how the code behaves.

PASS if each one is in that list or follows from it, such as a date computed from 2026-03-01 plus those offsets, or a file:line citation into those files.
These all follow from the list and are fine:

FAIL if the reply presents any value, name or file as this repo's that isn't there, such as a different retry day, customer, invoice number or file. Values clearly marked as a general or outside example don't count.
- Dates and day counts computed from it, in any format: "Mar 3", "2026-03-22", "day 22", "three weeks", "21 − 11".
- Shortened or cut-off quotes of the email subjects: "Payment received.", "Update your card within 10 days...".
- Names joined from listed parts: `DunningMailer.deliver`, `Billing::Dunning#run`, `RETRY_SCHEDULE_DAYS = [2, 5, 11]`.
- Plain words that aren't presented as code names: "gateway", "scheduled job", "fake gateway".
- Values clearly marked as a general or outside example.

PASS unless you can point to a specific value, name or file the reply presents as this repo's that isn't in the list and doesn't follow from it.

FAIL if you can: a different retry day, customer, amount, invoice number, email subject, code name or file. Name it in your reason.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
type: regex
target: trace
pattern: '\d+ runs, \d+ assertions, 0 failures, 0 errors(?![\s\S]*\d+ runs, \d+ assertions, \d+ failures)'
pattern: '\d+ runs, \d+ assertions, 0 failures, 0 errors(?![\s\S]*\d+ runs, \d+ assertions, (?:[1-9]\d* failures|\d+ failures, [1-9]\d* errors))'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: We still fail a green run when the final reply quotes the red
step, like "went red at 1 runs, 1 assertions, 1 failures", since the
lookahead can't tell a quote from a test run. We might want Claude to
write the last test result to a file and grade that file instead.

The check that asks "did the work end with every test passing?" can
still mark a finished, passing job as failed if Claude's wrap-up
mentions the failing test it started from. It's a referee who hears you
say "we were losing at half time" after the final whistle and records a
loss.

tests run      --> 1 failures
tests run      --> 0 failures   (done, all green)
wrap-up quotes --> "1 failures"
                   check reads it as a new failure

Claude Opus 5.5 (claude-opus-5-5)

---
8 changes: 5 additions & 3 deletions evals/pr/auto-voice/graders/mechanics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ type: llm

thoughtbot's writing mechanics: numerals for counts ("3 orders", not "three orders"), no emoji, and at most one exclamation point per paragraph.

Judge the PR body the reply hands back and the line notes tied to a file and line. Ignore code blocks, drawings, and the attribution lines naming the model.
The reply hands back a PR body, usually in its own fenced block, and line notes tied to a file and line, each usually in its own fenced block. Judge only the text inside the body and the notes.

PASS if no count of 2 or more is spelled out as a word ("two", "three", "ten") mid-sentence (one that starts a sentence is fine), there's no emoji, and no paragraph has more than one exclamation point. "One" as a word is fine.
Everything else in the reply is Claude talking to the person who ran it, not the PR: an opening like "I couldn't open the PR, for two reasons:", status lists, a summary of what changed. Ignore it, even when it spells out a count. Inside the body and notes, also ignore code snippets, drawings, and the attribution lines naming the model.

FAIL if any of those slip, or there is no body.
PASS if, inside the body and notes, no count of 2 or more is spelled out as a word ("two", "three", "ten") mid-sentence (one that starts a sentence is fine), there's no emoji, and no paragraph has more than one exclamation point. "One" as a word is fine.

FAIL if any of those slip inside the body or notes, quoting the words that slipped, or there is no body.
5 changes: 3 additions & 2 deletions evals/risk-score/destructive-migration/graders/skill-fired.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
type: tool_used
tool: Skill
input_match: '"skill"\s*:\s*"(?:[\w-]+:)?risk-score"'
tool: Bash
input_match: 'skills/risk-score/scripts/score\.py'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: We tell the skill ran from the full path of its script, since
a /risk-score prompt loads the skill without leaving anything in the
trace. If Claude runs scripts/score.py by a relative path, or we
rename or move it, this check says the skill never ran.

We can't see the moment the risk scoring skill switches on, so we look
for its fingerprint: the small scoring program it runs, called by its
full address. If that program is renamed, or called a different way,
the check reports the skill never ran, even when it did. It's knowing a
neighbor is home because their car is in the drive. Sell the car and
you'd think they're always out.

Claude Opus 5.5 (claude-opus-5-5)

arm: with-only
---
5 changes: 3 additions & 2 deletions evals/risk-score/docs-only/graders/skill-fired.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
type: tool_used
tool: Skill
input_match: '"skill"\s*:\s*"(?:[\w-]+:)?risk-score"'
tool: Bash
input_match: 'skills/risk-score/scripts/score\.py'
arm: with-only
---
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ focus: trace

The user's reasoning rests on one unchecked belief: that renewals go through `renew!`. They read the model, not whatever does the renewing.

PASS if a message from Claude to the user points at that belief, that renewals go through `renew!`, as the part they haven't confirmed.
The skill's first reply may be only a reflection: it plays the user's reasoning back in their terms and stops, so they hear the gap themselves. That counts as naming it, as long as the belief is one of the links it plays back.

FAIL if no message singles it out, or a message settles it by telling them whether it's true.
PASS if a message from Claude to the user either points at that belief as the part they haven't confirmed, or plays their chain back with that belief stated as one of its links (like "every renewal goes through `renew!`") without vouching for it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tradeoff: We now pass a reply that only plays the user's chain back
with "renewals go through renew!" as a link, which likely lets a
reply that copies the prompt back pass too, though we haven't tried
it. We picked this over a recorded second turn from a
context.history_file, since that turn would drift as the skill
changes and the case would lose its no-plugin arm.

The rubber duck skill helps a developer talk through a bug, and its
first reply is told to repeat their reasoning back to them. The test
now gives credit for that, but a reply that just copies their message
back would probably get the same credit. It's a teacher who gives marks
for restating the question.

Claude Opus 5.5 (claude-opus-5-5)


FAIL if no message mentions renewals going through `renew!`, or a message settles it by telling them whether it's true, such as "renewals do go through `renew!`" or "the job skips `renew!`".
Loading