testers module
Regroup the functions dedicated to testing data.
They are used by SimulationOutputEvaluator. They all take a value and
limits/upper or lower or objective value as arguments, and return a boolean.
- value_is_within_limits(treated_value: ndarray | float, limits: tuple[ndarray | float, ndarray | float], **kwargs: bool) bool
Test if the given value is within the given limits.
- value_is_above(treated_value: ndarray | float, lower_limit: ndarray | float, **kwargs: bool) bool
Test if the given value is above a threshold.