From b158ce51b15c14ef1f76b529b4277aef16490959 Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff Date: Fri, 11 Jul 2025 11:47:43 +0100 Subject: [PATCH 1/4] Move back to correct private pension income index --- policyengine_uk/variables/input/private_pension_income.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policyengine_uk/variables/input/private_pension_income.py b/policyengine_uk/variables/input/private_pension_income.py index ca8dcae81..26a6f9014 100644 --- a/policyengine_uk/variables/input/private_pension_income.py +++ b/policyengine_uk/variables/input/private_pension_income.py @@ -10,4 +10,4 @@ class private_pension_income(Variable): unit = GBP reference = "Income Tax (Earnings and Pensions) Act 2003 s. 1(1)(b)" quantity_type = FLOW - uprating = "gov.obr.per_capita.non_labour_income" + uprating = "gov.obr.private_pension_index" From 56e23cf9482ff47f40f91966d9e43eed51e85401 Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff Date: Fri, 11 Jul 2025 15:03:32 +0100 Subject: [PATCH 2/4] Run on macos --- .github/workflows/code_changes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_changes.yaml b/.github/workflows/code_changes.yaml index 7676bfcaf..8c2997685 100644 --- a/.github/workflows/code_changes.yaml +++ b/.github/workflows/code_changes.yaml @@ -21,7 +21,7 @@ jobs: with: args: ". -l 79 --check" Test: - runs-on: ubuntu-latest + runs-on: macos-latest permissions: contents: "read" id-token: "write" From 8526e3d0fdadc3e631966c5cb8b24414589ccc67 Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff Date: Fri, 11 Jul 2025 15:05:53 +0100 Subject: [PATCH 3/4] Update reform tests --- policyengine_uk/tests/microsimulation/reforms_config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/policyengine_uk/tests/microsimulation/reforms_config.yaml b/policyengine_uk/tests/microsimulation/reforms_config.yaml index 2f3dd6073..13bdab954 100644 --- a/policyengine_uk/tests/microsimulation/reforms_config.yaml +++ b/policyengine_uk/tests/microsimulation/reforms_config.yaml @@ -1,10 +1,10 @@ reforms: - name: Raise basic rate by 1pp - expected_impact: 7.8 + expected_impact: 7.7 parameters: gov.hmrc.income_tax.rates.uk[0].rate: 0.21 - name: Raise higher rate by 1pp - expected_impact: 5.0 + expected_impact: 4.9 parameters: gov.hmrc.income_tax.rates.uk[1].rate: 0.42 - name: Raise personal allowance by ~800GBP/year @@ -16,7 +16,7 @@ reforms: parameters: gov.hmrc.child_benefit.amount.additional: 25 - name: Reduce Universal Credit taper rate to 20% - expected_impact: -38.2 + expected_impact: -38.3 parameters: gov.dwp.universal_credit.means_test.reduction_rate: 0.2 - name: Raise Class 1 main employee NICs rate to 10% @@ -28,6 +28,6 @@ reforms: parameters: gov.hmrc.vat.standard_rate: 0.22 - name: Raise additional rate by 3pp - expected_impact: 4.5 + expected_impact: 4.4 parameters: gov.hmrc.income_tax.rates.uk[2].rate: 0.48 From f8cc6d56c8f332e8d9c976e8030c0b6fcc5eea5f Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff Date: Fri, 11 Jul 2025 15:14:07 +0100 Subject: [PATCH 4/4] Changelog entry --- changelog_entry.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb..891504220 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + fixed: + - Private pension income index set to RPI<=5%