Repository navigation
Add Education Maintenance Allowance assessment calculations - #2969
juaristi22 wants to merge 1 commit into
Conversation
Aggregate impact on certified data: passBase Checks: 0 broken by this change, 1 failing on both sides, 0 fixed. Moves flagged for review: 0 (thresholds in Notes
Moves flagged for reviewNone. Spending by benefit and service
Caseloads
Household net income by decileNo household's net income changes in any year. No change in any year: receipts by tax head; government balance, each component counted once; model totals; household income totals; population; poverty rates; people in poverty; inequality; mean household net income in each side's own deciles; standard reform costings (change in gov_balance); standard reforms: change in each reform's target. Checks failing on both base and head (1)
Counted-once checkThe check raised each of 93 components by £1 per unit in 2026-27 and read every head of its totals household by household: its own head must rise by exactly £1, no other tax head may move, no other benefit may rise, and the model's own total must move by what its heads moved. A response that is not finite breaks every rule. The check measures a head that breaks a rule twice more: once holding every other head at its baseline value, and once holding every other head at its value after the first £1 while the component rises again. The head fails where either measurement still shows the response. The check cannot hold a head at a value that is not finite. In each unit where another head is not finite after the first £1, it holds that head at its baseline value, and the second measurement judges no household the unit belongs to. There a head fails wherever it first broke a rule, or wherever the check could not confirm whether its response contains the component. 0 failed and the check skipped 0.
Provenance
Dataset: Receipts by tax head: head levels
Spending by benefit and service: head levels
Caseloads: head levels
Government balance, each component counted once: head levels
Model totals: head levels
Household income totals: head levels
Population: head levels
Poverty rates: head levels
People in poverty: head levels
Inequality: head levels
Mean household net income in each side's own deciles: head levels
Standard reform costings (change in gov_balance): head levels
Standard reforms: change in each reform's target: head levels
|
Fixes #220
Adds explicit-input Education Maintenance Allowance assessments for academic year 2026–27: Wales and Northern Ireland, and Highland school awards in Scotland. The model calculates the published cohort, course, income and duration conditions, then pays £40 per accepted week in Wales or £30 in the supported Scottish/NI routes. Northern Ireland's qualified £100 bonuses and 117-confirmation limit use supplied award history.
Callers provide the correct historical assessed income, residency determination and actual qualifying receipts allocated to each fiscal year. Missing assessment facts produce no new payment. This covers one academic assessment at a time; other Scottish providers, automatic attendance/backdating calendars and population imputation remain outside the initial scope. The documentation records the published NI birthday window and the Welsh application-deadline discrepancy.
Canonical cash enters household benefits, government spending, fiscal reporting and HBAI net income once. The HBAI benefits subtotal and existing reported adult/child EMA channels remain unchanged. Producers must keep the new explicit payment disjoint from reported income.
Validation: 27 independent YAML cases and four focused Python tests pass. An initial 263-check batch passed 262; a source-confirmed Highland flexibility repair then passed the seven affected Scottish cases and all 31 EMA tests. The 232 unchanged related registry, budget, fiscal and legacy-consumer checks passed in the initial batch.
make formatand Ruff pass; source and locked dependency hashes remained stable during each run. Full population tests and documentation builds were not run locally; hosted CI will check them.axiom: needed