import pointblank as pb
import polars as pl
multi = pb.MultiValidate(
*[
pb.Validate(data=pl.DataFrame({"a": a})).col_vals_gt(columns="a", value=0).interrogate()
for a in ([1, 2, 3], [4, -5, 6])
]
)
multi.all_passed()False
Determine if every step of every run passed.
Usage
A run passes when Validate.all_passed() is True for it: every active step was evaluated and had no failing test units. Thresholds don’t affect this; for a verdict based on threshold levels, use above_threshold().
boolTrue if every run passed (or if there are no runs), False otherwise.
Of these two runs, the second has a failing test unit:
import pointblank as pb
import polars as pl
multi = pb.MultiValidate(
*[
pb.Validate(data=pl.DataFrame({"a": a})).col_vals_gt(columns="a", value=0).interrogate()
for a in ([1, 2, 3], [4, -5, 6])
]
)
multi.all_passed()False
So the set as a whole doesn’t pass.