Skip to content

datalets 1.0.1 — zero unexplained test debt

Choose a tag to compare

@nashit8421 nashit8421 released this 30 Jul 07:36

Follow-up hardening on 1.0: every remaining non-pass in the test suite is now either fixed or precisely attributed to a documented design decision.

  • cv= accepts explicit (train, test) splits — sklearn's third cv form (any iterable of index pairs, including generators) works on all estimators and honest_cv: materialized once, bounds-checked with a clear error, remapped to each cluster slice's rows, and content-hashed into checkpoint keys. Previously this form crashed.
  • Three estimators now pass check_estimator with no exemptions at all (TournamentClassifier, TournamentRegressor, PartitionedRegressor). The former 17 blanket exemptions (4 silently stale) are now 10, scoped per estimator to two documented design decisions: tuned thresholds are not argmax (the same exemption scikit-learn grants its own TunedThresholdClassifierCV), and X-only clustering is unweighted by design.

614 passed, 10 xfailed, 0 xpassed.