Thresholds¶
evaluate_thresholds ¶
evaluate_thresholds(comparison: Comparison, thresholds: Mapping[str, Mapping[str, Any]]) -> ThresholdResult
Check metric values against limits; see the module docstring.
ThresholdCheck
dataclass
¶
ThresholdCheck(metric: str, sample: str, group: str, value: float, limits: dict[str, float], passed: bool, message: str, point: dict[str, Any] = dict())