code: def _record_score(self, history, current_score):
          
          history.record(self.name_, current_score)
  
          is_best = self._is_best_score(current_score)
          if is_best is None:
              return
  
          history.record(self.name_ + '_best', bool(is_best))
          if is_best:
              self.best_score_ = current_score
docs: Record the current store and, if applicable, if it's the best score
          yet.