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

Run ensemble experiment with design matrix #8941

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

Conversation

xjules
Copy link
Contributor

@xjules xjules commented Oct 10, 2024

Issue
Resolves #8961

Approach
Short description of the approach

(Screenshot of new behavior in GUI if applicable)

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure unit tests pass locally after every commit (git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"')

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@xjules xjules self-assigned this Oct 10, 2024
@xjules xjules added the blocked label Oct 10, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.99%. Comparing base (25088a7) to head (349abd0).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8941      +/-   ##
==========================================
- Coverage   91.00%   90.99%   -0.02%     
==========================================
  Files         349      352       +3     
  Lines       21645    21718      +73     
==========================================
+ Hits        19698    19762      +64     
- Misses       1947     1956       +9     
Flag Coverage Δ
cli-tests 39.40% <81.48%> (+0.21%) ⬆️
gui-tests 72.69% <40.74%> (-0.22%) ⬇️
performance-tests 49.56% <40.74%> (-0.17%) ⬇️
unit-tests 79.69% <74.07%> (-0.02%) ⬇️

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.

@xjules xjules added release-notes:new-feature Automatically categorise as new feature in release notes and removed blocked labels Oct 14, 2024
@xjules xjules force-pushed the checkbox_dm branch 3 times, most recently from 707fd91 to 88537d3 Compare October 15, 2024 11:31
@xjules xjules changed the title Add design matrix validation in ensemble experiment panel Run ensemble experiment with design matrix Oct 15, 2024
@xjules xjules force-pushed the checkbox_dm branch 2 times, most recently from 403b2fa to 2fe829a Compare October 15, 2024 14:05
@xjules xjules marked this pull request as ready for review October 15, 2024 14:08
@xjules xjules force-pushed the checkbox_dm branch 4 times, most recently from b97fc39 to a2f1053 Compare October 17, 2024 11:00
src/ert/enkf_main.py Outdated Show resolved Hide resolved
@xjules xjules force-pushed the checkbox_dm branch 2 times, most recently from 2d4c2cf to b399e41 Compare October 17, 2024 13:01
src/ert/enkf_main.py Outdated Show resolved Hide resolved
@xjules xjules force-pushed the checkbox_dm branch 2 times, most recently from 494347a to ff892b4 Compare October 18, 2024 11:35
@xjules xjules force-pushed the checkbox_dm branch 2 times, most recently from dbf426b to 04bf908 Compare October 21, 2024 14:08
name=self.ensemble_name,
ensemble_size=self.ensemble_size,
)
elif not restart:
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe we should try to make the creation of experiments and ensembles the same for all cases bar restarts. Either by modifying the global parameter_configuration when you use the design matrix or by having a parameters property in the class.

Copy link
Contributor

Choose a reason for hiding this comment

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

The restart functionality should also work with design matrix I believe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haven't put much thought into restart functionality. Will update!

- Prefil active realization box with realizations from design matrix
- Use design_matrix parameters in ensemble experiment
- add test run cli with design matrix and poly example
- add test that save parameters internalize DataFrame parameters in the storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:new-feature Automatically categorise as new feature in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement support for DESIGN_MATRIX when running ensemble experiment
5 participants