Skip to content

Fix the underpowered eval gate: score direction, not magnitude - #965

Merged
Evangelink merged 2 commits into
mainfrom
dev/amauryleve/fix-underpowered-eval-gate
Jul 30, 2026
Merged

Evangelink merged 2 commits into
mainfrom
dev/amauryleve/fix-underpowered-eval-gate

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Fixes #952.

The eval gate flipped ~27% of its verdicts between runs on byte-identical inputs. I reproduced all 22 verdicts from the A/A test in #952 from the gate's formula alone, which isolates two independent defects — only one of which the issue names.

Defect 1: the gate scored the judge's adjective

Trial scores are a five-point ordinal scale (much-better +1.0, slightly-better +0.4, equal 0, …). A Student's-t interval over those reads the 0.4 → 1.0 step as variance, so a skill is punished for winning more decisively. Four wins and three ties over seven trials:

trials mean ci_low verdict
every win slightly-better +0.229 +0.031 ✅
one win much-better +0.314 −0.021 ❌

Same record, better outcome, reversed verdict. coverage-analysis failed five consecutive runs while winning 100% of its trials, then passed on a sixth with the same 3W/0T/0L record — its scores were [+0.4, +0.4, +1.0] in a failing run and [+0.4, +0.4, +0.4] in the passing one.

Defect 2 (not in the issue): no minimum sample size

meanWithCi returns ciLow = mean below two trials, so a single lucky judgment passed outright. Simulated at 200k runs/cell, a skill with no real effect passes ~30% of the time at one trial — and 18 of 94 gated evals sit there. The gate was simultaneously too strict at n=3 and a rubber stamp at n=1.

The fix

adapt.mjs reads only each trial's winner and decides with an exact one-sided sign test at 5%. The verdict is now a deterministic function of the win/tie/loss record: identical records always produce identical results.

Collapsing to direction alone is not sufficient — I checked. A t-interval over win/tie/loss disagrees with the exact test on 12 records up to n=10, and in every one it is the permissive side, passing 4W/0T/0L, 4W/3T/0L and 6W/0T/1L at p = 0.0625. The exact binomial tail has no such gap, so the ported interval code is gone entirely.

MIN_CREDIBLE_TRIALS = 5 falls out of that test rather than being chosen: the sign test cannot reach 5% below five discordant trials (0.5⁴ = 0.0625), and discordant trials can never exceed counted trials. Below it no record can pass, so the verdict is reported as ⚠️ underpowered — never a pass, never a regression. That is what stops "won every trial, failed anyway" from being rediagnosed every run.

check_eval_quality.py enforces the same floor on specs before they ever run, counting trials = scenarios × defaults.runs. The 60 existing evals below it are grandfathered in a ledger that can only shrink: the gate errors on a stale, duplicated or unnecessary entry, and --base-ref (passed by CI on every PR) rejects entries that are new relative to the base branch — so a PR cannot add a below-floor eval and exempt it in the same change. Renames are read from git and aren't treated as growth.

The experiment file no longer sets runs in overrides:. Precedence is CLI > experiment overrides > eval defaults and the merge is a plain spread, so that line didn't default anything — it overwrote every eval's own defaults.runs, making the issue's first recommendation impossible to implement. No eval declares defaults: today, so this changes nothing until one opts in.

Cost

Zero additional CI minutes. Raising runs on specific evals is deliberately left as follow-up — it's the only part that costs money, and it's now expressible. For the record, a targeted runs = ceil(8/scenarios) policy measures at 1.62× for dotnet-test (~75 → ~121 min, inside the existing 180-minute timeout) and 1.82× repo-wide, versus 3.00× for the blanket runs: 3 the issue rightly rejects.

Also fixed (latent, found while testing)

  • --vally paths containing a space were split into separate argv entries. This made the adapter test suite unrunnable on Windows, where process.execPath lives under Program Files. An unterminated quote now falls back to the old whitespace split so a bare apostrophe in a path can't be mangled either.
  • Importing adapt.mjs made it parse its importer's command line.
  • The /evaluate investigation prompt fired on every passed == false, which would have attached "To investigate failures" to essentially every comment once 60 evals started reporting ⚠️.
  • Per-scenario rows ranked by magnitude could point ▼ while contributing a positive net win. All three renderers now read the same per-scenario record computed once in the adapter.

What reviewers will notice

The PR comment gains Net win and p columns; Δ Preference becomes Δ Pref and is explicitly triage-only. 60 of 94 evals will render ⚠️ underpowered on the first run. That is the honest state of the repo — none of them can currently produce a credible verdict — and ⚠️ fails no check. eng/eval-quality/underpowered-allowlist.txt is the ledger for burning it down.

Verification

  • 20/20 adapter tests, including a regression test that encodes the Eval gate is underpowered: 27% of verdicts flip on byte-identical inputs (A/A test); 53% of evals run at n<=3 #952 defect directly (three score-vector pairs that differ only in magnitude must produce identical verdicts) and one asserting the gate ignores a deliberately negative ciLow from vally.
  • 18/18 eval-quality self-tests, covering the trial floor, grandfathering, the shrink-only ratchet, rename handling, and an unresolvable base ref.
  • check_eval_quality.py exit 0, actionlint clean on all three workflows, bash -n, markdownlint clean.
  • Live consolidate.mjs render over four verdict shapes: new schema, legacy schema (pre-netWin/signTest), underpowered, and errored.

Three rounds of code review and design review; every finding is addressed in the diff.

Docs: eng/eval-quality/README.md gains failing check 7 plus a "Why the gate scores direction, not magnitude" section; eng/vally-adapter/InvestigatingResults.md documents the new verdict fields and the underpowered failure mode.

Copilot AI review requested due to automatic review settings July 29, 2026 16:10

Copilot AI 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.

Pull request overview

This PR stabilizes the evaluation gate by making verdicts depend on trial direction (win/tie/loss) rather than magnitude, replacing the t-interval gate with an exact one-sided sign test and introducing a minimum credible trial floor so underpowered evals can’t pass (or regress) by chance.

Changes:

  • Replace the gate in eng/vally-adapter/adapt.mjs with net-win + exact sign test (p ≤ 0.05) and emit underpowered/regressed/signTest fields.
  • Enforce a repo-wide minimum trial floor (5) in eng/eval-quality/check_eval_quality.py, backed by a shrink-only underpowered allowlist and --base-ref growth ratchet.
  • Update renderers, workflows, scripts, tests, and docs to reflect the new verdict schema and ⚠️ underpowered semantics.
Show a summary per file
File Description
eng/vally-adapter/README.md Documents underpowered as a separate non-regression signal tied to eval spec power.
eng/vally-adapter/InvestigatingResults.md Updates investigation guide for net-win/sign-test gate and new verdict fields.
eng/vally-adapter/consolidate.mjs Renders Net win / p / Δ Pref columns; treats underpowered as ⚠️; reuses adapter trial-direction logic.
eng/vally-adapter/adapt.test.mjs Adds regression tests for the magnitude-instability defect and for the new sign-test gate/floor.
eng/vally-adapter/adapt.mjs Implements sign-test-based gate, underpowered floor, argv parsing safety on import, and quoted vally command splitting.
eng/run-skill-evals.sh Updates local runner messaging and summary classification for underpowered/inconclusive verdicts.
eng/eval-quality/underpowered-allowlist.txt Introduces shrink-only ledger of pre-existing below-floor evals.
eng/eval-quality/selftest_eval_quality.py Adds self-tests for the trial floor, allowlist behavior, and --base-ref ratchet/rename handling.
eng/eval-quality/README.md Adds failing check #7 and rationale for direction-only gating + 5-trial floor.
eng/eval-quality/check_eval_quality.py Enforces MIN_TRIALS=5, validates allowlist shrink-only rules, checks adapter floor agreement, adds --base-ref.
dotnet-skills.experiment.yaml Removes experiment-level runs override to allow per-eval defaults.runs.
.github/workflows/evaluation.yml Avoids investigation prompt on ⚠️ underpowered/inconclusive failures; preserves legacy behavior for old schemas.
.github/workflows/evaluation-run.yml Updates step summary explanation and per-scenario table to use Net win basis + Δ Pref triage column.
.github/workflows/eval-quality.yml Ensures eval-quality runs when adapter changes; uses full history for --base-ref checks and passes base ref in PRs.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (1)

eng/vally-adapter/adapt.mjs:726

  • When the compare report is inconsistent (summaryAgrees == false), the verdict’s signTest is computed from the enumerated trials, but the top-level wins/ties/losses/trialCount/winRate are still copied from report.summary. That can make the rendered W/T/L (and any downstream logic reading these fields) contradict the gate’s own counts, even though the verdict is already marked inconclusive.

Consider populating these top-level tally fields from the same computed directions counts used by signTest (they’ll be identical in the normal case, and self-consistent in the malformed-report case).

    winRate: s.winRate,
    wins: s.wins,
    ties: s.ties,
    losses: s.losses,
    trialCount: s.trialCount,
  • Files reviewed: 14/14 changed files
  • Comments generated: 0

@github-actions github-actions Bot added the pr-state/ready-for-eval PR is mergeable and awaiting evaluation label Jul 29, 2026
@Evangelink
Evangelink enabled auto-merge (squash) July 29, 2026 16:49

@Evangelink Evangelink left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

/evaluate

@Evangelink
Evangelink temporarily deployed to copilot-pat-pool July 29, 2026 16:50 — with GitHub Actions Inactive
@Evangelink
Evangelink temporarily deployed to copilot-pat-pool July 29, 2026 16:50 — with GitHub Actions Inactive
github-actions Bot added a commit that referenced this pull request Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Skill Evaluation Results

8 skill(s) evaluated — 1 improved, 0 no credible improvement, 7 underpowered. A skill passes only on a credible net win over baseline (more wins than losses, by an exact one-sided sign test at p ≤ 0.05); ⚠️ marks a verdict that can't be reached — either the eval has too few trials to clear that bar at all (underpowered), or the comparison didn't complete (errored/unmatched trials).

Skill Result Net win p Δ Pref W/T/L Quality Baseline Overfit Skills Loaded
configuring-opentelemetry-dotnet ⚠️ +66.7% 0.250 +26.7% 2/1/0 5.0/5 4.8/5 ✅ 0.14 3/3 · 3/3 (plugin)
convert-blazor-server-to-webapp ⚠️ +100.0% 0.500 +40.0% 1/0/0 3.6/5 3.2/5 ✅ 0.04 1/1 · 1/1 (plugin)
dotnet-webapi ⚠️ +100.0% 0.125 +80.0% 3/0/0 3.4/5 1.9/5 🟡 0.28 3/3 · 3/3 (plugin)
mcp-csharp-create ⚠️ +0.0% 0.750 +0.0% 1/1/1 3.5/5 3.9/5 ✅ 0.10 3/3 · 3/3 (plugin)
mcp-csharp-publish ⚠️ +66.7% 0.250 +26.7% 2/1/0 4.9/5 4.5/5 🟡 0.23 3/3 · 3/3 (plugin)
mcp-csharp-test ⚠️ +66.7% 0.250 +66.7% 2/1/0 4.4/5 3.7/5 🟡 0.27 3/3 · 3/3 (plugin)
minimal-api-file-upload ⚠️ +66.7% 0.250 +26.7% 2/1/0 5.0/5 4.4/5 ✅ 0.10 3/3 · 3/3 (plugin)
technology-selection ✅ +83.3% 0.031 +43.3% 5/1/0 4.4/5 3.3/5 🟡 0.36 ⚠️ 6/6 · 5/6 (plugin)
ℹ️ Column legend
  • Net win — (wins − losses) / trials for skilled vs baseline, judged head-to-head by vally compare. This is the effect the gate decides on.
  • p — one-sided exact sign test over the discordant (non-tie) trials. A skill passes only at p ≤ 0.05, which needs at least 5 winning trials.
  • Δ Pref — the same comparison weighted by how decisive each win was (much-better ±100%, slightly-better ±40%). Reported for triage only: weighting the statistic by magnitude made a skill fail for winning harder, which is why the gate deliberately ignores this column.
  • W/T/L — wins / ties / losses across trials.
  • ⚠️ — no verdict is possible: either the eval has fewer trials than any record needs to reach p ≤ 0.05 (underpowered — add scenarios or raise defaults.runs), or the comparison didn't complete.
  • Quality / Baseline — mean absolute judge score 0–5 (skilled isolated vs skill-free control).
  • Overfit — overfitting-judge severity (✅ Low, 🟡 Moderate, 🔴 High, — none) with its score.
  • Skills Loaded — of the scenarios that expect activation, how many actually activated / that total (plugin run shown when present); ⚠️ marks a scenario that expected activation but didn't activate.
⚠️ configuring-opentelemetry-dotnet — details

Reason: Net win +66.7% (2W/1T/0L over 3 trial(s), sign test p=0.250), mean preference +26.7% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
▲ Configure all three OpenTelemetry signals with correct OTLP export +100.0% +40.0% 1/0/0
= Propagate trace context across a message queue +0.0% +0.0% 0/1/0
▲ Set up OpenTelemetry tracing and metrics with custom spans in ASP.NET Core +100.0% +40.0% 1/0/0
⚠️ convert-blazor-server-to-webapp — details

Reason: Net win +100.0% (1W/0T/0L over 1 trial(s), sign test p=0.500), mean preference +40.0% — underpowered (1 counted trial(s); a credible verdict needs at least 5, and this eval won every one of them) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
▲ Blazor Server app with CascadingAuthenticationState +100.0% +40.0% 1/0/0
⚠️ dotnet-webapi — details

Reason: Net win +100.0% (3W/0T/0L over 3 trial(s), sign test p=0.125), mean preference +80.0% — underpowered (3 counted trial(s); a credible verdict needs at least 5, and this eval won every one of them) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
▲ Add a new API endpoint to an existing controller-based project +100.0% +100.0% 1/0/0
▲ Add error handling with ProblemDetails and IExceptionHandler +100.0% +100.0% 1/0/0
▲ Create a CRUD Web API with minimal APIs, OpenAPI, and proper HTTP semantics +100.0% +40.0% 1/0/0
⚠️ mcp-csharp-create — details

Reason: Net win +0.0% (1W/1T/1L over 3 trial(s), sign test p=0.750), mean preference +0.0% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
= Create an HTTP MCP server with tools and resources +0.0% +0.0% 0/1/0
▼ Create an MCP server with tools, prompts, and proper logging -100.0% -40.0% 0/0/1
▲ Implement MCP tools with proper attributes and DI +100.0% +40.0% 1/0/0
⚠️ mcp-csharp-publish — details

Reason: Net win +66.7% (2W/1T/0L over 3 trial(s), sign test p=0.250), mean preference +26.7% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
▲ Deploy an HTTP MCP server to Azure Container Apps +100.0% +40.0% 1/0/0
▲ Publish an MCP server as a NuGet tool package +100.0% +40.0% 1/0/0
= Publish to the MCP Registry +0.0% +0.0% 0/1/0
⚠️ mcp-csharp-test — details

Reason: Net win +66.7% (2W/1T/0L over 3 trial(s), sign test p=0.250), mean preference +66.7% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
▲ Create evaluations for an MCP server +100.0% +100.0% 1/0/0
= Test an HTTP MCP server with WebApplicationFactory +0.0% +0.0% 0/1/0
▲ Write unit and integration tests for an MCP server +100.0% +100.0% 1/0/0
⚠️ minimal-api-file-upload — details

Reason: Net win +66.7% (2W/1T/0L over 3 trial(s), sign test p=0.250), mean preference +26.7% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Net win Δ Pref Trials (W/T/L)
▲ Implement secure file upload in ASP.NET Core 8 minimal API +100.0% +40.0% 1/0/0
= Stream very large file uploads without buffering +0.0% +0.0% 0/1/0
▲ Upload multiple files with metadata in minimal API +100.0% +40.0% 1/0/0
✅ technology-selection — details

Reason: Net win +83.3% (5W/1T/0L over 6 trial(s), sign test p=0.031), mean preference +43.3% — credibly better

Scenario Net win Δ Pref Trials (W/T/L)
▲ Agentic workflow with guardrails +100.0% +40.0% 1/0/0
▲ LLM integration with MEAI abstraction +100.0% +100.0% 1/0/0
▲ ML.NET classification on tabular data +100.0% +40.0% 1/0/0
▲ Natural-language scenario decomposition — RAG chatbot +100.0% +40.0% 1/0/0
= RAG pipeline with vector search +0.0% +0.0% 0/1/0
▲ Reject LLM for tabular classification +100.0% +40.0% 1/0/0

🔍 Full Results - additional metrics and failure investigation steps

▶ Sessions Visualisation -- interactive replay of all evaluation sessions
📊 Session Analytics (preview) -- aggregated metrics across evaluation sessions

@github-actions github-actions Bot added waiting-on-author PR state label and removed pr-state/ready-for-eval PR is mergeable and awaiting evaluation labels Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 @Evangelink — this PR has merge conflict. When you're ready, please address the feedback and push an update; the triage bot will pick up the next state automatically. (Add the no-stale label to silence further pings.)

github-actions Bot added a commit that referenced this pull request Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Skill Evaluation Results

13 skill(s) evaluated — 5 improved, 8 no credible improvement. A skill passes only on a credible improvement over baseline (mean preference > 0 with its 95% CI above 0); ⚠️ marks a comparison that couldn't complete (errored/unmatched trials).

