Evals

Your coding agent reviews its own patch, says “looks correct”, and ships it.

Half of these patches break the build.

  1. AAsk it to review the patch twice and only ship when both reviews agree
  2. BGive it a stricter reviewer persona in the system prompt
  3. CRun the build and tests; ship only on green
  4. DLower the temperature so the review is more careful and consistent

Answer: C

Run the build and tests; ship only on green

Why

A model judging its own work shares its own blind spots, so a second opinion from the same model, a sterner persona or a lower temperature still rests on opinion. A build and tests are an outside signal that does not care how confident the agent sounds.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path