GradingTask
Functions
Link copied to clipboard
private suspend fun gradeOrSkip(errorsOrLazyPipeline: Either<List<ErrorUnit.ConfigErrorUnit>, Pair<List<ErrorUnit.ContextErrorUnit>, LazyPipeline>>, payload: Payload.GradingTask, partialContext: PartialContext, startTime: Instant, isReportFinal: Boolean): Payload.DoneGrading
Grades the assignment if the Config is valid using the pipeline and returns the DoneGrading payload.
Link copied to clipboard
There are three cases of immediate/scheduled & Partial/Full grading:
Link copied to clipboard