Skip to main content

AI Evaluation and Quality Assurance

Executive view

Ask for the **release gate table**: metric, threshold, owner, last run result. Challenge launch when eval scope doesn’t cover critical failure modes or when only vendor benchmarks exist.

Decision required: Does measured quality meet the bar for this risk class—and what happens automatically if online metrics degrade post-launch?

Technical view

Build stratified golden sets; automate schema and citation checks; use LLM judges only with human calibration; wire CI regression; sample production for human review; align online metrics to offline dimensions.

Document known judge biases and failure modes. Eval is code—version datasets, prompts and harnesses together.

Why this matters

Enterprise AI fails in two acts: Act 1—ship on demo vibes; Act 2—discover in production that citations were wrong, agents looped, or summarisers omitted exclusions. Evaluation is how you prevent Act 2 or detect it in hours, not quarters.

Different risk classes demand different bars. A marketing copy assistant might tolerate occasional tone drift with human edit before publish. A policy Q&A influencing customer refunds needs citation correctness ≥90% and refusal when evidence missing. Credit decision support may require human-only Decide with AI as read-only retrieval—eval focuses on leakage and omission, not “helpfulness.” Treating one bar as universal either blocks low-risk innovation or green-lights high-risk harm.

The AI Solution Engineer owns eval strategy, golden dataset design, release quality gates, human review operating model, and the bridge from offline CI scores to online monitoring. Weak programmes run fifty manual chats before go-live. Strong programmes run hundreds of labeled cases every PR, red-team injection suites, calibrated LLM judges, weekly human sampling with inter-rater agreement, and automatic rollback triggers when faithfulness drops.

Evaluation also protects teams from endless subjective prompt debates: if golden case #147 regressed, the change doesn’t merge—discussion ends with data. When leadership asks “is it good enough?” you answer with metrics, risk class and residual risk acceptance—not “we tested it internally.”

Connect to Evaluation and observability playbook, RAG for retrieval metrics, and Responsible AI for risk classification.

Learn

Evaluation dimensions — what to measure

DimensionDefinitionApplies to
Accuracy / correctnessOutput matches ground truth or expert labelClassification, extraction
FaithfulnessClaims supported by provided contextRAG, summarisation
Citation correctnessCited sources actually support claimsRAG, compliance
Answer relevanceAddresses user questionAll generative
Refusal appropriatenessDeclines when evidence insufficientRAG, advice
SafetyNo policy-violating contentCustomer-facing
FairnessParity across protected groups where applicableHR, credit, marketing
Task completionMulti-step goal achievedAgents
Tool correctnessRight tool, valid args, auth respectedAgents
Latency p95/p99User experienceAll
Cost per successFinOps efficiencyAll at scale
RobustnessPerformance under paraphrase, noiseAll

Pick 3–5 primary metrics per feature aligned to risk—not twelve dashboards no one gates on.

Offline evaluation — golden sets and harnesses

Offline eval runs fixed datasets through the system in CI or batch jobs before release.

Golden set properties:

  • Stratified — cover happy path, edge, negative, adversarial, ACL
  • Labeled — expected answer pattern, required citations, or acceptable set
  • Versioned — git tag with dataset changelog
  • Sized to risk — 100–500+ cases for medium/high; smaller only for low-risk with documented gaps
  • Maintained — owner refreshes on corpus/policy change

Harness components:

  1. Input fixture (query + identity + context mocks if needed)
  2. Execute full pipeline (not model-only unless isolated test)
  3. Automated checks: JSON schema, citation ID validity, regex rules
  4. Metric scorers: exact match, fuzzy, embedding similarity, NLI faithfulness, LLM judge
  5. Report: pass/fail per case, aggregate metrics, diff vs baseline branch

Regression policy: Compare PR branch to main; fail if primary metric drops > agreed delta (e.g. 2 points) or below absolute floor.

Golden set design — coverage, not volume alone

Coverage matrix example (RAG policy assistant):

Bucket% of setExample
Factual lookup30%“Cooling-off period for motor?”
Multi-chunk synthesis20%Compare two endorsements
Negative/unanswerable15%Question outside corpus
ACL forbidden10%Restricted memo query as junior role
Injection/adversarial10%Override in pasted text
Ambiguous/conflict10%Two clauses tension
Format/edge5%Empty query, very long paste

Each case has ID, risk tag, expected behaviour (not always single gold string).

Sourcing labels: SME workshops, production sampled failures, red team, synthetic augmentation (flag synthetics).

