def METHOD_NAME(self, inputs, results):
    found_best_pos = False
    for i, (_, res) in enumerate(zip(inputs, results)):
        try:
            if np.mean(self.best_choice[2]) > np.mean(res.costs) and self.p_value(
                self.best_choice[2], res.costs
            ):
                self.best_choice = (self.next[i][0], self.next[i][1], res.costs)
                found_best_pos = True
        except TypeError:
            LOGGER.debug("Solution is not valid")
            continue
        else:
            continue
    self.next = self.next[self.batch : -1]
    if found_best_pos:
        self.next += self.next_pos(self.search_space())
        self.execution = 1
    self.speculation()