From c7dbb50295b7ef853400494d4f734a6cab11c4ea Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Sun, 22 Nov 2026 10:24:10 -0500 Subject: [PATCH 1/8] Add files via upload --- skills/eval-plan/eval-plan-SKILL.md | 194 ++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 skills/eval-plan/eval-plan-SKILL.md diff --git a/skills/eval-plan/eval-plan-SKILL.md b/skills/eval-plan/eval-plan-SKILL.md new file mode 100644 index 0000000000..717129158d --- /dev/null +++ b/skills/eval-plan/eval-plan-SKILL.md @@ -0,0 +1,194 @@ +--- +name: eval-plan +description: "Write the evaluation plan for an AI feature before building it. Use when an AI feature is proposed or scoped and no one can say how quality will be judged. Derives eval criteria from failure modes, designs offline and online evaluation, sets a north-star metric with guardrails, and ends with pass/fail launch gates. Decides quality before code, so eval-driven development and agent evaluation have a plan to implement." +--- + +# Eval Plan for AI Features + +## What this skill does + +Most AI features ship with a demo and a dashboard, but no written answer to the question that matters first: how will we know if this is good enough to launch, and how will we know if it gets worse? + +This skill writes that answer before building starts. It turns a feature idea into an evaluation plan: the failure modes that define quality, the offline cases that test them, the launch bar set in advance, the online checks that follow, and the pass/fail gates that decide whether the feature ships, stays, or rolls back. + +It is a planning skill, not an implementation skill. It produces a decision document. Other skills build the harness and run the evals against that document. + +## When to use it + +- An AI feature, agent, or copilot is proposed or scoped, and no one can state how quality will be judged. +- A team is about to build prompts, retrieval, or an agent workflow without agreed success criteria. +- A shipped AI feature is being judged only by usage or vibes, and the team needs a quality bar it can defend. +- A launch review, gate, or go/no-go decision needs written criteria instead of opinions. + +## When not to use it + +- The eval plan already exists and the work is now building the harness, writing evaluators, or running tests. Use `eval-driven-dev` to implement the pipeline. +- The work is improving a single agent output through self-critique or refinement loops. Use `agentic-eval` for evaluation patterns on outputs. +- The feature is deterministic software with no model output to judge. Standard tests and acceptance criteria are enough; an eval plan adds nothing. +- The pain behind the feature is not yet proven. Prove the pain first, then plan the evals. A well-measured feature nobody needed is still a miss. + +## How this differs from the existing eval skills + +This skill does not duplicate the repo's existing strengths. It sits upstream of them, and the plan it produces is what they implement: + +- `eval-driven-dev` builds an evaluation pipeline for a Python application: it instruments code, builds golden datasets, and runs tests with pixie. It assumes the criteria already exist. This skill writes the criteria, the dataset design, and the launch bar that pipeline should test against. +- `agentic-eval` covers patterns for evaluating and refining agent outputs: reflection, evaluator-optimizer loops, and rubric-based judging. It improves outputs after they exist. This skill decides, before building, which outputs matter, which failures are unacceptable, and what score is good enough to ship. +- `prd` writes product requirements documents, including an evaluation strategy bullet for AI-powered features. A PRD states what will be built. This skill is the full evaluation plan behind that bullet: cases, thresholds, guardrails, and gates. + +Use this skill first to decide quality. Use `eval-driven-dev` and `agentic-eval` afterwards to build and run against the plan. + +## The rule + +No launch bar may be set after seeing results. + +The thresholds, the guardrails, and the kill criteria are written before the first eval run, derived from the cost of being wrong and the quality of what the user has today. A bar moved after the numbers come in is not a bar. + +## Workflow + +Work the steps in order. Do not skip to dataset building before the failure modes are named, and do not set thresholds after results are known. + +### Step 1. Name the failure modes + +Ask: what does wrong look like for this feature, in the user's world? + +List 4 to 8 failure modes, each stated as a concrete user-visible outcome, not a model property. "Hallucination" is a category. "The draft reply quotes a refund amount the policy does not allow" is a failure mode. + +Cover at least these angles where they apply: + +- Wrongness: false, invented, or unsupported content presented as fact. +- Retrieval: for retrieval-based features, the right source never reached the model, or the answer ignored the source it received. +- Scope: an agent takes an action beyond what the user asked for or approved. +- Tone and trust: output that is technically correct but erodes confidence, or that the user cannot check, correct, or undo. +- Cost and latency: output that is good but too slow or too expensive to serve at the volume expected. + +Output: a numbered list of failure modes, each with one sentence on what the user experiences and one on what it costs if acted on. + +### Step 2. Derive criteria from the failure modes + +Turn each failure mode into one or two measurable criteria. A criterion names what is judged, how it is judged, and what counts as passing for a single case. + +For each criterion, record: + +- The failure mode it covers. +- The judge: human rubric, exact check, retrieval metric, or LLM-as-judge with a rubric. LLM-as-judge is a judge that must itself be validated in Step 5, not ground truth by default. +- The unit: per case, per session, or per user, stated explicitly. + +Output: a criteria table with one row per criterion. Every failure mode from Step 1 must map to at least one criterion. Any criterion with no failure mode behind it is cut. + +### Step 3. Design the offline set before building + +Bootstrap 20 to 50 cases by hand, before the feature is built. The set is the contract: a release that drops the offline score does not ship. + +Include, in every set: + +- Realistic cases drawn from real user inputs, anonymized where needed. +- Adversarial cases: the edge cases the team already fears, ambiguous inputs, and inputs designed to trigger each failure mode from Step 1. +- The cases that must never fail: safety, money, legal, or trust-critical cases, marked as blocking. One blocking failure fails the run, whatever the average score. + +Label each case with the expected behaviour or rubric, not just the input. Record the source of each case and the date it was written, so staleness can be checked later. + +Output: the case list with labels, the blocking cases marked, and the count by category. + +### Step 4. Set the launch bar before building + +Write the thresholds now, while they are still honest. + +- The overall bar: a threshold on the offline set, for example a minimum pass rate on the labelled cases. +- The per-criterion bar: a floor for each criterion that matters on its own, so a strong average cannot hide a failing safety or accuracy criterion. +- The guardrails: the metrics that must not get worse even if the main metric improves. Typical guardrails are cost per task, latency, escalation rate, and user correction rate. +- The comparison: the bar is derived from the cost of being wrong and the quality of the alternative the user has today, not from a round number. State that derivation in one sentence per threshold. + +Output: the thresholds, the guardrails, and the one-sentence derivation for each, written as the launch bar section of the plan. + +### Step 5. Design online evaluation and judge validation + +Offline scores do not prove the feature works for real users. Plan the online half now. + +- Online checks: what will be measured in production, on which slice of traffic, and how often it will be reviewed. Include at least one product-outcome measure and at least one model-quality measure, so the two can be compared. +- Silent degradation alarm: the condition that fires when the product outcome and the model-quality metric diverge, for example usage rising while quality falls. Write the alarm condition, not just the metrics. +- Judge validation: if LLM-as-judge is used anywhere, validate it against human labels on a sample of the offline set before trusting it. Record the agreement rate and the cases where judge and human disagree. A judge that has not been validated is reported as unvalidated wherever its scores appear. + +Output: the online measurement plan, the alarm condition, and the judge validation step with its sample size. + +### Step 6. Write the pass/fail launch gates + +End with gates, not a recommendation. Each gate is a binary check against the bar from Step 4, plus the autonomy decision. + +- Gate 1, offline: the offline set passes at or above the bar, with zero blocking failures. +- Gate 2, guardrails: no guardrail is breached on the beta or shadow slice. +- Gate 3, online readiness: the online checks, the alarm, and the rollback plan are in place and tested. A feature without a tested rollback does not pass this gate. +- Autonomy rung: the starting rung is stated explicitly: suggest, draft, or act. Irreversible actions start at suggest or draft with explicit confirmation, and earn a higher rung only on gate evidence. +- Kill criteria: the numbers that stop the rollout, written in advance, including one condition under which the feature is killed outright rather than fixed. + +If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix the failure, or drop the feature. Record which gate failed and what evidence would change the decision. + +## Output template + +```markdown +## Eval Plan: [feature] + +**Feature and user:** ... +**What the user has today:** ... + +### Failure modes +1. [User-visible outcome]. Cost if acted on: ... +2. ... + +### Criteria +| Criterion | Covers failure mode | Judge | Unit | Pass per case | +|---|---|---|---|---| +| ... | ... | ... | ... | ... | + +### Offline set +- Cases: [count], [count] realistic, [count] adversarial +- Blocking cases: ... +- Source and date: ... + +### Launch bar +- Overall threshold: ... +- Per-criterion floors: ... +- Guardrails: ... +- Derivation: ... + +### Online evaluation +- Product outcome: ... +- Model quality: ... +- Silent degradation alarm: ... +- Judge validation: [judge], [sample size], agreement: ... + +### Launch gates +- Gate 1 offline: PASS / FAIL +- Gate 2 guardrails: PASS / FAIL +- Gate 3 online readiness: PASS / FAIL +- Autonomy rung: suggest / draft / act +- Kill criteria: ... +- Decision: GO / NO-GO +- If NO-GO, gate that failed and evidence needed: ... +``` + +## Worked example + +Feature: AI draft replies for support tickets. + +Failure modes: the draft quotes a refund the policy does not allow; the draft cites a policy page that does not support the answer; the draft sends a refund action without confirmation; the draft is polite but omits the one fact the customer asked for. + +Criteria: refund amounts match policy exactly (exact check, blocking); every factual claim cites a retrieved page that supports it (human rubric on a sample, plus citation check); no irreversible action without confirmation (exact check, blocking); the draft answers the customer's question (human rubric). + +Offline set: 30 cases, 18 realistic tickets, 12 adversarial, including 5 blocking refund cases. Launch bar: 90 percent pass on the offline set, 100 percent on blocking cases, escalation rate no higher than the current human baseline, cost per ticket within budget. Gates: the feature starts at draft, with the agent sending nothing without a human approving it. + +## What good looks like + +- Every failure mode maps to at least one criterion, and every criterion maps to a failure mode. +- The offline set exists before building, with adversarial and blocking cases included. +- Thresholds are written before results, with a derivation from the cost of being wrong. +- The plan names a guardrail, an alarm for silent degradation, and kill criteria. +- The decision is a gate result, not an opinion, and a failed gate names the evidence that would change it. + +## Common mistakes + +- Setting the bar after seeing the first results, then calling the result a pass. +- Judging only the average, so one failing safety criterion hides inside a good overall score. +- Building the offline set from easy cases the team already knows the model handles. +- Using LLM-as-judge scores as ground truth without validating the judge against human labels. +- Launching on usage alone, with no quality measure to catch silent degradation. +- Writing criteria with no failure mode behind them, which measures what is easy instead of what matters. From 965463e370038bba43305b7fcf2a49c527d5e42f Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Sun, 22 Nov 2026 10:25:31 -0500 Subject: [PATCH 2/8] Rename eval-plan-SKILL.md to SKILL.md --- skills/eval-plan/{eval-plan-SKILL.md => SKILL.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename skills/eval-plan/{eval-plan-SKILL.md => SKILL.md} (100%) diff --git a/skills/eval-plan/eval-plan-SKILL.md b/skills/eval-plan/SKILL.md similarity index 100% rename from skills/eval-plan/eval-plan-SKILL.md rename to skills/eval-plan/SKILL.md From d6648da0b29edf4be80911bb956fb4b0b18e2138 Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Sun, 22 Nov 2026 10:31:25 -0500 Subject: [PATCH 3/8] Add eval-plan row to skills README --- docs/README.skills.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/README.skills.md b/docs/README.skills.md index a2c01346b5..925bdf0a6e 100644 --- a/docs/README.skills.md +++ b/docs/README.skills.md @@ -190,6 +190,7 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to | [embedding-anisotropy-check](../skills/embedding-anisotropy-check/SKILL.md)
`gh skills install github/awesome-copilot embedding-anisotropy-check` | Use before reporting any cosine similarity computed over embeddings or transformer hidden states, whether the agent computed the vectors or loaded them. Measures the anisotropy of each side, centres by the population mean, and scores matched pairs against a permuted floor taken from the same comparison. Use when comparing one model's embeddings across precisions, runtimes or layers, when evaluating retrieval, probes or adapters, or before calling a similarity high, two conditions in agreement, or a small gap a null. | `scripts/anisotropy_check.py`
`scripts/example_scifact_halves.py` | | [entra-agent-user](../skills/entra-agent-user/SKILL.md)
`gh skills install github/awesome-copilot entra-agent-user` | Create Agent Users in Microsoft Entra ID from Agent Identities, enabling AI agents to act as digital workers with user identity capabilities in Microsoft 365 and Azure environments. | None | | [eval-driven-dev](../skills/eval-driven-dev/SKILL.md)
`gh skills install github/awesome-copilot eval-driven-dev` | Improve AI application with evaluation-driven development. Define eval criteria, instrument the application, build golden datasets, observe and evaluate application runs, analyze results, and produce a concrete action plan for improvements. ALWAYS USE THIS SKILL when the user asks to set up QA, add tests, add evals, evaluate, benchmark, fix wrong behaviors, improve quality, or do quality assurance for any Python project that calls an LLM model. | `references/1-a-project-analysis.md`
`references/1-b-entry-point.md`
`references/1-c-eval-criteria.md`
`references/2a-instrumentation.md`
`references/2b-implement-runnable.md`
`references/2c-capture-and-verify-trace.md`
`references/3-define-evaluators.md`
`references/4-build-dataset.md`
`references/5-run-tests.md`
`references/6-analyze-outcomes.md`
`references/evaluators.md`
`references/runnable-examples/cli-app.md`
`references/runnable-examples/fastapi-web-server.md`
`references/runnable-examples/standalone-function.md`
`references/testing-api.md`
`references/wrap-api.md`
`resources/setup.sh`
`resources/verify_step6_completion.py` | +| [eval-plan](../skills/eval-plan/SKILL.md)
`gh skills install github/awesome-copilot eval-plan` | Write the evaluation plan for an AI feature before building it. Use when an AI feature is proposed or scoped and no one can say how quality will be judged. Derives eval criteria from failure modes, designs offline and online evaluation, sets a north-star metric with guardrails, and ends with pass/fail launch gates. Decides quality before code, so eval-driven development and agent evaluation have a plan to implement. | None | | [exam-ready](../skills/exam-ready/SKILL.md)
`gh skills install github/awesome-copilot exam-ready` | Activate this skill when a student provides study material (PDF or pasted notes) and a syllabus, and wants to prepare for an exam. Extracts key definitions, points, keywords, diagrams, exam-ready sentences, and practice questions strictly from the provided material. | None | | [excalidraw-diagram-generator](../skills/excalidraw-diagram-generator/SKILL.md)
`gh skills install github/awesome-copilot excalidraw-diagram-generator` | Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw. | `references/element-types.md`
`references/excalidraw-schema.md`
`scripts/.gitignore`
`scripts/README.md`
`scripts/add-arrow.py`
`scripts/add-icon-to-diagram.py`
`scripts/split-excalidraw-library.py`
`templates/business-flow-swimlane-template.excalidraw`
`templates/class-diagram-template.excalidraw`
`templates/data-flow-diagram-template.excalidraw`
`templates/er-diagram-template.excalidraw`
`templates/flowchart-template.excalidraw`
`templates/mindmap-template.excalidraw`
`templates/relationship-template.excalidraw`
`templates/sequence-diagram-template.excalidraw` | | [eyeball](../skills/eyeball/SKILL.md)
`gh skills install github/awesome-copilot eyeball` | Document analysis with inline source screenshots. When you ask Copilot to analyze a document, Eyeball generates a Word doc where every factual claim includes a highlighted screenshot from the source material so you can verify it with your own eyes. | `tools/eyeball.py` | From ca653c8bdf946460094021067147c64d2db9deaa Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Sun, 22 Nov 2026 21:46:57 -0500 Subject: [PATCH 4/8] Address Copilot review: NOT EVALUATED gates, worked-example derivation/alarm/kill criteria, eval-driven-dev distinction --- skills/eval-plan/SKILL.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/skills/eval-plan/SKILL.md b/skills/eval-plan/SKILL.md index 717129158d..3e4e6dbbac 100644 --- a/skills/eval-plan/SKILL.md +++ b/skills/eval-plan/SKILL.md @@ -31,7 +31,7 @@ It is a planning skill, not an implementation skill. It produces a decision docu This skill does not duplicate the repo's existing strengths. It sits upstream of them, and the plan it produces is what they implement: -- `eval-driven-dev` builds an evaluation pipeline for a Python application: it instruments code, builds golden datasets, and runs tests with pixie. It assumes the criteria already exist. This skill writes the criteria, the dataset design, and the launch bar that pipeline should test against. +- `eval-driven-dev` builds an evaluation pipeline for a Python application: it instruments code, builds golden datasets, and runs tests with pixie, deriving criteria from the application's failure modes. It works once an application exists. This skill plans before an application exists: it writes the criteria, the dataset design, and the launch bar that pipeline should test against, and defines the launch and online gates. If the criteria, the dataset design, and the launch bar already exist, this skill has nothing to add; go straight to `eval-driven-dev`. - `agentic-eval` covers patterns for evaluating and refining agent outputs: reflection, evaluator-optimizer loops, and rubric-based judging. It improves outputs after they exist. This skill decides, before building, which outputs matter, which failures are unacceptable, and what score is good enough to ship. - `prd` writes product requirements documents, including an evaluation strategy bullet for AI-powered features. A PRD states what will be built. This skill is the full evaluation plan behind that bullet: cases, thresholds, guardrails, and gates. @@ -120,7 +120,7 @@ End with gates, not a recommendation. Each gate is a binary check against the ba - Autonomy rung: the starting rung is stated explicitly: suggest, draft, or act. Irreversible actions start at suggest or draft with explicit confirmation, and earn a higher rung only on gate evidence. - Kill criteria: the numbers that stop the rollout, written in advance, including one condition under which the feature is killed outright rather than fixed. -If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix the failure, or drop the feature. Record which gate failed and what evidence would change the decision. +If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix the failure, or drop the feature. Record which gate failed and what evidence would change the decision. A gate with no evidence is NOT EVALUATED, not PASS and not FAIL. A plan with any gate NOT EVALUATED is NO-GO until the evidence exists. ## Output template @@ -157,12 +157,12 @@ If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix t - Judge validation: [judge], [sample size], agreement: ... ### Launch gates -- Gate 1 offline: PASS / FAIL -- Gate 2 guardrails: PASS / FAIL -- Gate 3 online readiness: PASS / FAIL +- Gate 1 offline: PASS / FAIL / NOT EVALUATED +- Gate 2 guardrails: PASS / FAIL / NOT EVALUATED +- Gate 3 online readiness: PASS / FAIL / NOT EVALUATED - Autonomy rung: suggest / draft / act - Kill criteria: ... -- Decision: GO / NO-GO +- Decision: GO / NO-GO (NO-GO while any gate is NOT EVALUATED) - If NO-GO, gate that failed and evidence needed: ... ``` @@ -176,6 +176,8 @@ Criteria: refund amounts match policy exactly (exact check, blocking); every fac Offline set: 30 cases, 18 realistic tickets, 12 adversarial, including 5 blocking refund cases. Launch bar: 90 percent pass on the offline set, 100 percent on blocking cases, escalation rate no higher than the current human baseline, cost per ticket within budget. Gates: the feature starts at draft, with the agent sending nothing without a human approving it. +Derivation, cost limit, alarm, and kill criteria (all illustrative): the 90 percent bar sits below perfection because a human checks each draft before sending, so one imperfect draft costs minutes, not money; the 100 percent blocking bar follows from the cost of a wrong refund, which is money out the door. Cost limit: cost per ticket at or below the current human-handled cost per ticket; that cap is what 'within budget' means. Alarm: escalation rate rising for three consecutive review periods while draft acceptance stays flat fires the silent-degradation alarm, because usage is holding while quality slips. Kill criteria: two blocking failures in the shadow slice, or the alarm firing twice, kills the rollout outright; one blocking failure returns the feature to human-only drafting until the failing cases are fixed and the offline set passes again. + ## What good looks like - Every failure mode maps to at least one criterion, and every criterion maps to a failure mode. From 7f9129841f405e9ceaf9ca242da865b0c3fa12d7 Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Mon, 23 Nov 2026 12:50:39 -0500 Subject: [PATCH 5/8] Address second Copilot review: sample-size rationale, judge target, non-regression gate, north-star field Expanded the guidelines for designing the offline set, setting the launch bar, and online evaluation processes. Added details on baseline and tolerance, north-star metric, and judge validation criteria. --- skills/eval-plan/SKILL.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/skills/eval-plan/SKILL.md b/skills/eval-plan/SKILL.md index 3e4e6dbbac..0cbe0d0574 100644 --- a/skills/eval-plan/SKILL.md +++ b/skills/eval-plan/SKILL.md @@ -77,7 +77,7 @@ Output: a criteria table with one row per criterion. Every failure mode from Ste ### Step 3. Design the offline set before building -Bootstrap 20 to 50 cases by hand, before the feature is built. The set is the contract: a release that drops the offline score does not ship. +Bootstrap a predeclared offline set by hand, before the feature is built. Start from 20 to 50 cases as a working range, then record the final size with a written rationale before building: which failure modes each slice of the set covers, why the size fits the risk and variance of the feature, and how uncertainty will be handled. For stochastic outputs, repeat runs or report confidence bounds; a single run average is not a launch decision on its own. Version the set, so a later change is a new version, not a silent edit. The set is the contract: a release that falls below the baseline beyond the predeclared tolerance does not ship. Include, in every set: @@ -87,7 +87,7 @@ Include, in every set: Label each case with the expected behaviour or rubric, not just the input. Record the source of each case and the date it was written, so staleness can be checked later. -Output: the case list with labels, the blocking cases marked, and the count by category. +Output: the case list with labels, the blocking cases marked, the count by category, the sample-size rationale, and how uncertainty is handled. ### Step 4. Set the launch bar before building @@ -96,7 +96,7 @@ Write the thresholds now, while they are still honest. - The overall bar: a threshold on the offline set, for example a minimum pass rate on the labelled cases. - The per-criterion bar: a floor for each criterion that matters on its own, so a strong average cannot hide a failing safety or accuracy criterion. - The guardrails: the metrics that must not get worse even if the main metric improves. Typical guardrails are cost per task, latency, escalation rate, and user correction rate. -- The comparison: the bar is derived from the cost of being wrong and the quality of the alternative the user has today, not from a round number. State that derivation in one sentence per threshold. +- The comparison: the bar is derived from the cost of being wrong and the quality of the alternative the user has today, not from a round number. State that derivation in one sentence per threshold. Also record the baseline: the score of what the user has today (the prior release, or the human alternative) measured on the same offline set, and the predeclared tolerance for regression below it. If no baseline exists, say so; the first offline run establishes it, and non-regression cannot be claimed until it exists. Output: the thresholds, the guardrails, and the one-sentence derivation for each, written as the launch bar section of the plan. @@ -104,9 +104,9 @@ Output: the thresholds, the guardrails, and the one-sentence derivation for each Offline scores do not prove the feature works for real users. Plan the online half now. -- Online checks: what will be measured in production, on which slice of traffic, and how often it will be reviewed. Include at least one product-outcome measure and at least one model-quality measure, so the two can be compared. +- Online checks: what will be measured in production, on which slice of traffic, and how often it will be reviewed. Include at least one product-outcome measure and at least one model-quality measure, so the two can be compared. Name the single north-star metric explicitly, distinct from the supporting product-outcome and model-quality measures, so the plan states the one outcome the feature exists to move. - Silent degradation alarm: the condition that fires when the product outcome and the model-quality metric diverge, for example usage rising while quality falls. Write the alarm condition, not just the metrics. -- Judge validation: if LLM-as-judge is used anywhere, validate it against human labels on a sample of the offline set before trusting it. Record the agreement rate and the cases where judge and human disagree. A judge that has not been validated is reported as unvalidated wherever its scores appear. +- Judge validation: if LLM-as-judge is used anywhere, validate it against human labels on a sample of the offline set before trusting it. Set the minimum judge-agreement target before sampling, and record it in the plan. If agreement falls below the target, judge scores are non-gating: do not use them to pass a gate until the judge is fixed, replaced with a validated alternative, or the disputed cases are labelled by humans. Record the agreement rate and the cases where judge and human disagree. A judge that has not been validated is reported as unvalidated wherever its scores appear. Output: the online measurement plan, the alarm condition, and the judge validation step with its sample size. @@ -114,7 +114,7 @@ Output: the online measurement plan, the alarm condition, and the judge validati End with gates, not a recommendation. Each gate is a binary check against the bar from Step 4, plus the autonomy decision. -- Gate 1, offline: the offline set passes at or above the bar, with zero blocking failures. +- Gate 1, offline: the offline set passes at or above the bar, with zero blocking failures, and at or above the baseline minus the predeclared tolerance. - Gate 2, guardrails: no guardrail is breached on the beta or shadow slice. - Gate 3, online readiness: the online checks, the alarm, and the rollback plan are in place and tested. A feature without a tested rollback does not pass this gate. - Autonomy rung: the starting rung is stated explicitly: suggest, draft, or act. Irreversible actions start at suggest or draft with explicit confirmation, and earn a higher rung only on gate evidence. @@ -149,15 +149,17 @@ If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix t - Per-criterion floors: ... - Guardrails: ... - Derivation: ... +- Baseline and tolerance: ... ### Online evaluation +- North-star metric: ... - Product outcome: ... - Model quality: ... - Silent degradation alarm: ... -- Judge validation: [judge], [sample size], agreement: ... +- Judge validation: [judge], [sample size], target agreement: ..., agreement: ..., fallback if below target: ... ### Launch gates -- Gate 1 offline: PASS / FAIL / NOT EVALUATED +- Gate 1 offline: PASS / FAIL / NOT EVALUATED (bar met, zero blocking failures, no regression beyond tolerance) - Gate 2 guardrails: PASS / FAIL / NOT EVALUATED - Gate 3 online readiness: PASS / FAIL / NOT EVALUATED - Autonomy rung: suggest / draft / act From 22d1ed470025a7a3a2bdaddeeed3f538dc36ece3 Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Mon, 23 Nov 2026 13:11:08 -0500 Subject: [PATCH 6/8] Address third Copilot review: first-run baseline rule and template evidence fields --- skills/eval-plan/SKILL.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/skills/eval-plan/SKILL.md b/skills/eval-plan/SKILL.md index 0cbe0d0574..d8e06fd742 100644 --- a/skills/eval-plan/SKILL.md +++ b/skills/eval-plan/SKILL.md @@ -96,7 +96,7 @@ Write the thresholds now, while they are still honest. - The overall bar: a threshold on the offline set, for example a minimum pass rate on the labelled cases. - The per-criterion bar: a floor for each criterion that matters on its own, so a strong average cannot hide a failing safety or accuracy criterion. - The guardrails: the metrics that must not get worse even if the main metric improves. Typical guardrails are cost per task, latency, escalation rate, and user correction rate. -- The comparison: the bar is derived from the cost of being wrong and the quality of the alternative the user has today, not from a round number. State that derivation in one sentence per threshold. Also record the baseline: the score of what the user has today (the prior release, or the human alternative) measured on the same offline set, and the predeclared tolerance for regression below it. If no baseline exists, say so; the first offline run establishes it, and non-regression cannot be claimed until it exists. +- The comparison: the bar is derived from the cost of being wrong and the quality of the alternative the user has today, not from a round number. State that derivation in one sentence per threshold. Also record the baseline: the score of what the user has today (the prior release, or the human alternative) measured on the same offline set, and the predeclared tolerance for regression below it. If no baseline exists, say so; the first offline run establishes it, and non-regression cannot be claimed until it exists. For that first run, the non-regression condition is NOT EVALUATED and the bar alone governs Gate 1; the baseline it establishes applies from the next run onward. Output: the thresholds, the guardrails, and the one-sentence derivation for each, written as the launch bar section of the plan. @@ -114,7 +114,7 @@ Output: the online measurement plan, the alarm condition, and the judge validati End with gates, not a recommendation. Each gate is a binary check against the bar from Step 4, plus the autonomy decision. -- Gate 1, offline: the offline set passes at or above the bar, with zero blocking failures, and at or above the baseline minus the predeclared tolerance. +- Gate 1, offline: the offline set passes at or above the bar, with zero blocking failures, and at or above the baseline minus the predeclared tolerance, except on a first run with no baseline, where the non-regression condition is NOT EVALUATED and the bar alone governs. - Gate 2, guardrails: no guardrail is breached on the beta or shadow slice. - Gate 3, online readiness: the online checks, the alarm, and the rollback plan are in place and tested. A feature without a tested rollback does not pass this gate. - Autonomy rung: the starting rung is stated explicitly: suggest, draft, or act. Irreversible actions start at suggest or draft with explicit confirmation, and earn a higher rung only on gate evidence. @@ -140,8 +140,12 @@ If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix t | ... | ... | ... | ... | ... | ### Offline set -- Cases: [count], [count] realistic, [count] adversarial +- Cases: [count], [count] realistic, [count] adversarial, each labelled with expected behaviour - Blocking cases: ... +- Count by category: ... +- Set version: ... +- Sample-size rationale: ... +- Uncertainty handling: ... - Source and date: ... ### Launch bar @@ -149,7 +153,7 @@ If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix t - Per-criterion floors: ... - Guardrails: ... - Derivation: ... -- Baseline and tolerance: ... +- Baseline and tolerance: ... (first run establishes the baseline; non-regression NOT EVALUATED for that run) ### Online evaluation - North-star metric: ... @@ -159,7 +163,7 @@ If any gate fails, the decision is NO-GO for that scope: narrow the slice, fix t - Judge validation: [judge], [sample size], target agreement: ..., agreement: ..., fallback if below target: ... ### Launch gates -- Gate 1 offline: PASS / FAIL / NOT EVALUATED (bar met, zero blocking failures, no regression beyond tolerance) +- Gate 1 offline: PASS / FAIL / NOT EVALUATED (bar met, zero blocking failures, no regression beyond tolerance; non-regression NOT EVALUATED on a first run with no baseline) - Gate 2 guardrails: PASS / FAIL / NOT EVALUATED - Gate 3 online readiness: PASS / FAIL / NOT EVALUATED - Autonomy rung: suggest / draft / act From 63bba600714a95b958bbd2499ddd782335d36c6c Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Mon, 23 Nov 2026 15:34:37 -0500 Subject: [PATCH 7/8] Address fourth Copilot review: expand worked example with full plan fields --- skills/eval-plan/SKILL.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skills/eval-plan/SKILL.md b/skills/eval-plan/SKILL.md index d8e06fd742..1fad0f301b 100644 --- a/skills/eval-plan/SKILL.md +++ b/skills/eval-plan/SKILL.md @@ -184,6 +184,12 @@ Offline set: 30 cases, 18 realistic tickets, 12 adversarial, including 5 blockin Derivation, cost limit, alarm, and kill criteria (all illustrative): the 90 percent bar sits below perfection because a human checks each draft before sending, so one imperfect draft costs minutes, not money; the 100 percent blocking bar follows from the cost of a wrong refund, which is money out the door. Cost limit: cost per ticket at or below the current human-handled cost per ticket; that cap is what 'within budget' means. Alarm: escalation rate rising for three consecutive review periods while draft acceptance stays flat fires the silent-degradation alarm, because usage is holding while quality slips. Kill criteria: two blocking failures in the shadow slice, or the alarm firing twice, kills the rollout outright; one blocking failure returns the feature to human-only drafting until the failing cases are fixed and the offline set passes again. +Set version, source, and uncertainty (all illustrative): offline set version 1, drawn from the support ticket archive for the last 90 days and labelled when the set is frozen. The 30 cases cover all four failure modes, with blocking refund cases over-represented at 5 of 30 because a wrong refund costs money directly. 30 cases fit because only four failure modes are in scope and a human checks every draft before sending. The set is run three times and the reported pass rate is the lowest of the three runs, so a single lucky run cannot pass the gate. + +North-star and supporting measures, and judge validation (all illustrative): north-star metric: first-contact resolution rate on tickets the draft touches. Product-outcome measure: share of drafts the agent sends without edits. Model-quality measure: citation check pass rate on factual claims. Judge validation: a senior support lead re-labels a 10-case sample; agreement target 90 percent; below target, a third judge re-labels the sample and the gate stays NOT EVALUATED until agreement is met. + +Baseline, tolerance, and online-readiness result (all illustrative): baseline: current human-handled drafts score 86 percent on the same 30 cases; tolerance: 2 percentage points, so the feature must score at or above 84 percent. Offline run result: 93 percent pass, 100 percent on blocking cases. Beta slice of 50 tickets at the draft rung, with the alarm and rollback tested in shadow: Gate 2 and Gate 3 PASS. Decision: GO, draft rung only. + ## What good looks like - Every failure mode maps to at least one criterion, and every criterion maps to a failure mode. From 217459951c1e6a97681dc26cbb76065af16f09f8 Mon Sep 17 00:00:00 2001 From: NileshDhage Date: Mon, 23 Nov 2026 23:06:15 -0500 Subject: [PATCH 8/8] Address fifth Copilot review: judge agreement, per-criterion gates, rollback evidence --- skills/eval-plan/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skills/eval-plan/SKILL.md b/skills/eval-plan/SKILL.md index 1fad0f301b..0efe3a625a 100644 --- a/skills/eval-plan/SKILL.md +++ b/skills/eval-plan/SKILL.md @@ -186,10 +186,12 @@ Derivation, cost limit, alarm, and kill criteria (all illustrative): the 90 perc Set version, source, and uncertainty (all illustrative): offline set version 1, drawn from the support ticket archive for the last 90 days and labelled when the set is frozen. The 30 cases cover all four failure modes, with blocking refund cases over-represented at 5 of 30 because a wrong refund costs money directly. 30 cases fit because only four failure modes are in scope and a human checks every draft before sending. The set is run three times and the reported pass rate is the lowest of the three runs, so a single lucky run cannot pass the gate. -North-star and supporting measures, and judge validation (all illustrative): north-star metric: first-contact resolution rate on tickets the draft touches. Product-outcome measure: share of drafts the agent sends without edits. Model-quality measure: citation check pass rate on factual claims. Judge validation: a senior support lead re-labels a 10-case sample; agreement target 90 percent; below target, a third judge re-labels the sample and the gate stays NOT EVALUATED until agreement is met. +North-star and supporting measures, and judge validation (all illustrative): north-star metric: first-contact resolution rate on tickets the draft touches. Product-outcome measure: share of drafts the agent sends without edits. Model-quality measure: citation check pass rate on factual claims. Judge validation: a senior support lead re-labels a 10-case sample; agreement target 90 percent; below target, a third judge re-labels the sample and the gate stays NOT EVALUATED until agreement is met. Agreement result: the citation check agreed with the lead on 9 of 10 sampled cases, meeting the 90 percent target; the one disagreement, a citation to a related page that did not support the answer, was labelled by the human and counted against the citation criterion. Baseline, tolerance, and online-readiness result (all illustrative): baseline: current human-handled drafts score 86 percent on the same 30 cases; tolerance: 2 percentage points, so the feature must score at or above 84 percent. Offline run result: 93 percent pass, 100 percent on blocking cases. Beta slice of 50 tickets at the draft rung, with the alarm and rollback tested in shadow: Gate 2 and Gate 3 PASS. Decision: GO, draft rung only. +Per-criterion gates and rollback evidence (all illustrative): refund exactness, floor 100 percent: human baseline 100 percent, feature result 100 percent, PASS. Citation support, floor 90 percent: human baseline 87 percent, feature result 93 percent, PASS. No irreversible action without confirmation, floor 100 percent: human baseline 100 percent, feature result 100 percent, PASS. Answers the question, floor 85 percent: human baseline 83 percent, feature result 90 percent, PASS. Criterion rates are judged per criterion and are not averaged into the overall case pass rate, so no strong average hides a failing criterion, and no criterion regressed beyond tolerance. Rollback evidence: a shadow drill reverted the feature to human-only drafting in under five minutes, and every draft in flight was completed under human review with no ticket left without a draft. + ## What good looks like - Every failure mode maps to at least one criterion, and every criterion maps to a failure mode.