You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a UK budgetary impact from the government's accounts #779
The simulation API computes the UK budget headline itself, as the change in household_tax less the change in household_benefits. household_tax leaves out employer National Insurance. Under policyengine-uk's default incidence an employer NI change moves gross pay, so a cut in the employer rate shows as a saving (PolicyEngine/policyengine-sim-api#1170). The fix totals the model's government accounts, gov_tax and gov_spending (PolicyEngine/policyengine-sim-api#1171).
That rule belongs here, beside the US calculate_budgetary_impact and configure_budgetary_impact_variables in us/analysis.py: a UK pair that totals gov_tax and gov_spending, for the simulation API to call. Moving the simulation API's .py pin to the release that has them also stops it reusing UK report runs stored with the old headline, since runs are reused while the policyengine-uk and .py versions match.
Activity