- Identify the failure being addressed.
- Keep a fixed comparison input.
- Attribute improvement only to tested changes.
After a weak answer, changing the task, examples, input and tone together makes the result hard to interpret. A controlled revision changes one meaningful part while preserving a baseline. It may take another small iteration, but the record becomes far more useful than an unexplained good-looking answer.
Name the observed failure precisely
Write what went wrong in the fictional extraction: the answer copied a date from an example instead of the source. That is more actionable than saying the prompt was not professional. Preserve the original input and response, including the incorrect value. Do not silently clean the baseline before comparison, because that removes the evidence needed to understand why the revision was proposed.
Choose a change related to the mechanism
Move demonstrations into a separately labelled example block and add an explicit instruction that example values are not task evidence. Keep the task document and output contract fixed. If you also change the document length or remove the troublesome field, a passing result no longer isolates whether the boundary instruction helped. Write the changed instruction as a short diff another learner can inspect.
Compare beyond the repaired example
Retest the original failure and at least one legitimate case that previously worked. A revision that returns unknown for everything might avoid copied dates while breaking useful extraction. Record failures as well as successes and state the limited result: these fixtures improved under the recorded conditions. Broader claims about model reliability require additional representative cases, settings and repeatability evidence.
Illustrative worked example — Example contamination
Supplied input
Baseline copied exampledate1May; source says3May. Revision labels examples as non-evidence.
Example result to inspect
Original failure now returns3May; a previously correct venue extraction remains correct.
The negative and legitimate cases distinguish a useful repair from a response that refuses every task.
This is an authored teaching example, not a recorded live provider run or an independent performance test.
Make the idea concrete.
- Save a baseline response containing one clear fictional error.
- Change only the instruction related to that error.
- Retest the failure and one previously correct case.
What a useful outcome looks like
A small prompt diff and comparison record with a supported, bounded conclusion.
Ask for reasoning you can verify.
Use fictional or permitted data. This is a copyable brief for a separate approved model; no model is called from this article.
Help me inspect this fictional prompt revision as a controlled experiment. Name the changed variable, preserve the original failure and propose a legitimate regression case. Do not infer general reliability from one repaired example.
Turn reading into a reviewed checkpoint.
Complete the manual exercise, review each item, then answer the evidence question. This records self-study, not independent assessment of expertise.
Review the checklist and pass the question to save this lesson.
Primary references
References support further checking; cited organizations do not endorse AgentX. This guide is original AI-assisted educational content with illustrative examples. Read the editorial policy or report a correction.
Continue with a related task.
Write the task before choosing a persona
A role such as expert analyst can suggest a tone, but it cannot tell the assistant which work to complete or establish expertise.
Give context a visible trust boundary
A prompt often combines the user’s task with text copied from somewhere else.
Turn output requirements into a small contract
An output contract describes what the response must contain and how it should represent it.