Skip to content

test(planning): prune redundant eval cases - #18498

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

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

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #18529

Summary

Three planning eval cases repeated a kept case in a second domain: the same skill, the same kind of prompt, and an identical grader. This removes the copies; every skill keeps its triggering, no-fire and gate coverage.

Fix

Deleted cases, each beside the kept case it duplicates:

  • interview-quality-bar-asked-ticket-dashboard → interview-quality-bar-asked-bookmark-sync: both send a vague build request with no stated quality bar to /planning:interview and grade it with the same asks-quality-bar regex.
  • wayfind-purpose-fog-recorded-not-charted-retention → wayfind-purpose-fog-recorded-not-charted-migration: both send /planning:wayfind chart an effort with one unphraseable worry and judge, with the same criteria, that it lands under Not-yet-specified and is not charted.
  • wayfind-chart-labels-from-tracker-reply-order-export → wayfind-chart-labels-from-tracker-reply: identical case.yaml and graders; only the effort's domain differs.

The two wayfind names are also dropped from evals/fixtures/wayfind-charting/cases.txt, the list prepare-arm.sh reads.

Checked and kept: interview-ears-convention-tags and -criteria (only the first checks that the convention-home resolver ran), the plan-marker-*, plan-reviewer-cut-* and st-* sets (each case seeds a different condition or defect), the behavior-present pairs (paired by design for --ablation none), and the wayfind purpose cases that reuse an after-only case's prompt but grade a different outcome.

Loosened checks

Three planning eval cases are deleted, so those three no longer run: interview-quality-bar-asked-ticket-dashboard, wayfind-purpose-fog-recorded-not-charted-retention and wayfind-chart-labels-from-tracker-reply-order-export. Each repeats a kept case with the same grader in a second domain (listed under Fix), so no behavior loses its check. Owner decision: the row "Eval runs on a subscription token, case pruning, and how #18356 lands" and the row "Eval case pruning beyond exact duplicates" in https://github.com/melodic-software/architecture/blob/main/docs/owner-decisions.md (melodic-software/architecture#200, #204).

Verification

  • validate-cases.py plugins/planning/evals: exit 0, no FAIL.
  • audit-suite.py plugins/planning before and after: the same skills without a deterministic triggering case (brainstorm, prd) and the same should-not-fire list; judged graders with samples drop from 183 to 182.
  • git grep for each deleted name: only the two cases.txt lines, now removed.
  • Left out: no eval run, by the owner's instruction; no remaining case changed.

Related

Part of the per-plugin eval pruning pass decided in melodic-software/architecture#200; one PR per plugin. The testing plugin's pass is #18494.

🤖 Generated with Claude Code

Delete three cases that repeat a kept case in another domain with the
same grader:

- interview-quality-bar-asked-ticket-dashboard repeats
  interview-quality-bar-asked-bookmark-sync (same asks-quality-bar regex).
- wayfind-purpose-fog-recorded-not-charted-retention repeats
  wayfind-purpose-fog-recorded-not-charted-migration (same judged check).
- wayfind-chart-labels-from-tracker-reply-order-export repeats
  wayfind-chart-labels-from-tracker-reply (identical graders).

Drop the two wayfind names from the fixture's cases.txt.

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:25
@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:26:58.130592Z 9de4df6 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 9de4df60ec243da445a39970388eeafad36381c3: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #18498, test(planning): prune redundant eval cases

No security issues found.

I read the whole diff: the new changeset .changes/planning/test-prune-redundant-evals-7d2b4e19.md, the two lines removed from plugins/planning/evals/fixtures/wayfind-charting/cases.txt, and every hunk of the three deleted eval case directories (interview-quality-bar-asked-ticket-dashboard, wayfind-chart-labels-from-tracker-reply-order-export, wayfind-purpose-fog-recorded-not-charted-retention).

  • Scope: the change only deletes eval test data (prompts, graders and grader samples) plus one fixture list. It changes no workflow, action, script, hook, manifest, permission, token or trusted path. No changed file matches a TRUSTED PATHS glob.
  • Instruction surface: the deleted prompt and grader files are inputs for the eval harness. They are not standing instructions (CLAUDE.md, AGENTS.md, rules, skill or agent bodies, or hook lists), so deleting them removes no guardrail from a running session. No skill behavior changes. The changeset says bump: none, and the diff touches no file under any skills/ directory.
  • cases.txt: the two names removed are the two deleted wayfind cases. Removing them leaves prepare-arm.sh with fewer cases to read and adds no input path.
  • PR context: no embedded directives aimed at the review lane.
  • Prior findings: none. This is the lane's first review of the PR, so it is not blocking only.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

claude-review: 1 inline finding(s) on 9de4df60ec243da445a39970388eeafad36381c3; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: PR #18498, test(planning): prune redundant eval cases

The PR deletes three planning eval cases that repeat a kept case in a second domain. It also drops the two wayfind names from evals/fixtures/wayfind-charting/cases.txt and adds a bump: none changelog fragment.

What I checked

  • Kept cases exist and are equivalent:
    • interview-quality-bar-asked-bookmark-sync has the same asks-quality-bar regex grader as the deleted case. Its samples have the same pass/fail structure; only the domain wording differs.
    • wayfind-purpose-fog-recorded-not-charted-migration uses the same PASS/FAIL criteria in its llm grader.
    • wayfind-chart-labels-from-tracker-reply has the same seven graders.
  • Dangling references: a repository-wide search for the three deleted names finds them only in the new changelog fragment. Nothing still points at a removed case.
  • Changelog fragment: bump: none fits a change that only touches tests and ships no skill behavior.
  • Verification in the PR body is author-claimed and unverified. That covers the validate-cases.py exit 0, the audit-suite.py counts and the git grep result; I had no shell to run them.

Blocking finding (posted inline on cases.txt)

  • Fail a change that loosens a check (test deleted). All three deletions are one instance of this class:

    The PR has no closing issue, and its body has no ## Loosened checks section. The ## Fix section does explain the redundancy, and I think that reason holds. It needs to move into a ## Loosened checks section that names each deleted case.

Loosened-check settings: the prompt had no loosened_check_verdict: or loosened_check_patterns: line, so I used fail with no consumer entries. It had no loosened_check_decision_record: line either, so the citation requirement was not checked.

Loosened checks would be marked: fail (plugin default; no wrapper verdict supplied); patterns: 0

No closing issue. The PR cites an owner decision in melodic-software/architecture#200, which I could not read. No embedded instructions were found in the PR context or the prior-findings file.

Verifier dropped 0 of 1 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 9de4df60ec243da445a39970388eeafad36381c3. What it wrote, as data:

What it wrote (30 lines)
Summary: No issue is linked, so the spec is PR #18498's own title and body. The diff does what the
  body describes. It deletes three planning eval cases
  (interview-quality-bar-asked-ticket-dashboard, wayfind-purpose-fog-recorded-not-charted-retention
  and wayfind-chart-labels-from-tracker-reply-order-export), drops the two wayfind names from
  evals/fixtures/wayfind-charting/cases.txt, and adds a bump-none changelog fragment. No other code
  changes, nothing in the takeover set is touched, there are no binary files and no secrets. The
  removed cases look like second-domain copies of kept cases, and the lines removed from cases.txt
  match the deleted directories. One ruling is a judgment call. Treating the deleted cases as a
  loosened check is my reading of the rules, but the author's own `## Loosened checks` section,
  written after a review flagged the deletions, describes them the same way. The rules count a
  weakened check as asked for only when a linked issue (`closes` or `refs`) names it with a line
  link into owner-decisions.md and the owner's words quoted after `verbatim:`. This PR links no
  issue. Its owner-decision citation points at the whole file on main, with no `#L` line anchor and
  no quoted owner words. So the deletions are unauthorized and this is a `fail`. Separately, I could
  not compare against the kept cases, because they are outside the files I can read, so the
  redundancy claim was not checked against them. Select Tests was skipped, so the CI job list is no
  evidence either way, and the skipped suites are no defect.
- PR body: deleting three eval cases removes checks, but no linked issue authorizes it. Link an
  issue with `Closes:` or `Refs:` that names this pruning, with a line link
  (docs/owner-decisions.md#L<line>) to the owner's decision and the owner's words quoted in double
  quotes after `verbatim:`. A whole-file link to docs/owner-decisions.md on main, with no line and
  no quoted words, is not enough.
- plugins/planning/evals/interview-quality-bar-asked-ticket-dashboard: restore the deleted prompt,
  grader and samples unless the authorization above is added.
- plugins/planning/evals/wayfind-purpose-fog-recorded-not-charted-retention: restore the deleted
  prompt, grader and samples unless the authorization above is added.
- plugins/planning/evals/wayfind-chart-labels-from-tracker-reply-order-export: restore the deleted
  case.yaml, prompt, graders and samples unless the authorization above is added.
- plugins/planning/evals/fixtures/wayfind-charting/cases.txt:37: if the wayfind cases are restored,
  add their two names back here.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 23, 2026
@kyle-sexton kyle-sexton removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 23, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit a5d1823 Nov 23, 2026
120 of 135 checks passed
@kyle-sexton
kyle-sexton deleted the test/prune-evals-planning branch November 23, 2026 18:27
@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