feat: grade exercise with AI (#296)

* working on the UI of the grading

* working on the grading function of the radio and checkboxes

* ai grading fully implemented with dummy functions for generating scores

* working on the openai response

* working on the openai response

* finished with the ai_grading

* finished with the ai_grading

* creating new migration file

* working on reviews

* updated the translations

* improvements

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Em_Dev
2024-05-13 19:35:06 +01:00
committed by GitHub
co-authored by Rotimi Best
parent fc8b8e1898
commit e243564113
37 changed files with 688 additions and 150 deletions
@@ -447,6 +447,21 @@
"submitted": "Поданный",
"in_progress": "В ходе выполнения",
"graded": "Оцененный"
},
"grading_modal": {
"details": "Подробности",
"early": "Рано",
"late": "Поздно",
"total_grade": "Общая оценка",
"student": "Студент",
"status": "Положение дел",
"add_comment": "Добавить комментарий",
"grade_with_ai": "Оценка с помощью ИИ",
"submit_grades": "Отправить оценки",
"accept_grade": "Принимать",
"reject_grade": "Отклонять",
"add_comment_placeholder": "Оставить комментарий",
"questions_tried": "Присвоен этот балл из-за общего количества попыток:"
}
},
"attendance": {
@@ -1137,4 +1152,4 @@
"seconds": "секунды",
"snackbar_error": "ошибка при отправке кода"
}
}
}