Evaluation engineering and statistical evidence
Compare systems without averaging away serious failures.
In this lesson · P7 of 12
All lessons in this track →Progress for this track is saved in this browser only. No completion badge is issued. View your learning.
Start with the idea
Compare systems without averaging away serious failures.
Compare the same cases using aligned IDs. Report important groups separately. A statistical interval does not settle permission questions or every source of uncertainty.
Paired comparison: Testing two systems on corresponding versions of the same cases.
See the example and check your understanding
A made-up teaching example
In the larger made-up comparison, routine cases improve but two critical disclosures appear. The release decision is still no-go. A positive overall difference can hide a serious new failure.
Ask yourself
Can better average performance cancel a critical disclosure?
Show the explanation
No. Apply the critical rule separately. If case IDs do not align, stop the comparison before scoring.
Start with these checks
- Align case IDs before calculating.
- Report critical failures separately.
- State the sampling assumptions and limits.
Use the different practice case below and check every requirement in its full instructions.
The video explains the main idea. Use the sources, instructions and checks below to complete the practice.
Captions appear here during playback.
Evaluation engineering and statistical evidence
Compare systems without averaging away serious failures.
Video playback is unavailable. Read the descriptive transcript below, go directly to practice, or open the video file.
Source-based teaching example · Fictional data · Reviewed 2026-10-03. Microsoft Mark · locally synthesized. On a small screen, use fullscreen for diagram details or read the transcript.
Read the descriptive transcript
0:00 · What you will learn
Compare systems without averaging away serious failures.
What appears on screen
Compare systems without averaging away serious failures.
0:06 · The idea
Compare the same cases using aligned IDs. Report important groups separately. A statistical interval does not settle permission questions or every source of uncertainty.
What appears on screen
Compare the same cases using aligned IDs. Report important groups separately. A statistical interval does not settle permission questions or every source of uncertainty.
0:20 · One useful term
Paired comparison. Testing two systems on corresponding versions of the same cases.
What appears on screen
Testing two systems on corresponding versions of the same cases.
0:29 · A worked example
In the larger made-up comparison, routine cases improve but two critical disclosures appear. The release decision is still no-go. A positive overall difference can hide a serious new failure.
What appears on screen
In the larger made-up comparison, routine cases improve but two critical disclosures appear. The release decision is still no-go. A positive overall difference can hide a serious new failure.
0:44 · Your turn to think
Can better average performance cancel a critical disclosure? Pause and decide before continuing.
What appears on screen
Can better average performance cancel a critical disclosure? Pause the video if you need more time.
1:01 · Why this answer works
No. Apply the critical rule separately. If case IDs do not align, stop the comparison before scoring.
What appears on screen
No. Apply the critical rule separately. If case IDs do not align, stop the comparison before scoring.
1:12 · Check 1
Align case IDs before calculating.
What appears on screen
Align case IDs before calculating.
1:17 · Check 2
Report critical failures separately.
What appears on screen
Report critical failures separately.
1:22 · Check 3
State the sampling assumptions and limits.
What appears on screen
State the sampling assumptions and limits.
1:28 · Now try a different case
Open the lesson and try its different practice case. Use every check in the full task. Watching alone does not mark the lesson complete.
What appears on screen
Open the lesson Try the new case Check and revise The full task and its requirements are in the linked lesson.
Watching explains the example. Complete the lesson practice to check what you can do. Explore all visual lessons →
What you will be able to do
- Design stratified comparisons tied to risks and populations.
- Quantify uncertainty with paired evidence.
- Calibrate automated graders against humans.
Prerequisites: Builder-level interface validation, Python, testing, metadata logging and state-transition tracing. Hardware benchmarks and model accounts are not required.
This curriculum runs self-study on VetsLearn. Where the text calls for an instructor, peer or formal review, use the stated acceptance criteria for self-review. Reflection questions support reflection; they do not replace independent assessment. A peer review is optional unless your actual organization requires it.
Part 1 Technical instruction
A release comparison should preserve pairing: run the same cases on both systems and analyze per-case differences. Stratify by risk and user-relevant slices before sampling. Confidence intervals express sampling uncertainty, not all uncertainty. Rare critical failures often need targeted tests and conjunctive rules rather than an average rate. Human rating protocols define criteria, anchors, blinding, and adjudication. Automated judges are measurement instruments whose agreement, bias, and failure modes must be tested against qualified human judgments.
Mechanism and implementation
Pair cases to isolate changes. Hold harness constant for model comparisons and model constant for harness comparisons. Predeclare metric, critical gates, slices and uncertainty method. Repeated cases from one source are dependent and cannot be counted as independent users.
Constructed offline example
Save as topic_example.py and run python topic_example.py with an installed Python 3.11+ interpreter. This standard-library construction uses synthetic values; its checks are not provider measurements.
old = {"a": 1, "b": 0, "c": 1}
new = {"a": 1, "b": 1, "c": 0}
assert old.keys() == new.keys()
delta = [new[k] - old[k] for k in sorted(old)]
assert delta == [0, 1, -1]
assert sum(delta) == 0
print("one gain and one regression; aggregate unchanged")Engineering decisions
- Choose estimand and decision threshold before data collection.
- Preserve paired case identifiers.
- Separate statistical, operational, and safety significance.
Worked example
Two systems are compared on 40 paired synthetic cases. The new system improves routine cases but creates two critical disclosure failures. The release decision is no-go despite a positive average difference.
Diagnose the failure
The inline example has an aggregate tie; the larger lab has an aggregate improvement. Either can hide a critical regression. Confidence intervals concern sampling assumptions, not permission or all uncertainty. Misaligned IDs block scoring.
Part 2 Guided practice
Identify gains/regressions before calculating a mean. Declare c critical and report slices. Independently remove a candidate case and fail the comparison explicitly rather than dropping the pair.
Answer criteria and feedback: An aggregate improvement can hide a critical regression. Confidence intervals concern sampling assumptions, not permission or all uncertainty. Misaligned IDs block scoring.
Continue with the downloadable pack below. If the pack or interpreter is unavailable, trace this self-contained example by hand in an input/expected-status/controlling-rule table and label execution unverified. Do not invent passing output. No account, credential, paid call, purchase or actual deployment is required.
Part 3 Remediation
Recalculate with a fixed random seed and verify case alignment. If one system is missing a case, flag it; do not silently drop the pair. After repair, reassess with the alternate scenario in scenario_alt.json. A critical authorization, data-handling, evidence-integrity, or prohibited-action failure cannot be averaged into successful practice; it requires targeted remediation.
Part 4 Sources and currency
Use the workflow decision reference for model/deployment/harness distinctions and controlled comparisons. Source currency must be checked before each cohort. Provider/product behavior is illustrative where mocked; resolve current interfaces only from official documentation in an authorized environment.