Lesson 8 13 min

Test and revise a prompt

Use the same checklist across sample outputs and revise for a named failure.

Learning goal

I can use a small checklist to judge two drafts, explain the failure, and revise the prompt.

How it works

A prompt is a hypothesis about what instructions will help. A checklist turns success into things you can observe. Compare several outputs against the same checks. Changing only one instruction at a time can make it easier to see which edit helped, although models can still vary between runs.

Think of it like this

Think of testing a paper bridge before changing its folds. Use the same coins for the first and second trial. A model’s outputs can vary even for the same prompt, so a single better draft provides limited evidence.

Worked example

Copper Club wants a short notice from “Saturday, River Room, 2 p.m.” The first sample uses two sentences and gets the room and day right. It adds “Ages ten and up,” which the schedule never mentions. The team revises the prompt to use only supplied facts. The next sample passes the checklist, including the source check. The team tests another sample before using the prompt and keeps human review before posting.

What to remember

Name the failure. Change the instruction that matters. Test fresh outputs against the same criteria.

  1. Write the promptDraft a notice from the supplied schedule.
  2. Test both draftsCheck day, location, length, and unknown details.
  3. Find the mismatchA draft adds an age rule the schedule never gave.
  4. Revise and retestAsk for supplied facts only and check fresh outputs.
Save your criteria and compare drafts against them after each change.Write a prompt, test each output against the checklist, then revise the instruction tied to a failure. Run the same checks on fresh outputs, and continue to review before sharing.

Key words

Prompt
The words or other information you give an AI system to tell it what you want it to do.
Constraint
A limit a response or action must follow, such as using three lines or keeping a file private.
Reliable source
Information you have good reason to trust for a particular question. A library’s own current notice is a good source for its hours.
Disclosure
Telling people something they need to know, such as when a picture or draft was made with help from AI.
More Prompt Engineering lessons

Activity

Compare the revision

Materials A pencil, the supplied fictional schedule, and the two sample outputs.

  1. Use “Copper Club: Saturday, River Room, 2 p.m.” Make four checks: correct day, correct room, at most two sentences, no extra details.
  2. Score “Come Saturday at 2 p.m. in River Room. Ages ten and up.” against all four checks. Revise the prompt with “Use only facts in the supplied schedule. Leave other facts out.”
  3. Score “Meet Saturday at 2 p.m. in River Room.” using the same checks. Ask a partner to write another pretend draft that could fail, then score it too.

Talk it through One passing draft shows it can work once. Future drafts still need review. Follow school rules and disclose AI help where required.

Quick check

1. Which checklist item catches “Ages ten and up”?
Answer and explanation

Use only details from the supplied schedule. The extra age requirement cannot be traced to the schedule.

2. Why keep the same checklist after revision?
Answer and explanation

So you can compare results and catch new failures. Using the same criteria makes the comparison fair. New outputs can fail different checks.