A PythonGrader object that runs a python script on the input.

interface Python {
    image_tag?: string;
    name: string;
    pass_threshold?: number;
    source: string;
    type: "python";
}

Properties

image_tag?: string

The image tag to use for the python script.

name: string

The name of the grader.

pass_threshold?: number

The threshold for the score.

source: string

The source code of the python script.

type: "python"

The object type, which is always python.