Repository navigation
Add school travel eligibility for England - #2997
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 101 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
|
Part of #461.
Adds optional, date-specific statutory school-travel eligibility for registered pupils in England, using an explicit assessment date in calendar 2026. This implements six routes: ordinary walking distance, assessed SEND or mobility needs, an unsafe walking route, low-income extended rights for ages 8 to under 11, the three-nearest-schools route from age 11, and the religion-or-belief route from age 11.
The component takes certified facts about date of birth, compulsory school age, qualifying school and placement arrangements, assessed walking and road distances, route safety, mobility and the statutory financial basis. It reports eligibility together with a support status that distinguishes a supported negative from missing facts, invalid facts and unsupported contexts. Actual eighth and eleventh birthdays use the assessment date; walking thresholds are strict and the six- and fifteen-mile road limits are inclusive. Annual stock inputs support native monthly retrieval and simulation input resets.
The supported financial basis is certified targeted free-school-meal entitlement under section 512ZB(4). A maximum-Working-Tax-Credit-only basis remains unsupported. Cash WTC payments and universal or expanded meal entitlement do not substitute for that certificate.
This is a partial, noncash component. Alternative provision, dual registration, continued or protected eligibility and conditional EHC-placement contexts remain unsupported. It does not price transport or add eligibility to household income, benefit receipts or government budgets. The broader issue remains open.
axiom: needed
Draft: Matching Axiom provision and companion evidence remains unverified. Independent local code and policy reviews completed with no confirmed findings; the source review remains partial because of that Axiom gap. Hosted checks and required approvals remain outstanding.
Sources:
Validation:
uv run --frozen --offline --no-sync --no-env-file python -Bwith the three new school-travel YAML files andtest_school_travel_eligibility.py, followed by the registry test plustest_program_registry.py,test_budget_programs.pyandtest_budget_totals_pinned.py. The registry case ran once after the core cases; counts exclude overlap.ruff format --checkandruff checkpassed on touched Python, with AST, YAML and whitespace checks. This uses the touched-file equivalent of the formatting target to keep unrelated repository files outside the change.make documentationtarget passed for 64 pages in a staged documentation tree with the new page preserved byte-for-byte and notebook execution disabled. MyST fetched public theme assets; no tools or dependencies were installed or upgraded.policyengine_bundlescontract test skipped because that package is absent. All 52 changed cases passed; these counts overlap the 336 cases above.