docs: def success_rate(self):
          """
          Returns a float with the rate of success from all the logged results.
          """
          if self.successes + self.fails == 0:
              success_rate = 0
          else:
              total_attempts = self.successes + self.fails
              success_rate = (self.successes * 100 / total_attempts)
  
          return success_rate