GradingTask

Properties

Link copied to clipboard
Link copied to clipboard

name of the job, that is the IPC topic name

Link copied to clipboard
private val logger: Logger

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
open suspend override fun handlePayload(payload: Payload.GradingTask)

There are three cases of immediate/scheduled & Partial/Full grading:

Link copied to clipboard