Task-Level and Step-Level Evaluation
In this article
- Grade a set of agent runs on their end result alone and say which pass.
- Spot a step that breaks a hard rule even when the end result is right.
- Tell a harmless difference in path from a failure, and keep it as a note that does not change the verdict.
- Explain why one recorded sequence of steps makes a poor definition of a correct run.
- Terms defined here: trajectory, task-level evaluation, step-level evaluation.
Overview
Two runs of a support assistant refund the same $30 on the same order and send the same reply. One went straight there. The other first opened an order that belongs to a different customer. A test that compares only the end result passes both. A test that demands one exact sequence of steps passes the first run, fails the second, and also fails every harmless detour the assistant takes next week. Neither test is the one you want.
In a made-up example, Brightline, a home-internet provider, runs a support assistant that looks up orders, refunds at most $50 and hands conversations to a person; its team grades whole runs on one request, a customer asking for $30 back on a router. The goal here: given a set of runs, sort each one into "passes on the result", "breaks a rule on the way" or "differs only by a path that does no harm", and say which check found it.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Three runs of the router refund
- Grading the outcome
- Where the path is the rule
- Diagnosis without a verdict
- The three questions at work
- Common mistakes
- Sources
- Check yourself, 13 questions