@@ -236,8 +236,6 @@ def get_workloads_time_to_target(submission,
236236
237237 df = pd .DataFrame .from_records (workloads )
238238 df = df .pivot (index = 'submission' , columns = 'workload' , values = time_col )
239- logging .info ("HELLOOOOOOOOO" )
240- print_dataframe (df )
241239 return df
242240
243241
@@ -306,16 +304,10 @@ def compute_performance_profiles(submissions,
306304 strict ))
307305 df = pd .concat (dfs )
308306
309- logging .info ("TIME TO TARGET" )
310- print_dataframe (df )
311-
312307 # Set score to inf if not within 4x of fastest submission
313308 best_scores = df .min (axis = 0 )
314309 df [df .apply (lambda x : x > 4 * best_scores , axis = 1 )] = np .inf
315310
316- logging .info ("4X of budget" )
317- print_dataframe (df )
318-
319311 # For each held-out workload if variant target was not hit set submission to inf
320312 framework = None
321313 for workload in df .keys ():
@@ -325,9 +317,6 @@ def compute_performance_profiles(submissions,
325317 df [base_workload ] = df .apply (
326318 variant_criteria_filter (base_workload , workload ), axis = 1 )
327319
328- logging .info ("HELDOUT_WORKLOAD FILTER" )
329- print_dataframe (df )
330-
331320 df = df [BASE_WORKLOADS ]
332321
333322 if verbosity > 0 :
@@ -356,17 +345,11 @@ def compute_performance_profiles(submissions,
356345 1000 ):
357346 logging .info (df )
358347
359- logging .info ('DIVIDE BY FASTEST' )
360- print_dataframe (df )
361-
362348 # If no max_tau is supplied, choose the value of tau that would plot all non
363349 # inf or nan data.
364350 if max_tau is None :
365351 max_tau = df .replace (float ('inf' ), - 1 ).replace (np .nan , - 1 ).values .max ()
366352
367- logging .info ('AFTER MAYBE SETTING MAX TAU' )
368- print_dataframe (df )
369-
370353 if scale == 'linear' :
371354 points = np .linspace (min_tau , max_tau , num = num_points )
372355 elif scale == 'log' :
0 commit comments