Skip to content

Commit

Permalink
Increase ensemble size in test to avoid flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda committed Jan 6, 2023
1 parent 88a54e9 commit 6aca933
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/ert/gui/ertwidgets/analysismodulevariablespanel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from functools import partial

from qtpy.QtWidgets import (
QCheckBox,
QDoubleSpinBox,
Expand All @@ -10,11 +11,11 @@
QWidget,
)

from ert._c_wrappers.analysis import correlation_threshold
from ert.gui.ertwidgets.models.analysismodulevariablesmodel import (
AnalysisModuleVariablesModel,
)
from ert.libres_facade import LibresFacade
from ert._c_wrappers.analysis import correlation_threshold


class AnalysisModuleVariablesPanel(QWidget):
Expand Down
7 changes: 3 additions & 4 deletions tests/unit_tests/analysis/test_es_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@
import numpy as np

rng = np.random.default_rng()
from scipy.linalg import toeplitz

import pandas as pd
import pytest
from iterative_ensemble_smoother import IterativeEnsembleSmoother
from scipy.linalg import toeplitz

from ert import LibresFacade
from ert.__main__ import ert_parser
from ert._c_wrappers.enkf import EnKFMain, EnkfNode, NodeId, ResConfig, RunContext
from ert.analysis import ErtAnalysisError, ESUpdate
from ert.analysis._es_update import (
_create_temporary_parameter_storage,
_correlated_parameter_response_pairs,
_create_temporary_parameter_storage,
)
from ert.cli import ENSEMBLE_EXPERIMENT_MODE, ENSEMBLE_SMOOTHER_MODE
from ert.cli.main import run_cli
Expand Down Expand Up @@ -496,7 +495,7 @@ def test_update_multiple_param(copy_case):
def test_correlated_parameter_response_pair():
p = 4
m = 2
N = 1000
N = 2000
rho = 0.9
# Correlation matrix or AR(1) model
R = toeplitz([rho**i for i in range(p + m)])
Expand Down

0 comments on commit 6aca933

Please sign in to comment.