stable (pre shift requests)
This commit is contained in:
@@ -23,7 +23,7 @@ sites = ("truro", "exeter", "torquay", "barnstaple", "plymouth")
|
||||
|
||||
Rota = RotaBuilder(datetime.date(2020, 9, 7),
|
||||
weeks_to_rota=weeks_to_rota,
|
||||
balance_offset_modifier=4,
|
||||
balance_offset_modifier=1,
|
||||
max_weekend_frequency=2,
|
||||
max_night_frequency=2)
|
||||
|
||||
@@ -259,9 +259,14 @@ rota_collections['nights + proc twighlights + normal weekends'].add_shifts(
|
||||
|
||||
rota_collections['nights + proc twighlights + proc weekends'].add_shifts(
|
||||
SingleShift((sites),
|
||||
"proc_twilight_and_weekends",
|
||||
"proc_twilight",
|
||||
12.5,
|
||||
days,
|
||||
days[:5],
|
||||
workers_required=3),
|
||||
SingleShift((sites),
|
||||
"proc_weekends",
|
||||
12.5,
|
||||
days[5:],
|
||||
workers_required=3),
|
||||
#SingleShift((sites), "night", 12.5, days, balance_weighting=1, workers_required=3, rota_on_nwds=True),
|
||||
SingleShift((sites),
|
||||
|
||||
Reference in New Issue
Block a user