Avoid: Duplicate near-identical cases inflating pass rate; all labels from one enthusiastic SME; static set never updated after first launch.

LLM-as-judge — power and limits

LLM-as-judge uses a model to score outputs against rubric—scalable but biased.

Known limits:

LimitEffectMitigation
Position biasPrefers first answer in pairwise compareSwap order, aggregate
LeniencyScores “pretty good” too highCalibrate to human scores
Self-preferenceFavours same model familyUse independent judge model
Rubric driftJudge prompt changes shift scoresVersion judge prompts
Citation blind spotsScores faithfulness without span checkAdd deterministic citation verifier
CostJudge adds inference spendSample + human anchor

Calibration protocol:

  1. Human-rate 100 cases on 1–5 scale per dimension
  2. Run judge on same cases; compute correlation (target ≥0.8 Spearman on primary metric)
  3. Adjust rubric until calibrated—or demote judge to triage only
  4. Re-calibrate on model upgrade

Never: LLM-as-judge as sole gate for high-risk without human anchor set.

Human evaluation — when people remain essential

Human eval for: new feature baselines, judge calibration, high-risk sampling, dispute resolution, fairness audits.

Operating model:

  • Raters: SMEs with documented guidance; secondary review on disagreements
  • Rubrics: Observable criteria, examples of 1 vs 3 vs 5
  • Inter-rater agreement: Cohen’s kappa or percent agreement; target ≥0.7 for launch
  • Throughput: Sample size calculators—don’t guess “we reviewed 20”
  • Blinding: Raters don’t see vendor name or model version when comparing
  • Feedback loop: Failed cases become golden set IDs

Queue design: Route production outputs by risk score to human review (e.g. compensation intent, low citation confidence).

Adversarial and red-team evaluation

Red team proactively attacks: injection, jailbreak, tool misuse, ACL bypass, data exfil.

Deliverables: Attack case library in CI; severity classification; fix verification rerun.

Cadence: Before major release; quarterly for customer-facing; after incident.

Integrate with Responsible AI and security testing.

Regression gates in CI/CD

Gate types:

GateTriggerExample fail
SchemaEvery PRParse rate <99%
Golden primaryEvery PRFaithfulness <90%
Golden fullNightlyCitation <88%
Latency smokeEvery PRp95 >6s
Cost estimateRelease branch>20% over budget
Red team subsetWeeklyAny Sev1 unmitigated

Promotion flow: Dev → staging with full golden → canary online → full rollout if online within bounds.

Artifact retention: Store eval reports per release for audit (model version, dataset hash, scores).

Online evaluation — production truth

Offline ≠ online. Users behave differently; corpora drift; load affects latency.

Online methods:

  • Explicit feedback — thumbs, reason codes (biased toward angry users—weigh carefully)
  • Implicit signals — escalation, edit distance before send, time-to-task, abandonment
  • Shadow mode — new model runs parallel without user impact; compare metrics
  • A/B test — controlled rollout with statistical power plan
  • Human review sample — continuous 1–5% stratified by intent
  • Drift detection — embedding distribution shift, zero-citation rate spike

Online/offline linkage: Each primary offline metric should have online proxy (e.g. offline faithfulness ↔ human review fail rate on sample).

Rollback triggers: Automated if online proxy breaches for N hours (e.g. citation missing >8%).

Risk-based bars — not one threshold for all

Risk tiers (illustrative):

TierExample useIllustrative gates
LowInternal brainstormSchema valid; safety smoke
MediumInternal policy Q&AFaithfulness ≥90%; citation ≥90%; ACL 100%
HighCustomer servicing influenceAbove + human sample ≥95% accept on critical intents
CriticalCredit/medical/legal DecideHuman-only decision; AI read-only eval for leakage

Document residual risk when bar not met—explicit accept or defer, never vague “monitor.”

Agent and workflow evaluation specifics

Beyond text quality:

  • Task completion rate — did scenario achieve goal state?
  • Tool sequence correctness — optimal or acceptable path?
  • Budget compliance — steps/tokens within cap?
  • HITL compliance — no bypass of gates in test harness?

Use simulation environment with mocked tools recording calls—never prod write in eval.

Frameworks and methods

EVAL-MATCH — choose methods per feature

StepQuestion
ExposureWho sees output? Customer or internal?
Value of errorFinancial/regulatory cost?
Automation levelHITL or auto-send?
LifecycleHow often corpus/process changes?
MetricsWhich 3 primary dimensions?
ArtifactsGolden, judge, human, red team?
ThresholdsNumeric gates per tier?
CadenceCI, weekly, quarterly?
HandoffOnline monitors and rollback?

