A model that gives only an answer gives you nothing to check. Asking it to show its reasoning first, the steps, the numbers, the rule applied, gives you working you can verify. This is the same idea as ordering schema fields with reasoning before the answer: the model works the problem out before it commits to a result, and you can spot where it went wrong if it did.
Prerequisites
- A question that needs working out, such as a total or a comparison.
- A prompt that asks for reasoning before the answer.
- The correct answer, or a way to check it, for the test question.
Steps
Step 1: Ask for the working
Add one line to the prompt: ‘Show your working step by step, then give the answer.’ Keep the instruction short; a long instruction about reasoning can crowd out the question itself.
Step 2: Read the working first
When the reply comes back, read the working before the answer. Check each step: the numbers used, the arithmetic, the rule applied. A wrong step early on explains a wrong answer at the end.
Step 3: Check the answer last
Only after the working checks out, read the answer and compare it with the known result. If the working is right and the answer is wrong, the model made a copying error; if the working is wrong, the answer cannot be trusted.
Worked example: Cedar Street Library fine calculation
The fictional Cedar Street Library asks a model to work out a fine: 3 overdue books at 0.50 per day for 4 days.
| Step in the working | Value | Checked |
|---|---|---|
| Books overdue | 3 | Yes |
| Rate per day | 0.50 | Yes |
| Days overdue | 4 | Yes |
| Total: 3 x 0.50 x 4 | 6.00 | Yes: 3 x 0.50 = 1.50; 1.50 x 4 = 6.00 |
The working shows 3 x 0.50 = 1.50 and 1.50 x 4 = 6.00, and the answer 6.00 matches the worked total.
Expected result. The reply shows its working before the answer, and the working adds up to the answer. UNTESTED: this guide was not run against a live model or API. The worked example below is fictional practice material, and its result is the expected result, not a measured one.
Limits
- Shown reasoning can be a justification written after the answer, not real working; check the arithmetic yourself.
- Reasoning costs tokens; keep it short for simple questions.
- This guide does not cover the schema-field version of this technique.
