Guided task
Reproduce and Bound a Bug
Reduce a failure to its smallest repeatable case, then test the edges and record a baseline.
A reproduction is useful only when another person can run it and see the same result. This path moves from reduction to boundary cases to a measurement that can be compared later.
Reading path
Follow the checks
- 01 Writing a Minimal Reproduction Delete everything the failure does not need, one element at a time, keeping only the deletions that leave the failure unchanged. The result is one small runnable case with exact versions, commands, and observed output.
- 02 Designing Boundary Tests Test each limit itself, one step inside it, and one step outside it, plus the empty case and a typical interior value. Boundaries deserve their own tests because comparisons fail by one exactly there.
- 03 Recording a Performance Baseline Before two timings can be compared, fix and record the machine, toolchain, build flags, input data, warmup, and measurement statistic. Treat the spread between identical runs as the noise floor and only claim differences that exceed it.