-
Notifications
You must be signed in to change notification settings - Fork 4
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
Beta Majors! #739
Beta Majors! #739
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Biggest PR i've ever seen so cracked im so excited
} | ||
|
||
// TODO: this code is quick and dirty but works. this should be replaced with some dry-er code later. | ||
async function collateMajors() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My brain is slow but from what it looks like, we run through each year, each college and add all the majors. initial.json is our initial scrape and commit.json is the hand validated stuff?
If this is the case I can update this with comments/put it in our notion somewhere for knowledge transfer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call! Added some comments to the function.
Description
This PR adds a few beta majors to graduate + adapts the major loading infrastructure to dynamically load majors based on presence in the relevant folders.
Type of change
How Has This Been Tested?
Manual tests to ensure majors are being piped through properly.
Checklist: