policyengine-us 1.369.0__py3-none-any.whl → 1.370.1__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-us might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
- description: The Committee for a Responsible Federal Budget proposes a nonrefundable credit of this amount to offset taxes from Social Security benefits.
1
+ description: The Committee for a Responsible Federal Budget proposes to replace the additional senior deduction with a nonrefundable credit of this amount to offset taxes from Social Security benefits.
2
2
  metadata:
3
3
  unit: currency-USD
4
4
  label: CRFB Social Security nonrefundable credit amount
@@ -1,4 +1,4 @@
1
- description: The Committee for a Responsible Federal Budget's proposed nonrefundable credit to offset taxes from Social Security benefits is active if this is true.
1
+ description: The Committee for a Responsible Federal Budget's proposed replacement of the additional senior deduction with a nonrefundable credit to offset taxes from Social Security benefits is active if this is true.
2
2
  metadata:
3
3
  unit: bool
4
4
  period: year
@@ -75,11 +75,32 @@ def non_refundable_ss_credit_reform() -> Reform:
75
75
 
76
76
  return highest_rate
77
77
 
78
+ def modify_parameters(parameters):
79
+ parameters.gov.irs.credits.non_refundable.update(
80
+ start=instant("2026-01-01"),
81
+ stop=instant("2035-12-31"),
82
+ value=[
83
+ "foreign_tax_credit",
84
+ "cdcc",
85
+ "non_refundable_american_opportunity_credit",
86
+ "lifetime_learning_credit",
87
+ "savers_credit",
88
+ "residential_clean_energy_credit",
89
+ "energy_efficient_home_improvement_credit",
90
+ "elderly_disabled_credit",
91
+ "new_clean_vehicle_credit",
92
+ "used_clean_vehicle_credit",
93
+ "non_refundable_ctc",
94
+ "ss_credit",
95
+ ],
96
+ )
97
+ return parameters
98
+
78
99
  class reform(Reform):
79
100
  def apply(self):
80
101
  self.update_variable(ss_credit)
81
102
  self.update_variable(highest_tax_rate)
82
- self.neutralize_variable("additional_senior_deduction")
103
+ self.modify_parameters(modify_parameters)
83
104
 
84
105
  return reform
85
106
 
@@ -27,6 +27,7 @@
27
27
  reforms: policyengine_us.reforms.crfb.non_refundable_ss_credit.non_refundable_ss_credit_reform_object
28
28
  input:
29
29
  gov.contrib.crfb.ss_credit.in_effect: true
30
+ gov.irs.deductions.senior_deduction.amount: 0
30
31
  additional_senior_deduction_eligible_person: true
31
32
  adjusted_gross_income: 10_000
32
33
  filing_status: JOINT
@@ -34,12 +35,48 @@
34
35
  output:
35
36
  taxable_income_deductions_if_itemizing: 0
36
37
 
37
- - name: Reform not active
38
+ - name: Test credit as part of the computation tree
38
39
  period: 2026
40
+ reforms: policyengine_us.reforms.crfb.non_refundable_ss_credit.non_refundable_ss_credit_reform_object
39
41
  input:
40
- additional_senior_deduction_eligible_person: true
41
- adjusted_gross_income: 10_000
42
- filing_status: JOINT
43
- itemized_taxable_income_deductions: 0
42
+ gov.contrib.crfb.ss_credit.in_effect: true
43
+ taxable_social_security: 30_000
44
+ taxable_income: 1_000_000
45
+ filing_status: SINGLE
46
+ output:
47
+ highest_tax_rate: 0.37
48
+ ss_credit: 600
49
+ income_tax_non_refundable_credits: 600
50
+
51
+ - name: Baseline test
52
+ period: 2026
53
+ input:
54
+ taxable_social_security: 30_000
55
+ taxable_income: 1_000_000
56
+ filing_status: SINGLE
57
+ output:
58
+ income_tax_non_refundable_credits: 0
59
+
60
+ - name: Test credit as part of the computation tree
61
+ period: 2026
62
+ reforms: policyengine_us.reforms.crfb.non_refundable_ss_credit.non_refundable_ss_credit_reform_object
63
+ input:
64
+ gov.contrib.crfb.ss_credit.in_effect: true
65
+ gov.irs.social_security.taxability.rate.base: 0.85
66
+ gov.irs.social_security.taxability.threshold.base.main.SINGLE: 0
67
+ gov.irs.social_security.taxability.threshold.base.main.JOINT: 0
68
+ gov.irs.social_security.taxability.threshold.base.main.HEAD_OF_HOUSEHOLD: 0
69
+ gov.irs.social_security.taxability.threshold.base.main.SEPARATE: 0
70
+ gov.irs.social_security.taxability.threshold.base.main.SURVIVING_SPOUSE: 0
71
+ people:
72
+ person1:
73
+ social_security: 5_000
74
+ irs_employment_income: 10_000
75
+ tax_units:
76
+ tax_unit:
77
+ members: [person1]
44
78
  output:
