openml-python icon indicating copy to clipboard operation
openml-python copied to clipboard

DRAFT : function to allow adding arbitrary files to the run object

Open SubhadityaMukherjee opened this issue 1 year ago • 1 comments

Reference Issue

What does this PR implement/fix? Explain your changes.

This adds a function to the run class that allows adding an arbitrary file of a limited size to be uploaded along with the run. Something similar has been implemented in OpenML pytorch and I thought it would be nice to eventually have it as part of OpenML python as well.

How should this PR be tested?

Adding a random file and continuing the run as usual is enough. I will add tests and test it after the servers are back online.

Any other comments?

This is my first PR here so please be gentle 🙈

SubhadityaMukherjee avatar Jan 13 '25 13:01 SubhadityaMukherjee

Codecov Report

Attention: Patch coverage is 8.33333% with 22 lines in your changes missing coverage. Please review.

Project coverage is 83.71%. Comparing base (c9bfc0f) to head (254a471). Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
openml/runs/run.py 8.33% 22 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1387      +/-   ##
===========================================
- Coverage    84.09%   83.71%   -0.39%     
===========================================
  Files           38       38              
  Lines         5231     5255      +24     
===========================================
  Hits          4399     4399              
- Misses         832      856      +24     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov-commenter avatar Jun 18 '25 13:06 codecov-commenter