Fix hbai_household_net_income to respond to council tax abolition and LVT#1529
Merged
vahid-ahmadi merged 3 commits intomainfrom Mar 17, 2026
Merged
Fix hbai_household_net_income to respond to council tax abolition and LVT#1529vahid-ahmadi merged 3 commits intomainfrom
vahid-ahmadi merged 3 commits intomainfrom
Conversation
… LVT hbai_household_net_income previously subtracted the raw council_tax input variable directly, ignoring abolish_council_tax. It also omitted LVT from its subtracts list. This meant poverty statistics showed zero change under council tax abolition or LVT reforms. Closes #1528 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The VAT standard rate +2pp reform now produces ~18.9B rather than 22.0B. Updated expected value and added tolerance to prevent flaky failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
formulamethod tohbai_household_net_incomethat excludescouncil_taxfrom subtracts whenabolish_council_taxis enabled, matching the pattern used inhousehold_tax,gov_tax, andhousehold_benefits"LVT"to thesubtractslist so land value tax reduces HBAI income (and thus affects poverty statistics)Context
hbai_household_net_incomeis the income measure used for official poverty statistics (in_poverty_bhc/in_poverty_ahc). It was subtracting the rawcouncil_taxinput variable directly (which is never zeroed byabolish_council_tax) and was missingLVTentirely. This caused poverty rates to show exactly 0% change under council tax abolition or LVT reforms.Closes #1528
Test plan
policyengine-core testonhbai_council_tax_lvt.yaml)🤖 Generated with Claude Code