The patterns from the expert unit, mixed. Each task names its tables; the Targets and Inventory tables are loaded where needed.
These are the measures analysts get asked for in real projects and in technical interviews, and each one has an edge case built in: a missing month, a target at a coarser grain, a first month with no history.