The skore pack checks report evaluation, metric summaries, comparison reports, and deprecated accessors against skore 0.29 on files that import skore.
| Rules |
Safe fix |
Unsafe fix |
Manual fix |
| 5 |
1 |
0 |
4 |
| Rule |
Severity |
Fix |
What it finds |
| deprecated-data-analyze |
warning |
safe |
report.data.analyze() is a deprecated alias for report.data.summarize() and emits a FutureWarning in skore 0.29. |
| metrics-frame-verbose-flat-index |
error |
none |
MetricsSummaryDisplay.frame(verbose_name=True, flat_index=True) raises ValueError("verbose_name=True is incompatible with flat_index=True.") in skore. |
| confusion-matrix-data-source-both |
error |
none |
Unlike metrics.summarize(data_source="both"), report.metrics.confusion_matrix(data_source="both") raises ValueError("data_source='both' is not supported for confusion_matrix."). |
| comparison-report-too-few |
error |
none |
ComparisonReport and skore.compare require at least two reports and raise ValueError("Expected at least 2 reports to compare") when given an empty or single-element list or dict. |
| evaluate-invalid-string-splitter |
error |
none |
skore.evaluate(..., splitter=...) accepts a float test fraction, an integer fold count, a scikit-learn cross-validation splitter, or the literal string "prefit". |