Ross
e6bdd4a09e
Add support for avoiding shifts on specific dates for workers
...
- Introduced AvoidShiftOnDates model to define constraints for workers.
- Enhanced Worker class to register avoid-shift rules with the rota builder.
- Implemented logic in RotaBuilder to enforce these constraints during shift assignment.
- Added tests to verify functionality for avoiding shifts on single dates and date ranges.
2026-01-05 21:44:34 +00:00
Ross
b98c28401f
Enhance error handling in leave loading and update date parsing logic; add new site preference for Exeter shifts.
2026-01-05 20:01:41 +00:00
Ross
94b921192f
Refactor gen.py and gen_proc.py to improve shift handling and add constraints; update leave.py to fetch new leave data source.
2026-01-05 17:46:33 +00:00
Ross
eb95f5fa6d
.
2025-12-09 11:55:00 +00:00
Ross
2443ac285b
fix a few more things
2025-06-22 22:20:52 +01:00
Ross
f0b9ee0ebc
start working on shift paring balancing
2024-12-26 16:39:04 +00:00
Ross
5d55ed77a8
update for current rota
2024-01-01 14:56:48 +00:00
Ross
8c28e7155a
update for latest proc run
2023-12-27 19:15:00 +00:00
Ross
01f0ba6da6
.
2023-06-19 14:26:13 +01:00
Ross
0179ed410a
.
2023-01-23 14:37:09 +00:00
Ross
aaa10d5fb8
update for new run
2023-01-16 16:28:57 +00:00
Ross
dc975b991c
many improvements
2022-07-11 19:46:40 +01:00
Ross
9e873ac5f7
rename home to remote
2022-02-24 21:50:37 +00:00
Ross
0c795e518b
many improvements + restructure
2022-02-21 13:53:13 +00:00
Ross
85c1344737
.
2022-01-15 08:45:43 +00:00
Ross
2040499145
stage
2022-01-11 11:30:45 +00:00
Ross
70b3f89e23
remove gsheets
2021-07-11 10:36:33 +01:00
Ross
ab73ead7c1
.
2021-06-24 21:02:18 +01:00
Ross
01005176a5
add bank holiday shifts
2021-06-15 22:39:09 +01:00
Ross
2b8190efb8
update
2021-06-13 21:14:21 +01:00
Ross
5c54257065
upgrade
2021-06-07 23:23:12 +01:00
Ross
1d3801c69e
.
2021-01-12 20:47:09 +00:00
Ross
eddb6a0f04
go
2020-12-18 17:51:59 +00:00