def _step_down(self) -> bool:
        """Step down to the next search space in queue."""
        if len(self._path) == (len(self._search_spaces) - 1):
            return False

        state = self._state[tuple(self._path)]

        # Current state is potentially modified, sort the collected results again!
        if not state.results.sort(apply_goals=True):
            logger.warning(
                "No models in path %s met the goals. Sorting the models without applying goals...", self._path
            )
            state.results.sort(apply_goals=False)

        return self._initialize_step()
Step down to the next search space in queue.
olive/search/search_strategy.py