You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (newURL(current_courses[i].link).searchParams.get("begdate")) {
205
-
include_current_semester =true;
206
-
}
207
-
}
201
+
let include_current_semester;
202
+
let current_semester;
203
+
if (is_second_semester) {
204
+
current_semester ="S2";
205
+
} else {
206
+
current_semester ="S1";
207
+
}
208
+
if (current_term === current_semester) {
209
+
include_current_semester =false;
210
+
} else {
211
+
include_current_semester =true;
208
212
}
209
213
// Handles edge case where grade history page is updated before semester end, removes the old value and counts the latest version of the current semester.
214
+
// Removed as it seems to be causing other issues with calculating cumulative GPA, this can be reworked if necessary, but it is a rare case as it only occured when SAS implemented a grade freeze due to COVID resulting in grade history being updated prematurely.
0 commit comments