diff --git a/climada/engine/unsequa/test/test_unsequa.py b/climada/engine/unsequa/test/test_unsequa.py index 5af7988f6..ad14cd402 100755 --- a/climada/engine/unsequa/test/test_unsequa.py +++ b/climada/engine/unsequa/test/test_unsequa.py @@ -574,7 +574,7 @@ def test_calc_sensitivity_all_pass(self): "sensitivity_kwargs": {"S": 10, "seed": 12345}, "test_param_name": ["x_exp", 0], "test_si_name": ["CV", 16], - "test_si_value": [0.25000, 2], + "test_si_value": [0.250000, 2], }, "hdmr": { "sampling_method": "saltelli", @@ -583,7 +583,7 @@ def test_calc_sensitivity_all_pass(self): "sensitivity_kwargs": {}, "test_param_name": ["x_exp", 2], "test_si_name": ["Sa", 4], - "test_si_value": [0.004658, 3], + "test_si_value": [0.004649, 3], }, "ff": { "sampling_method": "ff", @@ -614,7 +614,7 @@ def test_calc_sensitivity_all_pass(self): }, "test_param_name": ["x_exp", 0], "test_si_name": ["dgsm", 8], - "test_si_value": [1.697516e-01, 9], + "test_si_value": [0.1697516, 9], }, "fast": { "sampling_method": "fast_sampler", @@ -623,7 +623,7 @@ def test_calc_sensitivity_all_pass(self): "sensitivity_kwargs": {"M": 4, "seed": 12345}, "test_param_name": ["x_exp", 0], "test_si_name": ["S1_conf", 8], - "test_si_value": [0.671396, 1], + "test_si_value": [0.671546, 1], }, "rbd_fast": { "sampling_method": "saltelli", @@ -632,7 +632,7 @@ def test_calc_sensitivity_all_pass(self): "sensitivity_kwargs": {"M": 4, "seed": 12345}, "test_param_name": ["x_exp", 0], "test_si_name": ["S1_conf", 4], - "test_si_value": [0.152609, 4], + "test_si_value": [0.129919, 4], }, "morris": { "sampling_method": "morris", @@ -641,7 +641,7 @@ def test_calc_sensitivity_all_pass(self): "sensitivity_kwargs": {}, "test_param_name": ["x_exp", 0], "test_si_name": ["mu", 1], - "test_si_value": [5066460029.63911, 8], + "test_si_value": [7935400297.813827, 8], }, } @@ -696,7 +696,7 @@ def test_sensitivity_method( haz_unc, sensitivity_method, method_params, - places=2 if sensitivity_method == "rbd_fast" else 5, + places=5, ) diff --git a/requirements/env_climada.yml b/requirements/env_climada.yml index b162fd668..a7bd23305 100644 --- a/requirements/env_climada.yml +++ b/requirements/env_climada.yml @@ -35,7 +35,7 @@ dependencies: - rasterio>=1.4 - requests>=2.32 - rtree>=1.4 - - salib>=1.5,<1.5.2 # see https://github.com/CLIMADA-project/climada_python/issues/1081 + - salib>=1.5.2 # see https://github.com/CLIMADA-project/climada_python/issues/1081 - scikit-learn>=1.7 - scipy>=1.15 - seaborn>=0.13