policyengine-uk 2.49.4__py3-none-any.whl → 2.49.5__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.

Potentially problematic release.


This version of policyengine-uk might be problematic. Click here for more details.

@@ -1,33 +1,33 @@
1
1
  reforms:
2
- - name: Raise basic rate by 1pp
3
- expected_impact: 8.1
4
- parameters:
5
- gov.hmrc.income_tax.rates.uk[0].rate: 0.21
6
- - name: Raise higher rate by 1pp
7
- expected_impact: 5.0
8
- parameters:
9
- gov.hmrc.income_tax.rates.uk[1].rate: 0.42
10
- - name: Raise personal allowance by ~800GBP/year
11
- expected_impact: 0.7
12
- parameters:
13
- gov.hmrc.income_tax.allowances.personal_allowance.amount: 13000
14
- - name: Raise child benefit by 25GBP/week per additional child
15
- expected_impact: -1.3
16
- parameters:
17
- gov.hmrc.child_benefit.amount.additional: 25
18
- - name: Reduce Universal Credit taper rate to 20%
19
- expected_impact: -33.3
20
- parameters:
21
- gov.dwp.universal_credit.means_test.reduction_rate: 0.2
22
- - name: Raise Class 1 main employee NICs rate to 10%
23
- expected_impact: 12.5
24
- parameters:
25
- gov.hmrc.national_insurance.class_1.rates.employee.main: 0.1
26
- - name: Raise VAT standard rate by 2pp
27
- expected_impact: 21.1
28
- parameters:
29
- gov.hmrc.vat.standard_rate: 0.22
30
- - name: Raise additional rate by 3pp
31
- expected_impact: 5.2
32
- parameters:
33
- gov.hmrc.income_tax.rates.uk[2].rate: 0.48
2
+ - name: Raise basic rate by 1pp
3
+ expected_impact: 8.0
4
+ parameters:
5
+ gov.hmrc.income_tax.rates.uk[0].rate: 0.21
6
+ - name: Raise higher rate by 1pp
7
+ expected_impact: 5.0
8
+ parameters:
9
+ gov.hmrc.income_tax.rates.uk[1].rate: 0.42
10
+ - name: Raise personal allowance by ~800GBP/year
11
+ expected_impact: 0.7
12
+ parameters:
13
+ gov.hmrc.income_tax.allowances.personal_allowance.amount: 13000
14
+ - name: Raise child benefit by 25GBP/week per additional child
15
+ expected_impact: -1.4
16
+ parameters:
17
+ gov.hmrc.child_benefit.amount.additional: 25
18
+ - name: Reduce Universal Credit taper rate to 20%
19
+ expected_impact: -36.0
20
+ parameters:
21
+ gov.dwp.universal_credit.means_test.reduction_rate: 0.2
22
+ - name: Raise Class 1 main employee NICs rate to 10%
23
+ expected_impact: 12.4
24
+ parameters:
25
+ gov.hmrc.national_insurance.class_1.rates.employee.main: 0.1
26
+ - name: Raise VAT standard rate by 2pp
27
+ expected_impact: 21.2
28
+ parameters:
29
+ gov.hmrc.vat.standard_rate: 0.22
30
+ - name: Raise additional rate by 3pp
31
+ expected_impact: 5.3
32
+ parameters:
33
+ gov.hmrc.income_tax.rates.uk[2].rate: 0.48
@@ -30,7 +30,6 @@ class gov_tax(Variable):
30
30
  "private_school_vat",
31
31
  "corporate_incident_tax_revenue_change",
32
32
  "consumer_incident_tax_revenue_change",
33
- "high_income_incident_tax_change",
34
33
  "ni_employer",
35
34
  "student_loan_repayments",
36
35
  "vat",
@@ -29,7 +29,6 @@ class household_tax(Variable):
29
29
  "private_school_vat",
30
30
  "corporate_incident_tax_revenue_change",
31
31
  "consumer_incident_tax_revenue_change",
32
- "high_income_incident_tax_change",
33
32
  "employer_ni_response_capital_incidence",
34
33
  "employer_ni_response_consumer_incidence",
35
34
  "student_loan_repayments",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-uk
