-
Notifications
You must be signed in to change notification settings - Fork 109
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
Store everest results in ERT storage #9161
Open
yngve-sk
wants to merge
10
commits into
equinor:main
Choose a base branch
from
yngve-sk:24.10.25.store-everest-opt-results-in-ertstorage
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Store everest results in ERT storage #9161
yngve-sk
wants to merge
10
commits into
equinor:main
from
yngve-sk:24.10.25.store-everest-opt-results-in-ertstorage
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9161 +/- ##
==========================================
+ Coverage 91.74% 91.89% +0.15%
==========================================
Files 426 426
Lines 26538 26647 +109
==========================================
+ Hits 24346 24488 +142
+ Misses 2192 2159 -33
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
yngve-sk
force-pushed
the
24.10.25.store-everest-opt-results-in-ertstorage
branch
14 times, most recently
from
November 13, 2024 11:20
7081e58
to
32193bd
Compare
yngve-sk
changed the title
(wip) Store everest results in ERT storage
Store everest results in ERT storage
Nov 13, 2024
yngve-sk
force-pushed
the
24.10.25.store-everest-opt-results-in-ertstorage
branch
13 times, most recently
from
November 15, 2024 13:06
5b54ee7
to
dda3db9
Compare
yngve-sk
force-pushed
the
24.10.25.store-everest-opt-results-in-ertstorage
branch
20 times, most recently
from
January 10, 2025 13:42
44224bd
to
75b0bfa
Compare
yngve-sk
force-pushed
the
24.10.25.store-everest-opt-results-in-ertstorage
branch
from
January 10, 2025 13:43
75b0bfa
to
a8af382
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Resolves #8811
Base idea/documentation:
Store datasets by
[batch, realization, perturbation] x [controls, objectives, constraints, objective_gradient, constraint_gradient]
:Exhaustive list of data stored PER BATCH :
batch.json
- contains info about the batch, batch_id and whether it is an improvement (aka merit flag, but the concepts are now unified for dakota and non-dakota runs)batch_constraints
constraint values (and violations) for constraints, batch-widebatch_objectives
objective values, batch-widerealization_controls
- control values for geo-realizations, also includessimulation_id
realization_objectives
- objective values per geo-realizationrealization_constraints
- constraint values per geo-realizationperturbation_objectives
- objective and control values per perturbationperturbation_constraints
- constraint and control values per perturbation (Note/discussion point: control values could be pulled into separate table to avoid redundancy)batch_objective_gradient
- Partial derivatives of objectives, given different controls. This dataset has one column per objective, and one row per control value, and the intersecting cells represent the partial derivative of the objective wrt that control value.batch_constraint_gradient
- Partial derivatives of constraints, given different controls. This dataset has one column per constraint, and one row per control value, and the intersecting cells represent the partial derivative of the constraint wrt that control value.Example data from
math_func/config_advanced.yml
(json format)Exhaustive list of data stored PER OPTIMIZATION
controls.json
- control values for this batchrealization_weights.json
- realization weightsnonlinear_constraints
- conditions for constraints to satisfy (on average over the batch)objective_functions
- objective function names, weights, and normalizationExample data from
math_func/config_advanced.yml
Potential simplifications
The
everest_data_api
is currently used for plotting, but could be used (probably expanded a bit) to avoid doing direct (polars) dataframe manipulations elsewhere in the code, but currently they are done directly in the code.