Test an agent
You change a prompt, and the agent does one task better. Did the change break a different task? You cannot know from one try. So you keep a fixed set of tasks and run all of them before and after each change. Then you compare the two runs. The count of passes is not sufficient: a change can repair one task and break one, and the count stays the same. So you also list each task that passed before and fails now.
About this lesson
Words to know
- evaluation set
- A fixed list of test questions with their correct answers or documents, used to measure a system the same way every time.
- regression
- A change that breaks, or makes worse, something that used to work.
Why it matters
Teams that ship agents run such a set on each change of a prompt, a tool or a model. A change with a broken task does not ship before a person examines it.
With a year
How it works, a worked example, the exercise with its tests, three hints and the explained solution are in the app, with a year of Algo150 for $29 or ₾49. The first chapter, Model foundations, is free for everyone: start with Vector dot product.