IOTestInputAsJSON

class IOTestInputAsJSON[source]

IOTestInputAsJSON(type: “t.Literal[‘io_test’]”, data: ‘IOTestData’, name: ‘str’, weight: ‘float’, hidden: ‘bool’, id: ‘Maybe[int]’ = Nothing, description: ‘Maybe[t.Optional[str]]’ = Nothing)

description: Just[str | None] | _Nothing[str | None] = Nothing

Description template for this step that is shown to students.

id: Just[int] | _Nothing[int] = Nothing

The id of the step. Provide this if you want to edit an existing step. If not provided a new step will be created.

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['io_test']

This is an IO Test.

data: IOTestData

The data for this IO test.