Skip to content

Add Enrollment Counts to Section Parser - #219

Draft
justinschwerdtfeger wants to merge 6 commits into
developfrom
add-enrollment-counts
Draft

justinschwerdtfeger wants to merge 6 commits into
developfrom
add-enrollment-counts

Conversation

@justinschwerdtfeger

@justinschwerdtfeger justinschwerdtfeger commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds enrollment counts + status to section parser using modified schema in UTDNebula/nebula-api#470. This PR references my Nebula-API schema in its Go.mod/sum. These need to be updated before this gets merged. Since the schema includes a date, this PR includes a slight modification to coursebook scraper to include a timestamp, for example in sem 26f, it would add 26f/scraped_at.txt with the timestamp

sidenote: I don't like that we have to read the scraped at file for every section, but I didn't want to change the parser too much to fix it to parse by semester instead of simply all html files (which would be the proper fix)

Testing

  • I've verified that the enrollment changes work on parse properly in semester 26f
    Gaps (probably should be checked before merged)
  • Testing for other semesters
  • Probably should write more unit tests

AI Disclosure

I used ai to speed up writing and updating tests (im lazy), and make the regex. All AI code was audited and verified by me

Checklist

  • Create this PR
  • Perform final self-review

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant