Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard-code secondary threshold freeze to 2027 #988

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading