Skip to content

Comments

[FIX] Allow for proper metadata routing#298

Open
fraimondo wants to merge 8 commits intomainfrom
fix/metadata_routing
Open

[FIX] Allow for proper metadata routing#298
fraimondo wants to merge 8 commits intomainfrom
fix/metadata_routing

Conversation

@fraimondo
Copy link
Contributor

Some (custom) models might require more than X and y in the fit params, which, using the new scikit-learn API, should enable and configure metadata routing.

This PR takes care of that, so julearn is always on metadata routing.

@codecov
Copy link

codecov bot commented Jan 16, 2026

Codecov Report

❌ Patch coverage is 76.74419% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.91%. Comparing base (b64469b) to head (d02ef73).

Files with missing lines Patch % Lines
julearn/api.py 64.70% 3 Missing and 3 partials ⚠️
julearn/model_selection/final_model_cv.py 71.42% 1 Missing and 1 partial ⚠️
julearn/prepare.py 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #298      +/-   ##
==========================================
- Coverage   90.31%   89.91%   -0.40%     
==========================================
  Files          58       58              
  Lines        2767     2797      +30     
  Branches      490      496       +6     
==========================================
+ Hits         2499     2515      +16     
- Misses        172      181       +9     
- Partials       96      101       +5     
Flag Coverage Δ
docs 100.00% <ø> (ø)
julearn 89.91% <76.74%> (-0.40%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
julearn/conftest.py 94.82% <100.00%> (+0.18%) ⬆️
julearn/pipeline/pipeline_creator.py 90.36% <100.00%> (+0.11%) ⬆️
julearn/utils/testing.py 88.88% <100.00%> (+0.48%) ⬆️
julearn/model_selection/final_model_cv.py 90.47% <71.42%> (-9.53%) ⬇️
julearn/prepare.py 91.42% <71.42%> (-0.93%) ⬇️
julearn/api.py 88.70% <64.70%> (-1.74%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

github-actions bot commented Jan 16, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://juaml.github.io/julearn/pr-preview/pr-298/

Built to branch gh-pages at 2026-02-10 14:44 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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