Review & debugging

Answer quality was fine last week.

Since then a batch of twelve prompt-and-tool changes merged, and the eval score dropped sharply.

  1. ABisect the changes - re-run evals across the range to isolate the culprit commit
  2. BRevert all twelve changes at once, then re-apply them one by one over the next releases as users confirm each one is fine
  3. CRewrite the whole prompt from scratch
  4. DGuess which change is worst and revert only that one

Answer: A

Bisect the changes - re-run evals across the range to isolate the culprit commit

Why

With a known-good baseline and a measurable eval, bisecting pinpoints the exact change that caused the drop. Reverting everything throws away eleven good changes, a full rewrite is slower and unproven, and guessing usually reverts the wrong one.

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