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

Documentation Update for Schedule Generator #937

Closed
wants to merge 71 commits into from

Conversation

Destaq
Copy link
Member

@Destaq Destaq commented May 6, 2024

Summary

Added a lot of inline / method documentation to the schedule generator TypeScript backend algorithm. Also increased README.md by about 30% with additional details such as the exact implementation of the algorithm. Finally, added one line that randomizes courses' timeslots when being considered by the algorithm to ensure a higher-quality output.

Test Plan

Only documentation updates (no test plan required) except for one change: randomizing courses' timeslots in the algorithm to ensure that there is more variety in generated schedules. (Realized as I was writing up some of the documentation.)

nidhi-mylavarapu and others added 30 commits May 2, 2024 10:40
* chore: create schedule sidebar panel header

* style: also define appearance property in SchedulerPanelHeader.vue for compatability

* docs: add inline docs to SchedulerPanelHeader

* link icon w/header

* link icon w/header

* fix: style schedule-gen sidebar background and padding

---------

Co-authored-by: Andrew J Xu <[email protected]>
* Run courses script for FA23

* Fix CS 1110 Frontend Test

Corrects the CS 1110 frontend test with the new course title
nidhi-mylavarapu and others added 24 commits May 2, 2024 10:43
* courses json

* reqs
* disable generate

* Generating... when generating schedule and fix max hour bug

* lint

* cleanup

* credit limit and overflow

* courses overflow

* change warning

* fix fonts

* padding and font fix

* cleanup

---------

Co-authored-by: Nidhi Mylavarapu <[email protected]>
…926)

* started req/sem filtering logic

* undo changes

* fixes

* filter courses by sem from json

* read sem courses only

* lint

* lint

* fix: only show unique courses in requirement groups

* adjusted for courses without meeting times

* cleanup

* add no requirement

* fix test.spec.ts

* lint

---------

Co-authored-by: andxu282 <[email protected]>
Co-authored-by: Simon Ilincev <[email protected]>
I believe the remaining lint issues are due to `console.log` and thus unavoidable
@Destaq Destaq requested a review from a team as a code owner May 6, 2024 02:53
@Destaq
Copy link
Member Author

Destaq commented May 6, 2024

I would appreciate help in figuring out why the prettier checker is failing.

@elizabeth-tang
Copy link
Collaborator

I would appreciate help in figuring out why the prettier checker is failing.

Could you rebase off of main first? Then we can see your changes more clearly and diagnose the issue!

@Destaq
Copy link
Member Author

Destaq commented May 7, 2024

See #938 .

@Destaq Destaq closed this May 7, 2024
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.

5 participants