Skip to content

Commit

Permalink
Fix Hard-code secondary threshold freeze to 2027 #987 (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff authored Oct 28, 2024
1 parent 4c54b86 commit b5667a0
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.13.2] - 2024-10-28 10:46:29

### Fixed

- Threshold freeze for ST extended to 2027.

## [2.13.1] - 2024-10-24 13:24:27

### Fixed
Expand Down Expand Up @@ -1567,6 +1573,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0



[2.13.2]: https://github.com/PolicyEngine/openfisca-uk/compare/2.13.1...2.13.2
[2.13.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.13.0...2.13.1
[2.13.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.12.0...2.13.0
[2.12.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.11.0...2.12.0
Expand Down
5 changes: 5 additions & 0 deletions changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1315,3 +1315,8 @@
fixed:
- Bug causing capital gains responses to be calculated for every reform simulation.
date: 2024-10-24 13:24:27
- bump: patch
changes:
fixed:
- Threshold freeze for ST extended to 2027.
date: 2024-10-28 10:46:29
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ values:
title: The Social Security (Contributions) (Rates, Limits and Thresholds Amendments
and National Insurance Funds Payments) Regulations 2022(6)
value: 123
2027-04-01:
value: 123
metadata:
reference:
- title: Spring Statement 2022
href: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1062486/Spring_Statement_2022_Web_Accessible.pdf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ values:
title: The Social Security (Contributions) (Rates, Limits and Thresholds Amendments
and National Insurance Funds Payments) Regulations 2022(6)
value: 175
2024-01-01: 175
2024-01-01: 175
2027-04-01:
value: 241.73
metadata:
reference:
- title: Spring Statement 2022
href: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1062486/Spring_Statement_2022_Web_Accessible.pdf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ values:
2019-04-06: 962
2020-04-06: 962
2021-04-06: 966.73
2026-04-06: 966.73
2027-04-06: 966.73
metadata:
label: NI Upper Earnings Limit
unit: currency-GBP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ni_class_1_employer(Variable):
value_type = float
entity = Person
label = "NI Class 1 employer-side contributions"
definition_period = MONTH
definition_period = YEAR
unit = GBP
defined_for = "ni_liable"
reference = "https://www.legislation.gov.uk/ukpga/1992/4/section/9"
Expand All @@ -23,9 +23,7 @@ def formula(person, period, parameters):
else:
taxed_earnings = earnings
secondary_threshold = (
class_1.thresholds.secondary_threshold
* WEEKS_IN_YEAR
/ MONTHS_IN_YEAR
class_1.thresholds.secondary_threshold * WEEKS_IN_YEAR
)
main_earnings = max_(
taxed_earnings - secondary_threshold,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="PolicyEngine-UK",
version="2.13.1",
version="2.13.2",
author="PolicyEngine",
author_email="[email protected]",
classifiers=[
Expand Down

0 comments on commit b5667a0

Please sign in to comment.