Skip to content

Conversation

@EmanAbdelhaleem
Copy link
Contributor

@EmanAbdelhaleem EmanAbdelhaleem commented Jan 7, 2026

Fixes #1622
Depends on #1576
Related to: #1575

Details

This PR implements EstimationProcedures resource, and refactor its existing functions

@codecov-commenter
Copy link

codecov-commenter commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 64.18301% with 274 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.73%. Comparing base (d421b9e) to head (9a32b8e).

Files with missing lines Patch % Lines
openml/_api/clients/http.py 57.44% 80 Missing ⚠️
openml/_api/resources/base/versions.py 24.71% 67 Missing ⚠️
openml/_api/setup/backend.py 65.16% 31 Missing ⚠️
openml/_api/resources/base/fallback.py 26.31% 28 Missing ⚠️
openml/_api/resources/estimation_procedure.py 54.00% 23 Missing ⚠️
openml/testing.py 51.11% 22 Missing ⚠️
openml/_api/setup/_utils.py 56.00% 11 Missing ⚠️
openml/_api/setup/builder.py 81.08% 7 Missing ⚠️
openml/_api/resources/base/base.py 78.57% 3 Missing ⚠️
openml/config.py 93.33% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1604      +/-   ##
==========================================
+ Coverage   52.04%   54.73%   +2.69%     
==========================================
  Files          36       63      +27     
  Lines        4333     5070     +737     
==========================================
+ Hits         2255     2775     +520     
- Misses       2078     2295     +217     

☔ 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.

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 #...
Depends on #1576
Related to #1575

@geetu040 geetu040 mentioned this pull request Jan 9, 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.

Can you please take a look at the function _get_estimation_procedure_list in tasks/functions and see if it can also be replaced via the list method or a new method in EstimationProcedures class?

@EmanAbdelhaleem EmanAbdelhaleem force-pushed the estimation-procedures-mig branch from 2f6aa34 to 94d1163 Compare January 28, 2026 05:58
@EmanAbdelhaleem EmanAbdelhaleem force-pushed the estimation-procedures-mig branch from f8c4791 to 0d9868a Compare February 3, 2026 20:05
@EmanAbdelhaleem
Copy link
Contributor Author

@geetu040 Ready for review

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 - estimation procedures

5 participants