AutoTestStepResult

class AutoTestStepResult[source]

The step result as JSON.

id: int

The id of the result of a step

auto_test_step: IOTestAsJSON | RunProgramAsJSON | CustomOutputAsJSON | CheckPointsAsJSON | JunitTestAsJSON | CodeQualityAsJSON | AnyRedactedAutoTestStepAsJSON
state: AutoTestStepResultState

The state this result is in.

achieved_points: float

The amount of points achieved by the student in this step.

log: CustomOutputLog | JunitTestLog | QualityTestLog | RunProgramLog | IOTestLog | AutoTestStepLogBase | None

The log produced by this result. The format of this log depends on the step result.

started_at: datetime | None

The time this result was started, if null the result hasn’t started yet.

attachment_id: str | None

The id of the attachment produced by this result. If null no attachment was produced.