Brushed up the backend, added writing task 1 academic prompt gen and grading ENCOA-274
This commit is contained in:
13
ielts_be/services/abc/exam/grade.py
Normal file
13
ielts_be/services/abc/exam/grade.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user