Preparing the test suite…
Chapter 7 of 7
Release day
The team has a test set, checked graders and a feel for flaky cases. New versions wait to replace the one Larkspur ships.
This chapter: What rule should decide whether a new version ships, and what can fool it?
About this chapter
You will learn
- How a release gate turns a test run into ship or do not ship
- Why a pass-rate bar alone lets a regression through
- Why the gate is only as good as its grader, and its number of runs
Words you’ll meet
- Baseline
- The version that ships today. Every candidate is compared against it, question by question.
- Candidate
- A new version that wants to replace the baseline.
- Release gate
- The rule that decides, from a test run, whether a candidate ships.
- Threshold
- The pass rate a candidate must reach to ship, like 75% of the test set.
Step 1 of 3
v1 is the . This ships any reaching its , so v2 ships despite its regression.
Make it ship v3, block v2.
v2: Bigger pieces: 48 words. Baseline v1: 32-word pieces, the best 3 sent (RAG’s defaults).