Skip to content

[ENH] Add get_cache_size Utility Function#1565

Merged
fkiraly merged 10 commits intoopenml:mainfrom
JATAYU000:cache_size_utility
Feb 16, 2026
Merged

[ENH] Add get_cache_size Utility Function#1565
fkiraly merged 10 commits intoopenml:mainfrom
JATAYU000:cache_size_utility

Conversation

@JATAYU000
Copy link
Contributor

@JATAYU000 JATAYU000 commented Dec 27, 2025

Metadata

Details

  • What does this PR implement/fix?
    Implements a get_cache_size() function which returns the total size of the openml cache directory in bytes.

@codecov-commenter
Copy link

codecov-commenter commented Dec 31, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.77%. Comparing base (ef242af) to head (a25c333).

Files with missing lines Patch % Lines
openml/utils.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1565      +/-   ##
==========================================
- Coverage   52.78%   52.77%   -0.02%     
==========================================
  Files          36       36              
  Lines        4357     4360       +3     
==========================================
+ Hits         2300     2301       +1     
- Misses       2057     2059       +2     

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

@fkiraly
Copy link
Collaborator

fkiraly commented Feb 10, 2026

@geetu040 please review

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.

Looks fine. And this will not conflict with migration config, so good to go.

@fkiraly fkiraly merged commit d18ca42 into openml:main Feb 16, 2026
31 checks passed
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] Add Cache Size Utility Function

4 participants