Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrOut = "translate:internal_error" CorrectOut = "translate:success" WrongOut = "translate:wrong" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶ added in v0.25.0
type Checker interface { Prepare(context.Context) (string, error) Cleanup(context.Context) error // RunChecker returns a comment and a decimal number [0, 100] signifying the percentage of correctness of the subtest RunChecker(ctx context.Context, subtestID int, testID int) (string, decimal.Decimal) }
Checker is an interface for a function that statelessly tries to evaluate a subtest from a submission
func NewLegacyCustomChecker ¶
Click to show internal directories.
Click to hide internal directories.