How do thresholds trade false alarms against unnoticed layout defects?
Freeze fonts, viewport, theme and device scale. Construct image pairs with true layout defects, harmless dynamic regions and unchanged controls.
How to score the comparison
True defects caught and clean images flagged. Keep the underlying case-level observations available so another reviewer can audit the denominator.
| Record | What to enter |
|---|---|
| Workload | Freeze fonts, viewport, theme and device scale. Construct image pairs with true layout defects, harmless dynamic regions and unchanged controls. |
| Measure | True defects caught and clean images flagged |
| Worked numbers | Example only: threshold A catches 9/10 defects and flags 6/40 clean pairs. Threshold B catches 7/10 and flags 1/40. |
Interpreting the worked example
The quieter threshold saves five false alerts at the cost of two missed defects. Their customer impact determines whether to accept that trade.
Making the release decision
Use region masks only where changing pixels have no bearing on the requirement. Repeat the labelled set after calibration.