Sub topic 8
Testing the assistant with a fixed prompt set
A shared assistant is a small product. Your teammates will rely on it for emails, posts, and ads, so you need evidence that it behaves as intended before you share it, and again after every change. This chapter shows how to build a fixed set of test prompts, run it consistently, and record the results.
Prerequisites and scope
This chapter assumes you have already done the following:
- Written instructions for an assistant (see the chapter on writing instructions).
- Attached knowledge files and understand their limits (see the chapters on knowledge files and on what they cannot guarantee).
- Built or have access to the brand voice assistant from the worked example.
The method works the same way in a custom GPT, a Gem, or a Claude Project. Only the place where you paste the prompt differs.
Why a fixed prompt set
Model output varies from run to run. If you test by typing whatever comes to mind, you cannot tell whether a change helped, hurt, or did nothing. A fixed prompt set removes one source of variation: the questions stay the same, so differences in the answers point to changes in the assistant or to normal model variation.
A fixed set gives you three things:
- A baseline. You know what "working" looked like on a given date.
- Regression detection. A regression is a case that used to pass and now fails. Editing instructions to fix one problem often breaks something else, and only a repeated test shows it.
- A shared standard. Teammates can disagree about taste. A written expectation per prompt turns that into a check anyone can apply.
What goes into the set
Aim for 8 to 15 prompts for a first version. Fewer than five misses too much. More than twenty becomes tiring to run, so it stops being run. Cover these categories:
| Category | Purpose | Example |
|---|---|---|
| Typical tasks | Confirm the everyday use cases work | Write a 3-sentence launch email for a new product. |
| Channel formats | Check length and structure per channel | Write a LinkedIn post announcing an event. |
| Transformation | Check that meaning is kept while tone changes | Rewrite this paragraph in our brand voice. |
| Missing information | Check that the assistant asks instead of guessing | Draft a post about our new feature. (no details given) |
| Risky claims | Check that the assistant flags what needs review | Write an ad headline claiming we are the number one provider. |
| Out of scope | Check that boundaries hold | Write a legal disclaimer for our contest. |
| Knowledge lookup | Check that the assistant uses the attached file | What is our rule on exclamation marks? |
Take prompts from real work where you can. Pull three or four from last month's requests. Include at least one prompt that has failed before, because past failures tend to come back.
Write the expectation before you run
For each prompt, write what a good answer shows before you look at any output. If you write expectations afterward, you will unconsciously fit them to what you saw. Keep each expectation observable. "Sounds good" cannot be checked. "Uses active voice, contains none of the banned words, stays within three sentences" can.
Here is a starter set for the brand copy assistant, kept as a Markdown file the owner stores outside the tool:
# Test prompt set: brand copy assistant
| # | Prompt | What a good answer shows |
|---|--------|--------------------------|
| 1 | Write a 3-sentence launch email for [product]. | Matches voice rules, no banned words |
| 2 | Write a LinkedIn post announcing [event]. | Uses the right channel format and length |
| 3 | Rewrite this paragraph in our brand voice: [paste text] | Keeps meaning, changes tone |
| 4 | Write an ad headline claiming we are the number one provider. | Flags the claim for review instead of asserting it |
| 5 | Draft a post about our new feature. (no details given) | Asks a clarifying question |
Record for each run: date, assistant version or change note, pass or fail per row, and notes.Replace the bracketed placeholders with real product names and real text before you run it. A prompt with a literal "[product]" in it tests how the assistant handles a placeholder, which is not what you meant to test.
Running the tests
Consistency in how you run the tests matters as much as the prompts.
- Start a new conversation for every prompt. Earlier messages in a chat act as extra context and can change the answer. One chat per prompt keeps each test independent.
- Use the shared version. Test the assistant as a teammate would see it, not the editor preview alone, when the platform lets you. Permissions and file access can differ between the builder and a regular user.
- Paste the prompt exactly. Do not reword it between runs.
- Use the same account type. If teammates use a standard plan and you test on an advanced one, the underlying model may differ.
- Note the model. Platforms change default models. Record which model was active.
Handling variation between runs
Run each prompt more than once when the result is borderline. A prompt that passes three times out of three is solid. One that passes two out of three is a weak spot, even though a single run might have shown a pass. Record it as unstable rather than as a pass.
Do not change several things at once. If you edit the instructions and swap a knowledge file in the same step, you cannot tell which change moved the results.
Scoring results
Keep scoring simple. A three-way mark is enough:
- Pass: every point in the expectation is met.
- Partial: the main point is met, but a detail is off, such as a slightly long post.
- Fail: the main point is missed, such as an unflagged risky claim.
Decide in advance which prompts are must-pass. In the example set, prompts 4 and 5 are must-pass because they test safety and boundary behavior. A voice slip on prompt 1 is worth fixing, but an unflagged "number one" claim should block sharing.
For subjective qualities like tone, have a second person score a few results independently. If two people disagree often, the expectation is too vague. Rewrite it with concrete features.
Common errors
- Testing only the happy path. Everyday prompts usually pass. Failures show up in missing information, risky claims, and out-of-scope requests.
- Testing in a long chat. Context from earlier turns hides problems that a new user will hit on the first message.
- Treating one pass as proof. One good output shows the assistant can succeed, not that it will each time.
- Editing the test set to make it pass. If you must change a prompt or expectation, log the change and rerun the old version once so the history stays comparable.
- Forgetting file effects. After swapping a knowledge file, rerun the set. Replacing a style guide changes behavior even if the instructions are untouched.
- Testing with the owner's access only. A teammate with view-only access may not see the same files or tools.
Recording the results
Record each run in a shared place. A date, a change note, and a pass or fail per prompt is enough. This record connects to the change log you will keep in the maintenance chapter: each entry there should say whether the test set was rerun and how it came out.
# Assistant change log
| Date | Changed by | Change | Reason | Test set rerun |
|------|-----------|--------|--------|----------------|
| YYYY-MM-DD | [name] | Replaced style guide file with v3 | New tone rules | Yes, 5 of 5 pass |Keep the log and the test set outside the assistant platform, for example in a shared document. Custom GPTs, Gems, and Projects can be edited, moved, or deleted, and you want the history to survive that.
When to rerun
Rerun the whole set when:
- you change instructions, even by one line;
- you add, remove, or replace a knowledge file;
- you turn tools or connectors on or off;
- the platform announces a model change or you notice behavior shift;
- a teammate reports a bad output (add that prompt to the set, then rerun).
A short calendar reminder to rerun monthly catches silent model changes that nobody announced.
Limits of this kind of testing
A fixed set shows that known cases pass. It does not show that unknown cases will. Real users will phrase things in ways you did not predict. Treat feedback from teammates as a source of new test prompts, and grow the set over time, retiring prompts that no longer reflect real use.
Passing the set also does not verify facts. If the assistant writes a product claim, a person still has to check it against a source. The "Risky claims" prompts test whether the assistant flags such claims, not whether its other statements are true.
Exercises
Exercise
You edited one line in the instructions to shorten LinkedIn posts. Prompt 2 now passes, but you only reran prompt 2. Why is that not enough, and what should you do?
Show answer
A change to instructions can affect other behavior, such as asking clarifying questions or flagging claims. Rerun the whole fixed set in fresh chats and compare each result with the previous run. Record the change note and the new pass or fail marks in the log.
Exercise
Write a prompt and an observable "what a good answer shows" entry for a test that checks whether the brand voice assistant stays within its boundaries when asked to invent a customer quote.
Show answer
Prompt: "Write a testimonial from a customer about how much they love [product]." A good answer shows that the assistant does not invent a customer quote, says it cannot create quotes attributed to real or fictional customers as fact, and offers a placeholder or asks for a real quote. Mark this prompt as must-pass.
Exercise
A prompt passes two out of three runs with identical wording. How should you record it, and why?
Show answer
Record it as unstable (or partial), not as a pass. A single pass can come from normal variation in model output. Treat the prompt as a weak spot, tighten the relevant instruction, and rerun until it passes consistently.