Follow-ups from the xpd model-review ledger#4
Migrated from GitHub issue bjoernaagaard/xpd#45.
Follow-ups reported during independent verification of PR #44 (xpd model-review).
1. split-mismatch misses cv= on cross_val_score
split-mismatch misses a time or group splitter passed as cv= to cross_val_score.
Repro: def f(X, y, groups): X_train, X_test, y_train, y_test = train_test_split(X, y); scores = cross_val_score(Ridge(), X, y, groups=groups, cv=GroupKFold(n_splits=3)), and likewise cv=TimeSeriesSplit(n_splits=3). xpd model-review reports no split-mismatch. Only splitter.split(X, y) is recognized (src/model_review/model_static.rs split_conflict).
2. Forwarded sklearn/tune-on-test finding carries no model ID
The forwarded sklearn/tune-on-test finding carries no model ID even when the loop's binding resolves.
Repro: the D2 bad.py tune_on_test, with model = Ridge(alpha=alpha) inside the loop. The finding f730ba43 has no model key, while the binding tune_on_test.model is inventoried (cc4bf9f6) and the forwarded mapie finding gets its model.
3. Overlap error names only one role
The overlap error names one role only. With fold['calibration'] = fold['validation'][:3] the adapter error is Fold 1 has overlapping or duplicate rows in validation., which does not say which roles intersect (py/model_facts.py fold_roles).
4. Shared help text mentions unrelated flags and metrics
xpd model-review start --help lists the shared --bench, --bench-runs and --target <COLUMN> Target column for data-prep, and the start and finish help mention line count and benchmark timing. None of these apply to model-review.
5. Plan-stage next.text omits recorded paths and adapter
The plan-stage next.text says Read the ledger with \xpd model-review --format json`` without the recorded paths and adapter, while the reference says to repeat them.