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

@@ -0,0 +1,23 @@
1
+ description: Uprating factor for Affordable Care Act benchmark (second lowest cost silver plan) premiums based on national average.
2
+ metadata:
3
+ unit: currency-USD
4
+ label: ACA benchmark premium uprating
5
+ reference:
6
+ - title: KFF Marketplace Average Benchmark Premiums, 2014-2025
7
+ href: https://www.kff.org/affordable-care-act/state-indicator/marketplace-average-benchmark-premiums/
8
+ values:
9
+ # Historical KFF data - actual national average SLCSP premiums
10
+ 2014-01-01: 273
11
+ 2015-01-01: 276
12
+ 2016-01-01: 299
13
+ 2017-01-01: 359
14
+ 2018-01-01: 481
15
+ 2019-01-01: 478
16
+ 2020-01-01: 462
17
+ 2021-01-01: 452
18
+ 2022-01-01: 438
19
+ 2023-01-01: 456
20
+ 2024-01-01: 477
21
+ 2025-01-01: 497
22
+ # Values for 2026-2100 are set programmatically in uprating_extensions.py
23
+ # based on 2024-2025 growth rate
@@ -1,4 +1,4 @@
1
- description: Rate of ACA PTC phase out by ACA MAGI percent of FPL.
1
+ description: Rate of Affordable Care Act Premium Tax Credit phase out by modified adjusted gross income percent of federal poverty line.
2
2
  metadata:
3
3
  type: single_amount
4
4
  threshold_unit: /1
@@ -7,19 +7,23 @@ metadata:
7
7
  reference:
8
8
  - title: 26 U.S. Code § 36B(b)(3)(A) - Refundable credit for coverage under a qualified health plan
9
9
  href: https://www.law.cornell.edu/uscode/text/26/36B#b_3_A
10
- - title: CRS, Health Insurance Premium Tax Credit ... updated 2023-01-17
11
- href: https://crsreports.congress.gov/product/pdf/R/R44425#page=2
12
- # Quote from page 2 of the above CRS document:
13
- # "The budget reconciliation measure, enacted on August 16, 2022, extends
14
- # the ARPA provision that expanded eligibility for and the amount of the
15
- # PTC for three years to sunset at the end of tax year 2025."
10
+ - title: IRS Revenue Procedure 2021-23 - American Rescue Plan Act modifications for 2021
11
+ href: https://www.irs.gov/pub/irs-drop/rp-21-23.pdf
12
+ - title: IRS Internal Revenue Bulletin 2021-35 - Applicable percentage table for 2022
13
+ href: https://www.irs.gov/irb/2021-35_IRB
14
+ - title: IRS Revenue Procedure 2023-29 - Inflation Reduction Act extension for 2023-2024
15
+ href: https://www.irs.gov/pub/irs-drop/rp-23-29.pdf
16
+ - title: IRS Revenue Procedure 2024-35 - Applicable percentage table for 2025
17
+ href: https://www.irs.gov/irb/2024-42_IRB
18
+ - title: IRS Revenue Procedure 2025-25 - Applicable percentage table for 2026
19
+ href: https://www.irs.gov/pub/irs-drop/rp-25-25.pdf
16
20
  brackets:
17
21
  - threshold:
18
22
  2015-01-01: 0
19
23
  amount:
20
24
  2015-01-01: 0.02
21
25
  2021-01-01: 0
22
- 2026-01-01: 0.02
26
+ 2026-01-01: 0.021
23
27
  - threshold:
24
28
  2015-01-01: 1.33
25
29
  2021-01-01: null
@@ -27,34 +31,34 @@ brackets:
27
31
  amount:
28
32
  2015-01-01: 0.03
29
33
  2021-01-01: null
30
- 2026-01-01: 0.03
34
+ 2026-01-01: 0.0314
31
35
  - threshold:
32
36
  2015-01-01: 1.50
33
37
  amount:
34
38
  2015-01-01: 0.04
35
39
  2021-01-01: 0.0
36
- 2026-01-01: 0.04
40
+ 2026-01-01: 0.0419
37
41
  - threshold:
38
42
  2015-01-01: 2.00
39
43
  amount:
40
44
  2015-01-01: 0.063
41
45
  2021-01-01: 0.02
