@@ -205,7 +205,7 @@ def ask_trials(self, n_trials: int) -> List[Trial]:
205
205
if n_trials > self .n_queued_trials :
206
206
n_gen = n_trials - self .n_queued_trials
207
207
# Ask generator for n_gen points, using the standardized API
208
- gen_points = self .ask (n_gen )
208
+ gen_points = self .suggest (n_gen )
209
209
# Convert the points to the Trial format
210
210
gen_trials = []
211
211
for point in gen_points :
@@ -252,7 +252,7 @@ def tell_trials(
252
252
253
253
"""
254
254
# Feed data to the generator, using the standardized API
255
- self .tell ([trial .to_dict () for trial in trials ])
255
+ self .ingest ([trial .to_dict () for trial in trials ])
256
256
257
257
# Perform additional checks that rely on the trial format
258
258
for trial in trials :
@@ -583,7 +583,7 @@ def get_libe_specs(self) -> Dict:
583
583
libE_specs = {}
584
584
return libE_specs
585
585
586
- def ask (self , num_points : Optional [int ]) -> List [dict ]:
586
+ def suggest (self , num_points : Optional [int ]) -> List [dict ]:
587
587
"""Request the next set of points to evaluate.
588
588
589
589
Parameters
@@ -594,7 +594,7 @@ def ask(self, num_points: Optional[int]) -> List[dict]:
594
594
"""
595
595
return []
596
596
597
- def tell (self , results : List [dict ]) -> None :
597
+ def ingest (self , results : List [dict ]) -> None :
598
598
"""
599
599
Send the results of evaluations to the generator.
600
600
0 commit comments