Skip to content

Merge dev into main#178

Merged
albangossard merged 3 commits intomainfrom
dev
Mar 25, 2026
Merged

Merge dev into main#178
albangossard merged 3 commits intomainfrom
dev

Conversation

@albangossard
Copy link
Copy Markdown
Member

@albangossard albangossard commented Mar 25, 2026

Merge dev into main so that @marvande can synchronise her branch with the latest available features

albangossard and others added 3 commits March 24, 2026 14:38
* improve code efficiency of two functions of class AggregatedDataset() :  init() and  mapSplitsToDataset()

* allows to record dataframe in parquet format in addition to csv format

* add possibility to divide between test and train absed on subregion (c-region) as well as the possibility to have randomness and different sampling from sampling to sampling in set_train_test_split().  assign_train_test_indices(self,train_indices, test_indices, test_size) is defined to update dataloader with the values of the selected test/train divisions after 10 sampling based on subregion.

* adapation of dataset.py to choose output format of _get_output_filename() between csv and parquet

* Alban's feedback on PR :  mapSplitsToDataset() and init() more efficient for large dataset, output format to csv and parquet

* Alban's feedback on PR : split on subregion added, modification of  _create_group_kfold_splits() to cross-validate on subregion

* Add function to plot test and train dataset (SMB versus elevation

* Adapation of dataloader to asnwer review of #158 and new plot functions

* to asnwer review of #158

* correct __init__ for mbm plot

* preprocess WGMS data to be used by MBM #169

---------

Co-authored-by: Alban Gossard <alban.paul.gossard@gmail.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 95.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.83%. Comparing base (a387a54) to head (e6889e1).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
tests/data_processing/test_wgms_preprocessing.py 90.47% 2 Missing ⚠️
massbalancemachine/data_processing/wgms.py 97.14% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
+ Coverage   43.08%   43.83%   +0.74%     
==========================================
  Files          61       62       +1     
  Lines        4804     4852      +48     
==========================================
+ Hits         2070     2127      +57     
+ Misses       2734     2725       -9     

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

@albangossard albangossard merged commit bde0d84 into main Mar 25, 2026
8 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.

2 participants