jyn514 / GradeForge

Courses available from my.sc.edu
GNU General Public License v3.0
1 stars 0 forks source link

Courses are listed under the incorrect department #36

Closed jyn514 closed 6 years ago

jyn514 commented 6 years ago

the school doesn't always list courses under the right department! ACCT A321 is listed as accounting, but it's actually part of BADM, business administration.

Since this is impossible to know without reading the course descriptions on the actual webpage (and nobody does that), we'll continue to list courses under the same department the school does. This will be more helpful to the end user even if it makes our lives harder from a database perspective.

As a workaround, the parser will use the most common description for a given department as the canonical description. This could still potentially fail (if, for example, there are more BADM classes than ACCT classes listed under ACCT), but is more accurate than always taking the first description.

jyn514 commented 6 years ago

I find the effort put into the USC site very telling by the fact that ('Business Adminstration', 38) was more than twice as common as its correctly-spelled competitors, ('Business Admin', 19) and ('Business Administration', 11).

I'm not even going to try and fix it.