def get_best(self) -> int | None:
        """Important note: This is cached. Only call this at the end."""
        if self._chooser_output is not None:
            return self._chooser_output.chosen_idx
        if len(self._submissions) == 0:
            return None
        self._chooser_output = self._chooser.choose(self._problem_statement.get_problem_statement(), self._submissions)
        return self._chooser_output.chosen_idx
Important note: This is cached. Only call this at the end.
sweagent/agent/reviewer.py