nvalchemi.training.distillation.evaluation.StudentVerdict#

class nvalchemi.training.distillation.evaluation.StudentVerdict(name, accepted, checks)[source]#

Outcome of every check applied to one student.

Parameters:
name#

Student the verdict belongs to.

Type:

str

accepted#

True when every check passed. A student with no checks at all is accepted, since no bar was asked for.

Type:

bool

checks#

Checks in the order they were applied.

Type:

tuple[AcceptanceCheck, …]

to_dict()[source]#

Return the verdict and its checks as plain dictionaries.

Return type:

dict[str, Any]