Skip to content

fix: IPython completion doesn't work consistently for EstimatorReports #2386

@auguste-probabl

Description

@auguste-probabl

Describe the bug

I'm having issues with tab completion of EstimatorReport instances. Strangely enough it doesn't seem to affect ComparisonReports the same way, although it's hard to isolate what might be going wrong. Would appreciate if readers of this could try to reproduce the issue.

Steps/Code to Reproduce

from sklearn.datasets import load_iris
from sklearn.ensemble import RandomForestClassifier
from skore import train_test_split, EstimatorReport

X, y = load_iris(return_X_y=True, as_frame=True)
split_data = train_test_split(X=X, y=y, shuffle=False, as_dict=True)
report = EstimatorReport(RandomForestClassifier(), **split_data)

report.<tab> # nothing happens

Expected Behavior

A list of available methods and attributes

Actual Behavior

Nothing

Environment

ipython 9.9.0

System:
    python: 3.13.9 (main, Oct 14 2025, 13:52:31) [GCC 14.3.0]
executable: /home/auguste/Desktop/work/skore/skore/.venv/bin/python3
   machine: Linux-6.12.59-x86_64-with-glibc2.40

Python dependencies:
        skore: 0.0.0+unknown (main)
          pip: 25.2
    anywidget: 0.9.21
      ipython: 9.9.0
   ipywidgets: 8.1.8
       joblib: 1.5.3
   matplotlib: 3.10.8
        numpy: 2.4.0
       pandas: 2.3.3
       plotly: 6.5.2
         rich: 14.2.0
 scikit-learn: 1.8.0
      seaborn: 0.13.2
 skore[local]: None
        skrub: 0.7.1
skore-hub-project: 0.0.0+unknown (main)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions