Repository navigation
fix(skill-evals): make the grader and three fixtures stop failing correct answers - #1398
Merged
Merged
Conversation
…rect answers Most eval flakiness was the grading, not the model: in 14 cases that flaked on apache#1390, the decision fields matched on every run and the failure came from the haiku grader rejecting a correct free-text explanation, or from a regex check on prose. - Grader rubric (single and batch): a candidate reaching the same conclusion is a match even when it adds correct detail, omits secondary detail, names the rule differently, or explains the decision without restating it (the decision is compared exactly in its own fields). Answer false only on a different or contradictory conclusion. A negative control of contradicting explanations still grades NO. - mentor tone-checks case-14: assert the quote contains "towncrier" (regex) instead of exact equality; case-10: drop has_author_tag_issue, whose regex cannot match a missing-tag violation and which rule/result already pin. - pr-stale-sweep step-7-recap: drop "note is absent" regex checks where the exact count is 0; a recap that says "Maintainer-court PRs: none" is correct but matched the regex. - reviewer-routing: output-spec now says signals_shown is false when no reviewer is proposed. Generated-by: Claude Opus 5
potiuk
added a commit
to potiuk/magpie
that referenced
this pull request
Sep 26, 2026
Pick up today's merges (apache#1390, apache#1391-apache#1394, apache#1398, apache#1399) in a fresh marketplace build. pyproject.toml, uv.lock and every generated plugin/marketplace manifest move from 0.9.0.dev202609251939. Generated-by: Claude Opus 5
3 tasks done
potiuk
added a commit
that referenced
this pull request
Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NO.pr-management-mentor/tone-checks:case-14asserts the quote containstowncrier(regex) instead of exact equality;case-10dropshas_author_tag_issue, whose regex cannot match a missing-tag violation (the case'srule/resultfields already pin it).pr-stale-sweep/step-7-recap: drop the "note is absent" regex checks where the exact count is0— a recap that says "Maintainer-court PRs: none" is correct but matched the regex.reviewer-routing/step-score-and-propose: the output spec now sayssignals_shownis false when no reviewer is proposed (the empty-roster case was ambiguous).Type of change
prek, workflows, validators) — the skill-evals harness and fixturesTest plan
prek run --all-filespasses (36 hooks)uv run --directory tools/skill-evals pytestpassesclaude -p, haiku grader), before → after:case-10,case-13,case-14; triagepre-filter/case-3,case-6,case-9; statspressure-weight/case-2; stale-sweepstep-7-recap/case-1,case-2,case-3; reviewer-routingcase-2; code-reviewreview-handoff/case-3,security-disclosure-scan/case-5hand-off/case-32/3 (haiku occasionally still asks for the "hand off" conclusion to be restated)NOwith the new rubric.Not in this PR — genuine decision disagreements
These fail on
mainas well and are not grading noise; they need someone to decide the intended answer rather than a fixture edited to match the model:pr-management-code-review/step-2.5-slop-detection/case-2-one-hard-three-soft— the model finds 2 soft signals where the fixture expects 3 (0/3 on both trees).pr-management-mentor/intervention/case-5-multiple-triggers— the model concludes no maintainer is engaged; the fixture expects "ask the maintainer which intervention to lead with".🤖 Generated with Claude Code