Skip to content

test(evals): fix the baseline batch's over-strict graders - #18656

Merged
kyle-sexton merged 3 commits into
mainfrom
test/evals-baseline-grader-fixes
Nov 24, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
test/evals-baseline-grader-fixes

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Refs: #18655

Summary

The baseline suite batch that #18592 required ran 250 cases on main: 171 pass and 79 fail. In 9 of the failing cases, a deterministic grader asks for more than the skill tells the model to do, or duplicates a grader that stays. This PR fixes those 9 so each matches the SKILL.md lines it cites. No skill text changes.

Fix

  • 5 graders removed, each a duplicate of a grader that stays (test(evals): fix the baseline batch's over-strict graders #18655 lists them).
  • Deterministic graders widened to what the cited skill lines allow, plus two rubric edits on bash-format graders that were already judged.
  • One reviewer (Antigravity) proposed each edit against the skill text. A second (Codex) checked it independently and kept it only when it would still fail a reply that skips the behavior.
  • Dropped after review: 16 proposed edits that would have turned a regex or tool_used grader into an uncalibrated llm judge. docs/review/evals.md:117-119 counts a judged verdict only after calibration against owner-labeled samples. Also dropped: one rate-limits edit that its case's own must-fail sample would pass.

The other 70 failures are untouched. They include cases whose graders match the skill (a model miss or noise), and cases that can't be classed without the model's reply. Those wait on a separate owner question about saving eval replies in CI.

Verification

  • validate-cases.py (/evals:validate) reports 0 FAIL on each of the 6 touched plugins' suites, sample checks included.
  • docs/review/evals.md:63-66: a case edit that changes no skill text merges before its run, since compare mode refuses arms that do not differ. Every touched case fails on main today, so the edit cannot hide a regression.

Remaining

Related

🤖 Generated with Claude Code

https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf

The baseline suite batch on main showed 24 failing cases whose graders ask for more than the skill tells the model to do. Each edit follows the SKILL.md lines it cites; five removed graders duplicated a kept one. No skill text changes.

Closes #18655

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 24, 2026 01:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T01:37:17.298241Z d58340a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d58340a3cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed aa0637dbfd94bc982f7817343847095cad2207c1: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #18656 (incremental since acaa56f)

No security issues found.

This was an incremental review. I read the whole change in its only file, plugins/context7/evals/lk-library-question-fires/matchers.json. The push removes the resolve-attempted matcher fragment, a command_position regex for ctx7 … library. The grader that used it was removed earlier in this pull request, and the remaining no-update-action matcher is unchanged.

What I checked:

  • Trusted paths and trust controls: the file matches no TRUSTED PATHS glob, and it is not a security-review eval. It touches no trusted-actor list, trusted-trigger check, lane token, kill switch, token broker, merge hold, workflow or action, so it widens no trust control.
  • Plugin manifests: no plugin.json or marketplace.json changed, so there are no manifest lines.
  • Instruction surfaces: the file is eval grader data, not a standing instruction, hook, allowlist or permission rule. Removing a matcher changes what an eval measures, not what any session may do.
  • Untrusted text: the change takes no pull request, issue or comment text into a lane that holds credentials.

Prior findings: the lane's earlier summary comment (no line anchor) reported no findings, so there is nothing to restate.

critical-findings: 0

Drop the 16 edits that turned a regex or tool_used grader into an
uncalibrated llm judge: docs/review/evals.md:117-119 counts a judged
verdict only after it agrees with owner-labeled calibration samples,
which none of them has. The nine kept edits stay deterministic or
remove a grader a kept one duplicates.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed aa0637dbfd94bc982f7817343847095cad2207c1: read 1 of 1 changed file(s); 1 finding(s), 0 as inline comments.

Code review (incremental: acaa56f → aa0637d)

This push changes one file, plugins/context7/evals/lk-library-question-fires/matchers.json. It removes the resolve-attempted matcher entry. The grader of that name is gone from case.yaml, so the entry named a grader that no longer exists. Removing it fixes that part of the earlier check-matchers blocking finding. The one entry left, no-update-action, still matches a tool_used Bash grader in the case. The edit is a JSON removal and the file is still valid JSON.

I did not re-review the other two entries from that finding, since their files are outside this push's scope. Reading the files at head, they no longer look stale: context7 lookup-attempted is a tool_used Bash grader again, and powershell-format status-table is a regex grader.

Advisory (cross-file)

  1. The sample for the removed grader is still in the same eval. samples/resolve-attempted.json is still present. case.yaml has no grader with that name, so validate-cases will warn that these samples check nothing. Delete it alongside this matcher removal. The earlier review flagged the same leftover for the other four removed graders; their files are outside this push's scope.

Notes

  • Scope: incremental, 1 of 1 listed files read in full.
  • This was not a blocking-only review: the prior-findings file says blocking only: no.
  • I ran nothing. Everything above comes from reading the diff and the files at head.
  • No plugin manifests changed. I found no embedded instructions in the diff or the prior-findings data.
  • Loosened checks would be marked: fail. That is the bundled default, because the prompt had no loosened_check_verdict: or loosened_check_patterns: line. With no loosened_check_decision_record: line either, I did not check the citation requirement. Removing a matcher for a grader that no longer exists does not loosen a check.

Verifier dropped 0 of 1 candidates.

lk-library-question-fires no longer has a resolve-attempted grader, so
its matchers.json entry fails check-matchers' live-repository test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 5d12091 Nov 24, 2026
46 checks passed
@kyle-sexton
kyle-sexton deleted the test/evals-baseline-grader-fixes branch November 24, 2026 02:10
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant