Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the grades aggregation to account for course versioning #231

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

mikehquan19
Copy link
Contributor

I've changed the courses aggregation to account for course versioning, essentially querying all of the courses with with same internal_course_number even when they have different combination of subject_prefix and course_number. For example, ECS 2390 and ECS 3390 will be pulled at the same time because they are different versions of the same class.

I pulled one sample course from courseCollection with given prefix and number parameters, got Internal_course_number of that course, and filtered the courses using Internal_course_number in $match stage of the pipeline.

Let me know ASAP if there's anything I need to fix. Thanks!

@jpahm jpahm self-requested a review October 24, 2024 22:36
@mikehquan19
Copy link
Contributor Author

I have commited the change.

Copy link
Contributor

@jpahm jpahm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks great, thank you!

@jpahm jpahm merged commit 61b7ec3 into UTDNebula:develop Oct 30, 2024
2 checks passed
jpahm added a commit that referenced this pull request Nov 4, 2024
* Bump develop to Go 1.23

* Update security definition for gateway

* Add auto spec generation for swagger endpoint

* Make swagger endpoint unauthenticated; fix host

* Update x-google-endpoint name

* Update spec to match new endpoint

* Fix developer API info

* Change the grades aggregation to account for course versioning (#231)

* Change the grades aggregation to account for course versioning

* Fix the parsing of the sample course in grades aggregation

* Changed autocomplete endpoint to pull from DAG database and created dynamic Autocomplete schema (#233)

* Prep for deployment
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.

2 participants