sandboxnu / major-scraper

Scraping Northeastern's Academic Catalog for use in GraduateNU.
GNU General Public License v3.0
3 stars 0 forks source link

algo for validating majors in prod #21

Open riddhigupta06 opened 6 months ago

riddhigupta06 commented 6 months ago

Recursive algorithm for validating majors in prod.

  1. The JSON in the files must be of type Major2.
  2. The scraper file must be named parsed.initial.json
  3. The prod file must be named parsed.commit.json

To run the validate algorithm, run:

  1. pnpm install
  2. npx tsx src/validate/validate.ts