A. Module overview
| Field | Value |
|---|---|
| Module ID | L2-M01 |
| Level | 2 - AI Quality Engineer (Evaluation) |
| Description | Tell testing from evaluation; define quality for a use case; choose a code, human or model grader; offline versus online; statistics for eval (confidence intervals, sample size, power); write an evaluation strategy. The lab builds up a small evaluation harness for a fictional math-tutoring chatbot (HocVui Tutor), running offline against a seeded simulation. |
| Why this module matters | Most mistakes in AI evaluation are not in the code but in the question: what to measure, on how much data, and what to conclude. This module lays the foundation for every later Level 2 module (datasets, metrics, judges, human evaluation, RAG, model comparison). |
| Target professional competency | Level 2: "Distinguish software testing from model evaluation and choose the right one per requirement" and "Interpret metrics with uncertainty instead of as single numbers". |
| Estimated duration | 5 lessons (90 + 90 + 100 + 120 + 120 minutes) ≈ 8.7 hours + module assignment ~4 hours + quiz 0.5 hours ≈ 13 hours for someone who has completed Level 1. An estimate, not yet measured with real learners. |
| Prerequisites | Level 1 (especially L1-M06 on repeated runs and the Wilson interval, and L1-M08). High-school math; no statistics course needed. No API key needed. |
| Module output | An evaluation strategy for an AI feature |
| Cost | 0 VND |
What learners build. A small evaluation harness, step by step: (L01) run the same system two ways, test and eval, and record the configuration; (L02) a set of quality criteria with operational definitions; (L03) code graders, human labels, a simulated judge and online signals; (L04) confidence intervals and sample-size calculation; (L05) a strategy checked by a validator and reported per criterion. Everything lives in code-labs/l2-m01.
B. Learning objectives
| ID | Objective |
|---|---|
| MO1 | Classify a requirement as test, eval or both, and explain what each side can prove. |
| MO2 | Write quality criteria with operational definitions and a risk level for a specific use case. |
| MO3 | Choose the grader type (code, human, model; offline, online) for each criterion and check the grader. |
| MO4 | Compute confidence intervals and sample sizes, and judge whether a dataset is enough for a conclusion. |
| MO5 | Write and validate an evaluation strategy with decision rules. |
C. Lessons
| ID | Lesson | Duration | Prerequisite | Concepts | Practical output |
|---|---|---|---|---|---|
| L2-M01-L01 | Testing and evaluation: what each can prove | 90' | L1-M08-L04 | test, eval, case/run/check, pass-fail asymmetry | Classify requirements |
| L2-M01-L02 | Defining quality for a specific use case | 90' | L01 | criteria, operational definition, risk | Criteria for a tutor bot |
| L2-M01-L03 | Kinds of evaluation: code-based, human, model-graded; offline and online | 100' | L02 | grader, blind spot, human labels, judge, online tripwire | Choose the eval type per criterion |
| L2-M01-L04 | Statistics for eval: rates, confidence intervals, sample size | 120' | L03 | Wald/Wilson, coverage, sample size, case versus run, power | Confidence interval and sample-size plan |
| L2-M01-L05 | Writing an evaluation strategy | 120' | L04 | strategy, decision rule, validator, report | Evaluation strategy |
D. Hands-on assignment (module assignment)
An evaluation strategy for an AI feature: the module assignment is in exercises.md (HocVui Tutor v2: classify requirements, criteria, check the grader, sample size, strategy, report and release recommendation; plus one standalone challenge). The five standalone exercises for the individual lessons are in
code-labs/l2-m01/exercises/ and in §9 of each lesson.
E. Module assessment
The module quiz quiz.md (12 questions, 20 points, pass at 70%), the module assignment rubric in exercises.md, and the practice-0N.md practice for each lesson . The solutions and the instructor guide are for instructors only and are not published.
F. References
The shared list references.md; each lesson also has its own references table in §12 with access dates.
Objectives ↔ assessment matrix
| Objective | Lesson | Standalone exercise (§9) | Module quiz |
|---|---|---|---|
| MO1 | L01 | exercises/test_l01_requirements.py |
Q1, Q11 |
| MO2 | L02 | exercises/test_l02_my_criteria.py |
Q10 |
| MO3 | L03 | exercises/test_l03_judge_and_grader.py |
Q3, Q5, Q7 |
| MO4 | L04 | exercises/test_l04_sample_size.py |
Q2, Q4, Q6, Q9, Q12 |
| MO5 | L05 | exercises/test_l05_strategy.py + my_strategy.json |
Q8, Q12 |