Skip to content

Conversation

@satvshr
Copy link
Contributor

@satvshr satvshr commented Jan 9, 2026

Metadata

  • Reference Issue:
  • New Tests Added:
  • Documentation Updated:
  • Change Log Entry:

Details

Draft PR still in progress.

@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 0% with 394 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.32%. Comparing base (c5f68bf) to head (17ab23c).

Files with missing lines Patch % Lines
openml/_api/resources/tasks.py 0.00% 231 Missing ⚠️
openml/_api/http/client.py 0.00% 69 Missing ⚠️
openml/_api/config.py 0.00% 32 Missing ⚠️
openml/_api/runtime/core.py 0.00% 27 Missing ⚠️
openml/_api/resources/base.py 0.00% 10 Missing ⚠️
openml/_api/resources/datasets.py 0.00% 9 Missing ⚠️
openml/_api/runtime/fallback.py 0.00% 6 Missing ⚠️
openml/_api/__init__.py 0.00% 4 Missing ⚠️
openml/_api/resources/__init__.py 0.00% 3 Missing ⚠️
openml/_api/http/__init__.py 0.00% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1611      +/-   ##
==========================================
- Coverage   53.02%   48.32%   -4.71%     
==========================================
  Files          36       46      +10     
  Lines        4326     4718     +392     
==========================================
- Hits         2294     2280      -14     
- Misses       2032     2438     +406     

☔ 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 9, 2026
25 tasks
@satvshr satvshr marked this pull request as ready for review January 12, 2026 15:29
Copy link
Contributor

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

From a high-level review, I noticed a few points that need adjustment:

  • Caching can likely be removed from the SDK, since these concerns should be handled by the base client.
  • I don't see the api_context being used in tasks/functions, so it's not clear to me how the SDK is actually using the new API interface here.
  • Instead of moving entire methods out of tasks/functions.py, it would be better to stick to the goal of minimal SDK changes while enabling v2 support.
  • API calls should be updated at the specific root functions (for example _get_task_description, OpenMLTask._download_split).
  • For listing tasks, please follow the approach discussed in #1575 comment.

)

print(evals_setups.head(10))
print(evals_setups.head(10))
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep these changes away from this PR. If there are some ruff errors in the existing code, they should be fixed in another PR which will probably get merged soon.

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.

4 participants