skore/metrics-frame-verbose-flat-index
| Pack | Severity | Fix | Versions |
|---|---|---|---|
| skore | error | none, edit by hand | All versions |
MetricsSummaryDisplay.frame(verbose_name=True, flat_index=True) raises ValueError("verbose_name=True is incompatible with flat_index=True.") in skore.
df = report.metrics.summarize().frame(verbose_name=True, flat_index=True)df = report.metrics.summarize().frame(verbose_name=False, flat_index=True)What the rule reports
Section titled “What the rule reports”Calls to .frame(...) passing both verbose_name=True and flat_index=True.
How to fix it
Section titled “How to fix it”Set flat_index=False to keep human-readable metric names, or set verbose_name=False when flattening the index.
Diagnostic message
Section titled “Diagnostic message”verbose_name=True is incompatible with flat_index=True in skore MetricsSummaryDisplay.frame() and raises ValueError. Set either flat_index=False or verbose_name=False.See all rules in the skore pack.