Skip to content

[ENH] V1 → V2 API Migration - evaluation measures#1603

Open
EmanAbdelhaleem wants to merge 197 commits intoopenml:mainfrom
EmanAbdelhaleem:evaluation-measures-mig
Open

[ENH] V1 → V2 API Migration - evaluation measures#1603
EmanAbdelhaleem wants to merge 197 commits intoopenml:mainfrom
EmanAbdelhaleem:evaluation-measures-mig

Conversation

@EmanAbdelhaleem
Copy link
Contributor

@EmanAbdelhaleem EmanAbdelhaleem commented Jan 7, 2026

Fixes #1593
Depends on #1576
Related to #1575

Details

This PR implements EvaluationMeasures resource, and refactor its existing functions

@codecov-commenter
Copy link

codecov-commenter commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 73.32035% with 274 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.72%. Comparing base (d421b9e) to head (dae1c6a).
⚠️ Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
openml/_config.py 73.86% 75 Missing ⚠️
openml/_api/clients/http.py 69.86% 66 Missing ⚠️
openml/_api/setup/builder.py 27.02% 27 Missing ⚠️
openml/_api/setup/backend.py 66.66% 19 Missing ⚠️
openml/_api/resources/base/versions.py 83.11% 13 Missing ⚠️
openml/cli.py 0.00% 11 Missing ⚠️
openml/utils/_openml.py 54.16% 11 Missing ⚠️
openml/_api/resources/base/base.py 71.42% 10 Missing ⚠️
openml/_api/resources/base/fallback.py 84.21% 6 Missing ⚠️
openml/_api/resources/evaluation_measure.py 72.72% 6 Missing ⚠️
... and 11 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1603      +/-   ##
==========================================
- Coverage   52.04%   48.72%   -3.33%     
==========================================
  Files          36       61      +25     
  Lines        4333     5041     +708     
==========================================
+ Hits         2255     2456     +201     
- Misses       2078     2585     +507     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@geetu040 geetu040 mentioned this pull request Jan 7, 2026
25 tasks
Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. The implementation is clean and nicely decoupled. The next step should be adding tests, but let's wait until we have a clearer roadmap for that.
Also, please update the PR description to follow this format:

Fixes #1593
Depends on #1576
Related to #1575

Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please sync with base PR and update with these comments #1576 (comment)

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.

[ENH] V1 → V2 API Migration - evaluation measures

6 participants