Eval-Driven Development
In this article
- Set a baseline and name the slice that must improve and the slices that must not drop, before any change is made.
- Explain why each comparison changes one lever on the same cases, grader and settings.
- Accept or reject a change from its results per slice, not from one overall score.
- Spot the ways a comparison fools its team, such as tuning on the cases that judge the change.
Overview
A feature failed in front of real customers, and three people have three fixes: change the instructions, use a bigger model, give the assistant more reading material. Which do you try first, and how do you know it worked? The running example is Brightline, a made-up home-internet provider whose support assistant can now switch a customer to another plan through a tool called change_plan. In its first small release to real customers, people on a minimum-term contract were switched without hearing about the early-termination fee. Afterwards you can measure the current version before touching anything, change one thing per run, and accept or reject a change by the group of cases it affects.
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
- Measure before you touch anything
- What can change behaviour
- One lever per run
- Three candidates, one table
- Reading the table by slice
- How the comparison gets fooled
- Sources
- Check yourself, 13 questions