diff --git a/CHANGELOG.md b/CHANGELOG.md index dcda450b..62395298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.17.0] - 2024-12-04 16:48:42 + +### Fixed + +- Scottish baseline matched with Scottish Fiscal Commission. + ## [2.16.0] - 2024-11-28 16:54:41 ### Changed @@ -1603,6 +1609,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +[2.17.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.16.0...2.17.0 [2.16.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.15.1...2.16.0 [2.15.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.15.0...2.15.1 [2.15.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.14.1...2.15.0 diff --git a/changelog.yaml b/changelog.yaml index 8b535e45..8f68232c 100644 --- a/changelog.yaml +++ b/changelog.yaml @@ -1345,3 +1345,8 @@ changed: - Pinned UK data to 1.9.0. date: 2024-11-28 16:54:41 +- bump: minor + changes: + fixed: + - Scottish baseline matched with Scottish Fiscal Commission. + date: 2024-12-04 16:48:42 diff --git a/policyengine_uk/variables/household/income/income.py b/policyengine_uk/variables/household/income/income.py index 92f3c1bf..50fd8de9 100644 --- a/policyengine_uk/variables/household/income/income.py +++ b/policyengine_uk/variables/household/income/income.py @@ -223,6 +223,7 @@ def formula(household, period, parameters): housing_costs = household("housing_costs", period) return np.round(market_income + benefits - tax - housing_costs) + class inflation_adjustment(Variable): label = ( f"inflation multiplier to get {datetime.datetime.now().year} prices" @@ -266,6 +267,7 @@ def formula(household, period, parameters): net_income = household("household_net_income_ahc", period) return net_income * household("inflation_adjustment", period) + class hbai_household_net_income_ahc(Variable): value_type = float entity = Household diff --git a/setup.py b/setup.py index 4eea7cac..df5abd8c 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="PolicyEngine-UK", - version="2.16.0", + version="2.17.0", author="PolicyEngine", author_email="nikhil@policyengine.org", classifiers=[