Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc parser issues with various non-grade related numbers parsed as grades #1149

Open
bettyruntianwang opened this issue Oct 8, 2020 · 0 comments

Comments

@bettyruntianwang
Copy link
Contributor

bettyruntianwang commented Oct 8, 2020

For example for course PPG200H1:
The prereq string is: ECO100Y1 / ECO101H1&ECO102H1 / ECO105Y1
the ECO102H1 is being parsed as a grade.
Additional note regarding this: if we recognize '&' as a "andSeparator", there is an issue with the interpretation of the prereq.
This is prereq is saying ECO100 or (ECO101 and ECO102) or ECO105, however, the parsing will pick this up as (ECO100 or ECO101) and (ECO102 or ECO105).

For course CLA303H1 (and others):
The prereq string is: CLA160H1 + 1 of CLA204H1/CLA219H1/CLA232H1/CLA233H1/CLA236H1/CLA260H1
The "1" is "+1" is being parsed as a grade.

For course SOC349H1 (and others):
The prereq string is: SOC201H1, SOC202H1, SOC204H1 & 1.0 FCE from SOC251H1/SOC252H1/SOC254H1
The "1.0" in FCE is parsed as a grade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant