feat: add professor info and RMP ratings to course panel#14
Merged
Conversation
When a student clicks a course node, the panel now shows which
professors are teaching it in Fall 2026 and Winter 2027, along
with their RateMyProfessors rating, difficulty, and "would take
again" percentage pulled live via ratemyprofessors-client.
- backend/timetable_scraper.py: scrapes Carleton Central for both
terms and populates a new course_instructors table in Neon
- GET /courses/{code}/instructors: new endpoint returning
instructors grouped by term
- frontend/app/api/rmp/route.js: Next.js API route that queries
RMP for a professor by name, scoped to Carleton (school ID 1420),
with in-memory caching
- CoursePanel.jsx: shows instructor cards with color-coded rating,
difficulty, take-again %, and a link to their RMP profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a student clicks a course node, the panel now shows which professors are teaching it in Fall 2026 and Winter 2027, along with their RateMyProfessors rating, difficulty, and "would take again" percentage pulled live via ratemyprofessors-client.