FailureInfo.cooccurrence_counts#
- FailureInfo.cooccurrence_counts() dict[frozenset[str], int][source]#
The number of validation failures per co-occurring rule validation failure.
In contrast to
counts(), this method provides additional information on whether a rule often fails because of another rule failing.- Returns:
A list providing tuples of (1) co-occurring rule validation failures and (2) the count of such failures.
Attention
This method should primarily be used for debugging as it is much slower than
counts().