45
- taxable_income_deductions_if_itemizing: 6_000
79
+ highest_tax_rate: 0.1
80
+ taxable_social_security: 4_250
81
+ ss_credit: 425
82
+ income_tax_non_refundable_credits: 425
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.369.0
3
+ Version: 1.370.1
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -180,8 +180,8 @@ policyengine_us/parameters/gov/contrib/congress/wftca/bonus_guaranteed_deduction
180
180
  policyengine_us/parameters/gov/contrib/congress/wftca/bonus_guaranteed_deduction/phase_out/threshold.yaml,sha256=D7QFIbulmExcc9MVzeEz64isJ9_jscq8ujgDvJMzRlY,906
181
181
  policyengine_us/parameters/gov/contrib/congress/wyden_smith/actc_lookback.yaml,sha256=7nW2PVchIb6Slfip6iPtIqSrmdYoOrFhn0M7N7D6EIY,437
182
182
  policyengine_us/parameters/gov/contrib/congress/wyden_smith/per_child_actc_phase_in.yaml,sha256=3Uer49v5OPi7uDAuGnsSlr_L0EnyeDOlKcQGJYIQ4Ro,418
183
- policyengine_us/parameters/gov/contrib/crfb/ss_credit/amount.yaml,sha256=6pbayvL12orx2LVgRwCoDOjhinIVKku-Seazx8zVc1A,444
184
- policyengine_us/parameters/gov/contrib/crfb/ss_credit/in_effect.yaml,sha256=lCJAlnTlCg7juzkhHRO1N8doT6aSmfX2y-2ffJWXQUo,293
183
+ policyengine_us/parameters/gov/contrib/crfb/ss_credit/amount.yaml,sha256=3A_cUbpE6qPOej_CCmCwD7U9-_nDWxqgLF9Sw6s15zo,492
184
+ policyengine_us/parameters/gov/contrib/crfb/ss_credit/in_effect.yaml,sha256=4xq1pNu6_rSP3xjjcgJNolbMQJOrcEKrZn0hAcdOWcI,347
185
185
  policyengine_us/parameters/gov/contrib/crfb/tax_employer_medicare_tax/in_effect.yaml,sha256=E2lrX7YCKkIctuL1bw4dlMXDQnLKW29jwYV9temCYsY,221
186
186
  policyengine_us/parameters/gov/contrib/crfb/tax_employer_payroll_tax/in_effect.yaml,sha256=f1OyGZQyJqq0QeUj0oVdtVrWuvSt7bLpRALdu3isHRg,250
187
187
  policyengine_us/parameters/gov/contrib/crfb/tax_employer_social_security_tax/in_effect.yaml,sha256=DTXhl5bLmrrrpBneziAAHGjqKfMIn826IotgKmOajHI,235
@@ -3098,7 +3098,7 @@ policyengine_us/reforms/congress/tlaib/boost/boost_middle_class_tax_credit.py,sh
3098
3098
  policyengine_us/reforms/congress/wyden_smith/__init__.py,sha256=E2ZbN4mRYi9FniynFYQiWk18byKe_-WmAp9tpG1aXnU,55
3099
3099
  policyengine_us/reforms/congress/wyden_smith/ctc_expansion.py,sha256=SLqv8nk2gQT9xH8amGZMOgbljIkxPMSvL3RC1IMyLsA,5269
3100
3100
  policyengine_us/reforms/crfb/__init__.py,sha256=na1OcXNKdnI-L9qEKU1HoDOLz7I7LS9Wa7e0fTkaZpc,740
3101
- policyengine_us/reforms/crfb/non_refundable_ss_credit.py,sha256=xrrXoDlB4s1TqV2PEj0H1RZG8IZl9-zgHSPx7pITqlg,4706
3101
+ policyengine_us/reforms/crfb/non_refundable_ss_credit.py,sha256=bMEGGi1R16fnfBeNhiRFXh9DfpVyq4dZH1jcsidf-2c,5453
3102
3102
  policyengine_us/reforms/crfb/tax_employer_medicare_tax.py,sha256=Hc2GVwoXn2b_izOyoEpocySLo11BdmzFnyQoEiHJsFI,4236
3103
3103
  policyengine_us/reforms/crfb/tax_employer_payroll_tax.py,sha256=Tkod1VMnZQ-JBJo3dx7xUCq50ZuqUjiHUnkoOyBPVes,4342
3104
3104
  policyengine_us/reforms/crfb/tax_employer_social_security_tax.py,sha256=hawAdLtwCnY3_7jUVPTM0KpeYRfT7tVk0xqCMhdxP4E,4292
@@ -5109,7 +5109,7 @@ policyengine_us/tests/policy/contrib/congress/romney/family_security_act_2024/ei
5109
5109
  policyengine_us/tests/policy/contrib/congress/tlaib/boost/boost_middle_class_tax_credit.yaml,sha256=yT2Xh7jo3t-IVMiI-g2KQ-8_jhCvGLgjtQeKTtVeJT4,4400
5110
5110
  policyengine_us/tests/policy/contrib/congress/tlaib/end_child_poverty_act/ecpa_filer_credit.yaml,sha256=kWLbi3IrulWIxG-JmCXuCg5ItexVNhKSPSDRPPp9meg,460
5111
5111
  policyengine_us/tests/policy/contrib/congress/tlaib/end_child_poverty_act/integration.yaml,sha256=ftBPYvBYAcU-eqk36RQaurDomA9P657tw3V6n107YBk,3692
5112
- policyengine_us/tests/policy/contrib/crfb/non_refundable_ss_credit.yaml,sha256=ZzhhKEwtqryaEJwUfBKkslGJfA5hSh1kyjBJ3da0-SI,1442
5112
+ policyengine_us/tests/policy/contrib/crfb/non_refundable_ss_credit.yaml,sha256=ycLoBzbBzgSJ1RuAin4Y3SIlNu3TgtUY9QJp15dvTTQ,2773
5113
5113
  policyengine_us/tests/policy/contrib/crfb/tax_employer_all_payroll_tax.yaml,sha256=ljSr35bDosWTqTDqEZKWhRqZvIw7SwPVMY-O8YFIsLc,559
5114
5114
  policyengine_us/tests/policy/contrib/crfb/tax_employer_medicare_tax.yaml,sha256=jE-_SssrvqdWuVgw9GrA1sJy6dvrvKuMHwZCHm48oRc,446
5115
5115
  policyengine_us/tests/policy/contrib/crfb/tax_employer_social_security_tax.yaml,sha256=0boINedj32lA-V2VLztNBoylnOlzRinlwtcg3JIij0g,474
@@ -8253,8 +8253,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8253
8253
  policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
8254
8254
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8255
8255
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8256
- policyengine_us-1.369.0.dist-info/METADATA,sha256=GwNNcEZd0sTGZQgH0sQOutT0VaXSuLj-JNvY8d_280E,1693
8257
- policyengine_us-1.369.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8258
- policyengine_us-1.369.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8259
- policyengine_us-1.369.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8260
- policyengine_us-1.369.0.dist-info/RECORD,,
8256
+ policyengine_us-1.370.1.dist-info/METADATA,sha256=xxMUTLf1RLHtBProzP-yF1mCoreZgxmvAGT-GkpNIP4,1693
8257
+ policyengine_us-1.370.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8258
+ policyengine_us-1.370.1.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8259
+ policyengine_us-1.370.1.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8260
+ policyengine_us-1.370.1.dist-info/RECORD,,