Some schools use nine week cycles, some schools use quarters, it's all weird and stuff. Instead, check Course.semesters.length and Course.semesters[0].cycles.length for the number of semesters and cycles per semester to parse. They are guaranteed to be the same for all courses in a single call of GradeParser.parseAverages.
This is currently an issue in the overview rendering code. The tables are rendered with fixed 3 cycle + exam + semester rows. This will break on 9 week cycles and elementary school grades.
Some schools use nine week cycles, some schools use quarters, it's all weird and stuff. Instead, check
Course.semesters.length
andCourse.semesters[0].cycles.length
for the number of semesters and cycles per semester to parse. They are guaranteed to be the same for all courses in a single call ofGradeParser.parseAverages
.This may also affect UI rendering code.