Enhance weekend shift handling by adding per-day adjustments and improving prior allocation parsing

This commit is contained in:
Ross
2025-12-17 12:13:56 +00:00
parent 710a2aa7c8
commit 0851b992fb
3 changed files with 99 additions and 15 deletions
+3
View File
@@ -222,6 +222,7 @@ def load_workers():
if prev:
priors_map[initial] = prev
logger.debug("priors_map: {}", priors_map)
except FileNotFoundError:
print(f"Prior allocations file not found: {priors_path}")
except Exception as e:
@@ -348,6 +349,8 @@ def load_workers():
if prev:
priors_map[initial] = prev
logger.debug("priors_map after per-day merge: {}", priors_map)
except FileNotFoundError:
print(f"Per-day prior file not found: {priordays_path}")
except Exception as e: