Skip to content

docs(evals): state how a two-version compare reads a loss at few cases - #16933

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16672-44162076451-1
Nov 17, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16672-44162076451-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16672

Summary

Opened by the work-resolve-issue lane. The run's own summary:

plugin-eval's reading-results reference gains a section that states the owner's recorded decision (option A, issue comment 6935228111). Skill-text changes compare on Sonnet at 3 runs a side, and the noise report's interval test decides nothing below about 20 cases. A case drop, or a not-shown-non-inferior verdict at about 20 cases or more, starts a trace read of each dropped case and an Opus confirm. Only a loss the trace ties to the changed text counts, and the reading is registered before the first paid run. The section carries the issue's false-loss table, labeled as a worker's relayed simulation over the #16063 Sonnet results that was not re-run, and SKILL.md links to it from its two-version compare line. I put the guidance in plugin-eval because that skill owns noise-report.py and its compare reading, as the refinement comment recommended.

Not verified

  • The owner-decisions row: that record is docs/owner-decisions.md in melodic-software/architecture, a different repository this lane cannot write. The issue already marks its first done-when item (the decision recorded there) as done.
  • False-loss figures not recomputed: no simulation script ran here, so the table is the issue's relayed figures and is labeled as not re-run. The refinement's suggestion to commit a recompute script is not done.
  • Two playbooks references still describe the older case-drop handling and do not point to the new section: plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md:305-309 and rewrite-a-plugin.md:62-63. They are outside this issue's eval-skills scope and outside this run's single area.
  • Tidy partly skipped: the markdown passes ran (write-for-agents, write-for-humans, and the ai-slop rubric read by hand), but ai-slop's detect.sh and its fix-flow guard scripts could not run because this lane's Bash allows only the named wrappers.
  • The reviewer suggested wrapping the long SKILL.md line 352. Not done: wrapping adds a line and would break SKILL.md's 500-line cap.
  • markdownlint, typos and lychee link checks were not run here (skipped by the checks or CI only); they are left to the PR's CI.

Fix

  • plugins/evals/skills/plugin-eval/reference/reading-results.md: new section 'Reading a compare at few cases' (the reading, the registration rule, the merge-first note for fewer than 3 scored cases, and the false-loss table with its source), plus its Contents entry
  • plugins/evals/skills/plugin-eval/SKILL.md: the two-version compare line links to the new section (kept on one line so SKILL.md stays under the 500-line cap)
  • .changes/evals/work-resolve-issue-issue-16672-44162076451-1-e17f319a.md: patch changelog fragment for evals

Verification