Skill Result Δ Preference [95% CI] W/T/L Quality Baseline Overfit Skills Loaded
author-component ✅ +52.0% [+18.7%, +85.3%] 5/0/0 4.3/5 3.1/5 ✅ 0.20 5/5 · 5/5 (plugin)
collect-user-input ❌ +40.0% [+40.0%, +40.0%] 2/0/0 4.7/5 4.4/5 ✅ 0.18 2/2 · 2/2 (plugin)
configure-auth ❌ +20.0% [-234.1%, +274.1%] 1/1/0 5.0/5 3.5/5 ✅ 0.15 2/2 · 2/2 (plugin)
coordinate-components ❌ +50.0% [-585.3%, +685.3%] 1/1/0 3.3/5 2.5/5 🟡 0.26 2/2 · 2/2 (plugin)
create-blazor-project ❌ +0.0% [-99.4%, +99.4%] 1/1/1 3.0/5 2.4/5 🟡 0.28 3/3 · 3/3 (plugin)
fetch-and-send-data ❌ +20.0% [-234.1%, +274.1%] 1/1/0 4.6/5 3.6/5 ✅ 0.20 2/2 · 2/2 (plugin)
migrate-mstest-v1v2-to-v3 ✅ +45.5% [+19.2%, +71.7%] 8/3/0 4.8/5 3.8/5 ✅ 0.12 ⚠️ 9/11 · 10/11 (plugin)
migrate-vstest-to-mtp ✅ +72.7% [+51.7%, +93.8%] 11/0/0 4.9/5 2.9/5 ✅ 0.14 ⚠️ 11/11 · 10/11 (plugin)
migrate-xunit-to-mstest ❌ +7.7% [-15.2%, +30.6%] 5/7/1 4.3/5 4.3/5 ✅ 0.12 ⚠️ 11/13 · 13/13 (plugin)
migrate-xunit-to-xunit-v3 ✅ +43.3% [+23.9%, +62.7%] 10/2/0 4.3/5 2.6/5 ✅ 0.10 12/12 · 12/12 (plugin)
plan-ui-change ✅ +100.0% [+100.0%, +100.0%] 5/0/0 4.4/5 1.9/5 ✅ 0.09 5/5 · 5/5 (plugin)
support-prerendering ❌ +20.0% [-234.1%, +274.1%] 1/1/0 4.1/5 2.5/5 🟡 0.28 2/2 · 2/2 (plugin)
use-js-interop ❌ +30.0% [-1.8%, +61.8%] 3/1/0 3.0/5 2.2/5 ✅ 0.19 4/4 · 4/4 (plugin)
ℹ️ Column legend
  • Δ Preference — mean head-to-head preference of skilled vs baseline (−100%…+100%), judged by vally compare.
  • [95% CI] — 95% confidence interval on that mean; a skill passes only when the whole interval is above 0.
  • W/T/L — wins / ties / losses across trials.
  • Quality / Baseline — mean absolute judge score 0–5 (skilled isolated vs skill-free control).
  • Overfit — overfitting-judge severity (✅ Low, 🟡 Moderate, 🔴 High, — none) with its score.
  • Skills Loaded — of the scenarios that expect activation, how many actually activated / that total (plugin run shown when present); ⚠️ marks a scenario that expected activation but didn't activate.
✅ author-component — details

Reason: Net win +100.0% (5W/0T/0L over 5 trial(s), sign test p=0.031), mean preference +52.0% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ Author a data-loading search component +40.0% 1/0/0
▲ Author a generic data table component +40.0% 1/0/0
▲ Author a multi-step wizard with async validation and shared state +40.0% 1/0/0
▲ Author a real-time notification badge component +100.0% 1/0/0
▲ Author a sortable list with code-behind pattern +40.0% 1/0/0
❌ collect-user-input — details

Reason: Net win +100.0% (2W/0T/0L over 2 trial(s), sign test p=0.250), mean preference +40.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5, and this eval won every one of them) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Event registration with custom validation +40.0% 1/0/0
▲ Multi-step booking form with cross-field validation +40.0% 1/0/0
❌ configure-auth — details

Reason: Net win +50.0% (1W/1T/0L over 2 trial(s), sign test p=0.500), mean preference +20.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
= Login and account management in a globally interactive app +0.0% 0/1/0
▲ Multi-tier app with WebAssembly auth +40.0% 1/0/0
❌ coordinate-components — details

Reason: Net win +50.0% (1W/1T/0L over 2 trial(s), sign test p=0.500), mean preference +50.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Multi-tenant notification hub with cross-component fan-out +100.0% 1/0/0
= Warehouse dashboard with site selector and live stock alerts +0.0% 0/1/0
❌ create-blazor-project — details

Reason: Net win +0.0% (1W/1T/1L over 3 trial(s), sign test p=0.750), mean preference +0.0% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▼ Global logistics tracking for worldwide users -40.0% 0/0/1
▲ Recipe community with interactive ratings on static pages +40.0% 1/0/0
= University course catalog with enrollment form +0.0% 0/1/0
❌ fetch-and-send-data — details

Reason: Net win +50.0% (1W/1T/0L over 2 trial(s), sign test p=0.500), mean preference +20.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
= Real-time shipment tracker with Auto interactivity +0.0% 0/1/0
▲ Recipe browser with resilient data loading +40.0% 1/0/0
✅ migrate-mstest-v1v2-to-v3 — details

Reason: Net win +72.7% (8W/3T/0L over 11 trial(s), sign test p=0.004), mean preference +45.5% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ Correctly identify MSTest v1 vs v2 and recommend different migration paths +40.0% 1/0/0
▲ Execute and verify MSTest v2 to v3 migration +40.0% 1/0/0
= Fix Assert.AreEqual object overload errors after v3 upgrade +0.0% 0/1/0
= Fix DataRow type mismatch errors after v3 upgrade +0.0% 0/1/0
▲ Handle dropped target framework during v3 migration +100.0% 1/0/0
▲ Migrate MSTest v1 project with assembly reference +40.0% 1/0/0
▲ Migrate MSTest v2 NuGet project to v3 +100.0% 1/0/0
▲ Migrate complex MSTest v2 project with testsettings, DataRow issues, and dropped TFM +40.0% 1/0/0
= Migrate from .testsettings to .runsettings +0.0% 0/1/0
▲ Migrate to MSTest.Sdk project style +40.0% 1/0/0
▲ Stop when the project already uses MSTest v3 +100.0% 1/0/0
✅ migrate-vstest-to-mtp — details

Reason: Net win +100.0% (11W/0T/0L over 11 trial(s), sign test p=0.000), mean preference +72.7% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ Configure dotnet test MTP mode on .NET 10 SDK +40.0% 1/0/0
▲ Full VSTest to MTP migration plan for MSTest solution +40.0% 1/0/0
▲ Handle exit code 8 when migrating from VSTest to MTP +100.0% 1/0/0
▲ Migrate MSTest project from VSTest to Microsoft.Testing.Platform +100.0% 1/0/0
▲ Migrate MSTest.Sdk project that explicitly uses VSTest +40.0% 1/0/0
▲ Migrate NUnit project from VSTest to Microsoft.Testing.Platform +100.0% 1/0/0
▲ Migrate xUnit.net VSTest filter syntax to MTP +40.0% 1/0/0
▲ Migrate xUnit.net v2 project from VSTest to Microsoft.Testing.Platform +100.0% 1/0/0
▲ Set OutputType=Exe only for test projects in Directory.Build.props +100.0% 1/0/0
▲ Translate dotnet test VSTest arguments to MTP equivalents +40.0% 1/0/0
▲ Update Azure DevOps pipeline from VSTest task to MTP +100.0% 1/0/0
❌ migrate-xunit-to-mstest — details

Reason: Net win +30.8% (5W/7T/1L over 13 trial(s), sign test p=0.109), mean preference +7.7% — not credible (sign test p=0.109 > 0.05)

Scenario Mean preference Trials (W/T/L)
= Convert IClassFixture to ClassInitialize +0.0% 0/1/0
= Convert ITestOutputHelper to TestContext +0.0% 0/1/0
= Convert MemberData and TheoryData to DynamicData +0.0% 0/1/0
= Convert Skip, Trait, and Timeout +0.0% 0/1/0
= Convert xUnit v3 TestContext.Current.CancellationToken +0.0% 0/1/0
= Handle ICollectionFixture explicitly (do not silently widen scope) +0.0% 0/1/0
= Map exception assertions correctly (xUnit Throws -> MSTest ThrowsExactly) +0.0% 0/1/0
▲ Migrate basic xUnit v2 project to MSTest v4 preserving VSTest +40.0% 1/0/0
▲ Migrate basic xUnit v3 project to MSTest v4 preserving VSTest +40.0% 1/0/0
▲ Preserve type and sequence assertion semantics +40.0% 1/0/0
▼ Preserve xUnit parallelization default with [assembly: Parallelize] -100.0% 0/0/1
▲ Recognize project already on MSTest +40.0% 1/0/0
▲ Stop when target framework is unsupported by MSTest v4 +40.0% 1/0/0
✅ migrate-xunit-to-xunit-v3 — details