Release gate table template

MetricThresholdDatasetOwnerLast runBlock release?
Faithfulness≥90%GOLD-v3ASE lead91.2%Y
Citation correctness≥90%GOLD-v3Risk88.1%Y
ACL forbidden pass100%ACL-40Security100%Y
p95 latency≤5.5sLAT-smokeEng5.1sY

Publish table in steering packs.

Golden case ID schema

GOLD-{domain}-{bucket}-{seq} e.g. GOLD-MOTOR-NEG-014

Tags: risk, bucket, added_version, source (prod_fail, sme, redteam)

Judge rubric snippet (faithfulness)

Score 1 if any factual claim is unsupported or contradicts CONTEXT.
Score 3 if mostly supported but one minor unsupported detail.
Score 5 if all factual claims clearly supported by CONTEXT spans.
Ignore style. Do not use outside knowledge.
CONTEXT: {{retrieved}}
ANSWER: {{output}}

Version rubric; store with harness.

Online/offline alignment worksheet

Offline metricOnline proxyAlert threshold
FaithfulnessHuman sample fail %>12% weekly
Citation correctnessZero-citation rate>8% daily
Refusal appropriatenessEscalation on negative class+5 pts vs baseline

Real-world scenarios

Scenario A — UK insurer: launch blocked at 71% citation correctness

Context: Customer servicing policy Q&A; leadership wanted launch before quarter-end. Offline eval: faithfulness 89%, citation correctness 71% (LLM-judge + human sample n=80). Gate: 90% both for Tier High customer influence.

Decision: No launch. Root cause: model paraphrased without attaching correct source_id; post-gen validator not deployed.

Intervention (4 weeks):

  1. Structured output with required citations array
  2. Deterministic verifier: each citation must contain claim substring or NLI pass
  3. Golden set expanded +40 citation-edge cases from SME
  4. Human calibration: judge aligned to human (ρ 0.83)

Measurable outcomes:

  • Citation correctness 71% → 94%; faithfulness 89% → 92%
  • Launch approved; 90-day production human sample fail 6.2% (within model)
  • Customer complaint rate on policy wording no spike vs baseline
  • Steering documented residual risk accept on 6% sample fail with HITL on compensation intents

Lesson: Faithfulness without citation check is insufficient for regulated Q&A.

Scenario B — Retail bank: regression gate catches model upgrade regression

Context: Team upgraded foundation model for cost savings. Nightly golden: task completion 86% → 79%; JSON parse 99.2% → 96.1%; refusal on negative set 94% → 81%.

Gate: Block release; auto-alert to ML lead.

Intervention: Prompt v2.3 adjusted shots; schema strict mode; partial rollback to prior model for agent planner only.

Measurable outcomes:

  • Post-fix task completion 85% (within 1 pt tolerance)
  • Parse 99.5%; refusal 95%
  • Avoided estimated £1.2m incident cost (historical servicing error run-rate extrapolation)
  • Model upgrade saved 18% inference cost at final approved config

Lesson: CI regression gates pay for themselves on first caught upgrade.

Scenario C — NHS trust: human review loop for clinical admin

Context: Clinical pathway summarisation; cannot rely on automation alone. Eval design: offline golden 120 cases; 100% human SME review on pilot; production 10% stratified sample + 100% low-OCR-confidence flag.

Metrics: Faithfulness, omission of exclusion criteria, citation to verified pathway only.

Measurable outcomes:

  • Pilot human agreement κ 0.78 on faithfulness
  • Production omission incidents 0 in 6 months (governance audit)
  • Nurse reviewer time 8 min/case average; funded in run-rate
  • Online proxy: edit distance on nurse edits ↓ 34% over pilot (quality improving)

Lesson: High-risk eval centres humans in loop with measurable sampling discipline.

Scenario D — E-commerce: online A/B vs offline mismatch

Context: Product description generator; offline BLEU/ judge scores +5% on new prompt. Online A/B: conversion −0.3%, return rate +0.2% (statistically significant at 2 weeks).

Analysis: Offline set didn’t cover size/fit ambiguity complaints; model added confident specs not in source attributes.

Intervention: Add NEG-FIT bucket to golden; gate on attribute grounding check; rollback winning offline variant.

Measurable outcomes:

  • Offline attribute grounding 76% → 93% after golden expansion
  • Second A/B: conversion neutral; returns normalised
  • Documented offline/online gap in eval playbook for merchandising team

