Skip to content

[skills-eval] Eval-instrument validity: underpowered/biased evals manufacture false P0 regressions #986

Open

Description

@AbhitejJohn

Summary

Several skills-eval verdicts measure the eval instrument, not the skill. Cross-family re-runs on latest main (judge ≠ executor family) reversed multiple P0 "FIX-REGRESSION" verdicts that drove PR #972.

Evidence runs:

Failure modes

  1. Underpowered (n=1 stimulus). A single-stimulus eval yields one trial → the sign test is p=0.5 always and can never pass, regardless of skill quality. Affects check-bin-obj-clash, eval-performance, dotnet-aot-compat.
  2. Direction-based sign-test amplification. Many marginal "both responses correct, gap is small" losses aggregate into a "significant regression." Affects migrate-dotnet9-to-dotnet10 (gpt: p=0.004, but every loss is a polish nitpick).
  3. Biased fixtures / graders / guardrails. Fixture cross-contamination (models borrow data from sibling files), fabricated/unresolvable grader targets, and baseline-unfailable guardrails. Affects android-tombstone-symbolication ([skills-eval] dotnet-diag: 7 skills, 49% pass — 1 P0, 1 P1, 3 to strengthen, 2 keep #893).
  4. Construct-invalid stimuli. Stimuli that don't exercise the skill. msbuild-antipatterns: 3 of 4 stimuli are F# file-ordering tasks, not anti-pattern review.

Terminology (to prevent future confusion)

  • stimulus = one scenario in stimuli: (coverage/breadth).
  • runs = replays of each stimulus (runs:, default 1).
  • trials = stimuli × runs — the unit the sign test counts.
  • Sign-test power comes from distinct stimuli, not repeated runs. Repeated runs of one stimulus are correlated pseudo-replications: they denoise but don't add real n.

Impact

PR #972 staged 8 skills on these verdicts; re-analysis shows 0–1 are warranted on the original premise. The rest are eval repairs.

Related

Sibling of #909 (judge-side transient failures corrupting verdicts). This issue covers the structural instrument defects (power, sign-test direction, fixtures, construct validity).

Tracking

Per-skill fixes tracked in the plugin reports: #893, #896, #899, #901, #895. First remediation (android-tombstone) in progress.

Activity

  1. forevercrab321-svg commented on Aug 4, 2026

    @forevercrab321-svg

    All four modes here are about trials that ran. There's a fifth this framing can't reach: whatever rule decides a run becomes a trial at all.

    We replayed our own eligibility gate over 27 delivered scans. 6 cleared it, 21 were withheld, and the shape of that split is the part worth stealing — 5 of the 6 that cleared are D/F, while 6 A-grades sit in the withheld pile. The filter didn't shrink the sample, it inverted it. Nothing inside the graded set could have shown that. You only see it by scoring the excluded rows anyway and comparing the two distributions.

    Cheaper version of the same idea, and it's what caught ours: the buckets have to sum. The report said 27 delivered, 4 graded, 19 withheld, and 4+19 is 23. Arithmetic found that, not a judge.

    The one I'd want answered before the remediations land: when a trial errors out under mode 3's unresolvable grader targets, does n shrink silently? If it does, p is partly a function of harness flakiness, and the least stable skills get scored on the smallest n.

  2. github-actions commented on Aug 11, 2026

    @github-actions
    Contributor

    🎯 Issue Triage

    Summary: This issue argues that several skills-eval P0 "FIX-REGRESSION" verdicts (which drove PR #972) actually reflect flaws in the eval instrument itself — underpowered single-stimulus evals, sign-test direction amplification, biased fixtures/graders, and construct-invalid stimuli — rather than real skill quality regressions. It's cross-cutting eval/CI infrastructure work, not tied to a single plugin.

    Type: task

    Assigned owners: @webreidi and @AbhitejJohn assigned (default repo owners per CODEOWNERS * rule, since this spans the eval harness used across all plugins rather than one specific path).

    Confidence: Medium — the area-infrastructure label fits well since this is about eval/CI instrument validity, but the issue could also be argued to relate to area-skill-validator depending on where the sign-test/grader logic lives; owners were assigned via the default CODEOWNERS rule due to lack of a more specific path match.

    Similar issues: Related to #909 (judge-side transient failures), and tracks per-skill remediation in #893, #895, #896, #899, #901.

    Triage details
    • Area mapping rationale: The issue is about the eval harness/methodology (sign-test power, stimuli count, fixture/grader bias) that affects triage of skill quality across the repo, not a specific skill's functional area — closest fit is area-infrastructure (CI/CD, engineering infrastructure).
    • CODEOWNERS path match: No specific plugin path applies; used default * owners (@webreidi @AbhitejJohn). Note the issue author is already @AbhitejJohn.
    • Confidence rationale: Medium confidence because area could arguably also touch area-skill-validator if the eval runner logic lives there; recommend maintainers reassign area label if the fix work turns out to live specifically in eng/skill-validator/.
    • Suggested next steps: Consider whether area-skill-validator is a better fit once remediation scope is clearer.

    Generated by Issue Triage · auto · 23 AIC · ⌖ 9.31 AIC · ⊞ 9.5K · ◷

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions