The interpret pack checks Explainable Boosting Machine (EBM) monotonicity and interaction invariants, reproducibility seeds, and blackbox explainer background hygiene against interpret-core 0.7.8 on files that import interpret.
| Rules |
Safe fix |
Unsafe fix |
Manual fix |
| 5 |
0 |
0 |
5 |
| Rule |
Severity |
Fix |
What it finds |
| ebm-monotonize-with-interactions |
warning |
none |
ExplainableBoostingClassifier.monotonize() and ExplainableBoostingRegressor.monotonize() apply isotonic regression only to a single univariate main-effect term and do not modify pairwise interaction terms. |
| ebm-invalid-monotonize-args |
error |
none |
EBM.monotonize(term, increasing="auto", passthrough=0.0) accepts only "auto", True, False, or None for increasing, and requires passthrough in [0.0, 1.0]. |
| ebm-invalid-interactions |
error |
none |
ExplainableBoostingClassifier and ExplainableBoostingRegressor reject negative interactions, floats >= 1.0 (which cannot be a percentage and must be an int), and strings that do not end in "x" (such as "auto" or "5"). |
| Rule |
Severity |
Fix |
What it finds |
| ebm-unseeded-random-state |
warning |
none |
ExplainableBoostingClassifier and ExplainableBoostingRegressor default to random_state=42. |
| blackbox-background-from-test |
warning |
none |
InterpretML blackbox explainers (LimeTabular, ShapKernel, MorrisSensitivity, PartialDependence) use their data argument to estimate feature distributions, sampling bounds, and baseline expectations. |