42
- 2026-01-01: 0.063
46
+ 2026-01-01: 0.066
43
47
  - threshold:
44
48
  2015-01-01: 2.50
45
49
  amount:
46
50
  2015-01-01: 0.0805
47
51
  2021-01-01: 0.04
48
- 2026-01-01: 0.0805
52
+ 2026-01-01: 0.0844
49
53
  - threshold:
50
54
  2015-01-01: 3.00
51
55
  amount:
52
56
  2015-01-01: 0.095
53
57
  2021-01-01: 0.06
54
- 2026-01-01: 0.095
58
+ 2026-01-01: 0.0996
55
59
  - threshold:
56
60
  2015-01-01: 4.00
57
61
  amount:
58
62
  2015-01-01: 0.095
59
63
  2021-01-01: 0.085
60
- 2026-01-01: 0.095
64
+ 2026-01-01: 0.0996
@@ -8,7 +8,7 @@ metadata:
8
8
  - range(1, 68) #max rating areas +1
9
9
  documentation: For NY and VT below is base adult premium
10
10
  label: Second Lowest Cost Silver Plan premiums by rating area
11
- uprating: gov.irs.uprating
11
+ uprating: gov.aca.benchmark_premium_uprating
12
12
  propagate_metadata_to_children: true
13
13
  reference:
14
14
  - title: CMS Market Rating Reforms State Specific Age Curve Variations
@@ -141,4 +141,13 @@ def set_all_uprating_parameters(parameters: ParameterNode) -> ParameterNode:
141
141
  period_day=1,
142
142
  )
143
143
 
144
+ # ACA benchmark premium uprating (January values, last projection year 2025)
145
+ extend_parameter_values(
146
+ parameters.gov.aca.benchmark_premium_uprating,
147
+ last_projected_year=2025,
148
+ end_year=END_YEAR,
149
+ period_month=1,
150
+ period_day=1,
151
+ )
152
+
144
153
  return parameters
@@ -74,13 +74,13 @@ def create_ctc_minimum_refundable_amount() -> Reform:
74
74
  # Use either normal or ARPA CTC maximums.
75
75
  individual_max = person("ctc_child_individual_maximum", period)
76
76
  arpa_max = person("ctc_child_individual_maximum_arpa", period)
77
- child_amount = individual_max + arpa_max
77
+ child_amount = tax_unit.sum(individual_max + arpa_max)
78
78
  ctc = parameters(period).gov.irs.credits.ctc
79
79
  qualifying_children = tax_unit("ctc_qualifying_children", period)
80
80
  refundable_max = (
81
81
  ctc.refundable.individual_max * qualifying_children
82
82
  )
83
- return tax_unit.sum(min_(child_amount, refundable_max))
83
+ return min_(child_amount, refundable_max)
84
84
 
85
85
  class non_refundable_ctc(Variable):
86
86
  value_type = float
@@ -68,4 +68,4 @@
68
68
  input:
69
69
  aca_magi_fraction: 4.0
70
70
  output:
71
- aca_ptc_phase_out_rate: 0.0950
71
+ aca_ptc_phase_out_rate: 0.0996
@@ -212,9 +212,9 @@
212
212
  # Total minimum = 1_300
213
213
  ctc_phase_in: 2_625 # (20_000 - 2_500) * 0.15
214
214
  # Phase-in exceeds total minimum, so use phase-in
215
- ctc_refundable_maximum: 4_000 # 2 * 2_000
216
- refundable_ctc: 3_925 # Uses phase-in + minimum
217
- ctc: 4_000 # 2 children * 2_000
215
+ ctc_refundable_maximum: 3_400 # 2 children * 1_700 (refundable max)
216
+ refundable_ctc: 3_400
217
+ ctc: 4_000
218
218
 
219
219
  - name: Edge case - very high income with phase-out affecting refundability
220
220
  period: 2024
@@ -245,3 +245,33 @@
245
245
  ctc_phase_out: 2_500
246
246
  ctc: 0 # Fully phased out (2_000 - 2_500 = 0, capped at 0)
247
247
  refundable_ctc: 0 # No CTC left to be refundable
248
+
249
+ - name: Vectorization check
250
+ period: 2024
251
+ reforms: policyengine_us.reforms.ctc.ctc_minimum_refundable_amount.ctc_minimum_refundable_amount
252
+ input:
253
+ gov.contrib.ctc.minimum_refundable.in_effect: true
254
+ gov.contrib.ctc.minimum_refundable.amount[0].amount: 800
255
+ gov.contrib.ctc.minimum_refundable.amount[1].amount: 500
256
+ people:
257
+ person1:
258
+ age: 40
259
+ employment_income: 0
260
+ child1:
261
+ age: 5
262
+ ctc_qualifying_child: true
263
+ child2:
264
+ age: 5
265
+ ctc_qualifying_child: true
266
+ tax_units:
267
+ tax_unit:
268
+ members: [person1, child1, child2]
269
+ tax_unit_is_joint: false
270
+ households:
271
+ household:
272
+ members: [person1, child1, child2]
273
+ output:
274
+ ctc_child_individual_maximum: [0, 2_000, 2_000]
275
+ ctc_child_individual_maximum_arpa: [0, 0, 0]
276
+ ctc_qualifying_children: 2
277
+ refundable_ctc: 1_600
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.408.0
3
+ Version: 1.409.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -8,7 +8,7 @@ policyengine_us/typing.py,sha256=ixLAOFjSnepNEAZ63DhhBZHRw0rBgjH81y_z4hTjhEE,298
8
8
  policyengine_us/data/__init__.py,sha256=TuwzfG1RS1KzvMptMbpbEfiaRG5RPCXQK5gYBwzDkBc,47
9
9
  policyengine_us/data/zip_code_dataset.py,sha256=PvA4Jldyu21XEuJMGRAcNLxjlJnDSJ7iVTBdy2c1Mp8,337
10
10
  policyengine_us/parameters/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
11
- policyengine_us/parameters/uprating_extensions.py,sha256=qK945oDjs2UxHVg5fWkVISghsaaqoDk0h_WRxN01hug,5070
11
+ policyengine_us/parameters/uprating_extensions.py,sha256=xZvve1vG0fWGZutE1YJXJoW2u_yqi70nr7VW-PnON2U,5349
12
12
  policyengine_us/parameters/calibration/gov/aca/enrollment/state.yaml,sha256=NjN2M7pJxG6q78KR3-I3cIZCVjDayrswc65RISZmetY,1794
13
13
  policyengine_us/parameters/calibration/gov/aca/spending/state.yaml,sha256=1kvJIiu-cYEbXPAaBQcOqSE3ShXfALag-1Pdw3sdEes,2018
14
14
  policyengine_us/parameters/calibration/gov/cbo/income_by_source.yaml,sha256=xuzSBHECTYR7XwFhVgNrAOy1ffEUO2W0mo6g3MzwU24,6719
@@ -78,13 +78,14 @@ policyengine_us/parameters/calibration/gov/treasury/tax_expenditures/eitc.yaml,s
78
78
  policyengine_us/parameters/calibration/gov/usda/snap/participation.yaml,sha256=y0MuCsAwhH4diHT00T_qz9YrXn_2axZqdgyuAgoRqHs,490
79
79
  policyengine_us/parameters/gov/README.md,sha256=bHUep1_2pLHD3Or8SwjStOWXDIbW9OuYxOd4ml8IXcM,13
80
80
  policyengine_us/parameters/gov/aca/README.md,sha256=AZ2Pw6LWyA33d5mRfG_xbq7M2DKP0HN_roZNpHat8Rw,22
81
+ policyengine_us/parameters/gov/aca/benchmark_premium_uprating.yaml,sha256=tLRby9iMG6c9l1CS--8gjsci6byU90BYyPLfyrqxUKA,791
81
82
  policyengine_us/parameters/gov/aca/family_tier_states.yaml,sha256=S240QR72F7-0SgrQWc9WQx23V8tMa6xwnHqAFY86J-A,1620
82
83
  policyengine_us/parameters/gov/aca/ineligible_immigration_statuses.yaml,sha256=fePZJGibWwso5uh0fFUhuPfkIECNJQt8G28EmOjU_w0,698
83
84
  policyengine_us/parameters/gov/aca/la_county_rating_area.yaml,sha256=DeMrNznf1drSArrtJyVPRDxEl6jekCMHMENCxO8rvtQ,847
84
85
  policyengine_us/parameters/gov/aca/max_child_count.yaml,sha256=jCAERTNElBGb925Jl86PeNchXYiuZDZFbMaIpTnOnbM,1290
85
86
  policyengine_us/parameters/gov/aca/ptc_income_eligibility.yaml,sha256=h_oDrZjlSqpzW1hA4pEC8-KkCjZItub9II0ePrMo3zs,975
86
- policyengine_us/parameters/gov/aca/ptc_phase_out_rate.yaml,sha256=eBCFlWUb2oHtzAFyaBfu5vosB2fBqUu4ezEa_QEkvqg,1676
87
- policyengine_us/parameters/gov/aca/state_rating_area_cost.yaml,sha256=QDVIL_Jdpltk2XlAWRdnTCV_s2JOEmTmgiSlLY4t2Aw,14960
87
+ policyengine_us/parameters/gov/aca/ptc_phase_out_rate.yaml,sha256=FIr-X7XcZIMiCTb4w9_PJOGt2u2_GQnULLYRVtaXb1M,2034
88
+ policyengine_us/parameters/gov/aca/state_rating_area_cost.yaml,sha256=9pUqkuDkUsXAGVbkbSo8DoDZD3MjWuYlediUL-0wF90,14978
88
89
  policyengine_us/parameters/gov/aca/takeup_rate.yaml,sha256=IlzV1dCi3ZBDu_KmmPTEDKyTR9XyFbCCcVNXA1TVeZQ,548
89
90
  policyengine_us/parameters/gov/aca/age_curves/al.yaml,sha256=0DjOv1_XvcOpoFD9RaygdkbSG8MQnVLZTEoTNjKMiLA,3200
90
91
  policyengine_us/parameters/gov/aca/age_curves/dc.yaml,sha256=u3gNF0frvQ-vhZmerBE71h0BvFf6sTNwuBJ_qQLRPyU,2835
@@ -3175,7 +3176,7 @@ policyengine_us/reforms/crfb/tax_employer_payroll_tax.py,sha256=-V6vv51aYb0NRuB4
3175
3176
  policyengine_us/reforms/crfb/tax_employer_social_security_tax.py,sha256=hawAdLtwCnY3_7jUVPTM0KpeYRfT7tVk0xqCMhdxP4E,4292
3176
3177
  policyengine_us/reforms/ctc/__init__.py,sha256=mXLIEHPIXHe5PyI96pTmP9b3y1jwwTcMoRNOIx808Y4,434
3177
3178
  policyengine_us/reforms/ctc/ctc_additional_bracket.py,sha256=KNmEB_OLwpLbvaPo4w0n18VnAmg0u3efirfVVCOrWj4,2391
3178
- policyengine_us/reforms/ctc/ctc_minimum_refundable_amount.py,sha256=Enge7PcmzrG8UhJWi1Y-b7s5PkJfK0Yt5a-Xmp3KYb4,4862
3179
+ policyengine_us/reforms/ctc/ctc_minimum_refundable_amount.py,sha256=A03329drcOtMkxzKsIJsQZZQTzSe93Uyh3mVBGMD62U,4862
3179
3180
  policyengine_us/reforms/ctc/ctc_older_child_supplement.py,sha256=eGkehEr_26CYSFo3K4gZ2vJYR_8wDX4r776DIMEaaik,1714
3180
3181
  policyengine_us/reforms/ctc/ctc_per_child_phase_in.py,sha256=9URwoFEFvP7W-N_rmEG9_N1LTUEEvOS_jX7z8qT6PAQ,1765
3181
3182
  policyengine_us/reforms/ctc/ctc_per_child_phase_out.py,sha256=6Z55YKtB5K_Wl21O_6HpohPEp4nJ0PUCAtkt_T2nYY8,3363
@@ -3242,7 +3243,7 @@ policyengine_us/tests/policy/baseline/gov/aca/eligibility/is_aca_ptc_eligible.ya
3242
3243
  policyengine_us/tests/policy/baseline/gov/aca/eligibility/is_aca_ptc_immigration_status_eligible.yaml,sha256=aqBy1o5JE7uqfPEracAm6DTxIGnmVrzVU9oNkIwj8ZA,805
3243
3244
  policyengine_us/tests/policy/baseline/gov/aca/eligibility/sbn_los_angeles.yaml,sha256=YXuwDlXpqWtYlDPl_TOKklSejXsdvJwA2Vt4aa0YWw8,17929
3244
3245
  policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc.yaml,sha256=ZFzzbOb3npjZ7SnVVLTug9OBRgFI4_yDvls9H88nrQg,716
3245
- policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc_phase_out_rate.yaml,sha256=9EEFrP26Pp8WiADDRwmkfNaUwobCRr-s_gBeHfhF5Qk,1544
3246
+ policyengine_us/tests/policy/baseline/gov/aca/ptc/aca_ptc_phase_out_rate.yaml,sha256=EPboCKXzT_SK8tkgRnPk6aPkpwF_RISdyTjyo85351Y,1544
3246
3247
  policyengine_us/tests/policy/baseline/gov/aca/ptc/integration.yaml,sha256=cyDpxhOa_Bl9MH8Y2FZySYJElE48_p_vW2T7kCIfQeM,2085
3247
3248
  policyengine_us/tests/policy/baseline/gov/aca/ptc/separate_esi.yaml,sha256=qc5ffgJgeV0ZB8h6JKA4sNuma160ygvuvrxAAUoyszI,1877
3248
3249
  policyengine_us/tests/policy/baseline/gov/aca/ptc/takes_up_aca_if_eligible.yaml,sha256=Wv1TWclv2y2_HMALmhe4bGWtLFNgAREE9w61a7BlxGc,254
@@ -5265,7 +5266,7 @@ policyengine_us/tests/policy/contrib/crfb/tax_employer_medicare_tax.yaml,sha256=
5265
5266
  policyengine_us/tests/policy/contrib/crfb/tax_employer_payroll_tax_percentage.yaml,sha256=N3l6vYyluEGIbd2HfSQFuAYPzg0r4CC0JZujm3-joO8,5510
5266
5267
  policyengine_us/tests/policy/contrib/crfb/tax_employer_social_security_tax.yaml,sha256=0boINedj32lA-V2VLztNBoylnOlzRinlwtcg3JIij0g,474
5267
5268
  policyengine_us/tests/policy/contrib/ctc/ctc_additional_bracket.yaml,sha256=0vUrhnn91ETd_lkk1YqG5EzGj8wTj2r5mHZ3A-mjwlo,3445
5268
- policyengine_us/tests/policy/contrib/ctc/ctc_minimum_refundable_amount.yaml,sha256=Q5WTmiU2PusZvwo1zfMmRAMwOSGtgYMR0jqrMZcZe84,7255
5269
+ policyengine_us/tests/policy/contrib/ctc/ctc_minimum_refundable_amount.yaml,sha256=dpCw9_a5-0-qR7c7kdRyGnyDL9pJoxVoYOqm0VXWUPM,8116
5269
5270
  policyengine_us/tests/policy/contrib/ctc/ctc_older_child_supplement.yaml,sha256=7P67DlafOtTxAcpH2ossYPDInWyz6DJayNf_0Ed7rcQ,2059
5270
5271
  policyengine_us/tests/policy/contrib/ctc/ctc_per_child_phase_in.yaml,sha256=uCAlu5Gj4iww2hCWbsqFst7zcT6UvM9_D9cKQyRc5QE,4754
5271
5272
  policyengine_us/tests/policy/contrib/ctc/ctc_per_child_phase_out.yaml,sha256=H5k9TyIge7VeZRGxIXVTOQPV5SpqAuX509iV-SXLBI4,3829
@@ -8481,8 +8482,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8481
8482
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8482
8483
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8483
8484
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8484
- policyengine_us-1.408.0.dist-info/METADATA,sha256=E9KXk0R9VfaKX-BGp1clOVzGbLOgbpwXTKG7lEIOG4A,1649
8485
- policyengine_us-1.408.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8486
- policyengine_us-1.408.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8487
- policyengine_us-1.408.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8488
- policyengine_us-1.408.0.dist-info/RECORD,,
8485
+ policyengine_us-1.409.0.dist-info/METADATA,sha256=lvUKHWebPvUVSyoDJu_mADRb8_aXuVE8pEoun-vCgms,1649
8486
+ policyengine_us-1.409.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8487
+ policyengine_us-1.409.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8488
+ policyengine_us-1.409.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8489
+ policyengine_us-1.409.0.dist-info/RECORD,,