@@ -33,10 +33,10 @@ def setup_method(self):
33
33
servicers , grpc_testing .strict_real_time ())
34
34
35
35
@pytest .mark .parametrize (
36
- ["algorithm_name" , "algorithm_settings" ],
36
+ ["algorithm_name" , "algorithm_settings" ],
37
37
[
38
- ["tpe" , {"startup_trials " : "20" , "ei_candidates " : "10" , "random_state" : "71" }],
39
- ["multivariate-tpe" , {"startup_trials " : "20" , "ei_candidates " : "10" , "random_state" : "71" }],
38
+ ["tpe" , {"n_startup_trials " : "20" , "n_ei_candidates " : "10" , "random_state" : "71" }],
39
+ ["multivariate-tpe" , {"n_startup_trials " : "20" , "n_ei_candidates " : "10" , "random_state" : "71" }],
40
40
["cmaes" , {"restart_strategy" : "ipop" , "sigma" : "2" , "random_state" : "71" }],
41
41
["random" , {"random_state" : "71" }],
42
42
],
@@ -47,7 +47,7 @@ def test_get_suggestion(self, algorithm_name, algorithm_settings):
47
47
spec = api_pb2 .ExperimentSpec (
48
48
algorithm = api_pb2 .AlgorithmSpec (
49
49
algorithm_name = algorithm_name ,
50
- algorithm_settings = [
50
+ algorithm_settings = [
51
51
api_pb2 .AlgorithmSetting (
52
52
name = name ,
53
53
value = value
0 commit comments