The effector pack checks ALE, RHALE, PDP, ShapDP, FeatureEffect, regional heterogeneity (find_regions), and deprecated binning or schema helpers against effector 0.6 on files that import effector.
| Rules |
Safe fix |
Unsafe fix |
Manual fix |
| 8 |
2 |
0 |
6 |
| Rule |
Severity |
Fix |
What it finds |
| ale-non-fixed-binning |
error |
none |
effector.ALE.fit() validates binning_method and raises ValueError unless it is "fixed" or an effector.axis_partitioning.Fixed instance. |
| mask-and-rule-conflict |
error |
none |
Effector query methods (eval, eval_heter, heter_score, importance, importances, plot, payload) accept either a boolean mask= or a rule= string/Rule, never both. |
| find-regions-feature-conflict |
error |
none |
find_regions() checks if (feature is None) == (features is None) and raises ValueError. |
| feature-effect-uncentered-plot |
warning |
none |
effector.FeatureEffect.plot() compares multiple methods (such as PDP, ALE, and RHALE) that have different uncentered baselines. |
| invalid-shap-backend |
error |
none |
effector.ShapDP(..., backend=...) raises ValueError for any backend other than "shap" or "shapiq". |
| unseeded-random-state |
warning |
none |
Effector defaults to random_state=21 for reproducible subsampling and region partitioning. |
| Rule |
Severity |
Fix |
What it finds |
| deprecated-greedy-binning |
warning |
safe |
"greedy" and effector.axis_partitioning.Greedy are deprecated aliases for "agglomerative" and effector.axis_partitioning.Agglomerative in effector 0.6. |
| deprecated-get-feature-types |
warning |
safe |
effector.utils.get_feature_types() emits a DeprecationWarning in effector 0.6. |