Skip to main content

Module controls

Module controls 

Source
Expand description

Generic threshold-based controls suggestion engine.

Evaluates a set of ThresholdRules against a QualityReport and produces ControlsSuggestions when metrics breach their thresholds. This module is pure computation (no I/O, no Karvi dependency).

Structs§

ControlsSuggestion
A suggestion produced by evaluating a rule against a quality report.
ThresholdRule
A threshold rule: when a metric breaches the threshold, suggest an action.

Enums§

MetricKind
Which metric a threshold rule evaluates.
ThresholdOp
Comparison operator for threshold evaluation.

Functions§

evaluate_controls_rules
Evaluate threshold rules against a quality report.