The runner ran each check from the base copy against 4b37086:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 14 fragments valid
  • check-changed-skills: plugin-eval PASS, 0 errors, 4 warnings that were already there (an earlier draft failed the 500-line cap at 502 and 500 lines; fixed, now 499)
  • check-affected: 15 passed, 7 skipped (typos not installed; checks that run code from the checked tree), the rest CI only
  • fresh-context review subagent: figures copied exactly and anchors resolve; I fixed its medium findings (an overstated rationale sentence, 'case drop lines decide', the missing MIN_CASES=3 merge note, the untraced-drop rule I had added, the Opus run count the decision does not give, and naming the…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44162076451

Left out: the items under Not verified.

Related

#16672

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: docs(evals): state how a two-version compare reads a loss at few cases

This PR changes documentation only. It adds a section, "Reading a compare at few cases", to plugins/evals/skills/plugin-eval/reference/reading-results.md with a Contents entry, links that section from SKILL.md's two-version compare line, and adds a patch changelog fragment. I read every hunk of all 3 changed files.

Checked against the closing issue (#16672)

  • Done-when item 2: met. The issue asks that the registration guidance state the chosen reading with the false-loss figures. The new section states the owner's option A, which matches the decision comment:

    • Sonnet runs 3 a side and Opus only confirms.
    • A LOSS reading starts a trace read of each dropped case and an Opus confirm.
    • Only a loss the trace ties to the changed text counts.
    • The interval test applies only at about 20 cases or more.
    • The reading is registered before the first paid run.

    The false-loss table matches the issue row for row, and it is labeled as a relayed worker simulation that was not re-run.

  • Done-when item 1 (the owner-decisions record) is already ticked in the issue and lives in another repository, so this PR has nothing to do there.

Checked against the code (read, not run)

  • noise-report.py backs the new text. MIN_CASES = 3 is at noise-report.py#L52.
  • compare() returns early with "n too small to call" before it emits any case drop line (#L537-L542). The "merge each version's per-case result files first" note is therefore accurate, and it matches the existing wording at reading-results.md L371.
  • The case drop and not shown non-inferior strings the section quotes match the script's output (#L555-L571).
  • The prose figures agree with the table: "fails one 4 times in 5" is a 0.20 pass rate, and "at most about half" covers 0.33 to 0.56. The changelog's "about 20%" also matches.
  • The new anchor #reading-a-compare-at-few-cases matches the heading that SKILL.md links to.

Finding (advisory, no changed line can carry it)

  • Item 2 has no test. Item 2 is met, but no test in the PR or the repository would fail if the new section drifted from noise-report.py. For example, nothing breaks if MIN_CASES changes or the verdict string is renamed. The section restates script constants (MIN_CASES 3, the one-third drop, margin 0.05) by hand. A small doc-consistency assertion in test_noise_report.py would close this, but it is optional.

Left out of scope by the PR

  • The PR's own "Not verified" list names two playbooks references that still describe the older case-drop handling: plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md:305-309 and rewrite-a-plugin.md:62-63. Neither file is changed here, so I have not raised them as findings. They could get a follow-up issue so the two readings don't diverge.
  • The author's verification (changelog and changed-skills checks passed, SKILL.md at 499 lines) is author-claimed. I did not run it. The SKILL.md edit replaces one line, so the line count is unchanged.

Loosened-check criterion. The new text sets aside the compare verdict interval result as a LOSS reading below about 20 cases. That relaxes how a gate's output is read, not a check's code or thresholds. Trusted spec text names this exact reading and gives the reason (the false-loss rates): the owner decision in the issue comment by a repository member. So it passes and raises no finding.
Loosened-check verdict: fail (default; the prompt has no loosened_check_verdict: line); patterns: 0 (no loosened_check_patterns: line)

Other notes

  • No REVIEW.md or path-scoped rule criteria were applied, and no plugin manifest changed.
  • The PR context contains no embedded instructions aimed at this lane.
  • Spend: none. This change starts no paid runs.

Verifier dropped 0 of 1 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found. I read every hunk of all 3 changed files.

The pull request changes only documentation:

  • Changelog fragment. .changes/evals/work-resolve-issue-issue-16672-44162076451-1-e17f319a.md is a new patch fragment for the evals plugin.
  • SKILL.md link. plugins/evals/skills/plugin-eval/SKILL.md now links from the two-version compare line to the new reference section.
  • New reference section. plugins/evals/skills/plugin-eval/reference/reading-results.md adds "Reading a compare at few cases" and its Contents entry. The section explains how a two-version compare reads a loss below about 20 cases, and it includes the relayed false-loss table.

What I checked:

  • Trusted paths. None of the changed files matches a trusted-path glob.
  • Trust controls and manifests. The diff touches no plugin manifest, workflow, action, token request, kill switch or merge hold.
  • Instruction surface. The skill-body edit changes how an eval compare's LOSS verdict is read. Below about 20 cases the interval verdict alone no longer counts as a loss: a case drop starts a trace read and an Opus confirm. This is eval methodology, not a guardrail in a protected class. It adds no tool grant, command, path, URL or outbound action. Nothing in it lets untrusted input reach a credentialed lane or exposes a secret. I checked by consequence and did not read the instruction-exception register.
  • Embedded instructions. The PR context contains no text directing the review lane.

Spend: the new section asks each few-case compare that shows a case drop to add an Opus confirm run. That draws on prepaid API credit only, so it is neither a hold nor a finding.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4b37086312df51ff7075507abd73fbf21940c0b1, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for 4b37086

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16933-4b37086312df51ff7075507abd73fbf21940c0b1, expires on 2026-12-17.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=4b37086312df51ff7075507abd73fbf21940c0b1 rubric=10.2.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 17, 2026
@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 4cb7f43 Nov 17, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16672-44162076451-1 branch November 17, 2026 22:32
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 4cb7f430e90db1ebc7f89a7a255dca30affbd9ab; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The eval gate's non-inferiority rule fails a no-change version most of the time at 3 runs a side

0 participants