@@ -99,6 +99,7 @@ def test_eval_with_limits_holdout(self, pynisher_mock):
9999 config .config_id = 198
100100 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
101101 stats = self .stats ,
102+ multi_objectives = ["cost" ],
102103 memory_limit = 3072 ,
103104 metric = accuracy ,
104105 cost_for_crash = get_cost_of_crash (accuracy ),
@@ -120,6 +121,7 @@ def test_cutoff_lower_than_remaining_time(self, pynisher_mock):
120121 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
121122 stats = self .stats ,
122123 memory_limit = 3072 ,
124+ multi_objectives = ["cost" ],
123125 metric = accuracy ,
124126 cost_for_crash = get_cost_of_crash (accuracy ),
125127 abort_on_first_run_crash = False ,
@@ -146,6 +148,7 @@ def test_eval_with_limits_holdout_fail_timeout(self, pynisher_mock):
146148 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
147149 stats = self .stats ,
148150 memory_limit = 3072 ,
151+ multi_objectives = ["cost" ],
149152 metric = accuracy ,
150153 cost_for_crash = get_cost_of_crash (accuracy ),
151154 abort_on_first_run_crash = False ,
@@ -166,6 +169,7 @@ def test_zero_or_negative_cutoff(self, pynisher_mock):
166169 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
167170 stats = self .stats ,
168171 memory_limit = 3072 ,
172+ multi_objectives = ["cost" ],
169173 metric = accuracy ,
170174 cost_for_crash = get_cost_of_crash (accuracy ),
171175 abort_on_first_run_crash = False ,
@@ -187,6 +191,7 @@ def test_eval_with_limits_holdout_fail_silent(self, pynisher_mock):
187191 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
188192 stats = self .stats ,
189193 memory_limit = 3072 ,
194+ multi_objectives = ["cost" ],
190195 metric = accuracy ,
191196 cost_for_crash = get_cost_of_crash (accuracy ),
192197 abort_on_first_run_crash = False ,
@@ -228,6 +233,7 @@ def test_eval_with_limits_holdout_fail_memory_error(self, pynisher_mock):
228233 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
229234 stats = self .stats ,
230235 memory_limit = 3072 ,
236+ multi_objectives = ["cost" ],
231237 metric = accuracy ,
232238 cost_for_crash = get_cost_of_crash (accuracy ),
233239 abort_on_first_run_crash = False ,
@@ -266,6 +272,7 @@ def side_effect(**kwargs):
266272 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
267273 stats = self .stats ,
268274 memory_limit = 3072 ,
275+ multi_objectives = ["cost" ],
269276 metric = accuracy ,
270277 cost_for_crash = get_cost_of_crash (accuracy ),
271278 abort_on_first_run_crash = False ,
@@ -289,6 +296,7 @@ def side_effect(**kwargs):
289296 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
290297 stats = self .stats ,
291298 memory_limit = 3072 ,
299+ multi_objectives = ["cost" ],
292300 metric = accuracy ,
293301 cost_for_crash = get_cost_of_crash (accuracy ),
294302 abort_on_first_run_crash = False ,
@@ -316,6 +324,7 @@ def side_effect(*args, **kwargs):
316324 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
317325 stats = self .stats ,
318326 memory_limit = 3072 ,
327+ multi_objectives = ["cost" ],
319328 metric = accuracy ,
320329 cost_for_crash = get_cost_of_crash (accuracy ),
321330 abort_on_first_run_crash = False ,
@@ -340,6 +349,7 @@ def test_exception_in_target_function(self, eval_holdout_mock):
340349 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
341350 stats = self .stats ,
342351 memory_limit = 3072 ,
352+ multi_objectives = ["cost" ],
343353 metric = accuracy ,
344354 cost_for_crash = get_cost_of_crash (accuracy ),
345355 abort_on_first_run_crash = False ,
@@ -363,6 +373,7 @@ def test_silent_exception_in_target_function(self):
363373 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
364374 stats = self .stats ,
365375 memory_limit = 3072 ,
376+ multi_objectives = ["cost" ],
366377 metric = accuracy ,
367378 cost_for_crash = get_cost_of_crash (accuracy ),
368379 abort_on_first_run_crash = False ,
@@ -401,6 +412,7 @@ def test_eval_with_simple_intensification(self):
401412 ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
402413 stats = self .stats ,
403414 memory_limit = 3072 ,
415+ multi_objectives = ["cost" ],
404416 metric = accuracy ,
405417 cost_for_crash = get_cost_of_crash (accuracy ),
406418 abort_on_first_run_crash = False ,
0 commit comments