Boss lesson · Unit 04
Is the agent any good?
Grade outcomes and paths, count the cost, and distrust one lucky run
What you practise
- Task success against the path it took, cost per task, flaky runs and repeated trials, a design review of a multi-agent system
Try a question from this lesson
Pick one
Two agents fix the same bug and the tests pass for both. X took 6 steps. Y took 40, and deleted and restored a folder on the way. What does a tests-only grader miss?
Correct answer
The path: the cost, and the risks taken on the way
Why
The outcomes match and the paths do not. Y cost several times more and passed through a state where one crash would have lost a folder. A full picture grades the result and also looks at how it was reached.
The ideas
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Outcome and trajectory
Grade the outcome first: is the end state what the task asked for? Check it with code, not with the agent's own summary: the tests pass, the row exists, the file has the change.
Then look at the trajectory: how many steps, how many tokens, and whether anything happened that must never happen. A run that passes by a dangerous path is still a failed run.
Concept
Small sets, noisy numbers
Agent evals are small, because each task is slow and costly to run. On 20 tasks, a single flip moves the score by 5 points.
Before believing that a change helped, run each task several times, look at which tasks flipped in each direction, and read the failed traces. The traces tell you why; the score only tells you that.
9 more exercises in the app
- 3× type the answer
- 1× true or false
- 1× fill the blanks
- 3× multiple choice
- 1× order the lines
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.