Skip to main content

compare_grades

Function compare_grades 

Source
pub fn compare_grades(
    registered_grade_scale_id: &str,
    registered_grade_id: &str,
    candidate: &MappedGrade,
) -> GradeComparison
Expand description

Whether candidate is worth pushing over registered, which is the frozen pair of an attempt the registry accepted.

NotComparable is not “unknown, try anyway”: submitting on a cross-scale difference would ask the registry to replace a pass with a number, or the other way round, on a guess.