Single

class Single(val runner: Runner, val stage: PipelineStage, displayName: String, score: Double?, isCorrect: Boolean) : ScoreGenerator

ScoreGenerator for pipeline stages which only generate a single test case.

Constructors

Link copied to clipboard
constructor(runner: Runner, stage: PipelineStage, displayName: String, score: Double?, isCorrect: Boolean)

Properties

Link copied to clipboard
protected open override val aggregator: SingleScoreUnitAggregator

ScoreUnitAggregator for reducing all generated ScoreReportUnit into a single aggregated score for the stage.

Link copied to clipboard
protected open override val generator: SingleScoreUnitGenerator

ScoreUnitGenerator for generating ScoreReportUnit from some arbitrary input of the pipeline stage.

Link copied to clipboard
protected open override val runner: Runner

The Runner used to execute the score-generating pipeline stage.

Link copied to clipboard

The score of this report unit.

Link copied to clipboard
Link copied to clipboard
protected open override val stage: PipelineStage

The PipelineStage which should generate the scoring-related information.