Skip to content

perf: Lazy-load display and plotting backends - #3233

Draft
thomass-dev wants to merge 1 commit into
move-imports-in-tye-checkingfrom
lazy-imports
Draft

perf: Lazy-load display and plotting backends#3233
thomass-dev wants to merge 1 commit into
move-imports-in-tye-checkingfrom
lazy-imports

Conversation

@thomass-dev

@thomass-dev thomass-dev commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

@thomass-dev thomass-dev self-assigned this Aug 25, 2026
@thomass-dev
thomass-dev changed the base branch from main to move-imports-in-tye-checking August 25, 2026 15:26
@thomass-dev
thomass-dev force-pushed the lazy-imports branch 2 times, most recently from fc25be4 to 94e71cd Compare August 25, 2026 15:48
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Coverage

Coverage Report for skore/
FileStmtsMissBranchBrPartCoverMissing
skore/src/skore
   __init__.py4432093%105, 131–132
   _config.py58312194%70, 117–118
   _exceptions.py44000%4, 15, 19, 23
skore/src/skore/_checks
   __init__.py20000100% 
   accessor.py350140100% 
   base.py1030282100% 
   skd001_overfitting.py21040100% 
   skd002_underfitting.py22020100% 
   skd003_metrics_consistency.py31080100% 
   skd004_high_class_imbalance.py25040100% 
   skd005_underrepresented_classes.py25040100% 
   skd006_coefficients_interpretation.py22040100% 
   skd007_mdi_high_cardinality_bias.py25040100% 
   skd008_correlated_features.py28060100% 
   skd009_worse_than_baseline.py35110197%67
   skd010_slower_than_baseline.py460120100% 
   skd011_golden_feature.py550160100% 
   skd012_useless_features.py24020100% 
   skd013_train_test_time_overlap.py330140100% 
   skd014_hyperparams_at_search_edge.py53126198%90
   skd015_search_params_to_tune.py430181100% 
   skd016_estimator_not_tuned.py370140100% 
   tunable_hyperparameters.py5000100% 
   utils.py1700701100% 
skore/src/skore/_dispatch
   __init__.py3000100% 
   compare.py5000100% 
   evaluate.py440220100% 
skore/src/skore/_displays
   __init__.py1212091%43
   base.py73214197%74–75
   utils.py158376498%256–257, 456
skore/src/skore/_displays/data
   __init__.py1242166%16–18, 24
   table_report.py191160299%736
skore/src/skore/_displays/inspection
   __init__.py0000100% 
   calibration_curve.py801114886%124–127, 129, 134–135, 238, 241–242, 272
   coefficients.py1990981100% 
   impurity_decrease.py101234398%447, 491
   permutation_importance.py197190199%663
   utils.py320100100% 
skore/src/skore/_displays/metrics
   __init__.py1242166%32–34, 40
   confusion_matrix.py1970662100% 
   metrics_summary_display.py1730621100% 
   precision_recall_curve.py1160321100% 
   prediction_error.py1750582100% 
   roc_curve.py1200342100% 
skore/src/skore/_metrics
   __init__.py3000100% 
   metrics.py373186199%472
   registry.py290120100% 
skore/src/skore/_plugins
   __init__.py12000100% 
   requirements.py66226096%78–79
   serde.py32080100% 
skore/src/skore/_plugins/hub
   __init__.py920077%15, 20
   exception.py2000100% 
   json.py1012190%16
   metric.py3728294%85, 93
skore/src/skore/_plugins/hub/artifact
   __init__.py0000100% 
   artifact.py23040100% 
   environment.py1530080%50–52
   pickle.py29060100% 
   serializer.py27020100% 
   upload.py26040100% 
skore/src/skore/_plugins/hub/artifact/media
   __init__.py6000100% 
   checks.py13000100% 
   data.py23000100% 
   inspection.py580100100% 
   media.py12000100% 
   model.py10000100% 
   performance.py57000100% 
skore/src/skore/_plugins/hub/authentication
   __init__.py0000100% 
   apikey.py7000100% 
   login.py2844285%37, 42–43, 52
   token.py80080100% 
   uri.py6000100% 
skore/src/skore/_plugins/hub/client
   __init__.py0000100% 
   client.py881018388%140, 187–189, 191–192, 194, 196, 198, 230
skore/src/skore/_plugins/hub/project
   __init__.py0000100% 
   project.py143628595%88, 113, 128, 328, 426, 456
skore/src/skore/_plugins/hub/report
   __init__.py3000100% 
   cross_validation_report.py191644396%188–192, 207
   estimator_report.py17000100% 
   report.py7418198%191
skore/src/skore/_plugins/local
   __init__.py2000100% 
   project.py250358298%455, 495, 516
skore/src/skore/_plugins/mlflow
   __init__.py5000100% 
   project.py28124721091%47, 49–51, 129, 236, 254, 272–273, 362, 413, 497, 521, 523, 539, 541–546, 548–550
   reports.py160636596%129, 176, 214–215, 277, 288
skore/src/skore/_project
   __init__.py0000100% 
   dependencies.py19060100% 
   git.py30040100% 
   login.py1736282%57, 66–67
   plugin.py9000100% 
   project.py76126198%153
   protocol.py55000%3, 5, 7, 13, 16
   summary.py118148199%108
   sync.py410100100% 
   types.py4000100% 
skore/src/skore/_reports
   __init__.py4000100% 
   base.py157642696%70, 221, 298, 307, 313, 348
skore/src/skore/_reports/comparison
   __init__.py9000100% 
   inspection.py23020100% 
   metrics.py118226298%425, 686
   report.py188790696%277–278, 482, 601, 683–685
skore/src/skore/_reports/cross_validation
   __init__.py11000100% 
   data.py40214295%53, 79
   inspection.py23020100% 
   metrics.py102518295%111–112, 114, 117, 631
   report.py202946595%231, 236, 247, 252, 354, 596, 737–739
skore/src/skore/_reports/estimator
   __init__.py11000100% 
   data.py61128198%69
   inspection.py3918297%304
   metrics.py1260260100% 
   report.py3221088796%64, 80, 299, 381, 435, 685, 770, 865–867
skore/src/skore/_sklearn
   __init__.py2000100% 
   feature_names.py280120100% 
   find_ml_task.py610461100% 
   train_test_split.py17000100% 
   types.py1810094%36
skore/src/skore/_utils
   __init__.py620066%8, 13
   accessor.py10620301181%13, 36, 61–65, 68, 70–71, 76, 81, 83, 85, 92–94, 164, 216, 236
   cache.py37021100% 
   cache_key.py38624684%22, 24, 26, 53, 61, 70
   callable.py9040100% 
   dataframe.py550220100% 
   docscrape.py44212195%32–33
   environment.py33110296%49
   fixes.py8020100% 
   index.py15080100% 
   measure_time.py10000100% 
   parallel.py16000100% 
   patch.py21128842%30, 35–39, 42–43, 46–47, 58, 60
   progress_bar.py4244090%53–54, 64–65
   show_versions.py660220100% 
   skrub.py4518197%38
   testing.py1281412289%24, 33, 71–72, 94, 193, 202, 213–218, 220
   uuid.py18410477%7, 17, 23, 26
skore/src/skore/_utils/repr
   __init__.py2000100% 
   base.py54040100% 
   data.py1500361100% 
   html_repr.py40000100% 
   markdown.py570220100% 
   rich_repr.py940343100% 
   utils.py20020100% 
TOTAL8066232221815097% 

Tests Skipped Failures Errors Time
2969 3 💤 0 ❌ 0 🔥 4m 49s ⏱️

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Documentation preview @ 6beddfa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant