Skip to content

Conversation

@rohansen856
Copy link
Contributor

Metadata

Details

Stackend PR, Depends on #1576

This PR adds Studies v2 migration.

A question:
Due to the pre commit hook i could not put 6 arguments in a function, so i had to workaround that with this instead:
openml_api\resources\studies.py (line 10-15)

        limit = kwargs.get("limit")
        offset = kwargs.get("offset")
        status = kwargs.get("status")
        main_entity_type = kwargs.get("main_entity_type")
        uploader = kwargs.get("uploader")
        benchmark_suite = kwargs.get("benchmark_suite")

I would like to confirm if this approach is correct or not. Raising a draft PR for now.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 77.07510% with 58 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.13%. Comparing base (c5f68bf) to head (9100d91).

Files with missing lines Patch % Lines
openml/_api/resources/studies.py 24.13% 22 Missing ⚠️
openml/_api/http/client.py 82.60% 12 Missing ⚠️
openml/_api/resources/tasks.py 87.23% 6 Missing ⚠️
openml/_api/runtime/fallback.py 0.00% 6 Missing ⚠️
openml/_api/runtime/core.py 82.14% 5 Missing ⚠️
openml/_api/resources/datasets.py 77.77% 2 Missing ⚠️
openml/study/functions.py 66.66% 2 Missing ⚠️
openml/_api/__init__.py 75.00% 1 Missing ⚠️
openml/_api/config.py 96.87% 1 Missing ⚠️
openml/tasks/functions.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1610      +/-   ##
==========================================
+ Coverage   53.02%   54.13%   +1.10%     
==========================================
  Files          36       47      +11     
  Lines        4326     4561     +235     
==========================================
+ Hits         2294     2469     +175     
- Misses       2032     2092      +60     

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