Reason: Net win +83.3% (10W/2T/0L over 12 trial(s), sign test p=0.001), mean preference +43.3% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ Consolidate xunit.extensibility packages and remove xunit.abstractions +40.0% 1/0/0
▲ Convert async void test methods to async Task +40.0% 1/0/0
▲ Convert string-based attribute constructors to typeof syntax +40.0% 1/0/0
▲ Detect incompatible target framework and stop migration +40.0% 1/0/0
= Migrate Xunit.SkippableFact to xUnit.net v3 built-in skip APIs +0.0% 0/1/0
▲ Migrate basic xUnit.net v2 project to v3 +40.0% 1/0/0
▲ Migrate project with YTest.MTP.XUnit2 to xUnit.net v3 preserving MTP +40.0% 1/0/0
▲ Migrate xUnit v2 packages managed via Central Package Management +40.0% 1/0/0
▲ Recognize project already on xUnit.net v3 — no migration needed +100.0% 1/0/0
▲ Update BeforeAfterTestAttribute overrides with IXunitTest parameter +40.0% 1/0/0
= Update Xunit.Combinatorial and Xunit.StaFact companion packages +0.0% 0/1/0
▲ Update custom FactAttribute to include source information parameters +100.0% 1/0/0
✅ plan-ui-change — details

Reason: Net win +100.0% (5W/0T/0L over 5 trial(s), sign test p=0.031), mean preference +100.0% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ Application settings page with nested tab panels +100.0% 1/0/0
▲ E-commerce product catalog with filters and pagination +100.0% 1/0/0
▲ Multi-step job application wizard +100.0% 1/0/0
▲ Project management Kanban board +100.0% 1/0/0
▲ Team chat interface with message threads +100.0% 1/0/0
❌ support-prerendering — details

Reason: Net win +50.0% (1W/1T/0L over 2 trial(s), sign test p=0.500), mean preference +20.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
= Equipment inventory loaded once +0.0% 0/1/0
▲ Notifications page with live polling +40.0% 1/0/0
❌ use-js-interop — details

Reason: Net win +75.0% (3W/1T/0L over 4 trial(s), sign test p=0.125), mean preference +30.0% — underpowered (4 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Auto-saving notepad that survives page reloads +40.0% 1/0/0
= Infinite scroll list using IntersectionObserver +0.0% 0/1/0
▲ Responsive layout that adapts to screen size +40.0% 1/0/0
▲ User activity tracker that detects idle timeout +40.0% 1/0/0

🔍 Full Results - additional metrics and failure investigation steps

To investigate failures, paste this to your AI coding agent:

For PR 965 in dotnet/skills, download eval artifacts with gh run download 30472261413 --repo dotnet/skills --pattern "vally-results-*" --dir ./eval-results, then fetch https://raw.githubusercontent.com/dotnet/skills/235881a9e30eed9fd4eb7a4aec7ebb0413193b88/eng/vally-adapter/InvestigatingResults.md and follow it to analyze the results.json files. Diagnose each failure, suggest fixes to the eval.yaml and skill content, and tell me what to fix first.

▶ Sessions Visualisation -- interactive replay of all evaluation sessions
📊 Session Analytics (preview) -- aggregated metrics across evaluation sessions

Copilot AI review requested due to automatic review settings July 29, 2026 17:58
@Evangelink
Evangelink force-pushed the dev/amauryleve/fix-underpowered-eval-gate branch from 235881a to 12cf3c7 Compare July 29, 2026 17:58
@Evangelink

Copy link
Copy Markdown
Member Author

Checked whether anything actually regressed: no

The first eval run on this PR showed 7 of 8 skills as ⚠️, which reads like mass breakage. It isn't. I re-ran both gates over that run's actual trial data (artifacts from run 30472542823):

skill n W/T/L old mean old ci_low old gate sign p new gate
mcp-csharp-create 3 1/1/1 +0.000 −0.994 ❌ 0.750 ⚠️ underpowered
mcp-csharp-publish 3 2/1/0 +0.267 −0.307 ❌ 0.250 ⚠️ underpowered
mcp-csharp-test 3 2/1/0 +0.667 −0.768 ❌ 0.250 ⚠️ underpowered
configuring-opentelemetry-dotnet 3 2/1/0 +0.267 −0.307 ❌ 0.250 ⚠️ underpowered
dotnet-webapi 3 3/0/0 +0.800 −0.061 ❌ 0.125 ⚠️ underpowered
minimal-api-file-upload 3 2/1/0 +0.267 −0.307 ❌ 0.250 ⚠️ underpowered
technology-selection 6 5/1/0 +0.433 +0.097 ✅ 0.031 ✅ PASS stable
convert-blazor-server-to-webapp 1 1/0/0 +0.400 +0.400 ✅ 0.500 ⚠️ underpowered changed

One verdict of eight changed, and it is the case this PR exists to fix: convert-blazor-server-to-webapp has a single scenario, and below two trials the old gate computes no interval at all (ciLow = mean), so one judgment decided the verdict outright. That is the ~30% false-positive path from the PR description, caught live.

Zero regressions. The other six ⚠️ rows were already failing — identical W/T/L, ci_low well below zero under the old gate too. What changed is the attribution: "❌ no credible improvement" blamed the skill; "⚠️ underpowered" correctly says the eval is too small to have measured it at all. Note dotnet-webapi won 3/3 with baseline quality 1.9/5 → skilled 3.4/5 and still couldn't pass — that's the whole point of the issue.

But the presentation invited exactly that misreading, so I fixed it

The old headline — "1 improved, 0 no credible improvement, 7 underpowered" — puts an unjudgeable eval next to real failures with no signal about which is which. Now:

8 skill(s) evaluated — ✅ 1 improved, ❌ 0 no credible change, 🔻 0 regressed.

⚠️ 7 could not be judged: 7 underpowered — the eval has fewer trials than any result needs to reach p ≤ 0.05, so no verdict was possible. This is the eval's size, not a skill regression; fix it by adding scenarios or raising defaults.runs.

regressed was already computed but never surfaced. It now has its own 🔻 icon and sorts ahead of a no-change verdict when detail blocks compete for the comment budget, so a real regression can't lose its place to an eval-size problem. "Did anything get worse?" is now answerable from the first line.

Also in this push

Rebased onto main to resolve the conflict with #964 (which renumbered the failing checks and promoted the aggregate-line-rate check to an error). Resolution: the trial floor became check 8, T95 went away with report_power (the gate is an exact sign test now, so this side computes no interval), and #964's output_case helper is retained — its t(n-1) case had nothing left to assert, so it now asserts that the grandfathered warning reports the scenarios × runs arithmetic a contributor acts on.

20/20 adapter tests, 20/20 gate self-tests, gate exit 0, actionlint and markdownlint clean.

Copilot AI 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.

Copilot's findings

Comments suppressed due to low confidence (3)

eng/eval-quality/check_eval_quality.py:318

  • check_power() re-reads each eval.yaml without handling YAML parse errors. If a spec is malformed, the earlier main parse pass records the error, but this second parse will raise and crash the gate instead of reporting a clean failure list.
        with open(spec, encoding="utf-8") as fh:
            doc = yaml.safe_load(fh) or {}
        scenarios, runs, trials = eval_trial_count(doc)

eng/run-skill-evals.sh:201

  • The local run-skill-evals.sh summary doesn’t surface the new regressed verdict state, so a credible regression will be counted and printed as “no improvement”. Now that regressions are first-class in results.json (and in the PR comment), the local summary should report them separately.
PASS=0; NOIMPROVE=0; INDETERMINATE=0; FAIL=0
while IFS= read -r RESULTS_JSON; do
  # "indeterminate" covers both an incomplete comparison and an eval with too
  # few trials for the confidence interval to mean anything — neither is
  # evidence that the skill failed to help.
  STATE=$(node -e "
    const v = JSON.parse(require('fs').readFileSync(process.argv[1], 'utf-8')).verdicts[0];
    console.log(v.conclusive === false || v.underpowered === true ? 'indeterminate' : v.passed ? 'pass' : 'noimprove');
  " "$RESULTS_JSON" 2>/dev/null || echo "")
  case "$STATE" in
    pass)          PASS=$((PASS + 1)) ;;
    noimprove)     NOIMPROVE=$((NOIMPROVE + 1)) ;;
    indeterminate) INDETERMINATE=$((INDETERMINATE + 1)) ;;
    *)             FAIL=$((FAIL + 1)) ;;
  esac
done < <(find "$RESULTS_ROOT" -name results.json -not -path "$EXPERIMENT_OUT/*")

