Read evaluation cases
An evaluation case needs a task input, expected behavior and scoring rule. A reference answer alone is not enough when multiple valid outputs exist.
Understand the pattern
An evaluation case needs a task input, expected behavior and scoring rule. A reference answer alone is not enough when multiple valid outputs exist.
Interpret the evidence
Score the required condition and unsupported claims, not just exact wording.
A tempting mistake
Reject every answer whose wording differs from a single reference sentence.
All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.
Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-evals-datasets-002.json{
"fixture": "Fictional training data; not a live measurement.",
"input": "summarize policy",
"expected": "retain eligibility condition",
"rubric": "condition present; no unsupported claims"
}Exit status: 0. The command completed successfully in the training fixture.
$ jq .rubric /opt/ai-lab/cases/aiops-evals-datasets-002.json"condition present; no unsupported claims"
Exit status: 0. The command completed successfully in the training fixture.
$ printf '%s\n' 'score-against-rubric' > /home/learner/lab/aiops-evals-datasets-002-decision.txt(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Validate a dataset schemaTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Inspect a golden datasetA golden dataset is a versioned set of representative evaluation cases. Keep its intended coverage and split separate from the data used to tune a candidate.Practice
- 02Validate a dataset schemaSchema validation checks the dataset shape before a run starts. Missing case identifiers or labels should be surfaced instead of silently excluded from the denominator.Practice
- 03Count evaluation recordsRecord counts help catch accidental truncation or filtering. Reconcile loaded, evaluated, skipped and failed cases so an aggregate score has a trustworthy denominator.Practice