Expand description
Our grade in the study registry’s terms. Every pair that reaches a batch has been through
map_grade or is_known_grade.
Structs§
- Grade
Source - What the completion says and what the chosen enrolment says the scale should be.
- Mapped
Grade
Enums§
- Grade
Comparison - How a grade stands against one the registry already holds.
- Grade
Scale Family
Constants§
- FAIL_
GRADE_ ID - MAX_
NUMERIC_ GRADE - NUMERIC_
GRADE_ SCALE_ ID - PASS_
FAIL_ GRADE_ SCALE_ ID - The spelling Suotar accepts, and the one we send. Both are accepted on the way in.
- PASS_
FAIL_ GRADE_ SCALE_ ID_ ALT - The other spelling of the same scale, which our own legacy pull path sends. Suotar refuses it.
- PASS_
GRADE_ ID
Functions§
- compare_
grades - Whether
candidateis worth pushing overregistered, which is the frozen pair of an attempt the registry accepted. - grade_
rank 🔒 - Where a grade sits within its own scale. Comparable only against another rank of the same scale.
- grade_
scale_ 🔒family - improves_
on_ all - Whether the grade
oursmaps to beats every grade inheld, which is what Suotar requires of an improvement.Noneis a held credit whose grade is unknown. - is_
known_ grade - Whether a frozen pair is one we can send. Checked again before batching, so a pair our mapping
does not produce fails on our side rather than as Suotar’s
invalidGradeForGradeScale. - map_
grade - Maps a completion into the scale the registry expects, preferring what it told us to a guess.
- same_
grade_ scale - Whether two scale ids name the same scale. The pass/fail id has two spellings in circulation, so comparing the strings would call an attainment we ourselves registered a different scale.