No description
Find a file
jtricerolph dfc863250c Compare full-week forecast against a full prev week, not a partial one
The "Prev wk" figure shown under Forecast Full Week was reusing
prevCost, which is deliberately scoped to "same elapsed days as WTD"
(e.g. only Mon-Wed of last week if today's Wednesday) — correct for
the per-department table's WTD-vs-WTD "vs Prev Wk" column, but wrong
paired with totalForecast, which projects a full 7 days. Comparing a
full-week projection against a few days of last week made prev week
look artificially low and the delta look inflated.

Added prevFullCost (full Mon-Sun of the prior week — already present
in the 14-day actuals fetch) for the full-week comparison specifically;
left prevCost/totalPrev untouched for the table's WTD comparisons.
2026-08-06 07:51:07 +00:00
backend Don't treat today's in-progress £0 actuals as ground truth in forecast 2026-08-03 10:36:56 +00:00
frontend Compare full-week forecast against a full prev week, not a partial one 2026-08-06 07:51:07 +00:00
.gitignore Add AI cost insights dashboard; rota-informed forecast method 2026-07-24 20:43:18 +00:00
docker-compose.yml Initial scaffold: wages app 2026-07-23 09:03:52 +00:00
seed-app.js Initial scaffold: wages app 2026-07-23 09:03:52 +00:00