Follow-ups from the xpd data-prep ledger#1
Migrated from GitHub issue bjoernaagaard/xpd#38.
Order interference in the scaler rule
scaler-fit-before-split fires alone on v3.py (X_scaled = scaler.fit_transform(X) then train_test_split(X_scaled)). It is suppressed in the same file when a prefit-before-cross-validation fault (imputer.fit_transform then cross_val_score(model, X_imp, y)) follows it. Reordering the faults restores it.
Probe results:
- scaler alone:
[scaler-fit-before-split] - scaler then imputer CV:
[prefit-before-cross-validation]only - imputer CV then scaler: both
Cases still pass with the faults ordered, but a file with scaler first and CV after loses the scaler finding.
Rule count naming
The implementation ships 7 rule files for the five named kinds. The extra polars ids polars-join-key-unvalidated and polars-silent-dtype-coercion map to the same ledger kinds in survey.rs. There is no sample impact (D4 added only pandas/silent-dtype-coercion), but the "five new rules" counts differ between rules/ and the kind space.
Tree adapter message for the target column
The tree adapter also returns "none (tree model)" for the target column instead of a target-specific message. D7 passes literally (no scaling recommended for every column).