Skip to content

test(discipline): remove redundant eval cases - #18510

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

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

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #18529

Summary

Two discipline eval cases had only llm judges with no labeled samples/, which count as no evidence. One repeats a behavior a kept deterministic case checks; the other checks prose a tool call cannot show. This removes both.

Fix

Deleted case Covered by
pfp-coupling-priced Rule 2: two unlabeled judges only, checking prose (coupling costs, research routing) no tool call shows
uys-research-delegation uys-unnamed-skills-brief: regex graders check the re-issued delegation brief names the fitting skill; this case's three unlabeled judges checked the same re-issue

CONVERTED: none.

Checked and kept: the per-skill *-light-skips-subagent / *-standard-dispatches-subagent pairs (fire and no-fire of each skill's verification gate), the sdw-lever-* set (each case resolves a different lever_scope layer), and the ba-*, dyr-*, hmh-* cases (each grades different skill lines).

Loosened checks

Deleted or converted: pfp-coupling-priced, uys-research-delegation. No behavior loses an evidenced check: each deleted case's behavior is checked by the kept case named above, or its only graders were unlabeled judges, which count as no evidence (docs/review/evals.md, Graders). Owner decisions: rows "Eval runs on a subscription token, case pruning, and how #18356 lands" and "Eval case pruning beyond exact duplicates" in owner-decisions.md (melodic-software/architecture#200, #204).

Verification

  • validate-cases.py on the plugin's eval suites: exit 0, no FAIL.
  • audit-suite.py plugins/discipline before and after: 131 to 129 cases; the no-case, no-deterministic-trigger and no-should-not-fire lists are unchanged.
  • git grep for each deleted name outside its own directory: no hits.
  • No eval run, by the owner's instruction.

Related

Part of the per-plugin eval redundancy sweep (melodic-software/architecture#204); round 1 was #18494 and #18498.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf

Two discipline eval cases had only `llm` judges with no labeled
`samples/`, which count as no evidence. One repeats a behavior a kept
deterministic case checks; the other checks prose a tool call cannot
show. This removes both.

- pfp-coupling-priced: Rule 2: two unlabeled judges only, checking prose
  (coupling costs, research routing) no tool call shows
- uys-research-delegation: `uys-unnamed-skills-brief`: regex graders
  check the re-issued delegation brief names the fitting skill; this
  case's three unlabeled judges checked the same re-issue

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 17:02
@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-23T17:03:55.992268Z 250dca6 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 250dca69e7eca8fc9af39d3f129afc43f6e0e363: 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 changeset fragment, .changes/discipline/test-prune-evals-r2-discipline-2d1f7b09.md, with bump: none and prose only. It also deletes two discipline eval case directories:

  • plugins/discipline/evals/pfp-coupling-priced/, which held case.yaml and prompt.md.
  • plugins/discipline/evals/uys-research-delegation/, which held case.yaml, history.jsonl and prompt.md.

I read every hunk in the diff.

What I checked:

  • Trusted paths: no changed or deleted file matches any of the listed trusted-path globs.
  • Trust controls: the diff touches no workflow, action, token, kill switch, merge hold or trusted-actor surface.
  • Plugin manifests: no plugin.json or marketplace.json changed.
  • Instruction surface: the deleted files are eval test fixtures, meaning grader criteria, prompts and a synthetic history. None of them is a standing instruction such as CLAUDE.md, a rules file, a skill or agent body, or a hook list. The skills they graded are unchanged, so no guardrail is removed. The change loses test coverage only, which is out of scope for a security review.
  • Spend: nothing changes cost. Removing two cases slightly lowers how many prepaid eval runs a suite run uses.
  • PR context: the description holds no embedded instructions directed at this lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

CI code review: no findings.

This PR deletes two discipline eval cases, pfp-coupling-priced and uys-research-delegation, and adds a changelog fragment with bump: none. I read every hunk of the diff.

Loosened checks

  • Deleting a test case is a loosening (kind 1: a test deleted).
  • The PR body's ## Loosened checks section names both cases and gives a reason. I judged that the reason holds:
    • Each deleted case used only type: llm graders.
    • Neither case had a samples/ directory. The diff removes only case.yaml, prompt.md and history.jsonl.
    • Under docs/review/evals.md#L99-L101, a judged grader counts as evidence only after it is checked against the owner's labelled samples. So no evidenced check is lost.
  • The kept case uys-unnamed-skills-brief/case.yaml#L11-L20 checks deterministically that the re-issued brief and the reply name the skill. That covers the "re-issue names the skill" behaviour.
  • uys-research-delegation also judged two other behaviours with no kept equivalent: saying the subagent doesn't inherit the parent's skills, and recommending a skills: preload. Those were unlabelled judges too, so the section's no-evidence reason covers them.
  • The loosening passes.
  • The prompt had no loosened_check_verdict: or loosened_check_patterns: line, so I used fail and no consumer entries. It had no loosened_check_decision_record: line either, so I did not check whether the spec cites the owner's decision.
  • Loosened checks would be marked: fail (bundled default; no settings lines supplied); patterns: 0

Other checks

  • I searched the repository for the deleted case names. The only hit is the new changelog fragment, so no other file refers to them.
  • No plugin manifest changed, so there are no manifest lines.
  • bump: none fits a change that only removes eval cases.
  • The PR says test(evals): remove redundant eval cases across every plugin #18529 is related but closes no issue, so there are no acceptance criteria to check.
  • The PR's verification (validate-cases.py, audit-suite.py, the 131 to 129 case count) is the author's claim. I did not run it.
  • The PR body cites the owner's decisions for the removal. I treated that as data, not as an instruction.

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 d2437de Nov 23, 2026
138 of 141 checks passed
@kyle-sexton
kyle-sexton deleted the test/prune-evals-r2-discipline branch November 23, 2026 19:19
@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