Skip to content
mentoor

Topic 3 of 5 · 4 min read

Comparing prompt versions side by side

Goal: Compare two prompt versions on the same inputs with a short checklist and pick the better one on evidence.

To choose between two prompts, run both on the same inputs several times and score each answer against the same short checklist. "This one feels better" is a weak reason. A table of scores is a strong one.

Check yourself · 1 of 3

You want to choose between two versions of a prompt. What makes the comparison fair?

Choose one answer

Why it matters

A prompt that works on one example may fail on the next. If you test version A on an easy email and version B on a hard one, the comparison means nothing. Fair tests use the same inputs for both versions. This is how teams that build AI features test prompts before they ship, and the same habit helps if you use a prompt every week at work.

How to do it

  1. Choose 3 to 5 inputs that cover real use: a typical case, a hard case and a short odd one. Use the same inputs for every version.
  2. Write a checklist of 3 to 5 yes or no questions before you look at any answer. Examples: Is it under 100 words? Does it include the delivery date? Is the tone friendly? Is every fact in the source? Writing the list first stops you from bending the rules to fit your favourite.
  3. Run each version on each input, two or three times, because answers vary.
  4. Score each answer with a tick or cross for each question. Add them up.
  5. Look at the failures, not just the total. A version with a higher score that sometimes invents a fact may be worse than a lower score that never does. Mark the must-pass items.
  6. Pick the winner and keep the loser's name and notes. You may need them later.

If you can, ask a colleague to score a few answers too, or hide which version made which answer. People tend to prefer the version they wrote.

Before and after

Before: I tried both prompts. The second one felt nicer.

After: On 4 inputs, 3 runs each, version 1 passed 14 of 20 checks and version 2 passed 19 of 20. Version 2 never missed the date.

The second note can be shown to a manager and repeated by someone else.

What goes wrong

  • People use different inputs for each version, so the test is unfair.
  • People write the checklist after reading the answers and tune it to the one they like.
  • People look only at the best answer, not the worst. In real use, you meet the worst one too.

Examples

A small score table

Inputs: 3 customer emails. Checklist: under 100 words, has the date, friendly tone, no invented facts. Run each version 2 times per input. Version 1 passed 18 of 24 checks. Version 2 passed 23 of 24. The one miss for version 2 was a long reply on the hardest input.

Hide the labels

Paste both versions' answers into a document as "Answer 1" and "Answer 2", shuffled. Score them before you check which prompt made which. It stops you from favouring your own work.

Key points

  • Compare versions on the same inputs, not different ones.
  • Write a short yes or no checklist before you read the answers.
  • Run each version more than once because answers vary.
  • Treat must-pass items, such as no invented facts, as more important than the total score.
  • Keep a record so someone else can repeat the comparison.

Common mistakes

  • Testing each version on different inputs.
  • Writing the checklist after seeing the answers.
  • Picking the best single answer instead of looking at the average and the worst.
  • Judging only on how the writing sounds.

Check yourself · 2 of 3

When should you write the scoring checklist?

Choose one answer

Check yourself · 3 of 3

Version 1 scores 10 of 12 checks, but one answer invented a price. Version 2 scores 9 of 12 and never invents facts. Which is the better pick if wrong facts are not acceptable?

Choose one answer

Practice items, not counted towards your mastery.

Start here