Skip to content

Open endpoint to easily regrade submissions #502

Open
@geshuming

Description

@geshuming

Currently there is no endpoint. If we want to regrade all submissions belong to a mission we need to use the following call:

Cadet.Assessments.Submission
|> where(assessment_id: <id>)
|> Repo.all()
|> Enum.each(&Cadet.Autograder.GradingJob.force_grade_individual_submission/1)

Metadata

Metadata

Assignees

Labels

importantFixing this is important, but not mission-critical

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions