Sub topic 4
Running Prompts Under a Controlled, Documented Protocol
Assume you already have a prompt set and basic spreadsheet or JSON skills. This chapter focuses on running those prompts consistently so that changes in results are easier to interpret.
A controlled protocol is a written procedure that fixes the conditions of a test. Without one, a later result may differ because you changed the model, enabled web search, edited the prompt, or used a different account. You would then be measuring several changes at once.
Fix the test conditions
Before running a prompt, record the conditions that can affect the answer:
- Assistant provider and product, such as ChatGPT, Claude, or Gemini.
- Model name and version, when the interface exposes them.
- Mode, such as standard chat, deep research, browsing, or an API call.
- Date, time, and time zone.
- Account state, including personalization, memory, workspace instructions, or custom prompts.
- Settings such as temperature, if you control them.
- Whether browsing, file uploads, tools, or connected data sources are enabled.
- The exact prompt text and any system or context instructions.
- The conversation state. A new conversation is usually easier to reproduce than a long existing thread.
Some settings are hidden or change without notice. Record what the interface shows, and mark unknown values as unknown instead of guessing.
A useful protocol separates the prompt from the test environment:
| Field | Example |
|---|---|
| Prompt ID | cmp-01 |
| Assistant and model | Example Assistant, model-x |
| Mode | Web search enabled |
| Date and time | 2026-11-29 10:30 UTC |
| Conversation | New chat |
| Run number | 2 |
| Prompt text | Compare Acme Analytics and Example BI for a small team. |
| Output captured | Yes |
Use a repeatable run procedure
Run every prompt using the same sequence:
- Confirm the assistant, model, mode, and account settings.
- Open a new conversation unless the protocol requires a fixed context.
- Paste the exact prompt from the prompt set. Do not improve its wording during the run.
- Submit the prompt once.
- Wait for the complete answer, including citations or linked sources.
- Save the answer exactly as returned. Preserve formatting, spelling, and links.
- Record the test conditions and any errors.
- Assign the next run number and repeat according to the protocol.
Do not ask a follow-up question before recording the first answer. A follow-up changes the context and tests a different interaction.
If you need to test a multi-turn experience, define every turn in advance. Otherwise, two testers may provide different context and produce incomparable results.
test_record = {
"prompt_id": "cmp-01",
"run": 2,
"assistant": "Example Assistant",
"model": "model-x",
"mode": "web_search",
"date_time": "2026-11-29T10:30:00Z",
"conversation": "new",
"settings": {
"temperature": "not exposed",
"personalization": "off",
"memory": "off"
},
"prompt": "Compare Acme Analytics and Example BI for a small team.",
"answer": "Paste the complete answer here.",
"citations": [
"https://example.com/source"
],
"errors": []
}
print(test_record["prompt_id"], test_record["run"])Keep evidence separate from scoring
Capture the raw answer before judging it. Store the answer in a text file or spreadsheet cell, and keep scoring fields in separate columns. This preserves the evidence if you later change the scoring rules.
At minimum, record:
- Whether the brand was mentioned.
- Whether it was recommended.
- Its position in the answer.
- Competitor names that appeared.
- Every citation or source link.
- Factual claims that require checking.
- Any technical failure, refusal, or incomplete response.
Use stable identifiers for prompts and runs. A prompt ID such as disc-01 should not be reused for a different question. If the wording changes, create a new version, such as disc-01-v2.
Visualize the test flow
Check the protocol before scaling up
Run one prompt manually from start to finish before testing the whole set. Look for missing fields, unclear mode names, citation links that were not saved, and accidental context from previous chats. Correct the recording template before collecting a large sample.
Exercise
You ran the same prompt twice. The first run used web search in a new chat, and the second used a remembered conversation with web search disabled. Can you treat the runs as a single repeated test? Why or why not?
Show answer
No. The mode and conversation state changed, so the runs belong to different test conditions. Record them separately or repeat both under one fixed protocol.