Skip to content

Commit 86ab89e

Browse files
committed
fix slow tests
1 parent e53ed53 commit 86ab89e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/lc2st_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def test_lc2st_true_positiv_rate(method):
197197

198198
# good estimator: big training and num_epochs = accept
199199
# (convergence of the estimator)
200-
num_train = 10_000
200+
num_train = 5_000
201201
num_epochs = 200
202202

203203
num_cal = 1_000

tests/linearGaussian_npse_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_c2st_npse_on_linearGaussian(
3838

3939
x_o = zeros(1, num_dim)
4040
num_samples = 1000
41-
num_simulations = 4000
41+
num_simulations = 5000
4242

4343
# likelihood_mean will be likelihood_shift+theta
4444
likelihood_shift = -1.0 * ones(num_dim)

tests/sbc_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_consistent_sbc_results(density_estimator, cov_method):
9999
def simulator(theta):
100100
return linear_gaussian(theta, likelihood_shift, likelihood_cov)
101101

102-
num_simulations = 2000
102+
num_simulations = 4000
103103
num_posterior_samples = 1000
104104
num_sbc_runs = 100
105105

0 commit comments

Comments
 (0)