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 new hook for specifying config per forward model step #9050

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

berland
Copy link
Contributor

@berland berland commented Oct 25, 2024

Issue
Resolves #9036

Approach

  • 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

@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.74%. Comparing base (c4e1365) to head (3f4f80a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9050      +/-   ##
==========================================
+ Coverage   90.72%   90.74%   +0.02%     
==========================================
  Files         350      350              
  Lines       21783    21814      +31     
==========================================
+ Hits        19763    19796      +33     
+ Misses       2020     2018       -2     
Flag Coverage Δ
cli-tests 39.02% <45.16%> (+0.01%) ⬆️
gui-tests 71.64% <45.16%> (-0.04%) ⬇️
performance-tests 49.24% <45.16%> (-0.01%) ⬇️
unit-tests 79.61% <100.00%> (+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.

@berland berland force-pushed the fm_step_config_hook branch 2 times, most recently from e8556b8 to 08c0a7c Compare October 29, 2024 13:59
@berland berland marked this pull request as ready for review October 29, 2024 14:00
@berland berland added the release-notes:new-feature Automatically categorise as new feature in release notes label Oct 29, 2024
@berland berland force-pushed the fm_step_config_hook branch from 08c0a7c to cfd7f15 Compare October 29, 2024 14:11
@berland berland force-pushed the fm_step_config_hook branch from 3420067 to 3f6e3d8 Compare October 30, 2024 09:35
@eivindjahren eivindjahren requested a review from sondreso October 30, 2024 09:49
@berland berland force-pushed the fm_step_config_hook branch 2 times, most recently from 5df682e to 3f4f80a Compare October 31, 2024 08:41
src/ert/config/ert_config.py Outdated Show resolved Hide resolved
src/ert/plugins/plugin_manager.py Outdated Show resolved Hide resolved
@berland berland force-pushed the fm_step_config_hook branch 7 times, most recently from 11961ab to 633fa2d Compare November 19, 2024 07:37
General configuration using key-values via the plugin system for
individual steps will be merged with environment property of each
ForwardModelStep that is dumped as json in every runpath.
@berland berland force-pushed the fm_step_config_hook branch from 633fa2d to e3ec1e7 Compare November 26, 2024 09:09
Copy link
Collaborator

@sondreso sondreso left a comment

Choose a reason for hiding this comment

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

Nicely done! 🚀

@berland berland merged commit 25e431f into equinor:main Nov 27, 2024
42 checks passed
@berland berland deleted the fm_step_config_hook branch December 27, 2024 11:22
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.

Allow pluginsystem to configure general key-value pairs pr forward model step
3 participants