Reflection
Reflection is a review step that checks an output against criteria and may propose a revision. Repeating self-criticism does not prove the final answer is correct.
Before you start: Review Planning first. Python-like examples use variables, lists and functions.
Follow the mechanism
Candidate
Keep the original answer and evidence.
Start with an everyday explanation
Re-reading homework can catch mistakes, especially with a marking guide. Checking the same wrong assumption repeatedly can preserve the error.
See a concrete example
A rubric rejects a promised payment not supported by policy. A revision removes the promise and cites the actual clause, then receives independent validation.
A claim to question
Three rounds of reflection do not guarantee an accepted or correct answer.
Try before revealing the answer
Write a three-item review rubric for a cited policy explanation and one stop condition.
Show the worked answer
Check factual support, valid citations and absence of unauthorized promises. Stop after a bounded number of revisions and route unresolved cases to review instead of forcing success.
Now explain the idea to someone else using your own example. If you cannot explain a stage, revisit it before moving on.
Engineering details and trade-offs
Use explicit rubrics, tools or independent evidence rather than an ungrounded “try harder” loop. Cap revisions and retain the original result for comparison.
Measure improvement and regression rates. A critic may introduce new errors or agree with a persuasive but false answer.
Reason through the example
A rubric rejects a promised payment not supported by policy. A revision removes the promise and cites the actual clause, then receives independent validation.
Implement and test
Write a three-item review rubric for a cited policy explanation and one stop condition.
Inspect the reasoning and expected result
Check factual support, valid citations and absence of unauthorized promises. Stop after a bounded number of revisions and route unresolved cases to review instead of forcing success.
What to measure
State the expected result before changing a control. Record your inputs, compare the observed result and explain one limit of this model. In a real implementation, test the failure case as well as the normal path.
Answer before reading the reference
How would you evaluate a reflection loop?
A defensible answer
Compare first-pass and revised outputs on held-out tasks, measure corrected and newly introduced errors, and include latency and cost. Use independent checks for decisive claims.
Prepare the follow-up
When would an external tool be a better critic than another language-model call?
Show follow-up reasoning
Use deterministic tools for exact arithmetic, schema checks, identifier membership or state invariants. A language-model critic can help assess open-ended quality but remains fallible. Route decisive checks to the source of authority when the result can be verified directly.
Use the engineering explanation and worked task above to support your response. Identify which assumptions you would need to verify in production.
Choose a practice depth
- New to GenAI
- Define reflection with the everyday example and name its key limitation.
- Applied experience
- Explain the example, implementation choice and a measured failure case. Use the exercise as a small design review.
- Senior or systems depth
- Answer the follow-up, compare alternatives and justify an evaluation or rollout plan with operational constraints.
Self-review your answer
0/4 checks selected. This is self-assessment, not an interview score.
Your explanation and revision notes
Loading local notes…