Open
Conversation
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
Update PolicyEngine UK from 2.78.0 to 2.88.1.
What changed (2.78.0 -> 2.88.1)
Added
policyengine-coreto a version that has been relaxed to support older Python (3.24.0+); on 3.11+ behavior is unchanged.is_parentpopulation, core benefit totals, and extended childcare eligibility. Catches silent model/data skew at the point the dataset is republished, not after a release.policyengine-uk-data.Changed
.github/CONTRIBUTING.mdto document the towncrierchangelog.d/workflow. The oldchangelog_entry.yaml+make changelogflow was deprecated some time ago; the CONTRIBUTING guide still instructed new contributors to use it, causing CI round-trips on PRs that created achangelog_entry.yamlno fragment step was looking for.Fixed
state_pension_typeincorrectly classifying every pensioner as receiving the pre-2016 basic State Pension. The formula usedvalues_list[0]to find when the New State Pension activated, but policyengine-core auto-extrapolates the parameter into the far future, so[0]was returning a 2040s entry instead of the 2016 activation date. Walks the list oldest-first to find the real activation instant, so post-2016 retirees are now correctly classified asNEW. Raises the modelled 2025 state pension aggregate from about £116bn to about £127bn.gov.dwp.tax_credits.activeparameter that flips tofalseon 2025-04-06 and gatestax_creditson it. Removes about £1.9bn of phantom Tax Credit spending per year from 2025-26 onward while preserving the legitimate 2024-25 baseline.corporate_land_valueto allocate aggregate corporate land using the current weighted distribution ofcorporate_wealth, and refreshed the aggregate land parameters to the 2024 ONS land totals used bypolicyengine-uk-data.Generated automatically by GitHub Actions