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

Move out res.test.synthesizer to separate package oil_reservoir_synthesizer #3696

Merged
merged 2 commits into from
Aug 4, 2022

Conversation

eivindjahren
Copy link
Contributor

@eivindjahren eivindjahren commented Aug 4, 2022

Issue
More setup for #3595

Approach
res.test.synthesizer is used by more projects than ert. However, it isn't really part of what ert does. Therefore this functionality is split into its own package. This code then benefits from being independent, which should be good as it:

  1. Only depends on python standard library
  2. Only exposes one class.

In order to not install this code with ert, snake_oil is removed from ert3_examples. When this functionality is needed later we can add more examples through a plugin architecture.

Pre review checklist

  • Added appropriate release note label
  • PR title captures the intent of the changes, and is fitting for release notes.
  • Commit history is consistent and clean, in line with the contribution guidelines.

Adding labels helps the maintainers when writing release notes. This is the list of release note labels.

@eivindjahren eivindjahren added the release-notes:breaking-change Automatically categorise as breaking change in release notes label Aug 4, 2022
@eivindjahren eivindjahren force-pushed the move_to_oil_synthesizer branch 2 times, most recently from 7063a67 to 3cf6609 Compare August 4, 2022 06:32
This example is too complex to come with ert3 by default
and depends on libraries which ert3 does not depend on
directly. Therefore this example is moved out.
Deletes res.test.synthesizer as it is superseded by
oil_reservoir_synthesizer.
@eivindjahren
Copy link
Contributor Author

eivindjahren commented Aug 4, 2022

Jenkins is failing due to an unrelated breakage in semeio (rename of ErtRunContext to RunContext). This is already resolved in semeio master, but needs bleeding to be rebuilt.

@codecov-commenter
Copy link

codecov-commenter commented Aug 4, 2022

Codecov Report

Merging #3696 (294ee44) into main (3425c78) will increase coverage by 3.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3696      +/-   ##
==========================================
+ Coverage   59.67%   63.35%   +3.68%     
==========================================
  Files         299      598     +299     
  Lines       29519    46225   +16706     
  Branches     4147     4140       -7     
==========================================
+ Hits        17614    29287   +11673     
- Misses      10568    15653    +5085     
+ Partials     1337     1285      -52     
Impacted Files Coverage Δ
src/libres/lib/sched/history.cpp 0.00% <0.00%> (-53.94%) ⬇️
src/libres/lib/enkf/ert_template.cpp 14.78% <0.00%> (-44.39%) ⬇️
src/libres/lib/res_util/template.cpp 0.00% <0.00%> (-41.10%) ⬇️
src/libres/lib/res_util/ui_return.cpp 0.00% <0.00%> (-34.10%) ⬇️
src/libres/lib/config/conf_data.cpp 18.94% <0.00%> (-28.53%) ⬇️
src/libres/lib/enkf/ecl_refcase_list.cpp 9.24% <0.00%> (-23.16%) ⬇️
src/res/job_queue/function_ert_script.py 69.69% <0.00%> (-21.22%) ⬇️
src/libres/lib/enkf/ert_test_context.cpp 68.96% <0.00%> (-18.82%) ⬇️
src/libres/lib/enkf/enkf_main_manage_fs.cpp 48.52% <0.00%> (-18.27%) ⬇️
src/libres/lib/res_util/res_env.cpp 22.68% <0.00%> (-16.66%) ⬇️
... and 347 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@eivindjahren eivindjahren merged commit 66fcd3e into equinor:main Aug 4, 2022
@eivindjahren eivindjahren deleted the move_to_oil_synthesizer branch August 4, 2022 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:breaking-change Automatically categorise as breaking change in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants