Skip to content

Save observation scaling factors to target ensemble#13441

Open
frode-aarstad wants to merge 4 commits into
equinor:mainfrom
frode-aarstad:13348-auto_scaling-saves-observation_scaling_factors-to-source-ensemble-instead-of-target-ensemble
Open

Save observation scaling factors to target ensemble#13441
frode-aarstad wants to merge 4 commits into
equinor:mainfrom
frode-aarstad:13348-auto_scaling-saves-observation_scaling_factors-to-source-ensemble-instead-of-target-ensemble

Conversation

@frode-aarstad
Copy link
Copy Markdown
Contributor

Issue
Resolves #13348

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 'just rapid-tests')

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: Add backport label to latest release (format: 'backport release-branch-name')

@frode-aarstad frode-aarstad self-assigned this Apr 29, 2026
@frode-aarstad frode-aarstad force-pushed the 13348-auto_scaling-saves-observation_scaling_factors-to-source-ensemble-instead-of-target-ensemble branch from 1fa7752 to cc659c1 Compare April 29, 2026 11:50
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.36%. Comparing base (d3cf41c) to head (4b587e2).
⚠️ Report is 69 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13441      +/-   ##
==========================================
- Coverage   89.98%   85.36%   -4.63%     
==========================================
  Files         457      459       +2     
  Lines       31702    32087     +385     
==========================================
- Hits        28528    27390    -1138     
- Misses       3174     4697    +1523     
Flag Coverage Δ
cli-tests 37.45% <100.00%> (-0.09%) ⬇️
fuzz 44.19% <66.66%> (-0.23%) ⬇️
gui-tests ?
performance-and-unit-tests 78.02% <100.00%> (+0.07%) ⬆️
test 45.83% <0.00%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/ert/analysis/_enif_update.py 88.57% <100.00%> (-6.76%) ⬇️
src/ert/analysis/_es_update.py 94.40% <ø> (-0.05%) ⬇️
src/ert/analysis/_update_commons.py 98.93% <100.00%> (+1.08%) ⬆️

... and 109 files with indirect coverage changes


experiment = storage.create_experiment(name="dummyexp")
ensemble = experiment.create_ensemble(name="dummy", ensemble_size=10)
source_ensemble = experiment.create_ensemble(name="dummy", ensemble_size=10)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe name="dummy_source" to keep in line with all the outher ensemble names? same for the other dummies in this file

@frode-aarstad
Copy link
Copy Markdown
Contributor Author

Might also need a storage migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

auto_scaling saves observation_scaling_factors to source ensemble instead of target ensemble

3 participants