Skip to content

🐛 fix(stats.py) correct shape condition in add_samples #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

casenave
Copy link
Member

No description provided.

@casenave casenave requested a review from a team as a code owner June 11, 2025 18:02
@casenave casenave requested a review from xroynard June 11, 2025 18:02
Copy link

codecov bot commented Jun 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@casenave
Copy link
Member Author

@xroynard thanks for the modifications ! I improved the coverage, but two instructions are still not checked in tests, and I have difficulties understanding this part of the code -> adding a review

Copy link
Member Author

@casenave casenave left a comment

Choose a reason for hiding this comment

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

two missing lines in coverage

# flatten corresponding stat
if (
stat_key in self._stats
): # TODO: ADD THIS IN TESTS
Copy link
Member Author

Choose a reason for hiding this comment

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

not executed in tests

if (
isinstance(list_of_arrays[i], np.ndarray)
and list_of_arrays[i].ndim == 1
): # TODO: ADD THIS IN TESTS
Copy link
Member Author

Choose a reason for hiding this comment

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

not executed in tests

@casenave casenave added this to the version 0.1.7 milestone Jun 28, 2025
@casenave casenave marked this pull request as draft June 30, 2025 17:42
@xroynard xroynard requested a review from bstaber July 8, 2025 07:35
@xroynard xroynard marked this pull request as ready for review July 8, 2025 07:36
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.

2 participants