Lesson: Online metrics decide business success; offline must evolve from online failures.

Practice exercises

Primary exercise — Release gate table (60 minutes)

Brief: Internal HR policy Q&A RAG assistant; medium-high risk; SSO; 5,000 employees; HITL on compensation-related answers.

Tasks:

  1. Classify risk tier with rationale.
  2. Choose 3 primary metrics and thresholds.
  3. Write release gate table (≥6 rows including latency and ACL).
  4. Design golden coverage matrix with bucket percentages.
  5. Specify LLM judge use with calibration plan and known limits.
  6. Define one online proxy and rollback trigger per primary metric.

Acceptance criteria:

  • Thresholds numerically stated per tier
  • ACL gate is 100% block release
  • Human review role defined for compensation intents
  • Judge not sole gate for high-risk dimensions

Stretch exercise — Full eval strategy document (full day)

Brief: Customer-facing mobile tariff FAQ RAG (telecom); GDPR; marketing conduct; target 200k queries/month.

Tasks:

  1. EVAL-MATCH worksheet completed.
  2. Golden set outline 200 cases with ID schema and sourcing plan.
  3. CI pipeline stages diagram (PR vs nightly vs pre-release).
  4. Red-team 25 cases across injection and ACL.
  5. Human review ops model (sample rate, rubric, kappa target).
  6. Online shadow deployment plan for two weeks before A/B.
  7. Steering-ready one-page residual risk statement if any gate at 88% vs 90% target.

Acceptance criteria:

  • FinOps cost-of-eval estimated (judge + human hours)
  • Online/offline alignment table complete
  • Rollback automation described—not manual “we’ll watch”

Questions you should be able to answer

  1. What risk tier is this feature and who classified it?
  2. What three primary metrics gate release?
  3. What does the golden set contain—size, buckets, version?
  4. How were labels sourced and when last refreshed?
  5. What automated checks run on every PR?
  6. Where is LLM-as-judge used and how was it calibrated?
  7. What are judge limits for this domain?
  8. What human review happens before and after launch?
  9. What red-team coverage exists and cadence?
  10. What regression delta fails a merge?
  11. What online proxies track each offline metric?
  12. What rollback trigger fires automatically?
  13. How do you evaluate agents differently from single-shot RAG?
  14. What happens if score is 88% vs 90% gate—ship, HITL, or defer?
  15. Where are eval reports stored for audit?

Negative cases — when evaluation fails

Failure modeSymptomPrevention
Demo UAT20 manual chatsGolden set + CI
Vanity metricsHigh BLEU, wrong business outcomeTask + online A/B
Judge-onlyFalse confidenceHuman calibration
Stale goldenPolicy change undetectedOwner + refresh SLA
Happy path onlyProduction surprisesNegative/adversarial buckets
No ACL testsRetrieval leakForbidden suite 100% gate
Metric soupNo gateEVAL-MATCH 3 primaries
Offline worshipOnline harmOnline proxies + rollback
Unversioned datasetsIrreproducible scoresGit tag datasets
Post-hoc evalLaunch then measureGates before prod

Case study: the launch memo. Team cited “internal testing positive” without numbers. Week 2: citation errors drive +15% escalations. Retro: no golden set; no citation metric. Rebuild eval; second launch after 94% citation gate.

Case study: judge loved hallucinations. LLM judge scored verbose answers high; humans scored low. Correlation 0.52. Judge demoted to triage; human anchor 100 cases per release.

Case study: golden set leakage. Test queries copied from training examples in fine-tune. Inflated scores. Held-out production sample revealed gap. Strict dedup and prod-sourced labels.

Operating-model notes

RoleResponsibility
Eval lead (ASE)Strategy, gates, golden ownership
Domain SMELabel quality, rubric authorship
ML engineerHarness, CI integration
Risk / complianceRisk tier, audit retention
ProductOnline metrics, A/B design
OpsRollback execution on alert

Meeting cadence:

  • Weekly eval standup during build: failing cases review, golden additions
  • Pre-release gate review with risk sign-off for Tier High+
  • Monthly production eval sample readout to steering

Dataset governance and versioning

Golden datasets are artefacts under change control:

  • Store in git LFS or dedicated dataset registry with semver
  • Changelog entry: cases added/removed, reason, labeler
  • Prohibit direct edit without PR; CI runs diff summary (case count per bucket)
  • Retain n−3 dataset versions for reproducibility audits

