Skip to content

AI 202 · Module 5

Evaluation, Verification & Self-Reflection

How does an agent know it did the right thing?

Start Section 1
0 / 6 completed
Sync my progressJoin a session to keep progress across devices and share it with your instructor

Info

After you join, your completed lesson numbers are sent to your instructor together with your learner code, so they can see your progress. Use the codes your instructor gave you, and do not enter your name, company secrets or other personal data. Progress is kept with the rest of that session's data.

Learning objectives

  • Distinguish Verification (is the result correct or acceptable?) from Reflection (why did the strategy succeed or fail, and what should change?)
  • Walk through the layers: Action, Result, Verify Result, Evaluate Progress, Reflect on Strategy
  • Tell outcome evaluation from process evaluation, and choose an external or human evaluator
  • Recognize six Reflection failure modes and design Self-Reflection with clear limits instead of uncontrolled recursion
  • Complete Activity 5 and produce an Evaluation & Reflection Policy

Verification and evaluation

10 min

Verification is not Reflection

After an agent takes an Action, it gets a Result. Two different questions then follow, and mixing them up causes many design mistakes.

Core question

After the agent finishes a step, how does it judge whether the result can be trusted and whether the strategy needs to change?

Two different questions
VerificationReflection
QuestionIs the result correct or acceptable?Why did the strategy succeed or fail, and what should change?
Looks atThe Result of one stepThe approach across steps
Typical outputAccept, reject or retryKeep the plan, adjust it, or stop
Simulated exampleThe drafted reply cites a policy number that must match the policy documentThree replies in a row missed the policy, so change the search source
Evaluation layers
  1. Action: the agent does something
  2. Result: what came back
  3. Verify Result: is this result correct or acceptable?
  4. Evaluate Progress: are we closer to the Goal?
  5. Reflect on Strategy: why is it working or not, and what should change?

Info

Text version of the diagram: five layers in order, Action, Result, Verify Result, Evaluate Progress, Reflect on Strategy. Verification looks at the result, evaluation looks at progress toward the Goal, and reflection looks at the strategy.

Key takeaway: Verification asks whether this result is acceptable. Reflection asks why the strategy works or fails.

9 min

Outcome and process evaluation, and who evaluates

Evaluation can look at what was produced or at how it was produced. It can also be done by different evaluators, and the choice affects how far you can trust it.

Outcome versus process evaluation
KindWhat it checksSimulated example
Outcome evaluationWhether the final result meets the GoalThe reply answers the employee question and matches the policy
Process evaluationWhether the steps taken were sound, safe and within limitsThe agent searched an approved source and did not skip a required approval
Who or what evaluates
EvaluatorStrengthLimit
The agent itselfFast and always availableShares its own blind spots and may be confident but wrong
External evaluatorA rule, a reference source or a separate check gives independent evidenceOnly as good as the rule or source
Human evaluatorBrings judgment, context and accountabilitySlower and costs attention, so use it where impact is high

Warning

Confidence is not evidence. Evidence is something that can be checked, such as a source, a rule result or a reviewer decision.
Check yourself

The final answer is correct, but the agent skipped a required approval on the way. Which kind of evaluation would catch this?

The final answer is correct, but the agent skipped a required approval on the way. Which kind of evaluation would catch this?

Key takeaway: Check both what was produced and how. Prefer external or human evidence for important results.

Reflection, limits and failures

9 min

Self-Reflection: what it is and its limits

Self-Reflection means the agent looks back at its own approach: what it tried, what happened, and what it should do differently. Done well, it turns a failed attempt into a better next attempt. Done badly, it burns effort without improving anything.

What Reflection can and cannot do
Reflection canReflection cannot
Notice a pattern across attemptsCreate facts the agent never observed
Suggest a change of source, order or approachProve that its own answer is correct
Decide that more effort is not paying offReplace human judgment on high-impact choices

A Reflection loop is one or more rounds of look back, adjust, try again. Every loop needs a limit, because each round costs time and can drift.

Info

Text version: a useful Reflection starts from new evidence, such as a failed check or an unexpected Observation. Without new evidence, there is little for the agent to learn from.
Check yourself

Which is a sound reason to reflect on the strategy?