PRODUCED=$((PASS + NOIMPROVE + INDETERMINATE + FAIL))
echo -e "${BOLD}━━━ Summary ━━━${NC}"
echo -e "  ${GREEN}✔ $PASS passed${NC}"
[ $NOIMPROVE -gt 0 ] && echo -e "  ${CYAN}⊘ $NOIMPROVE no improvement${NC}"
[ $INDETERMINATE -gt 0 ] && echo -e "  ${YELLOW}⚠ $INDETERMINATE underpowered or inconclusive${NC}"
[ $FAIL -gt 0 ] && echo -e "  ${RED}✘ $FAIL unreadable${NC}"

.github/workflows/evaluation.yml:1114

  • The comment says the investigation prompt is built when a skill “lost to its baseline”, but the jq condition triggers for any determinate non-pass (including “no credible change”), not just regressions. The comment should match the actual condition to avoid confusion when triaging results.
            # If any skill genuinely lost to its baseline, build a copy-paste
            # prompt for AI-assisted investigation. Underpowered and inconclusive
  • Files reviewed: 14/14 changed files
  • Comments generated: 0 new

@github-actions github-actions Bot added pr-state/ready-for-eval PR is mergeable and awaiting evaluation and removed waiting-on-author PR state label labels Jul 29, 2026
@AbhitejJohn

Copy link
Copy Markdown
Collaborator

Thanks for the incredibly thorough write-up here — reproducing all 22 verdicts from the formula alone is a really clean way to isolate the two defects, and moving the gate to score direction over magnitude is clearly the right call. The sign-test core looks solid to me; I ran the tail values independently (f(4,0)=0.0625, f(5,0)=0.03125, f(6,1)=0.0625, f(3,3)=0.65625) and the MIN_CREDIBLE_TRIALS = 5 derivation checks out, since 0.5^4 = 0.0625 > 0.05 >= 0.03125 = 0.5^5.

A few things I'd love your take on before this goes in — all in the CI ratchet, none in the stats:

  1. Rename similarity in the shrink-only check. check_allowlist_growth uses git diff --find-renames (defaults to 50% similarity) and treats any R* status as a non-growth rename. Curious whether that leaves a gap: could someone move a grandfathered underpowered eval to a new path, rewrite it down to ~50%, and have the new (effectively different) eval inherit the old exemption? The net exemption count stays flat, so I don't think the ratchet would flag it — which slightly undercuts the "shrink-only is a property of the gate, not of code review" argument you make in the description. Would pinning --find-renames=100% (or comparing content) close it without hurting the legit pure-rename path you're protecting?

  2. Allowlist-absent-at-base is a warning, not an error. When the allowlist doesn't exist at --base-ref we warn and return. That's exactly right for the PR that introduces the file, but a delete-and-recreate in a single PR (lift the existing entries above the floor, then re-add the file with one new below-floor exemption) would land in the same branch and pass with warnings only. Worth turning that into an error when the current allowlist is non-empty?

  3. One test gap on the winner/score split. Nice touch having trialDirection prefer winner over the derived score. The catch is the integration tests all build trials via reportFromScores, which derives winner from score, so the two never actually contradict on a comparisonToVerdict path — including the Eval gate is underpowered: 27% of verdicts flip on byte-identical inputs (A/A test); 53% of evals run at n<=3 #952 regression test. If someone later reverted to Math.sign(score), everything would still go green. Might be worth one test that hands comparisonToVerdict a trial with winner: "baseline", score: 0.4 and asserts it lands as a loss.

None of these block the core fix as far as I can see — the ⚠️ underpowered behavior and the stats are the important part, and those look great. Happy to send a small PR against your branch for any of them if it saves you time.