PII in golden sets: Synthetic or redacted only; if real prod samples used, access restricted and DPIA updated.

Statistical rigour for online experiments

A/B tests need power analysis before launch:

  • Define MDE (minimum detectable effect) on primary business metric
  • Estimate variance from pilot or analogous feature
  • Run duration calculator—avoid stopping early on noise

Guardrails metrics (auto-stop if breached): safety rate, escalation rate, latency p99.

Document peeking policy—who can view interim results and when early stop allowed.

Fairness and subgroup evaluation

Where decisions affect people (HR, credit, marketing, pricing):

  • Stratify golden and online sample by protected attributes where lawful and available
  • Report parity gaps on primary metrics with confidence intervals
  • Escalate if gap exceeds policy threshold—even if aggregate passes

Fairness eval is not one-off; re-run on model upgrade and demographic traffic shift.

Safety and toxicity layers

Combine:

  • Blocklist / classifier pre-output
  • LLM judge on safety rubric
  • Human red team on jailbreak suite
  • Online reporting workflow

Track false refusal rate on benign queries—safety tuning that blocks legitimate use erodes adoption.

Eval cost management

MethodCost driverControl
Full golden LLM judgeCases × judge tokensNightly not every PR
Human labelSME timeSample + pre-label assist
E2E stagingAPI call volumeParallelise with cap
Prod shadowDouble inference1–5% sample

Publish eval opex alongside inference opex—prevents eval cut when budgets tighten wrongly.

Scenario E — Regulator exam: reproducible eval evidence pack

Context: UK bank FCA skilled persons review requested evidence that GenAI servicing assistant was tested before launch.

Evidence pack assembled:

  • Risk tier memo (Tier High)
  • GOLD-v4 manifest with hash; 240 cases bucketed
  • CI reports for release tag v2.1.0 showing all gates pass
  • Human sample protocol and κ scores
  • Red-team summary (42 cases, 0 Sev1 open)
  • Online monitoring definition linking to offline metrics
  • Change log since launch with re-eval results per change

Outcome: No findings on testing methodology; 3 minor observations on label refresh SLA—remediated with quarterly corpus sync trigger.

Lesson: Eval artefacts must be exam-ready at release time—not reconstructed under exam stress.

Scenario F — Start-up acquisition: inheriting zero eval

Context: Enterprise acquired fintech with customer chatbot; no golden set; incident history of wrong fee quotes.

90-day eval remediation:

  • Week 1–4: Forensic sample 500 prod transcripts; label failures; build GOLD-v1 180 cases
  • Week 5–8: CI gates on schema + citation; block new features until baseline faithfulness measured (62%)
  • Week 9–12: Remediation sprint; faithfulness 89%; HITL on fee-related intents until 93%

Measurable outcomes:

  • Fee misquote incidents 7/month → 0 by month 5 post remediation
  • Eval harness cost £45k one-off; avoided estimated £2.1m conduct exposure (internal model)
  • Acquired product integrated into group release gate template

Lesson: Acquisitions should eval-diligence like code diligence—missing harness is technical debt with regulatory interest.

Connecting eval to incident management

When production incident traced to AI output:

  1. Add incident transcript to golden as source=prod_incident
  2. Re-run harness—confirm fail on current prod version
  3. Fix + verify pass
  4. Post-incident: expand bucket coverage (e.g. add FEE-QUOTE class)

Close loop in eval changelog referenced in incident ticket.

Continuous improvement loop

Production signal → Triage → New golden case → Harness fail → Fix → Gate pass → Deploy → Monitor

Weekly triage of:

  • Top 10 thumbs-down with reason codes
  • Escalations tagged “AI wrong”
  • Parse/citation monitor breaches

SME time-box 2 hours/week during stabilisation phase—prevents golden rot.

Eval dimensions reference card (quick lookup)

Feature typePrimary metricsSecondary
RAG Q&AFaithfulness, citation, refusalLatency, cost
ExtractionField F1, schema pass
ClassificationAccuracy, calibrationFairness subgroups
SummarisationFaithfulness, omission rateLength compliance
AgentTask completion, tool accuracyBudget compliance
Generation (marketing)Grounding, brand rubricConversion (online)

Pin reference card in team wiki; link from CI report headers.

Third-party and vendor model eval

When using vendor-managed models or RAG:

  • Contractual SLA on latency; not on your domain accuracy—you own golden eval
  • Request change notification for model updates → automatic re-run trigger
  • Shadow new vendor version minimum 48 hours before cutover

Never accept vendor benchmark on their dataset as your gate.

Documentation for auditors — minimum eval dossier

  1. Risk classification memo
  2. Golden dataset manifest and methodology
  3. Release gate table with signed results
  4. Sample human review records (redacted)
  5. Red-team scope and outcomes
  6. Online monitoring plan and sample dashboard
  7. Change management: eval re-run evidence for last 3 releases

Store under document control ID; map to VALUE gate evidence list.

Pairwise comparison eval for model selection

When choosing between prompt variants or models:

  • Run pairwise human or judge comparison on same inputs
  • Swap A/B order to reduce position bias
  • Require statistical significance on win rate before declaring winner (e.g. 95% CI excluding 50%)

Avoid cherry-picking 10 wins from 100 ties—report full matrix.

Regression triage workflow

When CI fails:

  1. Identify failing case IDs—cluster by bucket (injection vs ACL vs faithfulness)
  2. Diff prompt/retrieval/model vs last green build
  3. If >5 cases same bucket, likely systematic; if scattered, maybe flake—rerun once
  4. Assign owner: prompt vs retrieval vs model
  5. Block merge until green or explicit risk acceptance with HITL compensating control

Document in PR template “eval delta explanation” field mandatory on failure override.

Stretch metrics for mature programmes

After primary gates stable, add:

  • Calibration — confidence scores match empirical accuracy
  • Edit burden — human edits per output character
  • Time-to-answer conditional on correctness
  • Customer effort score correlation

Mature eval connects quality to experience and economics, not only pass/fail.

Read-aloud checklist before AI feature go-live

  1. Risk tier documented and signed
  2. Release gate table attached with all blockers green
  3. Golden dataset version hash in release notes
  4. Human review path live for required intents
  5. Online monitors and rollback triggers configured in prod
  6. Red-team Sev1 findings closed or accepted with compensating control
  7. Eval dossier stored in document control
  8. Support team briefed on known failure modes and escalation

Steering receives one-page summary; engineering attaches full harness report.

Implementation patterns for eval harnesses, dashboards, LLM-as-judge setup and production monitoring are in Evaluation and observability. Use this Learning Map page to assess engineer competency; use the playbook to build the actual CI jobs and observability stack on engagements.

Summary — eval method selection by risk tier

TierOffline goldenLLM judgeHuman reviewRed teamOnline
LowSmoke 30OptionalSpotAnnualBasic feedback
Medium100–300CalibratedPre-launch + 2% sampleQuarterlyProxy metrics
High200–500Calibrated, not sole gatePre-launch + 5–10%Each releaseA/B or shadow
CriticalRead-only scopeMinimalContinuous SMEContinuousReal-time alerts

Adjust counts upward for customer-facing scale and regulatory scrutiny—table is minimum, not maximum.

Eval anti-patterns quick reference

Avoid: demo UAT as gate; judge without calibration; golden set never updated; online launch without rollback; single metric obsession while citation fails; eval cut first when budgets tighten on Tier High features.

Practice checklist

  • I classified risk tier and chose three primary metrics with numeric thresholds
  • I designed golden set coverage including negative, ACL and adversarial buckets
  • I specified automated PR gates separate from nightly full runs
  • I documented LLM-as-judge limits and calibration—or avoided judge for sole gate
  • I defined human review before launch and ongoing sampling
  • I linked offline metrics to online proxies with rollback triggers
  • I completed release gate table suitable for steering review
  • I filed eval artefacts with dataset version and harness hash

Supplemental scenario — banking FAQ release gate regression

Context: Retail bank FAQ RAG; tier 2 risk; monthly model provider updates; steering requires ≥95% golden pass before release.

Release gate table (excerpt):

MetricThresholdPR gateNightlyBlock release?
Golden pass rate≥95%Smoke 50 casesFull 420Yes
Citation valid≥92%YesYesYes
IST injection block≥95%10 cases80 casesYes
Latency p95≤5.5sNoYesWarn only

Regression caught pre-release: Prompt v4.3 dropped citation field on 7% of German queries—PR gate failed at 93.1% pass; rollback to v4.2; root cause static English few-shot overflowed pack for DE locale.

Human review: 5% random sample + 100% of payment-adjacent intents; inter-rater agreement 0.86 on rubric v2.

Online proxy: citation_missing_rate alert if >4% over 1h → auto-canary rollback.

Discussion

Comments

Share feedback or questions about this page. No account required.

Loading comments…