Checks catalog¶
This page is generated from the checker's registry each time the documentation is built, so it always matches
the installed version. Use the IDs with execute_list / exclude_list, display_detailed_results(test_id_list=...)
or the CLI's --tests. From Python, DataConsistencyChecker().get_test_catalog() returns the same information,
and demo_test("CHECK_ID") shows any check in action on synthetic data.
The checker currently implements 158 checks. 137 of them report patterns without exceptions by default (the short list), 71 are marked as fast, and 14 are specific to code or ID values.
| Column | Meaning |
|---|---|
| Short list | Patterns without exceptions are shown by default. Other checks' patterns need show_short_list_only=False; their exceptions are always reported. |
| Fast | Included when running with fast_only=True. |
| Code/ID | Specific to code or ID values; skipped with include_code_tests=False. |
Any column type¶
Single columns and pairs of columns of any type. 9 checks.
| Check | Description | Short list | Fast | Code/ID |
|---|---|---|---|---|
MISSING_VALUES |
Check if all values in a column are consistently present / consistently missing. | ✓ | ||
RARE_VALUES |
Check if there are any rare values in a column. | ✓ | ||
UNIQUE_VALUES |
Check if there are consistently unique values with a column. | ✓ | ✓ | |
PREV_VALUES_DT |
Check if the values in a column can be predicted from previous values in that column using a simple decision tree. | ✓ | ✓ | |
MATCHED_MISSING |
Check if two columns have missing values consistently in the same rows. | ✓ | ||
OPPOSITE_MISSING |
Check if two columns both frequently have null values, but consistently not in the same rows. | ✓ | ||
SAME_VALUES |
Check if two columns consistently have the same values. | ✓ | ||
SAME_OR_CONSTANT |
Check one column consistently has either the same value as another column, or a small number of other values. | ✓ | ||
UNIQUE_PAIR |
Check if two columns consistently have a unique pair of values. | ✓ |
Numeric¶
Numeric columns, alone or in pairs and larger sets. 53 checks.
| Check | Description | Short list | Fast | Code/ID |
|---|---|---|---|---|
POSITIVE |
Check if all numbers in a column are positive. | ✓ | ||
NEGATIVE |
Check if all numbers in a column are negative. | ✓ | ✓ | |
NUMBER_DECIMALS |
Check if there is a consistent number of decimal digits in each value in a column. | ✓ | ||
RARE_DECIMALS |
Check if there are any uncommon sets of digits after the decimal point. | ✓ | ✓ | |
COLUMN_ORDERED_ASC |
Check if a column is monotonically increasing. | ✓ | ✓ | |
COLUMN_ORDERED_DESC |
Check if a column is monotonically decreasing. | ✓ | ✓ | |
COLUMN_TENDS_ASC |
Check if a column is generally increasing. | ✓ | ✓ | |
COLUMN_TENDS_DESC |
Check if a column is generally decreasing. | ✓ | ✓ | |
SIMILAR_PREVIOUS |
Check if all values are similar to the previous value in the column, relative to the range of values in the column. | ✓ | ✓ | |
UNUSUAL_ORDER_MAGNITUDE |
Check if there are any unusual numeric values, in the sense of having an unusual order of magnitude for the column. | ✓ | ||
FEW_NEIGHBORS |
Check if there are any unusual numeric values, in the sense of being distant from both the next smallest and next largest values within the column. | ✓ | ||
FEW_WITHIN_RANGE |
Check if there are any unusual numeric values, in the sense of having few other values in the column within a small range. | ✓ | ||
VERY_SMALL |
Check if there are any very small values relative to their column. | ✓ | ✓ | |
VERY_LARGE |
Check if there are any very large values relative to their column. | ✓ | ✓ | |
VERY_SMALL_ABS |
Check if there are any very small absolute values relative to its column. | ✓ | ✓ | |
MULTIPLE_OF_CONSTANT |
Check if all values in a column are multiples of some constant. | ✓ | ✓ | |
ROUNDING |
Check if all values in a column are rounded to the same degree. | ✓ | ✓ | |
NON_ZERO |
Check if all values in a column are non-zero. | ✓ | ||
LESS_THAN_ONE |
Check if all values in a column are between -1.0 and 1.0, inclusive. | ✓ | ✓ | |
GREATER_THAN_ONE |
Check if all values in a column are less than -1.0 or greater than 1.0, inclusive. | ✓ | ||
INVALID_NUMBERS |
Check for values in numeric columns that are not valid numbers, including values that include parenthesis, brackets, percent signs and other values. | ✓ | ||
LARGER_DIFF_RANGE |
Check if one column is consistently larger than another, but within one order of magnitude, where the two columns have different ranges of values. | |||
LARGER_SAME_RANGE |
Check if one column is consistently larger than another column, where the two columns have the same range of values | ✓ | ||
MUCH_LARGER |
Check if one column is consistently at least one order of magnitude larger than another. | |||
SIMILAR_WRT_RATIO |
Check if two columns are consistently similar, with respect to their ratio, to each other. | ✓ | ||
SIMILAR_WRT_DIFF |
Check if two columns are consistently similar, with respect to absolute difference, to each other. | ✓ | ||
SIMILAR_TO_INVERSE |
Check if one column is consistently similar to the inverse of another column. | ✓ | ||
SIMILAR_TO_NEGATIVE |
Check if one column is consistently similar to the negative of another column. | ✓ | ||
CONSTANT_SUM |
Check if the sum of two columns is consistently similar to a constant value. | ✓ | ||
CONSTANT_DIFF |
Check if the difference between two columns is consistently similar to a constant value. | ✓ | ||
CONSTANT_PRODUCT |
Check if the product of two columns is consistently similar to a constant value. | ✓ | ||
CONSTANT_RATIO |
Check if the ratio of two columns is consistently similar to a constant value. | ✓ | ||
EVEN_MULTIPLE |
Check if one column is consistently an even integer multiple of another. | ✓ | ||
RARE_COMBINATION |
Check if two columns have any unusual pairs of values. | ✓ | ||
CORRELATED_NUMERIC |
Check if two numeric columns are consistently correlated. | ✓ | ||
MATCHED_ZERO |
Check if two columns have a value of zero consistently in the same rows. | ✓ | ||
OPPOSITE_ZERO |
Check if two columns are consistently such that one column contains a zero and the other contains a non-zero value. | ✓ | ||
RUNNING_SUM |
Check if one column is consistently the sum of its own value from the previous row and another column in the current row. | ✓ | ||
A_ROUNDED_B |
Check if one column is consistently the result of rounding another column. | ✓ | ||
MATCHED_ZERO_MISSING |
Check if two columns consistently have a zero in one column and a missing value in the other. | ✓ | ||
SIMILAR_TO_DIFF |
Check if one column is consistently similar to the difference of two other columns. | ✓ | ||
SIMILAR_TO_PRODUCT |
Check if one column is consistently similar to the product of two other columns. | ✓ | ||
SIMILAR_TO_RATIO |
Check if one column is consistently similar to the ratio of two other columns. | ✓ | ||
LARGER_THAN_SUM |
Check if one column is consistently larger than the sum of two other columns. | |||
SUM_OF_COLUMNS |
Check if one column is consistently similar to the sum of two or more other columns. | ✓ | ||
MEAN_OF_COLUMNS |
Check if one column is consistently similar to the mean of two or more other columns. | ✓ | ||
MIN_OF_COLUMNS |
Check if one column is consistently similar to the minimum of two or more other columns. | ✓ | ||
MAX_OF_COLUMNS |
Check if one column is consistently similar to the maximum of two or more other columns. | ✓ | ||
MATCHED_SET_POS_NEG |
Identify sets of columns where the values are consistently either all positive, or all negative. | ✓ | ||
MATCHED_SET_ZERO_NON_ZERO |
Identify sets of columns where the values are consistently either all zero or non-zero. | ✓ | ||
DECISION_TREE_REGRESSOR |
Check if a numeric column can be derived from the other columns using a small decision tree. | ✓ | ||
LINEAR_REGRESSION |
Check if a numeric column can be derived from the other numeric columns using linear regression. | ✓ | ||
PREDICT_NULL_DT |
Check if the Null values in one column can be predicted from the values in the other columns. | ✓ |
Dates and times¶
Date and time columns, and their relationships with other columns. 18 checks.
| Check | Description | Short list | Fast | Code/ID |
|---|---|---|---|---|
EARLY_DATES |
Check for dates significantly earlier than the other dates in the column. | ✓ | ✓ | |
LATE_DATES |
Check for dates significantly later than the other dates in the column. | ✓ | ✓ | |
UNUSUAL_DAY_OF_WEEK |
Check if a date column contains any unusual days of the week. | ✓ | ✓ | |
UNUSUAL_DAY_OF_MONTH |
Check if a date column contains any unusual days of the month. | ✓ | ✓ | |
UNUSUAL_MONTH |
Check if a date column contains any unusual months of the year. | ✓ | ✓ | |
UNUSUAL_HOUR |
Check if a datetime / time column contains any unusual hours of the day. This and UNUSUAL_MINUTES also identify where it is inconsistent if the time is included in the column. | ✓ | ✓ | |
UNUSUAL_MINUTES |
Check if a datetime / time column contains any unusual minutes of the hour. This and UNUSUAL_MINUTES also identify where it is inconsistent if the time is included in the column. | ✓ | ✓ | |
CONSTANT_DOM |
Check if a date column spans multiple months and the values are consistently the same day of the month | ✓ | ✓ | |
CONSTANT_LAST_DOM |
Check if a date column spans multiple months and the values are consistently the last day of the month | ✓ | ✓ | |
CONSTANT_GAP |
Check if there is consistently a specific gap in time between two date columns. | ✓ | ||
LARGE_GAP |
Check if there is an unusually large gap in time between dates in two date columns. | ✓ | ||
SMALL_GAP |
Check if there is an unusually small gap in time between dates in two date columns. | ✓ | ||
LATER |
Check if one date column is consistently later than another date column. | ✓ | ||
SAME_DATE |
Check if two date columns consistently contain the same date, but may have different times. | ✓ | ||
SAME_MONTH |
Check if two date columns consistently contain the same month, but may have different days or times. | ✓ | ||
CORRELATED_DATES |
Check if two date columns are correlated | ✓ | ||
LARGE_GIVEN_DATE |
Check if a numeric value is very large given the value in a given date column. | ✓ | ||
SMALL_GIVEN_DATE |
Check if a numeric value is very small given the value in a given date column. | ✓ |
Strings¶
String columns, including checks specific to code and ID values. 58 checks.
| Check | Description | Short list | Fast | Code/ID |
|---|---|---|---|---|
BLANK_VALUES |
Check for blank strings and values that are entirely whitespace. | ✓ | ||
LEADING_WHITESPACE |
Check for strings with unusual leading whitespace for the column. | ✓ | ✓ | |
TRAILING_WHITESPACE |
Check for blank strings with unusual trailing whitespace for the column. | ✓ | ✓ | |
FIRST_CHAR_ALPHA |
Check if the first characters are consistently alphabetic within a column. Intended primarily for ID/code columns. | ✓ | ✓ | |
FIRST_CHAR_NUMERIC |
Check if the first characters are consistently numeric within a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
FIRST_CHAR_SMALL_SET |
Check if there are a small number of distinct characters used for the first character within a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
FIRST_CHAR_UPPERCASE |
Check if the first character is consistently uppercase within a column. | ✓ | ✓ | |
FIRST_CHAR_LOWERCASE |
Check if the first character is consistently lowercase within a column. | ✓ | ||
LAST_CHAR_SMALL_SET |
Check if there are a small number of distinct characters used for the last character within a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
COMMON_SPECIAL_CHARS |
Check if there are one or more non-alphanumeric characters that consistently appear in the values within a column. | ✓ | ✓ | |
COMMON_CHARS |
Check if there is consistently a small number of characters repeated in each value in a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
NUMBER_ALPHA_CHARS |
Check if there is a consistent number of alphabetic characters in each value in a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
NUMBER_NUMERIC_CHARS |
Check if there is a consistent number of numeric characters in each value in a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
NUMBER_ALPHANUMERIC_CHARS |
Check if there is a consistent number of alphanumeric characters in each value in a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
NUMBER_NON-ALPHANUMERIC_CHARS |
Check if there is a consistent number of non-alphanumeric characters in each value in a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
NUMBER_CHARS |
Check if there is a consistent number of characters in each value in a column. | ✓ | ✓ | |
NONPRINTABLE_CHARS |
Check for features with non-printable characters. | ✓ | ✓ | |
MANY_CHARS |
Check if any values have an unusually large number of characters for the column. | ✓ | ||
FEW_CHARS |
Check if any values have an unusually small number of characters for the column. | ✓ | ||
POSITION_NON-ALPHANUMERIC |
Check if the positions of the non-alphanumeric characters is consistent within a column. | ✓ | ✓ | |
CHARS_PATTERN |
Check if there is a consistent pattern of alphabetic, numeric and special characters in each value in a column. | ✓ | ✓ | |
UPPERCASE |
Check if all alphabetic characters in a column are consistently uppercase. | ✓ | ✓ | |
LOWERCASE |
Check if all alphabetic characters in a column are consistently lowercase. | ✓ | ||
CHARACTERS_USED |
Check if there is a consistent set of characters used in each value in a column. Intended primarily for ID/code columns. | ✓ | ✓ | ✓ |
FIRST_WORD_SMALL_SET |
Check if there is a small set of words consistently used for the first word of each value in a column. | ✓ | ✓ | |
LAST_WORD_SMALL_SET |
Check if there is a small set of words consistently used for the last word of each value in a column. | ✓ | ✓ | |
NUMBER_WORDS |
Check if there is a consistent number of words used in each value in a column. | ✓ | ✓ | |
LONGEST_WORDS |
Check if a column contains any unusually long words. | ✓ | ✓ | |
COMMON_WORDS |
Check if there is a consistent set of words used in each value in a column. | ✓ | ✓ | |
RARE_WORDS |
Check if there are words which occur rarely in a given column. | ✓ | ✓ | |
GROUPED_STRINGS |
Check if a string or binary column is sorted into groups. | ✓ | ✓ | |
RARE_PAIRS |
Check for pairs of values in two columns, where neither is rare, but the combination is rare. | ✓ | ||
RARE_PAIRS_FIRST_CHAR |
Check for pairs of values in two columns, where neither begins with a rare character, but the combination or first characters is rare. Intended primarily for pairs of ID/code columns. | ✓ | ✓ | |
RARE_PAIRS_FIRST_WORD |
Check for pairs of values in two columns, where neither begins with a rare word, but the combination of words is rare. | ✓ | ||
RARE_PAIRS_FIRST_WORD_VAL |
Check for pairs of values in two columns, where the combination of the first word in one and the value in the other is rare. | ✓ | ||
SIMILAR_CHARACTERS |
Check if two string columns, with one word each, consistently have a significant overlap in the characters used. | ✓ | ||
SIMILAR_NUM_CHARS |
Check if two string columns consistently have similar numbers of characters while the range of string lengths varies within both columns. | ✓ | ||
SIMILAR_WORDS |
Check if two string columns consistently have a significant overlap in the words used. | ✓ | ||
SIMILAR_NUM_WORDS |
Check if two string columns consistently have similar numbers of words. | ✓ | ||
SAME_FIRST_CHARS |
Check if two string columns consistently start with the same set of characters. Intended primarily for pairs of ID/code columns. | ✓ | ✓ | |
SAME_FIRST_WORD |
Check if two string columns consistently start with the same word. | ✓ | ||
SAME_LAST_WORD |
Check if two string columns consistently end with the same word. | ✓ | ||
SAME_ALPHA_CHARS |
Check if two string columns consistently contain the same set of alphabetic characters. Intended primarily for pairs of ID/code columns. | ✓ | ✓ | |
SAME_NUMERIC_CHARS |
Check if two string columns consistently contain the same set of numeric characters. Intended primarily for pairs of ID/code columns. | ✓ | ✓ | |
SAME_SPECIAL_CHARS |
Check if two string columns consistently contain the same set of special characters. | ✓ | ||
A_PREFIX_OF_B |
Check if one column is consistently the prefix of another column. | ✓ | ||
A_SUFFIX_OF_B |
Check if one column is consistently the suffix of another column. | ✓ | ||
B_CONTAINS_A |
Check if one column is consistently contained in another columns, but is neither the prefix, nor suffix of the second column. | ✓ | ||
CORRELATED_ALPHA_ORDER |
Check if the alphabetic orderings of two columns are consistently correlated. | ✓ | ||
LARGE_GIVEN_VALUE |
Check if a value in a numeric column is very large given the value in a categorical column. | ✓ | ||
SMALL_GIVEN_VALUE |
Check if a value in a numeric column is very small given the value in a categorical column. | ✓ | ||
LARGE_GIVEN_PREFIX |
Check if a value in a numeric column is very large given the first word in a categorical column. | ✓ | ||
SMALL_GIVEN_PREFIX |
Check if a value in a numeric column is very small given the first word in a categorical column. | ✓ | ||
GROUPED_STRINGS_BY_NUMERIC |
Check if a string or binary column is sorted into groups when the table is ordered by a numeric or date column. | ✓ | ||
LARGE_GIVEN_PAIR |
Check if a value in a numeric or date column is large given a pair of values in two string or binary columns. | ✓ | ||
SMALL_GIVEN_PAIR |
Check if a value in a numeric or date column is small given the a of values in two string or binary columns. | ✓ | ||
CORRELATED_GIVEN_VALUE |
Check if two numeric columns are correlated if conditioning on a string or binary column. | ✓ | ||
DECISION_TREE_CLASSIFIER |
Check if a categorical column can be derived from the other columns using a decision tree. | ✓ |
Binary¶
Columns with exactly two distinct values. 11 checks.
| Check | Description | Short list | Fast | Code/ID |
|---|---|---|---|---|
BINARY_SAME |
For each pair of binary columns with the same set of two values, check if they consistently have the same value. | ✓ | ||
BINARY_OPPOSITE |
For each pair of binary columns with the same set of two values, check if they consistently have the opposite value. | ✓ | ||
BINARY_IMPLIES |
For each pair of binary columns with the same set of two values, check if when one has a given value, the other consistently does as well, though the other direction may not be true. | ✓ | ||
BINARY_AND |
For sets of binary columns with the same set of two values, check if one column is consistently the result of ANDing the other columns. | ✓ | ||
BINARY_OR |
For sets of binary columns with the same set of two values, check if one column is consistently the result of ORing the other columns. | ✓ | ||
BINARY_XOR |
For sets of binary columns with the same set of two values, check if one column is consistently the result of XORing the other columns. | ✓ | ||
BINARY_NUM_SAME |
For sets of binary columns with the same set of two values, check if there is a consistent number of these columns with the same value. | ✓ | ||
BINARY_RARE_COMBINATION |
Check for rare sets of values in sets of three or more binary columns. | ✓ | ||
BINARY_MATCHES_VALUES |
Check if the binary column is consistently one value when the values in a numeric column have low values, or when they have high values. | ✓ | ||
BINARY_TWO_OTHERS_MATCH |
Check if a binary column is consistently one value when two other columns have the same value as each other. | ✓ | ||
BINARY_MATCHES_SUM |
Check if the binary column is consistently true when the sum of a set of numeric columns is over some threshold. | ✓ |
Sets of columns¶
Three or more columns, or checks across whole rows. 9 checks.
| Check | Description | Short list | Fast | Code/ID |
|---|---|---|---|---|
C_IS_A_OR_B |
Check if one column is consistently equal to the value in one of two other columns, though not consistently either one of the two columns. | ✓ | ||
TWO_PAIRS |
Check that, given two pairs of columns, the first pair of columns have matching values in, and only in, the same rows as the other pair of columns. | ✓ | ||
UNIQUE_SETS_VALUES |
Check if a set of columns has consistently unique combinations of values. | ✓ | ||
MISSING_VALUES_PER_ROW |
Check if there is a consistent number of missing values per row. | ✓ | ✓ | |
ZERO_VALUES_PER_ROW |
Check if there is a consistent number of zero values per row. | ✓ | ✓ | |
UNIQUE_VALUES_PER_ROW |
Check if there is a consistent number of unique values per row. | ✓ | ✓ | |
NEGATIVE_VALUES_PER_ROW |
Check if there is a consistent number of negative values per row. | ✓ | ✓ | |
SMALL_AVG_RANK_PER_ROW |
Check if the numeric values in a row have a small average percentile value relative to their columns. This indicates the numeric values in a row are typically unusually small for their columns. | ✓ | ||
LARGE_AVG_RANK_PER_ROW |
Check if the numeric values in a row have a large average percentile value relative to their columns. This indicates the numeric values in a row are typically unusually large for their columns. | ✓ |