If both failing_channels_threshold and failing_channels_ratio_threshold
are set, the check passes if EITHER condition is satisfied (or both).
Attributes
failing_channels_threshold
Absolute threshold for the number of failing
channels allowed before triggering a review status. If None, absolute
count tolerance is not applied. If both failing_channels_threshold and
failing_channels_ratio_threshold are specified, the check passes if EITHER
condition is satisfied (or both).
failing_channels_ratio_threshold
The maximum ratio (between 0.0 and 1.0) of
failing channels allowed before triggering a review status. If None, ratio
tolerance is not applied. If both failing_channels_threshold and
failing_channels_ratio_threshold are specified, the check passes if EITHER
condition is satisfied (or both).
Checks if the number and ratio of failing channels are within threshold.
If both thresholds are specified, the check passes if EITHER condition is
satisfied (or both). If no threshold is set, returns True only when
n_failing == 0.
Args
n_failing
The number of failing channels.
n_total
The total number of channels evaluated.
Returns
True if the failing channels are within the tolerance threshold(s), False
otherwise.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-14 UTC."],[],[]]