gradeOrSkip
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.
Parameters
errorsOrLazyPipeline
resolution of whether the Config is valid or not from DockerRunner.resolveStaticErrors
payload
received payload
partialContext
constructed context from DockerRunner.resolveStaticErrors
startTime
starting time of grading