Which is a sound reason to reflect on the strategy?

Key takeaway: Reflect when there is new evidence, and always bound the number of reflection loops.

9 min

Six Reflection failure modes

Evaluation and Reflection can fail in predictable ways. Knowing them helps you design guards in advance.

Failure modes and simple guards
Failure modeWhat goes wrongSimple guard
Confident but wrongThe agent sounds sure while being incorrectRequire a source, a rule check or a human for important results
Reflection without new evidenceThe agent rethinks but nothing new was observedTrigger reflection only after a failed check or new Observation
Endless self-critiqueThe agent keeps finding flaws and never finishesSet a maximum number of reflection rounds and a Stop Condition
Changing a good plan unnecessarilyA working plan is dropped because of vague doubtChange the plan only when evidence shows a real problem
Optimizing for evaluator preferenceThe agent shapes output to please the checker, not to meet the GoalUse several evaluators and keep the Goal visible
Ignoring external constraintsPolicy, budget, time or permissions are forgottenCheck constraints as part of every evaluation

Warning

Human, AI, Human still applies. When evaluation is uncertain on a high-impact step, use Human Escalation instead of letting the agent argue with itself.
Check yourself

An agent keeps critiquing its own draft and never sends it. Which failure mode is this, and what is a simple guard?

An agent keeps critiquing its own draft and never sends it. Which failure mode is this, and what is a simple guard?

Key takeaway: Name the failure modes in advance and add a guard for each: evidence, limits, stop conditions and humans.

9 min

Designing Self-Reflection without uncontrolled recursion

Reflection should be a designed step with clear boundaries, not an open loop where the agent reflects on its reflection forever. Five design choices keep it under control.

  1. Set a trigger
    Reflect only on named triggers, such as a failed verification or a surprising Observation.
  2. Require evidence
    A reflection must point to the evidence that prompted it.
  3. Limit the rounds
    Set a maximum number of reflection rounds, for example two, before moving on.
  4. Define the outputs
    A reflection ends in one of a few outcomes: keep the plan, adjust the plan, ask a human, or stop.
  5. Add a Stop Condition and escalation
    When the limit is reached without progress, stop or use Human Escalation.
A bounded reflection step
  1. Trigger: a check failed or something unexpected was observed
  2. Reflect: what went wrong and what is the evidence?
  3. Decide: keep the plan, adjust it, ask a human, or stop
  4. Count: one round used, and stop if the limit is reached

Info

Text version of the diagram: a trigger starts one round of reflection. The round ends in a decision and increases a counter. If the counter reaches the limit, the agent stops or escalates to a person.
Check yourself

Which design keeps Self-Reflection from becoming uncontrolled recursion?

Which design keeps Self-Reflection from becoming uncontrolled recursion?

Key takeaway: A designed reflection step has a trigger, evidence, a round limit, defined outputs and a stop or escalation.

Practice and deliverable

9 min

Activity 5: Verify or Reflect?

For each simulated scenario, choose the best response. Then use your choices to write an Evaluation & Reflection Policy.

The five choices
ChoiceUse when
VerifyYou need to know whether one result is correct or acceptable
EvaluateYou need to know whether progress toward the Goal is being made
ReflectNew evidence suggests the strategy itself may need to change
Ask a humanThe impact is high, the evidence is unclear or judgment is needed
StopThe Goal is met, or the limit is reached, or continuing is unsafe
  1. Read the scenario
    Note the latest Result and any new evidence.
  2. Choose one response
    Pick Verify, Evaluate, Reflect, Ask a human or Stop, and give a short reason.
  3. Write the policy
    Summarize your triggers, evaluators, reflection limits, human escalation rules and stop conditions as an Evaluation & Reflection Policy.

Warning

Privacy reminder: use simulated or already-public scenarios. Do not enter company secrets, client personal data or unauthorized sensitive information.
Check yourself

A simulated agent has just drafted a reply that quotes a policy number. What is the best first response?

A simulated agent has just drafted a reply that quotes a policy number. What is the best first response?

Key takeaway: Choose Verify, Evaluate, Reflect, Ask a human or Stop, and record your rules in an Evaluation & Reflection Policy.

What next?