Studio
Technology, AI, and Software6 min read

How Do I Test Whether a Prompt Works Reliably Enough for My Team?

Build a six-input test set (routine, incomplete, contradictory and edge cases), write the correct outcome or safe escalation for each, run it three times, and record why each result passed. Rerun after any change.

Evolvv Strategies

Evolvv Strategies

Operator notes

Hand-drawn technical sketch of a test spreadsheet on graph paper: six rows labelled routine, routine, incomplete, contradictory, edge and edge, columns for expected outcome, run 1, run 2, run 3 and rationale, with ticks, one cross and an 'escalate' note; a margin note reads 'rerun after any change'.
Hand-drawn technical sketch of a test spreadsheet on graph paper: six rows labelled routine, routine, incomplete, contradictory, edge and edge, columns for expected outcome, run 1, run 2, run 3 and rationale, with ticks, one cross and an 'escalate' note; a margin note reads 'rerun after any change'.

The short answer: test it like you'd test a new hire, with a fixed set of real examples and a written answer key. Build a six-input test set: two routine cases, one incomplete case, one contradictory case and two edge cases. For each, write down the correct outcome or the safe escalation ("hand this to a person"). Run every case three times, because AI tools can give different answers to the same input, and record why each result passed or failed. A prompt is reliable enough when it gets every case right on every run, or escalates when it should. Rerun the same set whenever the prompt, the source material, the AI model or the tool's permissions change.

Why one good answer proves nothing

One good draft shows what a prompt can produce. Test several cases, including exceptions, because the same input can produce different output. OpenAI's evaluation guidance describes how to develop and review a useful set of test cases.

Software teams handle this with evals: structured tests with known correct answers. You don't need their tools. You need the same discipline in a spreadsheet.

The six-input test set

Editorial example. The firm, prompt and inputs are invented to show the method; this isn't a recorded test of any AI tool.

The task: a small physical therapy clinic uses a prompt that reads appointment-request emails and fills in four fields: patient name, requested day, requested time, reason category (new injury, follow-up, billing question or other). Anything it can't fill reliably should be marked "escalate" for the front desk.

# Case type Input (summary) Correct outcome or safe escalation
1 Routine "Hi, it's Lena Ortiz. Can I book a follow-up for Tuesday at 10?" Lena Ortiz · Tuesday · 10:00 · follow-up
2 Routine "New patient here, hurt my knee running. Thursday afternoon? Marcus Webb" Marcus Webb · Thursday · afternoon · new injury
3 Incomplete "Need to come in next week, my shoulder's worse." (no name, no day) Escalate: name and day missing. Must not invent them
4 Contradictory "Booking for Monday the 14th" (the 14th is a Wednesday) Escalate: day and date conflict. Must not pick one
5 Edge A parent booking for their child, signed with the parent's name Patient = child's name if given; otherwise escalate. Must not use the parent's name as patient
6 Edge "Question about my bill, and can I also book Friday?" Two items: billing question and booking request. Must not drop either

Why this mix? OpenAI's guidance says to "Ensure your test data includes typical cases, edge cases, and adversarial cases." Cases 3 and 4 test whether the prompt makes things up when information is missing or conflicting. For client work, that matters more than how polished the routine answers look.

Write an answer key two people would agree on

Write a pass/fail rule two reviewers can apply the same way. If they disagree, clarify the case before scoring the prompt. See Anthropic's guide to evaluations for related examples.

The spreadsheet template

One row per case. Columns:

Column What goes in it
Case # and type 1–6; routine, incomplete, contradictory or edge
Input The exact text pasted in, saved so every run uses the same input
Expected outcome The correct fields, or "escalate" and why
Run 1 / Run 2 / Run 3 Pass or fail for each run
Rationale One line on why it passed or failed: "invented a day", "correctly escalated"
Time (optional) How long a person took to check the output
Tester and date Who ran it, when, with which prompt version and model

Score repeatability and speed separately. A case passes only if all three runs pass. Anthropic's guide describes this measure (all trials succeed) as one that "especially matters for customer-facing agents where users expect reliable behavior every time." Speed is a different question: if the output is right but takes as long to check as doing the job by hand, record that in the time column, but don't let it hide a failure.

Reading the results

Editorial example of a first run:

# Run 1 Run 2 Run 3 Rationale
1 Pass Pass Pass All fields correct
2 Pass Pass Pass All fields correct
3 Pass Fail Pass Run 2 guessed "Monday" for "next week"
4 Fail Fail Fail Picked Monday every time; never escalated
5 Pass Pass Pass Escalated: child's name not given
6 Fail Pass Pass Run 1 dropped the billing question

Three of six cases pass all runs. The fix goes into the prompt ("If the day and date conflict, or any field is missing, write 'escalate' and the reason. Never guess.") and the same six cases are run again. Don't change the cases to make the prompt look better.

The rationale column does the real work. Anthropic's advice for its own teams is short: "Read the transcripts!" For a small team, that means reading the failed outputs, not just counting them.

When to rerun the test set

Run the same six cases, three times each, whenever any of these change:

Change Example
The prompt Someone edits the instructions or adds an example
The source material A new price list, policy or template the prompt relies on
The model The AI tool updates its model, or you switch tools
Permissions or access The prompt can now read a shared drive, or loses access to one

OpenAI's guidance is to "run evals on every change." For a small team, the spreadsheet makes that a ten-minute job. Add a new case whenever the prompt fails in real use. Anthropic notes that "20-50 simple tasks drawn from real failures is a great start" for teams building larger tests; six is a starting point, not a ceiling.

Common questions

Why three runs and not one? Because the same input can produce different outputs. Three runs is a small, practical check on consistency. Use more for anything client-facing.

Can the AI grade its own outputs? It can help sort results, but a person should confirm every fail and a sample of passes. OpenAI suggests you "Combine metrics with human judgment."

Who should write the test cases? The people who do the work. They know the awkward inputs.

Where should tested prompts live? In a shared library with an owner and a version. See how to build a shared AI prompt library and how to spot AI hallucinations before a draft reaches a client.

Next step

Private training can build and run a test set like this on your team's own work, "with checks before they use AI output in real work." Request more information on private AI training.

Explore private AI training