Friday, August 21, 2026

    Design prompts with explicit criteria to improve precision and reduce false positives

    Domain 4 — Prompt Engineering & Structured Output · 20% of the exam

    Task statement 4.1

    Design prompts with explicit criteria to improve precision and reduce false positives

    What you should be able to do
    • Replace a vague instruction with categorical criteria that say what to report and what to skip.
    • Explain why confidence-based hedging does not reduce false positives.
    • Define severity levels with concrete examples so classification is repeatable.
    • Recognise that one noisy category costs trust in the accurate ones, and act on it.
    Exam traps (4)

    Tell the model to be conservative and report only high-confidence findings.

    Confidence is self-assessed against no standard, so the instruction changes the hedging in the wording and not which findings are produced.

    Precision comes from categorical criteria — the condition under which something is reportable — not from asking for more certainty.

    Ask it to check that the comments are accurate.

    Every reader draws the line somewhere different, so the same input yields a different set of findings each run and none of them is wrong by the instruction.

    State the testable condition: flag a comment when the behaviour it claims contradicts what the code does.

    Keep a noisy category running while you improve the prompt — some of its findings are real.

    Developers stop reading the whole report, so the categories that were working lose their audience too.

    Disable the noisy category, restore trust in the rest, and re-enable once its criteria are specific.

    Name the severity levels and let the model apply them.

    "High" and "medium" have no shared referent, so the same issue lands in different buckets across runs and severity stops sorting anything.

    Anchor each level to a concrete example of code that belongs in it.

    Primary sources
    Know cold
    • Explicit criteria / rubric
    • System prompt / role
    • Guardrail

    16 practice questions in the bank are tagged to this task statement.

    Practise this task in context: open it inside the interactive study guide, which carries the concept cards, the mock quiz and the practice simulation.

    Blueprint-aligned independent practice. Koko's scenarios and company facts are fictional and synthetic. This aid does not reproduce official exam questions or Anthropic's undisclosed scoring model, and is not affiliated with or endorsed by Anthropic.