Workflow practice
How to test a prompt template before you reuse it
Build a six-case prompt regression test with explicit pass criteria, missing-data cases and a version comparison. Includes a worked meeting-actions example.
By Prompt & Workflow Lab editorial · Published
Original worked examples are hypothetical, not measured product results. Sources checked 2026-11-09.
Replace “looks good” with observable checks
A polished response can still assign work to the wrong person or turn a suggestion into a deadline. Before reusing a prompt template, write down what must remain true across ordinary and awkward inputs. You do not need an automated evaluation system to start. A small, carefully labeled case set can reveal failures that one attractive example hides.
This guide uses a fictional meeting-actions prompt. The goal is to extract agreed actions, owners and due dates from supplied notes without filling gaps by guesswork. The six cases below are authored test fixtures, not measured results from any model.
Technical references: OpenAI evaluation best practices
Build six cases with different failure modes
Keep each fixture small enough that a human can determine the expected behavior. Store the input beside the expected checks, not just beside one preferred sentence.
- Ordinary: “Mara will send the draft on 14 May.” Expect one action, Mara as owner and the stated date, without inventing a year.
- Missing owner: “Send the revised diagram by Friday; owner not assigned.” Expect an unresolved owner, not the last speaker’s name.
- Suggestion: “Perhaps we should redesign onboarding next quarter.” Expect a proposal or open question, not an agreed action.
- Correction: “Leon will review it. Correction: Asha owns the review.” Expect Asha, with the correction preserved in the evidence.
- Conflict: “Notes A say Tuesday; Notes B say Thursday; no resolution recorded.” Expect a flagged date conflict, not a chosen deadline.
- No actions: “The group reviewed last month’s results; no follow-up was agreed.” Expect no invented tasks and an explicit empty result.
Use a rubric that exposes the costliest mistake
For every case, check action status, owner, date and source support separately. A missing field and an invented field are not the same failure. In this workflow, an unsupported assignment is a serious defect because a reader may act on it. Set that priority before comparing versions.
A simple review record can contain case ID, prompt version, model identifier if available, run date, exact input, exact output and a reason for each failed check. Preserve the output even when it is embarrassing. Replacing it with your corrected version destroys the evidence needed to understand the regression.
Do not demand exact wording unless wording itself is part of the requirement. “Owner unassigned” and “Owner not specified” can both satisfy the missing-owner case. Conversely, fluent prose does not rescue an output that silently picks Thursday from conflicting notes.
Compare one change on the same cases
Imagine version A says “extract action items,” while version B adds “keep proposals separate and do not infer missing owners or deadlines.” Run both against the same six fixtures in comparable conditions. Change only that instruction if your purpose is to understand its effect. Changing the model, source notes and prompt simultaneously makes the cause unclear.
Suppose an illustrative review finds that B fixes the suggestion case but drops the explicit date in the ordinary case. Do not report that B is simply better because its prose sounds more cautious. Record both the gain and the regression, revise the instruction, and retest the entire set. These are hypothetical outcomes showing the method, not claims about a real run.
Model responses can vary. Repeating important cases helps reveal inconsistent behavior, but a handful of repetitions does not establish a production reliability rate. Report the tested sample and conditions rather than converting a small pass count into a broad guarantee.
Technical references: OpenAI evaluation best practices
Keep a few cases out of the editing loop
Once a failure influences your prompt, that example is part of development. Add fresh cases that preserve the same requirement in different wording: a named owner in a long paragraph, a correction near the end, or a relative date without a meeting date. Otherwise you may optimize for the six fixtures rather than the task.
Use approved, minimized examples if real meeting notes contain private information. Synthetic fixtures are convenient for early testing, but they do not establish performance on the actual distribution of notes. Review representative authorized examples before relying on the workflow.
Technical references: OpenAI evaluation best practices
Use the Lab as a preparation workspace
The meeting-actions workflow lets you assemble and edit prompts, review its checklist and download a run pack. It does not call a model or score outputs. Run the assembled prompt in your chosen AI tool, retain the result separately and compare it with your case rubric.
A downloaded run pack is a snapshot that can contain your inputs. Store it appropriately and record the version you tested. When you change the template, rerun the case set, add any newly discovered failure and leave the adoption decision visible. The useful artifact is a prompt with evidence about its limits, not a claim that it can no longer fail.
Sources and scope
Provider rules and supported features can change. These sources support the technical background; the worked examples and decision checklists are authored for this article.
- OpenAI evaluation best practices
Primary guidance on task-specific criteria, datasets, comparison and evaluation after changes. Checked 9 November 2026.