Estimated time: ~14 hours for someone new to Python (an estimate, not yet measured with real learners). The main tool:
python -m lab.release_check.
Main practical exercise
Business context
The ShopEasy team (fictional) wants to release FAQ v3: the prompt faq-v3 on the new snapshot sim-2026-10,
replacing the version in production, faq-v1@sim-2026-09. The product owner asks: "Does v3 make any answer worse? Can
we release it?" You are assigned to write the repeatability and regression report.
Input data
- Dataset:
data/assignment_golden.jsonl(9 cases). Source of the expectations:data/policy.md. - Tools:
python -m lab.release_check, and the modulesrepeat,baseline,compare,triage,report. - Mandatory configuration for the main run: 50 runs per case,
--seed 1(the baseline uses seed 1, the candidate seed 2). - Black-box rule: do not read
lab/_behaviour.py. Every conclusion must come from the run results, the failure samples and the policy.
python -m lab.release_check --baseline faq-v1@sim-2026-09 --candidate faq-v3@sim-2026-10 --dataset data/assignment_golden.jsonl --runs 50 --out reports/release-check.md
Tasks
- Review the dataset before running. Compare each case with the policy. Record everything that looks suspicious.
- Do the main run as above. Save the report.
- Check the environment errors. What is the candidate's timeout rate? How does it affect the conclusion?
- Triage each case. Fill in the Human verdict column with a class from
triage.CLASSESand a reason based on evidence (rates, p-value, failure samples, policy section). Every verdict that differs from the suggested class must say why. - Run more, deliberately, following the rule for running more (L02 section 4.3). For every
highormediumrisk case with an unclear result, do one extra run with a new seed and 200 runs per case:python -m lab.release_check --baseline faq-v1@sim-2026-09 --candidate faq-v3@sim-2026-10 --dataset data/assignment_golden.jsonl --runs 200 --seed 101 --cases <id>. Draw the conclusion from this run only; do not add it to the main run. Explain why you chose those cases and why 200 runs are enough (L04, power). - Release recommendation. Release, release with conditions, or block? With a list of actions (fix the product, fix an oracle, fix the data, rerun).
- Reflection. 5-10 sentences: which parts of the conclusion only hold for the simulation (a fixed seed, rates that do not change over time)? With a real API, what would you do differently (number of runs, time of the runs, recording the model ID, budget)?
Deliverables
reports/dataset-review.md
reports/release-check.md (report đã điền Human verdict)
reports/reruns.md (các lần chạy thêm và lý do)
reports/release-recommendation.md
reports/reflection.md
In English: the notes in the tree say that the release check report has the Human verdict column filled in, and that the reruns file lists the extra runs with their reasons.
Acceptance criteria (mandatory)
| # | Criterion |
|---|---|
| AC1 | The main run uses the right dataset, 50 runs per case, seed 1; the report records the configuration and the fingerprint |
| AC2 | Every case has a Human verdict and a reason that quotes evidence |
| AC3 | Environment errors are reported separately, not counted as a quality regression |
| AC4 | At least one case is run again following the rule for running more (new seed, no pooling), with a reason |
| AC5 | The release recommendation is based on risk and has a list of actions |
| AC6 | No verdict merely repeats the suggested class without its own evidence |
Scoring rubric (100 points)
| Dimension | 0 | 1 | 2 | 3 | Weight |
|---|---|---|---|---|---|
| Measurement design and execution | AC1 not met | AC1 met, no extra run | AC1, AC4 met; the number of extra runs has a reason | As level 2, plus a reason based on power (L04) and risk | 25 |
| Triage | AC2 not met | Verdicts have reasons but the class is wrong for ≥ 2 labelled cases | Verdicts have evidence; distinguishes environment, data, oracle, product | As level 2, every verdict that differs from the suggested class is right and comes with a failure sample or a policy section | 25 |
| Dataset review | Missing | Lists the cases | Points out at least one problem, with its source | As level 2, plus a proposed fix of the oracle or data and its impact on the baseline (L03) | 10 |
| Analysis of results | AC3 not met | Reports figures, without explanation | Explains each class, including the cases that were already unstable | As level 2, plus an analysis of multiple comparisons and of the limits of the p-value | 15 |
| Release recommendation | AC5 not met | A recommendation without a reason | A recommendation based on risk, with actions | As level 2, with clear release conditions and an owner for each action | 15 |
| Reflection | Missing | Generic | Distinguishes the simulation from a real API | As level 2, plus a concrete plan (number of runs, timing, budget) | 10 |
Score per dimension = (level reached / 3) × weight. Mapping to the module: practical = Measurement design and execution + Triage (50); applied QA analysis = Dataset review + Analysis of results (25); review/reflection = Release recommendation + Reflection (25).
Hints
Hint 1
The suggested class is a starting point. For each labelled case, read the failure samples and open the policy.Hint 2
A case can really change while 50 runs are not yet enough to see it. Review power in L04.Independent challenge (practical challenge)
There is no code to run. This assesses design skills.
Context: MediGuide (fictional) is a chatbot that answers questions about health insurance procedures and calls a model through a real API. The team wants to move to a new model before the old model is retired in 90 days. Test budget: 20,000 calls.
Tasks:
- Design the golden dataset: the number of cases, how to take the expectations from the source, the risk classification.
- Allocate the 20,000 calls between the baseline and the candidate, by risk, and explain it with power.
- Write the triage process and the criteria for blocking the release.
Separate rubric (100 points, pass at ≥ 70):
| Dimension | 0 | 1 | 2 | 3 | Weight |
|---|---|---|---|---|---|
| Dataset | Missing | No source | Has sources and risks | As level 2, plus how the dataset is reviewed and the fingerprint | 30 |
| Budget allocation | Missing | Split evenly without a reason | By risk | As level 2, with a power argument and the smallest change to detect | 35 |
| Triage and release criteria | Missing | Generic | Seven classes, in order | As level 2, with release-blocking criteria for each risk level | 35 |
Rules
- No real data or real API in the submission.
- Do not edit
data/assignment_golden.jsonlbefore the main run. Proposed changes go indataset-review.md.