Verbatim Answer Leakage in Hints

Verbatim Answer Leakage in Hints

The Lesson

When hints contain the exact text of the correct answer choice, they short-circuit learning. The learner reads the hint, sees the answer verbatim, and selects it without understanding why it's correct. This is a subtle content defect that is invisible in manual review but easy to detect programmatically.

Context

The certification quiz had a three-level progressive hint system. Level 1 hints (Brief Hint) are meant to nudge the learner toward the right concept area without giving away the answer. An audit found that 45+ questions across 28 exam files had H1 hints that contained the verbatim text of the correct answer choice.

What Happened

  1. An audit script (scripts/audit_hint1.py) was written to compare each H1 hint against all answer choices for the same question
  2. The script flagged any H1 hint that contained the exact text of the correct answer choice as a substring
  3. 45 instances were found across 11 of 28 files
  4. A fix script (scripts/fix_verbatim_h1.py) rewrote flagged H1 hints to point toward the concept area without naming the specific answer
  5. Post-fix audit confirmed zero remaining leaks

Key Insights

Examples

Leaked H1: "Consider Azure Functions for this scenario." Correct answer choice B: "Azure Functions" Problem: The hint names the correct answer verbatim.

Fixed H1: "Think about which Azure service is designed for event-driven, serverless execution." Same correct answer: "Azure Functions" Why better: Points to the concept (event-driven, serverless) without naming the specific service.

Related Lessons