Skip to content

Commit 50b7f80

Browse files
committed
Fix issue with grade ranges being incorrect
Signed-off-by: Gary Kim <[email protected]>
1 parent c5ed911 commit 50b7f80

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/js/helpers.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ function grade_fp(grade) {
5151
const avaliableGrades = ["A+", "A", "B+", "B", "C+", "C", "D+", "D", "F"];
5252

5353
const fprange = {
54-
'0-15': 'F',
55-
'15-25': 'D',
56-
'25-35': 'D+',
57-
'35-45': 'C',
58-
'45-55': 'C+',
59-
'55-65': 'B',
60-
'65-75': 'B+',
54+
'85-90': 'A+',
6155
'75-85': 'A',
62-
'85-90': 'A+'
56+
'65-75': 'B+',
57+
'55-65': 'B',
58+
'45-55': 'C+',
59+
'35-45': 'C',
60+
'25-35': 'D+',
61+
'15-25': 'D',
62+
'0-15': 'F'
6363
};
6464

6565
function fpToGrade(finalPercent) {

0 commit comments

Comments
 (0)