Commit Graph

13 Commits

Author SHA1 Message Date
9d8eacfb2b Add option to manually swap shifts after the schedule has been generated 2026-07-02 19:15:07 +03:00
770b0e84c9 Add negative shifts in flex map logic and make it dynamic 2026-03-14 20:52:59 +02:00
3ecdc91802 Expand integration suite to cover all months of 2026, minor refactorings 2026-02-28 10:01:26 +02:00
a41d1cd469 Remove min by shift type boundaries, improve logging, add more tests, add logs in tests, move fixtures in separate file, move restrictions_violated logic into valid_residents of next slot 2026-02-21 23:46:26 +02:00
98cb9f7f3e Parallelize DFS, use an AtomicBool for short-circuiting
time:   [73.407 µs 76.145 µs 79.345 µs]
change: [−40.126% −24.679% −3.8062%] (p = 0.04 < 0.05)
2026-02-01 22:53:04 +02:00
33de9720bf Improve error handling, logging 2026-01-18 00:02:11 +02:00
5bad63e8a7 Use maps to track workload progress instead of recalculating them at every step of the search, calculate total days/slots once, add integration tests, add log folder 2026-01-17 18:41:43 +02:00
af95cc2f5c Add missing shift type check 2026-01-14 23:52:42 +02:00
70de9bcbf1 Impl Default trait 2026-01-14 21:19:14 +02:00
1ce55675db Move valid_residents to the scheduler impl and simplify it 2026-01-14 21:15:57 +02:00
4b49b4b54e Export result to txt/docx 2026-01-13 21:08:24 +02:00
e9ca378099 Add fairness for each shift type count 2026-01-13 21:08:03 +02:00
53f8695572 Complete backtracking, restriction violations, split model.rs into multiple files 2026-01-11 10:44:25 +02:00