policyengine-us 1.369.0__py3-none-any.whl → 1.370.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.

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,10 +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)
103
+ self.modify_parameters(modify_parameters)
82
104
  self.neutralize_variable("additional_senior_deduction")
83
105
 
84
106
  return reform
@@ -43,3 +43,25 @@
43
43
  itemized_taxable_income_deductions: 0
44
44
  output:
45
45
  taxable_income_deductions_if_itemizing: 6_000
46
+
47
+ - name: Test credit as part of the computation tree
48
+ period: 2026
49
+ reforms: policyengine_us.reforms.crfb.non_refundable_ss_credit.non_refundable_ss_credit_reform_object
50
+ input:
51
+ gov.contrib.crfb.ss_credit.in_effect: true
52
+ taxable_social_security: 30_000
53
+ taxable_income: 1_000_000
54
+ filing_status: SINGLE
55
+ output:
56
+ highest_tax_rate: 0.37
57
+ ss_credit: 600
58
+ income_tax_non_refundable_credits: 600
59
+
60
+ - name: Baseline test
61
+ period: 2026
62
+ input:
63
+ taxable_social_security: 30_000
64
+ taxable_income: 1_000_000
65
+ filing_status: SINGLE
66
+ output:
67
+ income_tax_non_refundable_credits: 0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.369.0
3
+ Version: 1.370.0
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=u_ZzqoYfJqFpk8PR-oOQdbgAeO5NWjH-hmC8v6tYDfE,5521
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=0Ur8bScdQdkC7OY0wbMp9XUQggCvI8MVT2Rk19PoaYQ,2051
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.0.dist-info/METADATA,sha256=vafd_kNow0KPXnw-lngH19i7vZWguQVSxkKOrdy5ihs,1693
8257
+ policyengine_us-1.370.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8258
+ policyengine_us-1.370.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8259
+ policyengine_us-1.370.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8260
+ policyengine_us-1.370.0.dist-info/RECORD,,