-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Multiple EngineersMultiple Engineers should work on thisMultiple Engineers should work on thisType: Feature RequestNew feature or requestNew feature or request
Description
Overview
Add a new filter for grade data to aggregate based on section type. The UTD section types are as follows:
| Section prefix | Meaning |
|---|---|
| 0xx | Normal day lecture (before 5 PM) |
| 0Wx | Online class |
| 0Hx | Hybrid day class (online + face-to-face) |
| 0Lx | LLC-only section |
| 5Hx | Hybrid night class (online + face-to-face) |
| 1xx | Lab section (sciences) |
| 2xx | Discussion section (humanities) |
| 3xx | Problem section (maths) |
| 5xx | Night lecture (past 5 PM) |
| 6xx | Lab night section (past 7 PM) |
| 7xx | Exam section |
| HNx or HON | Honors-only |
Proposal
- Add the filter and handle its state in the same way as the semester filter
- Refactor the grade type and gpa calculation function to handle the new data format and use the new API endpoint:
/grades/semester/sectionTypein all data calls
Supplementary Information
/grades/semester/sectionType response format
[
{
"_id": string, //ex 22S
"data": [
{
"type": string, //ex 0xx
"grade_distribution": number[14]
},
...
]
},
...
]Metadata
Metadata
Assignees
Labels
Multiple EngineersMultiple Engineers should work on thisMultiple Engineers should work on thisType: Feature RequestNew feature or requestNew feature or request