Skip to content
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

[NSETM-2311] Add multi_index configuration option #35

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

GianlucaFicarelli
Copy link
Collaborator

@GianlucaFicarelli GianlucaFicarelli commented Apr 12, 2024

Used to decide to apply reset_index() to the features dataframes.

Warning: having added a new parameter in the features configuration, the features cache would be invalidated.

However, since the default value isn't changed (multi_index=True), it would be possible to migrate the cache by regenerating the analysis config in the cache, without recalculating the actual cached dataframes (to be decided if it's worth implementing a migration script).

@codecov-commenter
Copy link

codecov-commenter commented Apr 12, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 91.52%. Comparing base (53bce0b) to head (445a81e).

Files Patch % Lines
src/blueetl/features.py 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   91.62%   91.52%   -0.11%     
==========================================
  Files          45       45              
  Lines        2628     2632       +4     
  Branches      535      536       +1     
==========================================
+ Hits         2408     2409       +1     
- Misses        137      139       +2     
- Partials       83       84       +1     
Flag Coverage Δ
pytest 91.52% <40.00%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GianlucaFicarelli GianlucaFicarelli changed the base branch from use_shm to main April 19, 2024 10:32
@GianlucaFicarelli GianlucaFicarelli changed the title Add multi_index configuration option [NSETM-2311] Add multi_index configuration option Apr 19, 2024
@GianlucaFicarelli GianlucaFicarelli force-pushed the multi_index branch 2 times, most recently from 445a81e to 9e20c1c Compare April 22, 2024 11:57
Used to decide to apply reset_index() to the features dataframes
@GianlucaFicarelli GianlucaFicarelli merged commit db459d1 into main Apr 30, 2024
8 checks passed
@GianlucaFicarelli GianlucaFicarelli deleted the multi_index branch April 30, 2024 09:33
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.

3 participants