policyengine-uk 2.38.1__py3-none-any.whl → 2.39.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
policyengine_uk/system.py CHANGED
@@ -48,7 +48,7 @@ from policyengine_core.reforms import Reform
48
48
 
49
49
  COUNTRY_DIR = Path(__file__).parent
50
50
 
51
- ENHANCED_FRS = "hf://policyengine/policyengine-uk-data/enhanced_frs_2022_23.h5"
51
+ ENHANCED_FRS = "hf://policyengine/policyengine-uk-data/enhanced_frs_2023_24.h5"
52
52
 
53
53
 
54
54
  class CountryTaxBenefitSystem(TaxBenefitSystem):
@@ -105,8 +105,8 @@ variables = system.variables
105
105
  class Simulation(CoreSimulation):
106
106
  default_tax_benefit_system = CountryTaxBenefitSystem
107
107
  default_tax_benefit_system_instance = system
108
- default_calculation_period = 2022
109
- default_input_period = 2022
108
+ default_calculation_period = 2023
109
+ default_input_period = 2023
110
110
  default_role = "member"
111
111
  max_spiral_loops = 10
112
112
 
@@ -1,10 +1,10 @@
1
1
  reforms:
2
2
  - name: Raise basic rate by 1pp
3
- expected_impact: 7.7
3
+ expected_impact: 7.6
4
4
  parameters:
5
5
  gov.hmrc.income_tax.rates.uk[0].rate: 0.21
6
6
  - name: Raise higher rate by 1pp
7
- expected_impact: 4.9
7
+ expected_impact: 4.8
8
8
  parameters:
9
9
  gov.hmrc.income_tax.rates.uk[1].rate: 0.42
10
10
  - name: Raise personal allowance by ~800GBP/year
@@ -12,22 +12,22 @@ reforms:
12
12
  parameters:
13
13
  gov.hmrc.income_tax.allowances.personal_allowance.amount: 13000
14
14
  - name: Raise child benefit by 25GBP/week per additional child
15
- expected_impact: -1.2
15
+ expected_impact: -1.4
16
16
  parameters:
17
17
  gov.hmrc.child_benefit.amount.additional: 25
18
18
  - name: Reduce Universal Credit taper rate to 20%
19
- expected_impact: -38.7
19
+ expected_impact: -41.2
20
20
  parameters:
21
21
  gov.dwp.universal_credit.means_test.reduction_rate: 0.2
22
22
  - name: Raise Class 1 main employee NICs rate to 10%
23
- expected_impact: 12.4
23
+ expected_impact: 12.2
24
24
  parameters:
25
25
  gov.hmrc.national_insurance.class_1.rates.employee.main: 0.1
26
26
  - name: Raise VAT standard rate by 2pp
27
- expected_impact: 19.5
27
+ expected_impact: 19.4
28
28
  parameters:
29
29
  gov.hmrc.vat.standard_rate: 0.22
30
30
  - name: Raise additional rate by 3pp
31
- expected_impact: 4.5
31
+ expected_impact: 5.5
32
32
  parameters:
33
33
  gov.hmrc.income_tax.rates.uk[2].rate: 0.48
@@ -9,6 +9,7 @@ class employer_ni_fixed_employer_cost_change(Variable):
9
9
  unit = GBP
10
10
 
11
11
  def formula(person, period, parameters):
12
+ return 0
12
13
  employee_incidence = parameters(
13
14
  period
14
15
  ).gov.contrib.policyengine.employer_ni.employee_incidence
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.39.0] - 2025-07-15 11:58:59
9
+
10
+ ### Added
11
+
12
+ - Codecov coverage.
13
+ - Expanded .gitignore.
14
+
15
+ ## [2.38.2] - 2025-07-15 08:50:48
16
+
17
+ ### Fixed
18
+
19
+ - Temporarily suspended employer_ni_fixed_cost_change as it returns impacts in the baseline.
20
+
8
21
  ## [2.38.1] - 2025-07-14 15:03:33
9
22
 
10
23
  ### Fixed
@@ -1936,6 +1949,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1936
1949
 
1937
1950
 
1938
1951
 
1952
+ [2.39.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.38.2...2.39.0
1953
+ [2.38.2]: https://github.com/PolicyEngine/openfisca-uk/compare/2.38.1...2.38.2
1939
1954
  [2.38.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.38.0...2.38.1
1940
1955
  [2.38.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.37.0...2.38.0
1941
1956
  [2.37.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.36.1...2.37.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-uk
3
- Version: 2.38.1
3
+ Version: 2.39.0
4
4
  Summary: PolicyEngine tax and benefit system for the UK
5
5
  Project-URL: Homepage, https://github.com/PolicyEngine/policyengine-uk
6
6
  Project-URL: Repository, https://github.com/PolicyEngine/policyengine-uk
@@ -24,6 +24,7 @@ Requires-Dist: furo<2023; extra == 'dev'
24
24
  Requires-Dist: jupyter-book; extra == 'dev'
25
25
  Requires-Dist: linecheck; extra == 'dev'
26
26
  Requires-Dist: pytest; extra == 'dev'
27
+ Requires-Dist: pytest-cov; extra == 'dev'
27
28
  Requires-Dist: setuptools; extra == 'dev'
28
29
  Requires-Dist: snowballstemmer<3,>=2; extra == 'dev'
29
30
  Requires-Dist: sphinx-argparse<1,>=0.3.2; extra == 'dev'
@@ -3,7 +3,7 @@ policyengine_uk/entities.py,sha256=9yUbkUWQr3WydNE-gHhUudG97HGyXIZY3dkgQ6Z3t9A,1
3
3
  policyengine_uk/model_api.py,sha256=D5OuQpQbdBXiF6r7LvCLWjsTkAWtkeBJWz2ebsJ-GN0,189
4
4
  policyengine_uk/modelled_policies.yaml,sha256=TLhvmkuI9ip-Fjq63n66RzDErCkN8K4BzY6XLxLMtFg,463
5
5
  policyengine_uk/repo.py,sha256=-dqpIMUD7UUj94ql9XwaMrFJUYKvNhFQ_9uj83Z8uh0,55
6
- policyengine_uk/system.py,sha256=G6O4qMhb7d9VWOtYFXlLdk48nvJLeP55Yyjd9YObDc4,8944
6
+ policyengine_uk/system.py,sha256=sI2nqyNNPnzAkL8Rp2dAP_74SQ8CVjMB8gbqV0vF6E0,8944
7
7
  policyengine_uk/data/__init__.py,sha256=9o7hH2qcHChfwDYq8Oqf2jE3b5WDS3TXJm3bf9VC4Ks,58
8
8
  policyengine_uk/data/dataset_schema.py,sha256=kZuDKeBFBmK2B8MKWSAmDhHsTkzOY_WM5FnKcT8G4rA,3942
9
9
  policyengine_uk/data/economic_assumptions.py,sha256=heEro-NYCszFzW-TJ3Vt3DUUrpDkysOpyvZVymJN3-8,5722
@@ -528,7 +528,7 @@ policyengine_uk/reforms/policyengine/disable_simulated_benefits.py,sha256=siEs1E
528
528
  policyengine_uk/tests/test_parameter_metadata.py,sha256=_2w2dSokAf5Jskye_KIL8eh80N7yIrUszlmqnZtwQws,450
529
529
  policyengine_uk/tests/code_health/test_variables.py,sha256=9Y-KpmzhyRGy9eEqocK9z91NXHX5QIF3mDMNGvegb7Q,1398
530
530
  policyengine_uk/tests/microsimulation/README.md,sha256=1toB1Z06ynlUielTrsAaeo9Vb-c3ZrB3tbbR4E1xUGk,3924
531
- policyengine_uk/tests/microsimulation/reforms_config.yaml,sha256=ZOuJ4knFx-OKRUNeIfcv61sxgjjmXdBv9B_mcP19Hm4,1086
531
+ policyengine_uk/tests/microsimulation/reforms_config.yaml,sha256=_MXQn3I0fJmJ7M4xgbDAhSlGrIThBxXXY4i6E-JWTaQ,1086
532
532
  policyengine_uk/tests/microsimulation/test_reform_impacts.py,sha256=xM3M2pclEhA9JIFpnuiPMy1fEBFOKcSzroRPk73FPls,2635
533
533
  policyengine_uk/tests/microsimulation/test_validity.py,sha256=RWhbSKrnrZCNQRVmGYlM8hnpe1_Blo5_xP8vr8u3kV0,694
534
534
  policyengine_uk/tests/microsimulation/update_reform_impacts.py,sha256=2pxp2RNLWxV4CesGKKHmg3qBs79Jq2Jcq3GJIBk4euU,4824
@@ -706,7 +706,7 @@ policyengine_uk/variables/contrib/policyengine/pre_budget_change_ons_household_i
706
706
  policyengine_uk/variables/contrib/policyengine/employer_ni/adjusted_employer_cost.py,sha256=ST8qa0iZssevjJEe5c2-3XJfxC6Z6mswsmu2dcaosC8,1479
707
707
  policyengine_uk/variables/contrib/policyengine/employer_ni/baseline_employer_cost.py,sha256=3dvHkJubJcYkY5HspAWrS7bm81YiySbobUvwnjYF_qk,1849
708
708
  policyengine_uk/variables/contrib/policyengine/employer_ni/employer_cost.py,sha256=C71cXMlFA-cI4EUPhQj9O2faaQJgQHxcwMQl27DujCY,666
709
- policyengine_uk/variables/contrib/policyengine/employer_ni/employer_ni_fixed_employer_cost_change.py,sha256=kPRn_R9oZTkkl7yg6s8XUljhuqQ0fKVxsTIYUy83PhM,3551
709
+ policyengine_uk/variables/contrib/policyengine/employer_ni/employer_ni_fixed_employer_cost_change.py,sha256=3iRuLqDtXZAIq_R_feqO-O7C17DzZBoTPGK5vIi9eVM,3568
710
710
  policyengine_uk/variables/contrib/policyengine/employer_ni/employer_ni_response_capital_incidence.py,sha256=ikb5RQs6yT5GxfEjocB-YXLjdBMfCl0WK1RVrT8N8AE,1608
711
711
  policyengine_uk/variables/contrib/policyengine/employer_ni/employer_ni_response_consumer_incidence.py,sha256=6ZmZ8LTOeCBRljK8t-Cpet1x5y2iS2C_MJFx6ECer8A,1645
712
712
  policyengine_uk/variables/contrib/ubi_center/carbon_tax.py,sha256=sHmStTjRYK85zKI0GM5yb4ALAV8M1di9gybFvOowp10,940
@@ -1368,10 +1368,10 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
1368
1368
  policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
1369
1369
  policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
1370
1370
  policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
1371
- policyengine_uk-2.38.1.data/data/share/openfisca/openfisca-country-template/CHANGELOG.md,sha256=AwdgxpvxANkRyG-j1hdhXYKqnQT_hTqaH8HJhW1CWc4,55895
1372
- policyengine_uk-2.38.1.data/data/share/openfisca/openfisca-country-template/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1373
- policyengine_uk-2.38.1.data/data/share/openfisca/openfisca-country-template/README.md,sha256=PCy7LRLdUDQS8U4PaeHeBVnyBZAqHv1dAVDDvEcom20,1976
1374
- policyengine_uk-2.38.1.dist-info/METADATA,sha256=s7CTmc0OPq4_8UInf-onN-NYdjhRtdhncAAG9z2shW4,3453
1375
- policyengine_uk-2.38.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1376
- policyengine_uk-2.38.1.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1377
- policyengine_uk-2.38.1.dist-info/RECORD,,
1371
+ policyengine_uk-2.39.0.data/data/share/openfisca/openfisca-country-template/CHANGELOG.md,sha256=KvU18ZBXdQYcd0jzGoFGHIl8_GG6_pQ0G4NJMZzuQFk,56283
1372
+ policyengine_uk-2.39.0.data/data/share/openfisca/openfisca-country-template/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1373
+ policyengine_uk-2.39.0.data/data/share/openfisca/openfisca-country-template/README.md,sha256=PCy7LRLdUDQS8U4PaeHeBVnyBZAqHv1dAVDDvEcom20,1976
1374
+ policyengine_uk-2.39.0.dist-info/METADATA,sha256=ILZCXSl-3ByPaMHPWyNpj8ldsYt5PTIBO7GzqToQVpI,3495
1375
+ policyengine_uk-2.39.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1376
+ policyengine_uk-2.39.0.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1377
+ policyengine_uk-2.39.0.dist-info/RECORD,,