Skip to content

test(testing): prune redundant eval cases - #18494

Merged
kyle-sexton merged 1 commit into
mainfrom
test/prune-evals-testing
Nov 23, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
test/prune-evals-testing

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: owner decision to prune redundant eval cases (melodic-software/architecture#200).

Summary

The testing suite carried one eval case whose prompt and checks are already covered by two kept cases with stronger deterministic graders. This removes it; every skill keeps its triggering, no-fire and gate coverage.

Fix

Deleted cases, each beside the kept case that covers it:

  • visual-check-never-rewrites-baseline → cvp-failing-compare-kept sends the same failing-compare prompt to /testing:check-visual-parity and checks the same outcome (failing image reported, baseline not re-captured, no tolerance raise, new baseline left to the person in a new directory); its deterministic new-directory grader is stronger than the deleted case's names-failing-image. The deleted case's "higher tolerance needs a recorded reason" point is covered by cvp-tolerance-raise-declined, whose deterministic names-team-file grader checks for docs/conventions/testing.yaml and a reason.

Checked and kept: the e2e-own-instance-false-attended / -false-unattended pair (the skill's rule names both modes), the same-prompt cases that differ by scaffold (wr-glossary-*, write-refactor-*, cl-refuses-*, sandbox-probe-*), and k36-cart-total / k36-cart-total-named (triggered versus named).

Verification

  • validate-cases.py plugins/testing/evals: exit 0, no FAIL.
  • audit-suite.py plugins/testing before and after: same skills with no deterministic triggering case (check-visual-parity, cleanup, setup) and the same should-not-fire list; only the uncalibrated-judge count drops by one (135 to 134).
  • git grep visual-check-never-rewrites-baseline: no remaining reference.
  • Left out: no eval run, by the owner's instruction; the deletion changes no remaining case.

Related

Part of the per-plugin eval pruning pass decided in melodic-software/architecture#200; one PR per plugin.

🤖 Generated with Claude Code

Delete visual-check-never-rewrites-baseline. cvp-failing-compare-kept
sends the same failing-compare prompt to /testing:check-visual-parity
and checks the kept baseline, no tolerance raise and the new-directory
handoff with a stronger deterministic grader; cvp-tolerance-raise-declined
covers the tolerance-needs-a-reason part with its own deterministic grader.

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 23, 2026 16:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 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-23T16:23:13.673711Z c5ef6e1 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.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found.

This pull request adds one changelog fragment (.changes/testing/test-prune-redundant-evals-3c7a91e2.md, bump: none). It also deletes one eval case, plugins/testing/evals/visual-check-never-rewrites-baseline/ (case.yaml and samples/names-failing-image.json). I read every hunk of all three files in the diff.

  • None of the changed paths match a trusted-path glob. The change touches no workflow, action, trust control, token request, kill switch, merge hold or plugin manifest.
  • Deleting the eval case does not delete or weaken a standing instruction such as CLAUDE.md, AGENTS.md, a rules file, a skill or agent body, or a hook list. The test fixture is gone, but the /testing:check-visual-parity skill text that the eval checked has not changed. So the instruction-surface lens has nothing to evaluate.
  • The PR context file contains no text addressed to the review lane.
  • This was the first review of this pull request (blocking only: no). There were no prior findings and no settled threads to apply.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

No findings.

This pull request deletes the eval case plugins/testing/evals/visual-check-never-rewrites-baseline/, both its case.yaml and its one grader sample. It also adds a bump: none changelog fragment.

What I checked:

  • Coverage claim. I read both cases the PR says still cover the deleted one.
    • cvp-failing-compare-kept/case.yaml covers a failing compare where the baseline is kept, no tolerance is raised, and a new baseline is left to the person in a new directory. Its new-directory regex grader targets last_message.
    • cvp-tolerance-raise-declined/case.yaml covers declining a higher tolerance and naming docs/conventions/testing.yaml with a reason. Its names-team-file regex grader checks for both.
    • The deleted case also failed a reply that edited the component or a capture harness. The kept cases have no line for that, but they run with allowed_tools: [Read, Glob, Grep], so they cannot edit anything and nothing is lost.
  • Dangling references. A repository search for visual-check-never-rewrites-baseline finds it only in the new changelog fragment and the lane's own input files. No suite index or other file still points at the deleted case.
  • Version bump. bump: none fits a change that only touches evals and ships no skill behavior.

One small wording point, not counted as a finding: the fragment says the kept cases "send the same prompts". They send equivalent prompts, with a different image, pixel count and checkpoint, not identical ones.

The PR's verification (validate-cases.py exit 0, audit-suite.py before and after, git grep) is the author's claim; I did not run it. The closing issue is none: the PR cites an owner decision in melodic-software/architecture#200, so no acceptance criteria apply. No path-scoped rule or plugin manifest is touched. No loosened check is introduced: the deletion removes one redundant case rather than weakening a grader, and the kept cases keep their deterministic graders. I had no loosened_check_verdict:/loosened_check_patterns: lines, so I assumed fail with no consumer entries. I had no decision-record line, so the citation requirement was not checked. No changed file matches a trusted path.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit ab49677 Nov 23, 2026
64 of 77 checks passed
@kyle-sexton
kyle-sexton deleted the test/prune-evals-testing branch November 23, 2026 16:48
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 23, 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