LearnQuestion bank

The PM says “we want good answers about our pricing”. You have two days and 30 unlabelled real queries. Design the evaluation.

Applied LLMTechnicalMedium

Theme reported publicly: OpenAI

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Clarify ‘good’: correctness, policy, tone, citations; wrong price worse than abstention
  • Read outputs first, group failure modes, write pass/fail criteria per mode
  • Label the 30 queries; add edge-case variations (unanswerable, outdated, adversarial); expert review
  • Code-based checks where possible (price matches database); validated LLM judge for subjective criteria
  • Baseline, iterate, wire into CI, then monitor online signals after launch

In full

First I’d pin down what ‘good’ means before touching the data: a correct price that matches the source of truth, policy-compliant (no invented discounts, no leaking internal data), appropriately toned, and grounded with a citation — and I’d treat a wrong price as far worse than an abstention, so abstaining or escalating is a legitimate, measurable outcome rather than a failure. Then I’d read the 30 outputs myself, group the failure modes (wrong price, hallucinated citation, policy violation, tone, unanswerable handled incorrectly), and write explicit pass/fail criteria per mode so the eval is objective, not vibes. For the set, I’d label the 30 queries, add variations for edge cases — unanswerable, outdated pricing, adversarial or ambiguous phrasing — and have an expert review the labels before trusting them. Where possible I’d use code-based checks (does the stated price match the database, does the citation exist and point to the right source), and reserve a validated LLM judge for subjective criteria like tone and helpfulness, calibrated against human labels before I trust it. Then I’d run a baseline, iterate on the prompt/system, wire the eval into CI so regressions block merges, and after launch watch online signals like abstention rate, correction rate, and escalation volume to confirm the offline results hold in production.

Checked against sources by an independent AI reviewer.

What a strong answer covers

  • Clarifies “good”: correctness, policy, tone, citations; asymmetric costs (a wrong price is worse than an abstention)
  • Reads outputs first; groups failure modes; writes pass/fail criteria per mode
  • Builds the set: label the 30, add variations for edge cases (unanswerable, outdated, adversarial), expert review
  • Code-based checks where possible (price matches the database); validated LLM judge for subjective criteria
  • Baseline → iterate → wire into CI → online signals after launch

Common mistakes

  • Generic metrics (“helpfulness 1–10”, BLEU) with no failure analysis
  • no clarifying questions about error costs