@@ -111,14 +111,14 @@ def increase_queries_size(self, amount):
111111 """
112112 self .total_size_queries += amount
113113
114- def aggreagate_max_waiting_time (self , max2 ):
114+ def aggreagate_max_waiting_time (self , t ):
115115 """
116116 Aggregate the maximum waiting time.
117117
118- :param max2 : The new waiting time to compare with the current maximum.
118+ :param t : The new waiting time to compare with the current maximum.
119119 """
120- if self .max_waiting_time < max2 :
121- self .max_waiting_time = max2
120+ if self .max_waiting_time < t :
121+ self .max_waiting_time = t
122122
123123 def increase_recommendation_queries_count (self , amount = 1 ):
124124 """
@@ -252,7 +252,7 @@ def print_short_statistics(self):
252252 results_df = pd .DataFrame ([self .metrics_short_dict ])
253253 print (results_df .to_string (index = False ))
254254 except ImportError :
255- print (self .metrics_dict )
255+ print (self .metrics_short_dict )
256256
257257 @property
258258 def short_statistics (self ):
@@ -264,7 +264,7 @@ def short_statistics(self):
264264 results_df = pd .DataFrame ([self .metrics_short_dict ])
265265 return results_df
266266 except ImportError :
267- return self .metrics_dict
267+ return self .metrics_short_dict
268268
269269 def write_to_file (self , filename ):
270270 """
0 commit comments