Module L2-M03 quiz

Study time
≈ 30 min (estimate)
Updated
2026-11-03
Draft · reviewed by AI, not yet by a person. Content may change. English translation: AI-assisted, not human-reviewed.
On this page

12 questions, 20 points (Parts A and B: 1 point/question; Parts C and D: 3 points/question), 30 minutes. Pass mark: 14/20 (70%). The solutions are for instructors only. A calculator and code-labs/l2-m03 (lab.deterministic, lab.similarity, lab.rubric, lab.criteria, lab.report) are allowed.

Part A - Multiple choice (1 point/question)

Q1. A metric accepts 20 answers. A human labeller confirms that 15 of those 20 answers are correct. Across the whole set there are 30 correct answers. With the positive class "the metric accepts the answer", the metric's precision and recall are:

  • A. precision 15/30 = 0.50 and recall 15/20 = 0.75 B. precision 5/20 = 0.25 and recall 15/30 = 0.50
  • C. precision 15/20 = 0.75 and recall 15/30 = 0.50 D. precision 15/35 ≈ 0.43 and recall 15/20 = 0.75

Q2. The reference is Đúng rồi, 9 nhân 5 bằng 45. System A returns Đúng rồi, 9 nhân 5 bằng 54. (a wrong answer). System B returns Chuẩn rồi, 9 nhân 5 ra 45. (a correct answer). How does the lab's token F1 score these two answers?

  • A. B's answer scores higher, because token F1 rewards an answer with the right meaning even when worded differently B. A's answer scores higher, so every threshold that accepts B's answer also accepts A's
  • C. The two are equal, because both have exactly five words matching the reference D. A's answer scores lower, because one different digit is penalised more heavily than one different word

Q3. An analytic rubric has two criteria, scale 0-3: correctness (weight 1, critical) and clarity (weight 3). Normalised score = (Σ weight × score / 3) divided by the total weight. An answer passes when its normalised score ≥ 0.75 and no critical criterion is at level 0. An answer with correctness = 0 and clarity = 3 has the result:

  • A. Pass, because the normalised score is 0.75 and the 0.75 threshold is inclusive B. Pass, because clarity has the larger weight of 3 and decides the result
  • C. Fail, because the normalised score is only 0.50, below the 0.75 threshold D. Fail, because the critical correctness is at level 0, so the answer is rejected

Q4. Passage S3 was given to the system and has three sentences: "An hour has 60 minutes. A minute has 60 seconds. A day has 24 hours." The system answers with only one sentence, Một ngày có 24 giờ., with no citation code. By the lesson's definitions, this answer is:

  • A. faithful but not grounded, because S3 supports the claim but the sentence cites no code B. not faithful, because a claim without a citation is not counted as supported by S3
  • C. grounded but not faithful, because S3 was given to the system and contains that very sentence D. not yet scorable on either criterion, because the answer has a single claim and so lacks an input

Q5. The slice report of a version has five slices. Four slices have status SHIP and one has status BLOCK. By the lab's verdict rule, the overall verdict of the report is:

  • A. SHIP, because most slices pass and the pooled number is usually above the threshold B. INCONCLUSIVE, because the slices give mixed results so no conclusion can be reached yet
  • C. BLOCK, because one BLOCK slice is enough to block and the pooled number cannot make up for it D. SHIP only if the per-slice average exceeds the threshold of the slice with the lowest threshold

Part B - True/False (1 point/question)

Q6. With the lab's numeric_close (inclusive comparison, computed exactly with Fraction), numeric_close(pred=50, gold=40, rel_tol=0.2) and numeric_close(pred=40, gold=50, rel_tol=0.2) give the same result.

Q7. If every slice of a report has the same number of cases, the pooled average equals the per-slice average.

Q8. If an answer has a claim that is correct by general knowledge, but no sentence of the passages given to the system supports that claim, then that claim fails faithfulness by the lesson's definition.

Part C - Short answer (3 points/question)

Q9. A report has three slices (passes / cases): X 45/50, Y 8/10, Z 30/40. The true shares of the three slices in the product are 0.2 for X, 0.2 for Y and 0.6 for Z. (a) Compute the pooled average and the per-slice average. (b) Compute the average weighted by the true shares and say which question that number answers. (c) With min_n = 30, what status does slice Y have and why?

Q10. The reference is Một giờ có 60 phút. and the system returns Một phút có 60 giờ. (a wrong answer). (a) Compute the token F1 and ROUGE-L of the system answer against the reference. (b) Does the lab's numbers_preserved catch this answer, and why? (c) Give one example of an error that numbers_preserved catches and one example of an error it does not catch (different from the example above).

Q11. The anchor for level 3 of the pedagogy criterion is written as "Good hints". (a) Give two reasons this anchor makes two raters disagree. (b) Rewrite it as an observable anchor with at least one countable thing. (c) If the rewritten anchor passes rubric.lint, what is still not proven, and how would you measure it?

Part D - Scenario (3 points/question)

Q12. The HocVui team grades the "check the work" feature with the "right verdict" metric (verdict_ok: the system must say correct or not yet correct about the student's work). The dataset has 200 cases, of which 180 are cases where the student's work is correct. The new system scores 180/200 = 0.90 and the required threshold is 0.88. The team wants to release. (a) How much does a system that answers only Đúng rồi em! to every case score on this metric? (b) Under the lab's SHIP, BLOCK, INCONCLUSIVE rule with a 95% Wilson interval, what status does 180/200 have at threshold 0.88? (c) Name two things to do before trusting the 0.90 number.