@@ -99,6 +99,7 @@ def test_eval_with_limits_holdout(self, pynisher_mock):
99
99
config .config_id = 198
100
100
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
101
101
stats = self .stats ,
102
+ multi_objectives = ["cost" ],
102
103
memory_limit = 3072 ,
103
104
metric = accuracy ,
104
105
cost_for_crash = get_cost_of_crash (accuracy ),
@@ -120,6 +121,7 @@ def test_cutoff_lower_than_remaining_time(self, pynisher_mock):
120
121
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
121
122
stats = self .stats ,
122
123
memory_limit = 3072 ,
124
+ multi_objectives = ["cost" ],
123
125
metric = accuracy ,
124
126
cost_for_crash = get_cost_of_crash (accuracy ),
125
127
abort_on_first_run_crash = False ,
@@ -146,6 +148,7 @@ def test_eval_with_limits_holdout_fail_timeout(self, pynisher_mock):
146
148
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
147
149
stats = self .stats ,
148
150
memory_limit = 3072 ,
151
+ multi_objectives = ["cost" ],
149
152
metric = accuracy ,
150
153
cost_for_crash = get_cost_of_crash (accuracy ),
151
154
abort_on_first_run_crash = False ,
@@ -166,6 +169,7 @@ def test_zero_or_negative_cutoff(self, pynisher_mock):
166
169
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
167
170
stats = self .stats ,
168
171
memory_limit = 3072 ,
172
+ multi_objectives = ["cost" ],
169
173
metric = accuracy ,
170
174
cost_for_crash = get_cost_of_crash (accuracy ),
171
175
abort_on_first_run_crash = False ,
@@ -187,6 +191,7 @@ def test_eval_with_limits_holdout_fail_silent(self, pynisher_mock):
187
191
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
188
192
stats = self .stats ,
189
193
memory_limit = 3072 ,
194
+ multi_objectives = ["cost" ],
190
195
metric = accuracy ,
191
196
cost_for_crash = get_cost_of_crash (accuracy ),
192
197
abort_on_first_run_crash = False ,
@@ -228,6 +233,7 @@ def test_eval_with_limits_holdout_fail_memory_error(self, pynisher_mock):
228
233
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
229
234
stats = self .stats ,
230
235
memory_limit = 3072 ,
236
+ multi_objectives = ["cost" ],
231
237
metric = accuracy ,
232
238
cost_for_crash = get_cost_of_crash (accuracy ),
233
239
abort_on_first_run_crash = False ,
@@ -266,6 +272,7 @@ def side_effect(**kwargs):
266
272
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
267
273
stats = self .stats ,
268
274
memory_limit = 3072 ,
275
+ multi_objectives = ["cost" ],
269
276
metric = accuracy ,
270
277
cost_for_crash = get_cost_of_crash (accuracy ),
271
278
abort_on_first_run_crash = False ,
@@ -289,6 +296,7 @@ def side_effect(**kwargs):
289
296
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
290
297
stats = self .stats ,
291
298
memory_limit = 3072 ,
299
+ multi_objectives = ["cost" ],
292
300
metric = accuracy ,
293
301
cost_for_crash = get_cost_of_crash (accuracy ),
294
302
abort_on_first_run_crash = False ,
@@ -316,6 +324,7 @@ def side_effect(*args, **kwargs):
316
324
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
317
325
stats = self .stats ,
318
326
memory_limit = 3072 ,
327
+ multi_objectives = ["cost" ],
319
328
metric = accuracy ,
320
329
cost_for_crash = get_cost_of_crash (accuracy ),
321
330
abort_on_first_run_crash = False ,
@@ -340,6 +349,7 @@ def test_exception_in_target_function(self, eval_holdout_mock):
340
349
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
341
350
stats = self .stats ,
342
351
memory_limit = 3072 ,
352
+ multi_objectives = ["cost" ],
343
353
metric = accuracy ,
344
354
cost_for_crash = get_cost_of_crash (accuracy ),
345
355
abort_on_first_run_crash = False ,
@@ -363,6 +373,7 @@ def test_silent_exception_in_target_function(self):
363
373
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
364
374
stats = self .stats ,
365
375
memory_limit = 3072 ,
376
+ multi_objectives = ["cost" ],
366
377
metric = accuracy ,
367
378
cost_for_crash = get_cost_of_crash (accuracy ),
368
379
abort_on_first_run_crash = False ,
@@ -401,6 +412,7 @@ def test_eval_with_simple_intensification(self):
401
412
ta = ExecuteTaFuncWithQueue (backend = BackendMock (), seed = 1 ,
402
413
stats = self .stats ,
403
414
memory_limit = 3072 ,
415
+ multi_objectives = ["cost" ],
404
416
metric = accuracy ,
405
417
cost_for_crash = get_cost_of_crash (accuracy ),
406
418
abort_on_first_run_crash = False ,
0 commit comments