Skip to content

Commit

Permalink
Relaxed test tolerance
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 725193038
  • Loading branch information
sagipe authored and copybara-github committed Feb 10, 2025
1 parent 7ce0ae8 commit e119b7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vizier/_src/algorithms/designers/gp_ucb_pe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ def test_on_flat_space(
# single-metric case because the acquisition value in the multi-metric
# case is randomly scalarized.
if num_metrics == 1:
self.assertAlmostEqual(mean + 10.0 * stddev_from_all, acq)
expected_acq = mean + 10.0 * stddev_from_all
self.assertAlmostEqual(expected_acq, acq, delta=1e-6)
self.assertTrue(use_ucb)
continue

Expand Down

0 comments on commit e119b7b

Please sign in to comment.