CodeQualityAsJSON

class CodeQualityAsJSON[source]

CodeQualityAsJSON(type: “t.Literal[‘code_quality’]”, data: ‘CodeQualityData’, name: ‘str’, weight: ‘float’, hidden: ‘bool’, id: ‘int’, description: ‘t.Optional[str]’, redacted: ‘t.Literal[False]’)

redacted: Literal[False]

This data will be used if the step is not redacted.

id: int

The id of this step

description: str | None

Description template for this step that is shown to students.

name: str

The name of this step.

weight: float

The amount of weight this step should have.

hidden: bool

Is this step hidden? If true in most cases students will not be able to see this step and its details.

type: Literal['code_quality']

This is a CodeQuality step.

data: CodeQualityData

The data for the run program step.