# Visual regression noise benchmark

> Evaluate screenshot thresholds against labelled UI changes. Count missed layout regressions and harmless differences sent to reviewers.

Source: https://cueapril.com/benchmarks/visual-assertion-noise
Updated: 2026-12-01
Index: https://cueapril.com/llms.txt

## 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.

Changing a screenshot tolerance can quiet noise and also hide the defect the team needs to catch. Use human-labelled paired images to reveal both effects.

[Download the blank benchmark scorecard](https://cueapril.com/downloads/qa-worksheets/visual-assertion-noise.csv)

## 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.

Scoring worksheet and illustrative observations

| 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.

## Primary documentation

- [Playwright screenshot comparison documentation](https://playwright.dev/docs/test-snapshots)
- [QA metrics for release decisions](/guides/qa-metrics)

By Cue April. Updated 2026-12-01.

## Related

- [QA benchmarks](https://cueapril.com/benchmarks): Evaluate AI-generated tests, report quality and feedback time with defined workloads. Inspect scoring rules, example calculations and evidence limits.
- [Evaluation playbooks](https://cueapril.com/playbooks/blind-qa-vendor-trial): Compare QA vendors using the same hidden faults, scoring rules and evidence requirements. Keep known answers away from test authors during the trial.
- [2027 agentic testing report](https://cueapril.com/guides/agentic-testing-2027): Where agentic QA fits after a Claude Code or Codex pull request, our 2027 outlook for browser and computer-use testing, and what six AI-written tests caught.
