Skip to content

test(evals): fix the baseline batch's over-strict graders #18655

Done

Description

@kyle-sexton

Context

The baseline suite batch on main that #18592 required (owner decision docs/owner-decisions.md#L379, option (A): "one baseline suite batch on main over the 250 cases (about 500 agent runs, subscription, one dispatch per plugin, each failing case fixed or reverted)". Owner, verbatim: "/session-flow:go-with-recommendations") ran 250 cases: 171 pass, 79 fail. Some failing cases have a deterministic grader that asks for more than the skill tells the model to do, or that duplicates a grader that stays. Leaving them means a suite PASS cannot be reached for behavior the skill already gets right.

Proposed work

Fix those graders to match the SKILL.md lines they cite, no skill text changed (#18656, merged, 9 cases). Five graders are removed as loosened checks this decision authorizes, each a duplicate of a grader that stays:

  • attribution/setup-check-reports-retired-config r001-fail-label: r001-is-fail stays.
  • context7/lk-library-question-fires resolve-attempted: lookup-fired and discloses-context7-miss stay.
  • coupling/reduce-collision-hotspots-fall-back-without-gh attempts-collision-hotspots: mines-co-change and gap-line-names-missing-gh stay.
  • docs-naming/setup-check-layers-and-retired-team r001-info: layers-and-remedy stays.
  • docs-naming/setup-personal-tier-not-narrowed generated-team-only: reason-and-remedy stays.

Edits that would turn a deterministic grader into an llm judge are out: docs/review/evals.md:117-119 counts a judged verdict only after calibration against owner-labeled samples.

Acceptance criteria

  • /evals:validate reports 0 FAIL for every touched plugin's suite.
  • No skill text changes.
  • After merge, one scoped suite run on main over the touched cases (credential: subscription, runs: 1) is dispatched; each case that still fails on a grader this work changed is fixed or reverted. Cases still failing on uncalibrated judges wait on the owner's reply-capture question.

Activity

  1. added
    session-owned
    on Nov 24, 2026
  2. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Scope narrowed at acaa56f after review: 16 proposed edits would have turned a regex or tool_used grader into an uncalibrated llm judge. docs/review/evals.md:117-119 counts a judged verdict only after calibration against owner-labeled samples, so I dropped them. #18656 now fixes 9 cases. The 5 removed graders listed above are unchanged. The post-merge scoped run covers those 9 cases (18 agent runs). The dropped cases stay failing and wait on the reply-capture owner question.

  3. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    #18656 merged. Next is the scoped suite run on main over its 9 cases: 6 dispatches (attribution 1, bash-format 1, context7 1, coupling 1, disk-hygiene 1, docs-naming 4), mode suite, credential subscription, runs 1, allow-tools Bash,Write,Edit, max-cost-usd 5 each. That is 18 agent runs, about 3 USD list-price equivalent at tonight's measured rate, on plan usage. CLAUDE_EVALS_DISABLED is false for the window and goes back to true when the runs finish.

  4. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Scoped run on main after #18656 (runs 45310620112-45310642531, 18 agent runs): 5 of 9 pass (attribution setup-check-reports-retired-config, bash-format su-check-lint-format-passes-separate, context7 lk-library-question-fires, docs-naming setup-check-malformed-layer-fails, docs-naming setup-personal-tier-not-narrowed).
    Still failing, none on a grader #18656 changed:

    • coupling reduce-collision-hotspots-fall-back-without-gh: judge gap-line-names-missing-gh (FAIL x3).
    • disk-hygiene su-apply-points-writes-nothing: judge guidance-only (FAIL x3); test(evals): fix the baseline batch's over-strict graders #18656's rubric edit did not change the outcome.
    • docs-naming audit-plans-renames-tiers-frozen: judge rows-and-tiers (FAIL x3).
    • docs-naming setup-check-layers-and-retired-team: judge layers-and-remedy (FAIL x3), regex table-rows-intact.
      Under docs/review/evals.md:117-119 these are uncalibrated judges, so their verdicts don't count yet. Reverting test(evals): fix the baseline batch's over-strict graders #18656's edits would not make them pass. They join the cases waiting on the owner's reply-capture question, since calibrating the judges needs real replies. This issue stays open for those 4. CLAUDE_EVALS_DISABLED is back to true.
  5. added theissue type on Nov 24, 2026
  6. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Re-run plan, owner decision (A) of docs/owner-decisions.md#L393 at 4f147729, now that #18676 captures each run's final reply.

    • Cases: 79. The 74 baseline cases on main that still fail (79 failing in the baseline batch, minus the 5 that passed after test(evals): fix the baseline batch's over-strict graders #18656), including this issue's 4 judge-failing cases, plus the 5 cases test(evals): revert restored sole-check cases whose regex never matched #18609 would revert (architecture 1, discipline 1, fleet 1, review 2).
    • Dispatches: 35, one per plugin, mode: suite, credential: subscription, runs: 1, exact cases names, each plugin's allow-tools and max-cost-usd (5 to 10) from the baseline batch.
    • Agent runs: 158 (79 cases x 2 arms x 1 run). Judge calls on top, for judged graders.
    • Window: CLAUDE_EVALS_DISABLED set to false (with --visibility all) for the batch, back to true once the last dispatch finishes.
    • Output: each run's <plugin>/last-messages.jsonl in its eval-browser artifact (3-day retention). From those replies, each case's grader, judge or skill is fixed, or the case is reverted, in one or a few batched PRs.

    Per plugin (cases): actionlint 2, architecture 1, attribution 2, bash-format 2, codebase-health 4, context-budget 1, context-usage 1, context7 1, corrections 4, coupling 1, debugging 1, discipline 4, disk-hygiene 1, docs-hygiene 1, docs-naming 7, firecrawl 1, fleet 1, formal-verification 1, go-format 3, guardrails 2, javascript-format 3, markdown-format 1, multi-agent 1, performance 3, planning 1, plugin-profiles 2, powershell-format 1, python-format 1, rate-limits 1, repo-hygiene 9, review 2, session-flow 6, spelling 2, toolchain 1, visualization 3, wizard 1.

  7. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Scoped confirm run on main after the fixes from the captured replies merged: #18726 (graders, judges, cases), #18727 (shfmt for guarded plugins), #18728 (additive skill text), #18734 (CI-sandbox cases).

    Per plugin (cases): actionlint 1, architecture 1, attribution 2, bash-format 2, codebase-health 3, context-budget 1, context-usage 1, corrections 2, coupling 1, discipline 4, disk-hygiene 1, docs-naming 6, fleet 1, formal-verification 1, go-format 2, javascript-format 1, performance 1, planning 1, python-format 1, repo-hygiene 10, session-flow 4, spelling 2, toolchain 1, visualization 3, wizard 1.

  8. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Round-2 confirm run on main after #18750 merged: 18 cases (the 20 still failing after round 1, minus the 2 #18750 deleted), 9 dispatches (one per plugin: actionlint 1, bash-format 2, codebase-health 2, discipline 2, docs-naming 2, python-format 1, repo-hygiene 3, session-flow 3, visualization 2), suite mode, credential subscription, runs 1: 36 agent runs plus judge calls. It decides whether each round-2 fix holds; a case that still fails is reported for a revert-or-keep decision, not fixed a third time overnight.

  9. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Runs-3 confirm on main after #18776 (realign apply-recipe step 1: present an accepted finding first) merges, for the three cases kept by owner decision D24: docs-naming realign-applies-one-id, audit-plans-renames-tiers-frozen; session-flow fh-confirms-before-resume. 2 dispatches (one per plugin), suite mode, credential subscription, runs 3, cases input: 3 cases x 3 runs x 2 arms = 18 agent runs plus judge calls; per-run ceiling 9 USD (docs-naming) and 10 USD (session-flow), list-price estimates. A case that still fails goes to the owner as keep or delete.

  10. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Owner decision (2026-11-24, 'Go with recommendations' on Q5, option a): keep the 8 cases deleted overnight, the 6 in #18734 that the CI sandbox cannot run and the 2 discipline fan-out cases in #18750. A case CI cannot run can only fail. This issue closes once the runs-3 confirm runs 45423924655 and 45423932205 are read.

  11. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Runs-3 confirm on main at 6111c54 (after #18776): all three cases still fail.

    • docs-naming realign-applies-one-id (run 45423924655): with 0.83, without 0.50. Only present-first fails, 3 of 3, all judges FAIL. The traces confirm it: the agent reads context/apply-recipe.md, then calls apply-rename.sh with no assistant text in between, despite step 1's new line. Every deterministic grader passes.
    • docs-naming audit-plans-renames-tiers-frozen (same run): with 0.78, without 0.44. rows-and-tiers (llm, trace) fails 3 of 3; form-table-first fails 1 of 3, report-count-stated 2 of 3. The replies disagree with each other on site counts (run 1: 5 edit + 3 report + 2 review = 10 of 11; run 2: 4 report sites).
    • session-flow fh-confirms-before-resume (run 45423932205): with 0.89, without 0.56. Only no-shell-change-before-confirm fails, 2 of 3 runs (1 and 2 Bash calls matched its write-command pattern); every reply asks yes/no and resumes nothing. The artifact does not record which command matched; validity INVALID (5 sandbox permission denials on ls/Glob of the eval config dir).
      Cost: 0.65 USD session-flow (list-price estimate). Each case goes to the owner as keep or delete.
  12. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Runs-3 check on main after #18808 (spec #18812): docs-naming realign-applies-one-id (present-first removed) and session-flow fh-confirms-before-resume (shell grader no longer matches inside the sandbox path). 2 dispatches, suite mode, credential subscription, runs 3, cases input: 2 cases x 3 runs x 2 arms = 12 agent runs plus judge calls; per-run ceilings 9 and 10 USD (list-price estimates).

  13. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    MemberAuthor

    Runs-3 check on main after #18808: docs-naming realign-applies-one-id PASS (run 45434631404) and session-flow fh-confirms-before-resume PASS (run 45434639910). audit-plans-renames-tiers-frozen stays failing by owner decision (owner-decisions.md#L409, (2)(a)); its count logic is #18810. Every case from the baseline batch is now passing, deleted by decision, or tracked. Closing.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    session-owned

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions