Skip to main content

DEFAULT_TOLERANCE

Constant DEFAULT_TOLERANCE 

Source
pub const DEFAULT_TOLERANCE: Tolerance;
Available on crate feature snapshot only.
Expand description

The tolerance a snapshot gets when it names none: the perceptual floor DEFAULT_MIN_SCORE, with no bound on how many pixels may stand out.

The outlier allowance is off by default because it is the blunter gate: a frame can stay inside it while differing over exactly the few pixels that matter. A snapshot that needs it has content the two gates disagree about — hard edges that a second implementation may place differently — and should carry the measurements that justify its bound, as the instanced-cube test does.