You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(optimiser): account for non-overlapping same-timeslot courses (#4101)
* feat(optimiser): enhance module slot structure with weeks support
* Added Weeks field to ModuleSlot for better week management.
* Introduced WeeksSet and WeeksString for efficient week handling in module timetable processing.
* Updated merge and filter logic to incorporate weeks in combination keys and conflict checks.
* refactor(optimiser): update Weeks field type and handling in module slots
* Changed Weeks field in ModuleSlot from []int to any for flexible week representation.
* Updated parsing logic to handle weeks as any type, ensuring compatibility with existing functionality.
* Enhanced conflict checking to skip week validation for non-[]int types.
* removed debug prints
---------
Co-authored-by: Leslie Yip <[email protected]>
Co-authored-by: Ravern Koh <[email protected]>
0 commit comments