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

Add tests for save/load parameters with rowscaling #2721

Merged

Conversation

ManInFez
Copy link
Contributor

Issue
Resolves #2582
Resolves #2584

Approach
Roundtrip test for a matrix with rowscaling attached

Pre review checklist

  • Added appropriate labels

Adding labels helps the maintainers when writing release notes, see sections and the
corresponding labels here: https://github.com/equinor/ert/blob/main/.github/release.yml

@ManInFez ManInFez self-assigned this Jan 17, 2022
@ManInFez ManInFez force-pushed the test_save_load_rowscaling_paramteters branch from 4cbd02f to 52a5dfa Compare January 17, 2022 09:37
@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2022

Codecov Report

Merging #2721 (12cc1d1) into main (1ab7882) will increase coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2721      +/-   ##
==========================================
+ Coverage   65.23%   65.28%   +0.04%     
==========================================
  Files         651      651              
  Lines       53549    53556       +7     
  Branches     4784     4786       +2     
==========================================
+ Hits        34935    34964      +29     
+ Misses      17041    16988      -53     
- Partials     1573     1604      +31     
Impacted Files Coverage Δ
libres/lib/analysis/update.cpp 40.61% <0.00%> (+4.60%) ⬆️
libres/lib/enkf/block_fs_driver.cpp 81.35% <0.00%> (-0.57%) ⬇️
libres/lib/enkf/local_ministep.cpp 33.33% <0.00%> (+4.97%) ⬆️
libres/lib/include/ert/enkf/local_ministep.hpp 62.50% <0.00%> (+12.50%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ab7882...12cc1d1. Read the comment docs.

@dafeda dafeda self-requested a review January 21, 2022 07:25
ministep, row_scaling_list);

WHEN("loading parameters from enkf_fs") {
auto parmeter_matrices = analysis::load_row_scaling_parameters(
Copy link
Contributor

Choose a reason for hiding this comment

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

parameter_matrices?

Pedantizm 🚀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it is potentially a list of matrices 🤷

Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking that parmeter should be parameter...
No biggie 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🙈 I will fix

@ManInFez ManInFez force-pushed the test_save_load_rowscaling_paramteters branch 2 times, most recently from 54fcd99 to 5d3d51b Compare January 24, 2022 08:34
Copy link
Contributor

@dafeda dafeda left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ManInFez ManInFez force-pushed the test_save_load_rowscaling_paramteters branch from 5d3d51b to d1a32f8 Compare January 24, 2022 11:48
@ManInFez ManInFez force-pushed the test_save_load_rowscaling_paramteters branch from d1a32f8 to 12cc1d1 Compare January 25, 2022 08:04
@ManInFez
Copy link
Contributor Author

Test this please!

3 similar comments
@ManInFez
Copy link
Contributor Author

Test this please!

@ManInFez
Copy link
Contributor Author

Test this please!

@ManInFez
Copy link
Contributor Author

Test this please!

@ManInFez ManInFez merged commit e3045cd into equinor:main Jan 26, 2022
@ManInFez ManInFez deleted the test_save_load_rowscaling_paramteters branch January 26, 2022 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants