From 76d24caf4495a6d6a84519a7a6f11a4f68dc4dd0 Mon Sep 17 00:00:00 2001 From: Sathvik Bhagavan Date: Tue, 12 Dec 2023 08:32:14 +0000 Subject: [PATCH] test: update the MOE ND tests, use 9 samples and unmark broken --- lib/SurrogatesMOE/test/runtests.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/SurrogatesMOE/test/runtests.jl b/lib/SurrogatesMOE/test/runtests.jl index 5caeaee8..a6aa4c4c 100644 --- a/lib/SurrogatesMOE/test/runtests.jl +++ b/lib/SurrogatesMOE/test/runtests.jl @@ -78,7 +78,7 @@ end n = 150 x = sample(n, lb, ub, SobolSample()) y = discont_NDIM.(x) - x_test = sample(10, lb, ub, GoldenSample()) + x_test = sample(9, lb, ub, GoldenSample()) expert_types = [ KrigingStructure(p = [1.0, 1.0], theta = [1.0, 1.0]), @@ -95,8 +95,8 @@ end krig = Kriging(x, y, lb, ub, p = [1.0, 1.0], theta = [1.0, 1.0]) krig_pred_vals = krig.(x_test) krig_rmse = rmse(true_vals, krig_pred_vals) - @test_broken (rbf_rmse > moe_rmse) - @test_broken (krig_rmse > moe_rmse) + @test (rbf_rmse > moe_rmse) + @test (krig_rmse > moe_rmse) end @safetestset "Miscellaneous" begin