def on_instance_start(
        self, *, index: int, env: SWEEnv, problem_statement: ProblemStatement | ProblemStatementConfig
    ):
        """Called at the beginning of each instance loop in `Main.run`"""
Called at the beginning of each instance loop in `Main.run`
sweagent/run/hooks/abstract.py