3
- Version: 2.49.4
3
+ Version: 2.49.5
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
@@ -545,7 +545,7 @@ policyengine_uk/tests/test_parameter_metadata.py,sha256=_2w2dSokAf5Jskye_KIL8eh8
545
545
  policyengine_uk/tests/behavioral_responses/test_labor_supply_responses.yaml,sha256=xR8cy0XjcG8xTL_ufgEl1BHNWhXefVnA2va7X3v6FBk,5783
546
546
  policyengine_uk/tests/code_health/test_variables.py,sha256=9Y-KpmzhyRGy9eEqocK9z91NXHX5QIF3mDMNGvegb7Q,1398
547
547
  policyengine_uk/tests/microsimulation/README.md,sha256=1toB1Z06ynlUielTrsAaeo9Vb-c3ZrB3tbbR4E1xUGk,3924
548
- policyengine_uk/tests/microsimulation/reforms_config.yaml,sha256=covgkNRh1zp1D10d9WwbIHSuXek5E0K2aZgvbhnhatk,1149
548
+ policyengine_uk/tests/microsimulation/reforms_config.yaml,sha256=vJF-BeiaR9W1BiJjr8TIxKDEcks28LSTDcTryXuoSTs,1086
549
549
  policyengine_uk/tests/microsimulation/test_reform_impacts.py,sha256=xM3M2pclEhA9JIFpnuiPMy1fEBFOKcSzroRPk73FPls,2635
550
550
  policyengine_uk/tests/microsimulation/test_validity.py,sha256=_mHgrNu-hKzVd9V2GSg_yPQgJctxRzdQM7lM2bUvqNY,636
551
551
  policyengine_uk/tests/microsimulation/update_reform_impacts.py,sha256=4m5EpPu4SXTE3qOPkx3eIZnlaOzprfm6GmMCXETZuLk,6890
@@ -715,7 +715,6 @@ policyengine_uk/variables/contrib/labour/private_school_vat.py,sha256=IF1XfNNYFu
715
715
  policyengine_uk/variables/contrib/policyengine/consumer_incident_tax_revenue_change.py,sha256=b8_dTgmqLqEjxL9rJbHuIKqttcoP3nmdX6Jr46XpEjY,825
716
716
  policyengine_uk/variables/contrib/policyengine/corporate_incident_tax_revenue_change.py,sha256=HnsGLkpUZWI-ITs6nhvi-avOBbekMLhFghjuLuQMVIQ,510
717
717
  policyengine_uk/variables/contrib/policyengine/education_budget_change.py,sha256=LBVk5exhxqfbdT2BOur4cewTeOr04g60oSuwUPahsuM,1466
718
- policyengine_uk/variables/contrib/policyengine/high_income_incident_tax_change.py,sha256=T-CPp_frU3jUYQJvyKEUgK8WL0f0aBMOR70blVOrzk4,775
719
718
  policyengine_uk/variables/contrib/policyengine/nhs_budget_change.py,sha256=Z5k9jgiR_yi62Et_qhPU83Z5Pv6fDSbGhRVzNesMPyQ,1448
720
719
  policyengine_uk/variables/contrib/policyengine/other_public_spending_budget_change.py,sha256=xz2lUFKS54BYoSrrBdp3UhY1TYQeqsuwaDsliGzEHqA,1527
721
720
  policyengine_uk/variables/contrib/policyengine/pre_budget_change_household_benefits.py,sha256=1nWJ42sO57AkhF6UaF7VyCY9rqATQND1njlhtpPC398,2063
@@ -738,7 +737,7 @@ policyengine_uk/variables/contrib/ubi_center/basic_income/bi_maximum.py,sha256=N
738
737
  policyengine_uk/variables/contrib/ubi_center/basic_income/bi_phaseout.py,sha256=CcTdVg4KABnB8Uj0DpiO4wXfpUsRMGn1aHgoQqxBCaI,259
739
738
  policyengine_uk/variables/gov/gov_balance.py,sha256=fNo-e-Nc3SIVAoCQR0VUMKj3-qre9IpYcfz-KEYkQ5w,328
740
739
  policyengine_uk/variables/gov/gov_spending.py,sha256=VWWnDaCWuyIUmxvAjiD7gwrk-TwK63j9ZcLiFRw-8dI,1382
741
- policyengine_uk/variables/gov/gov_tax.py,sha256=yupX06QE43eeEtKnFHYMVXZfdbfaCLzZGz99C-l0SV4,1277
740
+ policyengine_uk/variables/gov/gov_tax.py,sha256=LY8kCHZr9wiTJ52GftTO1AL7UqvOhA7JQ9c6xHd26-A,1234
742
741
  policyengine_uk/variables/gov/dcms/bbc/tv_licence/free_tv_licence_value.py,sha256=3W9zi4rnq5-HAPBHr_DLZHlyMVHs5TL3ZhB0GdfDTyM,710
743
742
  policyengine_uk/variables/gov/dcms/bbc/tv_licence/tv_licence.py,sha256=kHCMt8s6EQjzFN3AZUw05HwJf4GFJDjJQzsVYKCe2QY,689
744
743
  policyengine_uk/variables/gov/dcms/bbc/tv_licence/tv_licence_discount.py,sha256=h-zV_TtYl2hMKmilq-QK_hci0C66k4_gnhk2IAyLbI8,1233
@@ -976,7 +975,7 @@ policyengine_uk/variables/gov/hmrc/child_benefit_reported.py,sha256=YSG1d5A1FhGw
976
975
  policyengine_uk/variables/gov/hmrc/child_benefit_respective_amount.py,sha256=BYjZEww3bmhkP7tohteTsxIEsx3eHMtMfawHkrCmWvc,1153
977
976
  policyengine_uk/variables/gov/hmrc/corporate_sdlt.py,sha256=-RvgqRVU_w3jfT1m9x9wM8PuLxtkp-8vT7y76mPdk-A,573
978
977
  policyengine_uk/variables/gov/hmrc/expected_sdlt.py,sha256=kKejNXGwb_hvNH-604Y9N8hab_FMqv6XjogCA0cKFQE,578
979
- policyengine_uk/variables/gov/hmrc/household_tax.py,sha256=0KFHualoVSQuPXN8_h3KYl8Vg_U6OA7Kt_iIimNXN4s,1436
978
+ policyengine_uk/variables/gov/hmrc/household_tax.py,sha256=pET71_7LH2mri5EeG_nSJiNICaOryGqE-ITHoxu52iM,1393
980
979
  policyengine_uk/variables/gov/hmrc/sdlt_liable.py,sha256=oxw8Q_Aj4mFWKpPdhj_Tq3Jt2CBaln7Vf7mpdKjQlQA,544
981
980
  policyengine_uk/variables/gov/hmrc/sdlt_on_non_residential_property_rent.py,sha256=WIXbls7gLMnnNswkIN7tB7yeDwNqTIDfxOg6is8zoWE,786
982
981
  policyengine_uk/variables/gov/hmrc/sdlt_on_non_residential_property_transactions.py,sha256=D5KA9Nn9kAf93oOOLLR8YxrnuNefkv8UKAmG4EKSgqk,641
@@ -1388,7 +1387,7 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
1388
1387
  policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
1389
1388
  policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
1390
1389
  policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
1391
- policyengine_uk-2.49.4.dist-info/METADATA,sha256=Wp-RJRZRBSiTo3S0w-eDAXbYDm_m7hKT3cmRtJahFFA,3995
1392
- policyengine_uk-2.49.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1393
- policyengine_uk-2.49.4.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1394
- policyengine_uk-2.49.4.dist-info/RECORD,,
1390
+ policyengine_uk-2.49.5.dist-info/METADATA,sha256=rEOLCQJTYw8L7_3QA7omSr5KmmislUb07SLCLiswZ30,3995
1391
+ policyengine_uk-2.49.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1392
+ policyengine_uk-2.49.5.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1393
+ policyengine_uk-2.49.5.dist-info/RECORD,,
@@ -1,22 +0,0 @@
1
- from policyengine_uk.model_api import *
2
-
3
-
4
- class high_income_incident_tax_change(Variable):
5
- label = "high income-incident tax revenue change"
6
- entity = Household
7
- definition_period = YEAR
8
- value_type = float
9
- unit = GBP
10
-
11
- def formula(household, period, parameters):
12
- if household.simulation.dataset is None:
13
- return 0
14
-
15
- total_income = household.members("total_income", period)
16
- high_income = household.sum(max_(total_income - 100e3, 0))
17
- weight = household("household_weight", period)
18
- share = high_income / (high_income * weight).sum()
19
- revenue_change = parameters(
20
- period
21
- ).gov.contrib.policyengine.budget.high_income_incident_tax_change
22
- return revenue_change * 1e9 * share