@@ -143,7 +143,7 @@ def test_get_suggestion(self):
143
143
value = "1.0"
144
144
),
145
145
api_pb2 .AlgorithmSetting (
146
- name = "n_EI_candidates " ,
146
+ name = "n_ei_candidates " ,
147
147
value = "24"
148
148
),
149
149
],
@@ -220,7 +220,7 @@ def test_validate_algorithm_settings(self):
220
220
value = "1.0"
221
221
),
222
222
api_pb2 .AlgorithmSetting (
223
- name = "n_EI_candidates " ,
223
+ name = "n_ei_candidates " ,
224
224
value = "24"
225
225
),
226
226
]
@@ -270,19 +270,19 @@ def test_validate_algorithm_settings(self):
270
270
self .assertEqual (code , grpc .StatusCode .INVALID_ARGUMENT )
271
271
self .assertEqual (details , "gamma should be in the range of (0, 1)" )
272
272
273
- # Invalid n_EI_candidates value.
273
+ # Invalid n_ei_candidates value.
274
274
experiment_spec = api_pb2 .ExperimentSpec (
275
275
algorithm = api_pb2 .AlgorithmSpec (
276
276
algorithm_name = "tpe" ,
277
277
algorithm_settings = [
278
- api_pb2 .AlgorithmSetting (name = "n_EI_candidates " , value = "0" )
278
+ api_pb2 .AlgorithmSetting (name = "n_ei_candidates " , value = "0" )
279
279
]
280
280
)
281
281
)
282
282
283
283
_ , _ , code , details = utils .call_validate (self .test_server , experiment_spec )
284
284
self .assertEqual (code , grpc .StatusCode .INVALID_ARGUMENT )
285
- self .assertEqual (details , "n_EI_candidates should be great than zero" )
285
+ self .assertEqual (details , "n_ei_candidates should be great than zero" )
286
286
287
287
# Invalid random_state value.
288
288
experiment_spec = api_pb2 .ExperimentSpec (
0 commit comments