from abc import ABC, abstractmethod from typing import Dict, List class IGradeService(ABC): @abstractmethod async def grade_short_answers(self, data: Dict): pass @abstractmethod async def calculate_grading_summary(self, extracted_sections: List): pass