Skip to content

Handle inconsistent course codes in the prerequisites vs. code field in course API object #7

@aleguy02

Description

@aleguy02

Course codes are inconsistent in "prerequisites" vs. "code" field in course API objects. For example, COP3530 has COP3503 as a prereq

{  
code": "COP3530",  
prerequisites": "Prereq: (COP 3504 or COP 3503) and COT 3100 and (MAC 2234 or MAC 2312 or MAC 2512 or MAC 3473), all with a minimum grade of C."
}

but the ACTUAL course code is COP3503C

{
"code": "COP3503C",  
"prerequisites": "Prereq: COP 3502C and MAC 2311 both with minimum grades of C."
}

The result is scattered data. To see this issue in the frontend, go to http://127.0.0.1:5000/unlocks/COP3503 and http://127.0.0.1:5000/unlocks/COP3503C and observe the different results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions