def METHOD_NAME(self, parameter_id, success, **kwargs):
    if not success:
        del self.history[parameter_id]
        if self._from_initial[parameter_id]:
            self.initial_population.append(self._random_model())
        del self._from_initial[parameter_id]