async def _execute_with_instance(self, instance: Instance, data: Dict[str, Any], temp_dir: str) -> Tuple[str, str]:
        """Execute code using a prepared instance.

        Args:
            instance: Ready MorphCloud instance
            data: Execution data
            temp_dir: Temporary directory for file operations

        Returns:
            Tuple of (score, feedback)

        Raises:
            Exception: Passes through exceptions for retry handling
        """
        await instance.await_until_ready(timeout=300)

        problem_id, grader_config, local_files = await self._prepare_files(data, temp_dir)

        await self._upload_files(instance, local_files)

        try:
            await self._compile_code(instance)
        except RuntimeError as e:
            return "0", str(e)

        score, feedback = await self._run_tests(instance, data)
        return score, feedback
Execute code using a prepared instance.

        Args:
            instance: Ready MorphCloud instance
            data: Execution data
            temp_dir: Temporary directory for file operations

        Returns:
            Tuple of (score, feedback)

        Raises:
            Exception: Passes through exceptions for retry handling
        
src/open_r1/utils/competitive_programming/morph_client.py