Grading#
- class GenerateFeedbackHandler(application: grader_service.server.GraderServer, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/grading/ {submission_id}/feedback.
- async get(lecture_id: int, assignment_id: int, sub_id)[source]#
Starts the process of generating feedback for a submission.
- Parameters
lecture_id (int) – id of the lecture
assignment_id (int) – id of the assignment
sub_id (int) – id of the submission
- Raises
HTTPError – throws err if the submission was not found
- hub_api_base_path: str#
- class GradingAutoHandler(application: grader_service.server.GraderServer, request: tornado.httputil.HTTPServerRequest, **kwargs: Any)[source]#
Tornado Handler class for http requests to /lectures/{lecture_id}/assignments/{assignment_id}/grading/ {submission_id}/auto.
- async get(lecture_id: int, assignment_id: int, sub_id: int)[source]#
Starts the autograding process of a submission.
- Parameters
lecture_id (int) – id of the lecture
assignment_id (int) – id of the assignment
sub_id (int) – id of the submission
- Raises
HTTPError – throws err if the submission was not found
- hub_api_base_path: str#