Continue running check_constraints_are_satisfied
beyond first failure
#436
Labels
enhancement
New feature or request
What would you like to enhance and why? Is it related to an issue/problem?
check_constraints
seems to return only the first failure it encounters.I have a pipeline that runs for a fairly long time until these types of failures are encountered and they are non-trivial to predict (skillmodels running 3 out of 4 factor models individually to get start parameters with cross-factor constraints), so debugging takes quite a bit of time.
Describe the solution you'd like
As usual with "test failures" (same kind of problem), it would be great to see all constraints that are violated at once.
I must admit that with the function name (
check_constraints_are_satisfied
) and docstring ("Raises: ValueError if constraints are not satisfied`) I was expecting this type of behaviour.Describe alternatives you've considered
If the above proves difficult, at a minimum change the docstring to:
The text was updated successfully, but these errors were encountered: