Research: find a source for class rooms (SOC events only have the campus) #86
Labels
No labels
bug
chore
data
feature
frontend
good first issue
intermediate
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/cal#86
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What's wrong
Column 7 of the public SOC layout page is the campus, not the room, so every SOC event's
locationis a campus. In a Fall 2026 dry parse, 4,850 of 5,190 events say "Pittsburgh, Pennsylvania"; the rest are Doha, Kigali, San Jose, New York and DC.How to reproduce
cd api && python -m scraper.scripts.export_soc --semester Fall_26 --dry-run, and printlocationfor a few events frombuild_events_and_rrules().Expected
This issue is research only. Write up in a comment whether a source with building and room exists, for example the SOC search results or a "with room" view, Stellic, or another ScottyLabs dataset. For each: is login needed, is it allowed to scrape, how often does it change, and what does it give for 10 sample courses.
Where to look
api/scraper/monitors/academic/schedule_of_classes.pyL194-197 (where location comes from).api/scraper/helpers/timezone.py: the timezone is derived from the campus string, so a room would need a separate campus field.locationis part of the event identity (events_unique_soc,api/scraper/helpers/event.py), so switching to rooms would insert new events instead of updating the old ones. Any plan must handle that.2c5f2e9.Done when