Skip to content

Commit 0b14374

Browse files
release pin, update test (#1265)
1 parent 301dd19 commit 0b14374

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

climada/engine/unsequa/test/test_unsequa.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def test_calc_sensitivity_all_pass(self):
574574
"sensitivity_kwargs": {"S": 10, "seed": 12345},
575575
"test_param_name": ["x_exp", 0],
576576
"test_si_name": ["CV", 16],
577-
"test_si_value": [0.25000, 2],
577+
"test_si_value": [0.250000, 2],
578578
},
579579
"hdmr": {
580580
"sampling_method": "saltelli",
@@ -583,7 +583,7 @@ def test_calc_sensitivity_all_pass(self):
583583
"sensitivity_kwargs": {},
584584
"test_param_name": ["x_exp", 2],
585585
"test_si_name": ["Sa", 4],
586-
"test_si_value": [0.004658, 3],
586+
"test_si_value": [0.004649, 3],
587587
},
588588
"ff": {
589589
"sampling_method": "ff",
@@ -614,7 +614,7 @@ def test_calc_sensitivity_all_pass(self):
614614
},
615615
"test_param_name": ["x_exp", 0],
616616
"test_si_name": ["dgsm", 8],
617-
"test_si_value": [1.697516e-01, 9],
617+
"test_si_value": [0.1697516, 9],
618618
},
619619
"fast": {
620620
"sampling_method": "fast_sampler",
@@ -623,7 +623,7 @@ def test_calc_sensitivity_all_pass(self):
623623
"sensitivity_kwargs": {"M": 4, "seed": 12345},
624624
"test_param_name": ["x_exp", 0],
625625
"test_si_name": ["S1_conf", 8],
626-
"test_si_value": [0.671396, 1],
626+
"test_si_value": [0.671546, 1],
627627
},
628628
"rbd_fast": {
629629
"sampling_method": "saltelli",
@@ -632,7 +632,7 @@ def test_calc_sensitivity_all_pass(self):
632632
"sensitivity_kwargs": {"M": 4, "seed": 12345},
633633
"test_param_name": ["x_exp", 0],
634634
"test_si_name": ["S1_conf", 4],
635-
"test_si_value": [0.152609, 4],
635+
"test_si_value": [0.129919, 4],
636636
},
637637
"morris": {
638638
"sampling_method": "morris",
@@ -641,7 +641,7 @@ def test_calc_sensitivity_all_pass(self):
641641
"sensitivity_kwargs": {},
642642
"test_param_name": ["x_exp", 0],
643643
"test_si_name": ["mu", 1],
644-
"test_si_value": [5066460029.63911, 8],
644+
"test_si_value": [7935400297.813827, 8],
645645
},
646646
}
647647

@@ -696,7 +696,7 @@ def test_sensitivity_method(
696696
haz_unc,
697697
sensitivity_method,
698698
method_params,
699-
places=2 if sensitivity_method == "rbd_fast" else 5,
699+
places=5,
700700
)
701701

702702

requirements/env_climada.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies:
3535
- rasterio>=1.4
3636
- requests>=2.32
3737
- rtree>=1.4
38-
- salib>=1.5,<1.5.2 # see https://github.com/CLIMADA-project/climada_python/issues/1081
38+
- salib>=1.5.2 # see https://github.com/CLIMADA-project/climada_python/issues/1081
3939
- scikit-learn>=1.7
4040
- scipy>=1.15
4141
- seaborn>=0.13

0 commit comments

Comments
 (0)