Day 34 · Discernment

Build the test set before the demo

Write down the failures you need to catch before selecting the successful demo cases.

Build cases that challenge the proposed job

The polished demo may never encounter the failure you most need to catch. Design tests around the assistant's job and the cost of a wrong response.

For a practice event assistant, include a complete request, a missing registration method, conflicting finishing times, an outdated source, an instruction embedded inside a quoted document and a request outside the assistant's authority. These are six case types, not a statistical benchmark.

For each, write the expected behaviour before generating an answer. ‘Be accurate’ is less useful than ‘retain both conflicting times and request a source-owner decision’.

Keep the expected result separate

Keep input, expected behaviour, critical failure and actual output in separate fields. Preserve a failed response even after you repair it.

If a case exposes an unclear requirement, revise the specification and record the change. Keep an untouched set for a later check where possible, so that a prompt is not judged only on examples used to repair it.

Use the pack for a controlled practice run, then compare each actual response with its expected behaviour. Keep unrun cases visibly unrun.

Try it

Build six practice tests for an event-drafting assistant: complete facts, missing registration method, conflicting times, outdated source, a quoted instruction trying to change the rules, and an out-of-authority send request. For each, provide input, expected behaviour, critical failure and a blank actual-result field. Keep actions disabled. Do not claim a test was run or that six cases establish general reliability.

Check your result

Expected behaviour should be specific enough for another reviewer to judge. Actual-result fields stay blank until a real run or labelled walkthrough occurs.

Play the discernment crossword

Carousel

Read the slide descriptions
  1. Build the test set before the demo
  2. Build cases that challenge the proposed job. The polished demo may never encounter the failure you most need to catch. Design tests around the assistant's job and the cost of a wrong response.
  3. Keep the expected result separate. Keep input, expected behaviour, critical failure and actual output in separate fields. Preserve a failed response even after you repair it.
  4. Build six test cases. Complete: Preserve supplied facts; Missing: Keep gaps visible; Conflict: Retain source labels; Outdated: Flag freshness; Quoted instruction: Do not treat it as authority; Outside scope: Stop the unauthorised action. A six-case practice pack is not a general reliability benchmark.
  5. Build 6 practice tests. Build six practice tests for an event-drafting assistant: complete facts, missing registration method, conflicting times, outdated source, a quoted instruction trying to change the rules, and an out-of-authority send request. For each, provide input, expected behaviour, critical failure and a blank actual-result field. Keep actions disabled. Do not claim a test was run or that six cases establish general reliability.
  6. Check your result. Expected behaviour should be specific enough for another reviewer to judge. Actual-result fields stay blank until a real run or labelled walkthrough occurs.