Module L2-M05 quiz

Study time
≈ 30 min (estimate)
Updated
2026-11-04
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-m05 (lab.sampling, lab.qc, lab.agreement, lab.disagree, lab.guideline, lab.taxonomy) are allowed. The annotators in the lab are simulated; every number in the questions is fictional data and does not describe real people or a real model.

Part A - Multiple choice (1 point/question)

Q1. A review round has a budget of 40 items, split across four strata of the traffic: routine 420 items, hint 330, retry 180 and refuse 70. By sampling.stratified_allocation of the lab with min_per = 6, the number of items for routine, hint, retry, refuse respectively is:

  • A. 17, 13, 7, 3, because the budget is split exactly in proportion to traffic and there is no minimum
  • B. 13, 11, 9, 7, because each stratum receives 6 items first and the rest is split in proportion
  • C. 10, 10, 10, 10, because the budget is split equally across the four strata of the traffic
  • D. 22, 6, 6, 6, because each stratum receives 6 items first and the rest goes to the largest stratum

Q2. Eight gold items have expert scores 1, 2, 3, 4, 5, 3, 4, 2. A candidate grades the same eight items 1, 3, 3, 5, 4, 4, 2, 3. The protocol sets min_within_one = 3/4 and min_exact = 1/2. The result of qc.qualifies for this candidate is:

  • A. False, because the exact-match rate is below the minimum 1/2 even though the within-one rate meets its threshold
  • B. True, because the within-one rate already exceeds the threshold 3/4 and exact match is only a secondary condition
  • C. False, because the candidate must be within one point on all eight gold items to pass
  • D. Raises ValueError, because a protocol must not set both an exact-match and a within-one threshold at once

Q3. Five people rate replies on a scale of 1 to 4 (ordered). Each item has only two to four raters because of different duty schedules. The team needs one coefficient for the whole group, and wants a three-level gap penalised more than a one-level gap. According to L2-M05-L02, the unifying coefficient is:

  • A. Fleiss's kappa, because each item has several raters and this coefficient gathers everyone at once
  • B. unweighted Cohen's kappa, computed for each pair of people and then averaged with the arithmetic mean
  • C. Scott's pi, because this coefficient uses the pooled label distribution of everyone in the group
  • D. Krippendorff's alpha, squared distance, because it tolerates an uneven number of labels

Q4. Three people grade the same 16 anchor items, split into four batches of 4 items each. The table gives each person's total error over the 4 anchor items of the batch (the person's score minus the expert score):

Person Batch 1 Batch 2 Batch 3 Batch 4
P 0 1 2 3
Q 2 2 5 6
R 4 4 4 4

By disagree.anchor_drift_flags (the first half is batches 1 and 2, the second half is batches 3 and 4; limit 3/4 point; at least 6 anchor labels per half), the person flagged as drifting is:

  • A. P, because the mean error of the second half is 1/2 point higher than the first half and rises steadily across the four batches
  • B. R, because R's mean error of 1 point is the highest in batch 1 and batch 2
  • C. Q, because the mean error of the second half is 7/8 point higher than the first half, exceeding the limit of 3/4
  • D. P and Q, because the mean error of the second half is higher than the first half for both

Q5. A failure taxonomy has two categories, listed in the order rude_tone (keywords "giọng điệu" (tone), "chê" (criticise)) then calc_error (keywords "tính sai" (miscalculated), "nhầm số" (wrong number)); precedence is calc_error, rude_tone. The assigner taxonomy.assign reads the note "Không tính sai, nhưng giọng điệu hơi cộc." (Did not miscalculate, but the tone is a bit curt.) and assigns it to:

  • A. rude_tone: the assigner understands "Không tính sai" as a negation, so only the tone category still matches
  • B. calc_error: it matches both categories, precedence ranks it first, and the assigner ignores negation
  • C. other: the note has a negation, so the assigner does not assign it to any category of the taxonomy
  • D. rude_tone: this category comes first in the categories list and the assigner takes the first matching category

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

Q6. An annotator grades 11 items: 9 scores are 4 and 2 scores are 3. With default parameters, qc.straight_lining flags this person.

Q7. Two 95% bootstrap intervals of two rounds overlap (share at least one value). Then guideline.compare_rounds returns UNCLEAR, and that conclusion means the alpha of round 2 is not higher than the alpha of round 1.

Q8. protocol.lint_protocol returns an empty list for a protocol. That shows the anchors of the scale describe what reviewers actually observe.

Part C - Short answer (3 points/question)

Q9. Two people grade 12 items on a scale of 1 to 3. The first person: 1, 1, 2, 2, 2, 3, 3, 3, 3, 1, 2, 3. The second person: 1, 2, 2, 2, 3, 3, 3, 2, 3, 1, 1, 3. (a) Compute the raw agreement. (b) Compute unweighted Cohen's kappa and squared weighted kappa, as fractions. (c) Why do the two kappas differ, and which number tells the weight of the disagreements in this data more accurately?

Q10. A review round has 40 items, 3 people per item, 7 annotators, with an estimated 2 minutes per label. (a) Compute the total number of labels, the number of labels of the busiest person (the lab splits evenly, rounding up) and that person's hours by sampling.workload. (b) Compute the sample size for a margin of error of 1/25 when the expected error rate is 3/10 (the lab's normal approximation, z² = 3.8416). (c) State one reason the hours figure in (a) is not the annotator's real time.

Q11. A team reads 80 failure notes and assigns them to five categories: A 30, B 22, C 12, D 10, E 6 notes. (a) Compute the cumulative share of the top two and of the top three categories by the Pareto table. (b) Compute the share of category C among the notes seen and its Wilson 95% interval (3 decimal places). (c) Why is this share not the failure rate of the system?

Part D - Scenario (3 points/question)

Q12. The team of a fictional product re-measures two grading rounds on 36 items per round, round 2 being 36 new items. The squared alpha of round 1 is 0.58 (95% bootstrap interval: 0.45 to 0.69) and of round 2 is 0.76 (0.64 to 0.83). Four items of round 2 have these scores:

Item Each person's score
D1 2, 4, 5
D2 3, 3, 5
D3 1, 2
D4 2, 3, 3

In addition, person R is flagged as drifting by relative_drift_flags (R's offset against the others in the second half is higher than in the first half), and the team plans to tell R to retrain. (a) What does compare_rounds conclude about the two rounds, and why? (b) With the majority rule and with the median rule, which of the four items need an adjudicator? (c) What should the team do before telling R, and why?