def METHOD_NAME(self, exp_name, status):
    """
    Convert experiment record from running to complete.
    Args:
       exp_name<str>: the name of experiment.
       status<str>: the status of this experiment.
    """
    _logger.debug('the status of this experiment is {}'.format(status))
    completed_avg_history = dict()
    if exp_name in self._running_history:
        if status == "GOOD":
            count = 0
            history_sum = 0
            result = []
            for res in self._running_history[exp_name]:
                count += 1
                history_sum += res
                result.append(history_sum / count)
            completed_avg_history[exp_name] = result
        self._running_history.pop(exp_name)
    if len(completed_avg_history) > 0:
        while True:
            try:
                new_dict = self._manager.get_completed_history()
                new_dict.update(completed_avg_history)
                break
            except Exception as err:
                _logger.error("update data error: {}".format(err))