(Copilot, commenting on Abhitej's behalf.)

github-actions Bot added a commit that referenced this pull request Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Skill Evaluation Results

8 skill(s) evaluated — 0 improved, 8 no credible improvement. A skill passes only on a credible improvement over baseline (mean preference > 0 with its 95% CI above 0); ⚠️ marks a comparison that couldn't complete (errored/unmatched trials).

Skill Result Δ Preference [95% CI] W/T/L Quality Baseline Overfit Skills Loaded
create-datadriven-aspnetcore ❌ +56.0% [+2.2%, +109.8%] 4/1/0 4.1/5 3.1/5 ✅ 0.15 5/5 · 5/5 (plugin)
optimizing-ef-core-queries ❌ -40.0% [-40.0%, -40.0%] 0/0/1 4.7/5 5.0/5 🟡 0.26 ⚠️ 1/1 · 0/1 (plugin)
template-authoring ❌ +20.0% [-234.1%, +274.1%] 1/1/0 4.5/5 4.7/5 🟡 0.27 2/2 · 2/2 (plugin)
template-comparison ❌ +0.0% [+0.0%, +0.0%] 0/3/0 4.9/5 5.0/5 ✅ 0.14 3/3 · 3/3 (plugin)
template-discovery ❌ +32.0% [+9.8%, +54.2%] 4/1/0 4.9/5 4.4/5 🟡 0.28 ⚠️ 5/5 · 4/5 (plugin)
template-instantiation ❌ +0.0% [+0.0%, +0.0%] 0/1/0 5.0/5 5.0/5 ✅ 0.09 ⚠️ 1/1 · 0/1 (plugin)
template-smart-defaults ❌ +30.0% [-1.8%, +61.8%] 3/1/0 5.0/5 4.2/5 🟡 0.25 ⚠️ 4/4 · 2/4 (plugin)
template-validation ❌ +70.0% [-311.2%, +451.2%] 2/0/0 4.5/5 3.5/5 ✅ 0.14 2/2 · 2/2 (plugin)
ℹ️ Column legend
  • Δ Preference — mean head-to-head preference of skilled vs baseline (−100%…+100%), judged by vally compare.
  • [95% CI] — 95% confidence interval on that mean; a skill passes only when the whole interval is above 0.
  • W/T/L — wins / ties / losses across trials.
  • Quality / Baseline — mean absolute judge score 0–5 (skilled isolated vs skill-free control).
  • Overfit — overfitting-judge severity (✅ Low, 🟡 Moderate, 🔴 High, — none) with its score.
  • Skills Loaded — of the scenarios that expect activation, how many actually activated / that total (plugin run shown when present); ⚠️ marks a scenario that expected activation but didn't activate.
❌ create-datadriven-aspnetcore — details

Reason: Net win +80.0% (4W/1T/0L over 5 trial(s), sign test p=0.063), mean preference +56.0% — not credible (sign test p=0.063 > 0.05)

Scenario Mean preference Trials (W/T/L)
▲ Scaffold Blazor CRUD components +40.0% 1/0/0
= Scaffold MVC CRUD with an existing DbContext +0.0% 0/1/0
▲ Scaffold Minimal API child and required parent CRUD +40.0% 1/0/0
▲ Scaffold Minimal API endpoints with OpenAPI +100.0% 1/0/0
▲ Scaffold Razor Pages CRUD with EF Core and SQLite +100.0% 1/0/0
❌ optimizing-ef-core-queries — details

Reason: Net win -100.0% (0W/0T/1L over 1 trial(s), sign test p=0.500), mean preference -40.0% — underpowered (1 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▼ Optimize bulk operations with EF Core 7+ ExecuteUpdate and ExecuteDelete -40.0% 0/0/1
❌ template-authoring — details

Reason: Net win +50.0% (1W/1T/0L over 2 trial(s), sign test p=0.500), mean preference +20.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Create template from existing project +40.0% 1/0/0
= Validate a template.json file +0.0% 0/1/0
❌ template-comparison — details

Reason: Net win +0.0% (0W/3T/0L over 3 trial(s), sign test p=1.000), mean preference +0.0% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
= Choose between blazor and blazorwasm +0.0% 0/1/0
= Compare webapi vs webapp side by side +0.0% 0/1/0
= Decide which template fits a background processing scenario +0.0% 0/1/0
❌ template-discovery — details

Reason: Net win +80.0% (4W/1T/0L over 5 trial(s), sign test p=0.063), mean preference +32.0% — not credible (sign test p=0.063 > 0.05)

Scenario Mean preference Trials (W/T/L)
▲ Find template for web API project +40.0% 1/0/0
▲ Inspect template parameters and compare choices +40.0% 1/0/0
▲ Preview project creation with dry run +40.0% 1/0/0
= Resolve ambiguous project intent to multiple candidates +0.0% 0/1/0
▲ Search NuGet for specialized template +40.0% 1/0/0
❌ template-instantiation — details

Reason: Net win +0.0% (0W/1T/0L over 1 trial(s), sign test p=1.000), mean preference +0.0% — underpowered (1 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
= Create a console application +0.0% 0/1/0
❌ template-smart-defaults — details

Reason: Net win +75.0% (3W/1T/0L over 4 trial(s), sign test p=0.125), mean preference +30.0% — underpowered (4 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ AOT implies a compatible framework +40.0% 1/0/0
▲ Auth implies HTTPS stays enabled +40.0% 1/0/0
= Controllers exclude the minimal-API flag +0.0% 0/1/0
▲ Never override an explicit user value +40.0% 1/0/0
❌ template-validation — details

Reason: Net win +100.0% (2W/0T/0L over 2 trial(s), sign test p=0.250), mean preference +70.0% — underpowered (2 counted trial(s); a credible verdict needs at least 5, and this eval won every one of them) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Validate correct template and suggest improvements +100.0% 1/0/0
▲ Validate template with multiple errors +40.0% 1/0/0

🔍 Full Results - additional metrics and failure investigation steps

To investigate failures, paste this to your AI coding agent:

For PR 965 in dotnet/skills, download eval artifacts with gh run download 30480857219 --repo dotnet/skills --pattern "vally-results-*" --dir ./eval-results, then fetch https://raw.githubusercontent.com/dotnet/skills/12cf3c793c52e6d3afdce020c56885b9c5e603d5/eng/vally-adapter/InvestigatingResults.md and follow it to analyze the results.json files. Diagnose each failure, suggest fixes to the eval.yaml and skill content, and tell me what to fix first.

▶ Sessions Visualisation -- interactive replay of all evaluation sessions
📊 Session Analytics (preview) -- aggregated metrics across evaluation sessions

Evangelink and others added 2 commits July 29, 2026 21:06
The skill evaluation gate flipped ~27% of its verdicts between runs on
byte-identical inputs. Reproducing all 22 verdicts from the A/A test in

The gate scored the judge's *magnitude*. Trial scores are a five-point
ordinal scale (much-better +1.0, slightly-better +0.4, equal 0, ...), and
a Student-t interval over those reads the 0.4 -> 1.0 step as variance, so
a skill is punished for winning more decisively. Four wins and three ties
over seven trials passes at ciLow +0.031 when every win is
"slightly-better" and fails at -0.021 when one is "much-better" - same
record, better outcome, reversed verdict. coverage-analysis failed five
consecutive runs while winning 100% of its trials, then passed on a sixth
with the same 3W/0T/0L record.

The gate had no minimum sample size. vally returns ciLow = mean below two
trials, so a single lucky judgment passed outright; a neutral skill passes
~30% of the time at one trial, and 18 of 94 gated evals sit there.

adapt.mjs now reads only each trial's winner and decides with an exact
one-sided sign test at 5%. The verdict is a deterministic function of the
win/tie/loss record, so identical records always produce identical
results. Collapsing to direction alone is not enough: a t-interval over
win/tie/loss disagrees with the exact test on 12 records up to n=10 and is
the permissive side in every one, passing 4W/0T/0L, 4W/3T/0L and 6W/0T/1L
at p = 0.0625.

MIN_CREDIBLE_TRIALS = 5 falls out of the same test rather than being
chosen: the sign test cannot reach 5% below five discordant trials, and
discordant trials can never exceed counted trials. Below it no record can
pass, so the verdict is reported as underpowered - never a pass, never a
regression - which is what stops "won every trial, failed anyway" being
rediagnosed each run.

check_eval_quality.py enforces the same floor on specs before they run,
counting trials as scenarios x defaults.runs. The 60 existing evals below
it are grandfathered in a ledger that can only shrink: the gate errors on
a stale, duplicated or unnecessary entry, and --base-ref rejects entries
new relative to the base branch, so a PR cannot add a below-floor eval and
exempt it in the same change. Renames are read from git and are not growth.

The experiment file no longer sets `runs` in `overrides:`. Precedence is
CLI > experiment overrides > eval defaults and the merge is a plain
spread, so that line did not default anything - it overwrote every eval's
own defaults.runs and made per-eval trial counts impossible to express.
No eval declares `defaults:` today, so this changes nothing until one
opts in, and it is what makes raising a thin eval possible at all.

Also fixes two latent bugs found while testing: --vally paths containing
a space were split into separate argv entries (which made the adapter
suite unrunnable on Windows, where process.execPath is under "Program
Files"), and importing adapt.mjs made it parse its importer's command
line.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 29c41814-d553-40fd-b50c-6590c88c9540
The first PR eval run showed 7 of 8 skills as a wall of warnings under the
headline "1 improved, 0 no credible improvement, 7 underpowered", which
reads as seven things breaking at once. Checking the old gate against the
new one on that run's actual trial data, exactly one verdict changed:
convert-blazor-server-to-webapp, 1W/0T/0L, which the old gate passed only
because below two trials it computes no interval at all and lets a single
judgment decide. The other six were already failing and simply moved from
"no credible improvement", which blames the skill, to "underpowered",
which correctly blames the eval's size.

So the summary now leads with the three decided outcomes - improved, no
credible change, regressed - and puts the unjudgeable ones in their own
sentence that says plainly they are not regressions. "0 regressed" makes
the question the old headline provoked answerable from the first line.

`regressed` was already computed but never surfaced; it now has its own
icon and sorts ahead of a no-change verdict when detail blocks compete for
the comment budget, so a real regression cannot lose its place to an
eval-size problem.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 29c41814-d553-40fd-b50c-6590c88c9540
Copilot AI review requested due to automatic review settings July 29, 2026 19:07
@Evangelink
Evangelink force-pushed the dev/amauryleve/fix-underpowered-eval-gate branch from 12cf3c7 to f0c5259 Compare July 29, 2026 19:07
@AbhitejJohn

Copy link
Copy Markdown
Collaborator

A couple more things surfaced when I dug into what we're trading away here — none of these block the fix, but they feel worth hashing out before or soon after this lands.

  1. Sparse wins among many ties can clear the bar. Since the sign test conditions on discordant trials, a record like 5W / 95T / 0L passes at p = 0.5^5 = 0.03125 — a 5% net win over 100 trials. That proves "when the skill makes a difference, it wins," which isn't quite the same as "the skill usually helps." Curious whether we want a secondary floor here — a minimum net-win-rate over all trials, or a minimum discordant count — so a skill that's indistinguishable from baseline on 95% of trials doesn't pass on 5 clean wins.

  2. We no longer hard-gate task-completion regressions. The old skill-validator hard-failed if a skill regressed task completion in any scenario. The new verdict is purely the pairwise sign test, and while the trials still carry baselinePassed/treatmentPassed, they don't feed the decision. So 7W / 0T / 1L passes at p ≈ 0.035 even if that one loss is "baseline completed, skilled failed." I'm assuming vally compare makes the judge pick baseline when treatment breaks the task, so it shows up as a loss — but that's a soft, outweighable signal now, not the hard invariant we used to have. Do we want to bring back an explicit "never regress completion" check on top of the sign test?

  3. Reaching the trial floor via runs gives us correlated trials. The natural way to escape ⚠️ underpowered is to bump defaults.runs on a scenario, but repeated runs of the same scenario (same prompt, fixture, judge) aren't independent, and the sign test assumes independence — so the p-value looks stronger than the evidence really is. More scenarios is the statistically honest path. The description already leans this way; might be worth making it explicit in the docs so folks don't just crank runs to turn a ⚠️ green.

More broadly, the two things I'd love to hash out with you (probably beyond this PR):

  • "By how much does this help?" — collapsing to direction gives us determinism, but we lose any sense of effect size; a landslide and a hair's-breadth win look identical. Do we care about magnitude anywhere in the gate, or is pass/fail on direction genuinely all we want the eval to assert?
  • What n should a run be? — the floor is 5, but the right per-eval trial count (scenarios × runs) that balances credible power against CI minutes is still an open question, and it's the part that actually costs money. Worth deciding deliberately rather than per-eval ad hoc.

Happy to prototype any of these against the branch if useful.

(Copilot, commenting on Abhitej's behalf.)

@Evangelink

Copy link
Copy Markdown
Member Author

The red build was the new gate catching real drift, and it is green again

eval-quality failed on the previous push with three errors:

underpowered-allowlist.txt lists 'tests/dotnet-ai/mcp-csharp-create/eval.yaml',
which is not an eval spec in this repo. Remove the stale line.

…and the same for mcp-csharp-publish and mcp-csharp-test. It passed locally on the identical commit, which is the tell: CI checks the merge with main, not the branch alone. #943 landed in the meantime and retired those three skills, deleting their eval specs. The ledger still carried exemptions for evals that no longer exist.

That is the stale-entry check doing exactly its job, roughly two hours after it was written. It is also the reason that check is an error rather than a warning: a dead exemption is a path that a future eval could silently inherit.

Rebased onto 85cd10340 and dropped the three retired entries — the ledger is now 57 evals, down from 60, purely from #943. Verified the way CI does it, including --base-ref origin/main.

I also added a line to the allowlist header, because this will happen again to whoever retires an eval next:

Retiring an eval means deleting its line here too, in the same change. CI checks the merge with the base branch, so an entry left behind for a deleted eval fails the gate even though it passes on the retiring branch alone.

Worth noting the failure mode is self-healing rather than a trap: eval-quality.yml triggers on tests/**, so a PR that retires an eval without pruning the ledger fails on its own merge commit and gets told which line to remove.

All checks green: 20/20 adapter tests, 20/20 gate self-tests, gate exit 0, actionlint, lint, markdownlint, codeowners.

Copilot AI 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.

Copilot's findings

Comments suppressed due to low confidence (3)

.github/workflows/evaluation-run.yml:519

  • The workflow step summary icon treats any non-passing conclusive verdict as ❌, which will mislabel credible regressions (now represented via regressed: true). Consider surfacing 🔻 when regressed is true so the step summary matches the PR comment semantics.
            CONCLUSIVE=$(node -e "const r=JSON.parse(require('fs').readFileSync(process.argv[1],'utf-8')); console.log(r.verdicts[0].conclusive)" "$RESULTS_JSON")
            UNDERPOWERED=$(node -e "const r=JSON.parse(require('fs').readFileSync(process.argv[1],'utf-8')); console.log(r.verdicts[0].underpowered === true)" "$RESULTS_JSON")
            PASSED=$(node -e "const r=JSON.parse(require('fs').readFileSync(process.argv[1],'utf-8')); console.log(r.verdicts[0].passed)" "$RESULTS_JSON")
            REASON=$(node -e "const r=JSON.parse(require('fs').readFileSync(process.argv[1],'utf-8')); console.log(r.verdicts[0].reason)" "$RESULTS_JSON")
            if [ "$CONCLUSIVE" != "true" ] || [ "$UNDERPOWERED" = "true" ]; then
              ICON="⚠️"
            elif [ "$PASSED" = "true" ]; then
              ICON="✅"
            else
              ICON="❌"
            fi

dotnet-skills.experiment.yaml:26

  • The comment still says the pass gate uses a confidence interval, but the gate is now an exact one-sided sign test over win/loss trials. This is misleading for anyone trying to adjust trial counts.
# Trials per eval = scenarios x runs, and that product is what the pass gate's
# confidence interval is computed over. See eng/eval-quality/README.md for the
# floor and why it sits where it does.

eng/run-skill-evals.sh:193

  • The summary classification ignores credible regressions (regressed: true) and counts them as "no improvement", which hides a distinct outcome under the new gate semantics.
PASS=0; NOIMPROVE=0; INDETERMINATE=0; FAIL=0
while IFS= read -r RESULTS_JSON; do
  # "indeterminate" covers both an incomplete comparison and an eval with too
  # few trials for the confidence interval to mean anything — neither is
  # evidence that the skill failed to help.
  STATE=$(node -e "
    const v = JSON.parse(require('fs').readFileSync(process.argv[1], 'utf-8')).verdicts[0];
    console.log(v.conclusive === false || v.underpowered === true ? 'indeterminate' : v.passed ? 'pass' : 'noimprove');
  " "$RESULTS_JSON" 2>/dev/null || echo "")
  case "$STATE" in
    pass)          PASS=$((PASS + 1)) ;;
    noimprove)     NOIMPROVE=$((NOIMPROVE + 1)) ;;
    indeterminate) INDETERMINATE=$((INDETERMINATE + 1)) ;;
    *)             FAIL=$((FAIL + 1)) ;;
  esac
  • Files reviewed: 14/14 changed files
  • Comments generated: 0 new

github-actions Bot added a commit that referenced this pull request Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Skill Evaluation Results

8 skill(s) evaluated — 3 improved, 5 no credible improvement. A skill passes only on a credible improvement over baseline (mean preference > 0 with its 95% CI above 0); ⚠️ marks a comparison that couldn't complete (errored/unmatched trials).

Skill Result Δ Preference [95% CI] W/T/L Quality Baseline Overfit Skills Loaded
analyzing-dotnet-performance ✅ +36.4% [+28.3%, +44.5%] 10/1/0 4.9/5 4.7/5 ✅ 0.15 11/11 · 11/11 (plugin)
android-tombstone-symbolication ❌ +15.0% [-9.9%, +39.9%] 4/3/1 3.4/5 3.0/5 ✅ 0.18 ⚠️ 7/8 · 8/8 (plugin)
apple-crash-symbolication ❌ +0.0% [-99.4%, +99.4%] 1/1/1 4.6/5 4.1/5 🟡 0.26 ⚠️ 2/3 · 3/3 (plugin)
clr-activation-debugging ✅ +37.1% [+6.1%, +68.1%] 5/2/0 4.2/5 3.2/5 ✅ 0.11 ⚠️ 7/7 · 5/7 (plugin)
dotnet-trace-collect ✅ +54.1% [+33.3%, +74.9%] 15/1/1 4.8/5 3.5/5 ✅ 0.14 17/17 · 17/17 (plugin)
dump-collect ❌ +15.6% [-20.3%, +51.4%] 6/2/1 4.8/5 3.1/5 🟡 0.27 ⚠️ 7/9 · 7/9 (plugin)
microbenchmarking ❌ +40.0% [+40.0%, +40.0%] 1/0/0 4.6/5 4.2/5 ✅ 0.12 1/1 · 1/1 (plugin)
setup-local-sdk ❌ +60.0% [-26.1%, +146.1%] 3/0/0 4.7/5 2.8/5 🟡 0.28 3/3 · 3/3 (plugin)
ℹ️ Column legend
  • Δ Preference — mean head-to-head preference of skilled vs baseline (−100%…+100%), judged by vally compare.
  • [95% CI] — 95% confidence interval on that mean; a skill passes only when the whole interval is above 0.
  • W/T/L — wins / ties / losses across trials.
  • Quality / Baseline — mean absolute judge score 0–5 (skilled isolated vs skill-free control).
  • Overfit — overfitting-judge severity (✅ Low, 🟡 Moderate, 🔴 High, — none) with its score.
  • Skills Loaded — of the scenarios that expect activation, how many actually activated / that total (plugin run shown when present); ⚠️ marks a scenario that expected activation but didn't activate.
✅ analyzing-dotnet-performance — details

Reason: Net win +90.9% (10W/1T/0L over 11 trial(s), sign test p=0.001), mean preference +36.4% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ Catches LINQ on hot-path string processing and All(char.IsUpper) +40.0% 1/0/0
▲ Catches compound allocations in recursive number converter with ToLower +40.0% 1/0/0
▲ Detects Aggregate+Replace chain and struct missing IEquatable +40.0% 1/0/0
▲ Detects CurrentCulture comparer and compiled regex budget in inflection rules +40.0% 1/0/0
▲ Detects LINQ pipeline in TimeSpan formatting and collection processing +40.0% 1/0/0
▲ Detects compiled regex startup budget and regex chain allocations +40.0% 1/0/0
▲ Finds StringComparison.Ordinal missing and FrozenDictionary opportunities +40.0% 1/0/0
▲ Finds branched Replace chain in format string manipulation +40.0% 1/0/0
▲ Finds per-call Dictionary allocation not hoisted to static +40.0% 1/0/0
= Flags Span inconsistencies and compound method chains in truncation library +0.0% 0/1/0
▲ Identifies unsealed leaf classes and locale hierarchy patterns +40.0% 1/0/0
❌ android-tombstone-symbolication — details

Reason: Net win +37.5% (4W/3T/1L over 8 trial(s), sign test p=0.188), mean preference +15.0% — not credible (sign test p=0.188 > 0.05)

Scenario Mean preference Trials (W/T/L)
= Handle .NET frames with no BuildId metadata +0.0% 0/1/0
▲ Recognize NativeAOT tombstone with app binary and libSystem.Native.so +40.0% 1/0/0
= Recognize tombstone with no .NET frames +0.0% 0/1/0
▼ Reject iOS crash log as wrong format -40.0% 0/0/1
▲ Symbolicate .NET frames in an Android tombstone +40.0% 1/0/0
▲ Symbolicate CoreCLR frames in an Android tombstone +40.0% 1/0/0
= Symbolicate multi-thread tombstone +0.0% 0/1/0
▲ Symbolicate tombstone with multiple .NET libraries and different BuildIds +40.0% 1/0/0
❌ apple-crash-symbolication — details

Reason: Net win +0.0% (1W/1T/1L over 3 trial(s), sign test p=0.750), mean preference +0.0% — underpowered (3 counted trial(s); a credible verdict needs at least 5) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Investigate root cause of a .NET MAUI iOS crash +40.0% 1/0/0
▼ Parse .NET frames and locate dSYMs from an iOS crash log -40.0% 0/0/1
= Reject Android tombstone passed as iOS crash log +0.0% 0/1/0
✅ clr-activation-debugging — details

Reason: Net win +71.4% (5W/2T/0L over 7 trial(s), sign test p=0.031), mean preference +37.1% — credibly better

Scenario Mean preference Trials (W/T/L)
= Analyze healthy managed EXE activation +0.0% 0/1/0
▲ Decline non-CLR-activation issue +100.0% 1/0/0
▲ Diagnose FOD suppressed but activation still failing +40.0% 1/0/0
▲ Diagnose unexpected FOD dialog from native build tool +40.0% 1/0/0
▲ Explain useLegacyV2RuntimeActivationPolicy in activation log +40.0% 1/0/0
= Explain why same binary behaves differently under different launch methods +0.0% 0/1/0
▲ Identify multiple activation sequences in a single log +40.0% 1/0/0
✅ dotnet-trace-collect — details

Reason: Net win +82.4% (15W/1T/1L over 17 trial(s), sign test p=0.000), mean preference +54.1% — credibly better

Scenario Mean preference Trials (W/T/L)
▲ .NET 10 on Linux with root access and native call stacks +100.0% 1/0/0
▲ .NET Framework on Windows without admin privileges +100.0% 1/0/0
= Assembly loading failure on Linux (.NET 8) +0.0% 0/1/0
▲ Container installation without .NET SDK +40.0% 1/0/0
▲ Excessive GC on Linux (.NET 8) +40.0% 1/0/0
▲ HTTP 500s from downstream service on Linux (.NET 8) +40.0% 1/0/0
▲ Hang or deadlock diagnosis on Linux +40.0% 1/0/0
▲ High CPU in Kubernetes on Linux (.NET 8) +40.0% 1/0/0
▲ Kubernetes with console access prefers console tools +40.0% 1/0/0
▲ Linux pre-.NET 10 needing native call stacks +100.0% 1/0/0
▲ Long-running intermittent issue with PerfView triggers +40.0% 1/0/0
▲ Memory leak on .NET Framework Windows +40.0% 1/0/0
▼ Memory leak on Linux (.NET 8) -40.0% 0/0/1
▲ Networking timeouts on Windows with admin (.NET 8) +100.0% 1/0/0
▲ Slow requests on Windows with PerfView +40.0% 1/0/0
▲ Windows container high CPU with PerfView +100.0% 1/0/0
▲ Windows modern .NET with admin high CPU +100.0% 1/0/0
❌ dump-collect — details

Reason: Net win +55.6% (6W/2T/1L over 9 trial(s), sign test p=0.063), mean preference +15.6% — not credible (sign test p=0.063 > 0.05)

Scenario Mean preference Trials (W/T/L)
= Advisory: CoreCLR Alpine Docker non-root configuration +0.0% 0/1/0
▲ Advisory: NativeAOT Kubernetes dump collection setup +40.0% 1/0/0
= Advisory: macOS NativeAOT crash dump recovery steps +0.0% 0/1/0
▲ Configure CoreCLR dump collection in Alpine Docker as non-root +40.0% 1/0/0
▲ Configure automatic crash dumps for CoreCLR app on Linux +40.0% 1/0/0
▲ Decline dump analysis request +40.0% 1/0/0
▼ Detect runtime and configure crash dumps for unknown .NET app on Linux -100.0% 0/0/1
▲ Recover crash dump from macOS NativeAOT without createdump +40.0% 1/0/0
▲ Set up NativeAOT crash dumps with createdump in Kubernetes +40.0% 1/0/0
❌ microbenchmarking — details

Reason: Net win +100.0% (1W/0T/0L over 1 trial(s), sign test p=0.500), mean preference +40.0% — underpowered (1 counted trial(s); a credible verdict needs at least 5, and this eval won every one of them) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Investigate runtime upgrade performance impact +40.0% 1/0/0
❌ setup-local-sdk — details

Reason: Net win +100.0% (3W/0T/0L over 3 trial(s), sign test p=0.125), mean preference +60.0% — underpowered (3 counted trial(s); a credible verdict needs at least 5, and this eval won every one of them) — raise the eval's trial count with more scenarios or defaults.runs

Scenario Mean preference Trials (W/T/L)
▲ Create team install scripts +40.0% 1/0/0
▲ Detect incompatible .NET host version +100.0% 1/0/0
▲ Plan a project-local .NET 11 preview setup without downloading +40.0% 1/0/0

🔍 Full Results - additional metrics and failure investigation steps

To investigate failures, paste this to your AI coding agent:

For PR 965 in dotnet/skills, download eval artifacts with gh run download 30486038243 --repo dotnet/skills --pattern "vally-results-*" --dir ./eval-results, then fetch https://raw.githubusercontent.com/dotnet/skills/f0c5259960d64b74e90d661092ae8b31ac949070/eng/vally-adapter/InvestigatingResults.md and follow it to analyze the results.json files. Diagnose each failure, suggest fixes to the eval.yaml and skill content, and tell me what to fix first.

▶ Sessions Visualisation -- interactive replay of all evaluation sessions
📊 Session Analytics (preview) -- aggregated metrics across evaluation sessions

@github-actions github-actions Bot added waiting-on-review PR state label and removed pr-state/ready-for-eval PR is mergeable and awaiting evaluation labels Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Evaluation passed for f0c5259. cc @AbhitejJohn @JanKrivanek @webreidi — please review.

@Evangelink
Evangelink merged commit 2c22b6c into main Jul 30, 2026
34 checks passed
@Evangelink
Evangelink deleted the dev/amauryleve/fix-underpowered-eval-gate branch July 30, 2026 09:56
@AbhitejJohn

Copy link
Copy Markdown
Collaborator

Thanks for landing this, @Evangelink — and nice touches in the final push, especially check_power becoming a real hard gate and the check_floor_agreement() drift guard reading MIN_CREDIBLE_TRIALS straight out of the adapter. That two-languages-can't-drift bit is the kind of thing that quietly saves you a year from now. The ref-resolution hardening in check_allowlist_growth is a good catch too.

Since it's merged, I don't want to relitigate anything — just jotting down the gaps from the earlier review that this change intentionally didn't close, so we have them tracked rather than rediscovering them later. All of these are about the verdict itself (adapt.mjs), which is unchanged, not the CI ratchet:

  1. Sparse wins can still pass on almost no evidence. The underpowered floor counts all trials, ties included — 5W/95T/0L has 100 counted trials, so it's nowhere near underpowered — but the sign test only sees the discordant ones: signTestPValue(5, 0) = 0.5^5 = 0.031 ≤ 0.05, direction "better", so it passes. So 5 wins and 95 "no meaningful difference" out of 100 clears the bar, because the 95 ties never enter the p-value. A magnitude-free net-win floor (e.g. (wins − losses)/counted ≥ ~0.2, counted incl. ties) would catch this — 0.05 < 0.2 — without touching the sign test or reviving the Eval gate is underpowered: 27% of verdicts flip on byte-identical inputs (A/A test); 53% of evals run at n<=3 #952 variance problem. The exact threshold needs calibration though: a floor at 0.2 still lets 5W/20T/0L through right at the boundary.

  2. No hard gate on task-completion regression. The verdict is conclusive && !underpowered && direction === "better" && credible — baselinePassed/treatmentPassed don't enter it. So a change that's judged "slightly better" on style while actually breaking completion on a scenario can still pass, as long as the win/loss record leans positive. The old C# validator hard-failed on completion regression; that safety property didn't carry over. Worth a magnitude-free Layer-0 check (baselinePassed && !treatmentPassed on any scenario ⇒ fail).

  3. "By how much" is gone by design — do we want it fully gone? This is the deliberate trade in the title, and I'm on board with dropping magnitude out of the variance term (that was Eval gate is underpowered: 27% of verdicts flip on byte-identical inputs (A/A test); 53% of evals run at n<=3 #952's actual bug — ordinal scores feeding an sd/CI, where a bigger win lowered ciLow). But there's a middle path: a deterministic magnitude floor (mean ordinal ≥ some E_MIN, no variance) is monotone — a bigger win can only flip fail→pass, never pass→fail — so it recovers effect-size without the reversal. Might be worth it as report-only first, since the ordinal scale (−1/−0.4/0/+0.4/+1) is a policy weighting, not a true interval.

  4. Two things I'd still like us to hash out on the power side:

    • n / runs: the gate's n is discordant trials, and defaults.runs on a single scenario feeds correlated pseudo-replicates into the sign test, which inflates significance. Aggregating each scenario to one outcome before the test (then testing across scenarios) would at least fix the unit of analysis — though scenario outcomes still share prompt, skill, judge and model, so that tightens independence rather than fully restoring it. What's the intended runs story here?
    • reruns: if authors can rerun until green, the nominal p-value stops meaning what it says. A fixed trial plan (or a stated rerun policy) closes that.

None of this is blocking anything that shipped — the fix is a clear net improvement over the ciLow gate. Happy to open a follow-up issue and prototype the two magnitude-free pieces (net-win floor + completion gate) against a backtest on the #952 A/A set and the current evals, if that's useful. Curious whether you'd already thought about the completion gate and left it out on purpose, or if it just fell off in the rewrite.

(Copilot, commenting on Abhitej's behalf.)

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

Labels

waiting-on-review PR state label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eval gate is underpowered: 27% of verdicts flip on byte-identical inputs (A/A test); 53% of evals run at n<=3

4 participants