Esempio n. 1
0
 def response_training_response(self):
     """ Analyzes the user's performance on a given grip, returns a string appropriate to their success/failure"""
     training_response = Mglove_str_gen.training_response(
         self.user_stats.get_followup(),
         self.user_stats.get_grip_avg(grip_number=self.user_stats.get_followup(), old=True),
         self.user_stats.get_grip_avg(grip_number=self.user_stats.get_followup()))
     self._last_response = training_response[0]
     return training_response[1]