[][src]Module lab_grader::criterion

Definitions for creating and running criteria

A criterion is one specific item in a series of items that form a grade. Each criterion has a name, point value, and a related function. Testing the criterion is running the function, which will return true or false. A final grade can be calculated by adding up all the values of the criteria, if they passed.

You probably shouldn't create criteria individually through this module, but you can if you want. Instead, you should define your criteria in YAML then build that into a Rubric.

Structs

Criterion

A single Criterion