policyengine-us 1.450.0__py3-none-any.whl → 1.451.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.
@@ -0,0 +1,13 @@
1
+ description: Illinois limits the Medicaid Presumptive Eligibility program to families with income below this share of the federal poverty level.
2
+ values:
3
+ 2016-01-01: 2
4
+
5
+ metadata:
6
+ unit: /1
7
+ period: year
8
+ label: Illinois MPE income limit
9
+ reference:
10
+ - title: 305 ILCS 5/5-2(5)(b)
11
+ href: https://www.ilga.gov/legislation/ilcs/fulltext.asp?DocName=030500050K5-2
12
+ - title: 89 Ill. Admin. Code § 120.66(c)(1)
13
+ href: https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.66
@@ -0,0 +1,39 @@
1
+ - name: Case 1, pregnant with low income.
2
+ period: 2024-01
3
+ input:
4
+ state_code: IL
5
+ current_pregnancies: 1
6
+ medicaid_income_level: 1.5
7
+ output:
8
+ is_pregnant: true
9
+ il_mpe_eligible: true
10
+
11
+ - name: Case 2, pregnant with income at 200% FPL.
12
+ period: 2024-01
13
+ input:
14
+ state_code: IL
15
+ current_pregnancies: 1
16
+ medicaid_income_level: 2
17
+ output:
18
+ is_pregnant: true
19
+ il_mpe_eligible: true
20
+
21
+ - name: Case 3, pregnant with income above 200% FPL.
22
+ period: 2024-01
23
+ input:
24
+ state_code: IL
25
+ current_pregnancies: 1
26
+ medicaid_income_level: 2.5
27
+ output:
28
+ is_pregnant: true
29
+ il_mpe_eligible: false
30
+
31
+ - name: Case 4, not pregnant with low income.
32
+ period: 2024-01
33
+ input:
34
+ state_code: IL
35
+ current_pregnancies: 0
36
+ medicaid_income_level: 1
37
+ output:
38
+ is_pregnant: false
39
+ il_mpe_eligible: false
@@ -0,0 +1,23 @@
1
+ - name: Case 1, income below 200% FPL.
2
+ period: 2024-01
3
+ input:
4
+ state_code: IL
5
+ medicaid_income_level: 1.5
6
+ output:
7
+ il_mpe_income_eligible: true
8
+
9
+ - name: Case 2, income at exactly 200% FPL.
10
+ period: 2024-01
11
+ input:
12
+ state_code: IL
13
+ medicaid_income_level: 2
14
+ output:
15
+ il_mpe_income_eligible: true
16
+
17
+ - name: Case 3, income above 200% FPL.
18
+ period: 2024-01
19
+ input:
20
+ state_code: IL
21
+ medicaid_income_level: 2.01
22
+ output:
23
+ il_mpe_income_eligible: false
@@ -0,0 +1,138 @@
1
+ - name: Case 1, married couple with pregnant spouse expecting one child.
2
+ period: 2024-01
3
+ input:
4
+ people:
5
+ person1:
6
+ age: 28
7
+ current_pregnancies: 1
8
+ employment_income: 15_000
9
+ person2:
10
+ age: 30
11
+ employment_income: 10_000
12
+ tax_units:
13
+ tax_unit:
14
+ members: [person1, person2]
15
+ spm_units:
16
+ spm_unit:
17
+ members: [person1, person2]
18
+ households:
19
+ household:
20
+ members: [person1, person2]
21
+ state_code: IL
22
+ output:
23
+ # Combined income: 25,000/year
24
+ # Household size: 2 adults + 1 unborn = 3
25
+ # 2024 FPL for 3: 25,820
26
+ # Income level: 25,000 / 25,820 = 0.97 (97% FPL)
27
+ # Under 200% FPL limit = income eligible
28
+ il_mpe_income_eligible: [true, true]
29
+ # person1: pregnant + income eligible = eligible
30
+ # person2: not pregnant = not eligible
31
+ il_mpe_eligible: [true, false]
32
+
33
+ - name: Case 2, pregnant with twins increases household size.
34
+ period: 2024-01
35
+ input:
36
+ people:
37
+ person1:
38
+ age: 28
39
+ current_pregnancies: 2
40
+ employment_income: 35_000
41
+ tax_units:
42
+ tax_unit:
43
+ members: [person1]
44
+ spm_units:
45
+ spm_unit:
46
+ members: [person1]
47
+ households:
48
+ household:
49
+ members: [person1]
50
+ state_code: IL
51
+ output:
52
+ # Income: 35,000/year
53
+ # Household size: 1 adult + 2 unborn = 3
54
+ # 2024 FPL for 3: 25,820
55
+ # Income level: 35,000 / 25,820 = 1.36 (136% FPL)
56
+ # Under 200% FPL limit = income eligible
57
+ il_mpe_income_eligible: true
58
+ il_mpe_eligible: true
59
+
60
+ - name: Case 3, single pregnant woman over income limit.
61
+ period: 2024-01
62
+ input:
63
+ people:
64
+ person1:
65
+ age: 28
66
+ current_pregnancies: 1
67
+ employment_income: 80_000
68
+ tax_units:
69
+ tax_unit:
70
+ members: [person1]
71
+ spm_units:
72
+ spm_unit:
73
+ members: [person1]
74
+ households:
75
+ household:
76
+ members: [person1]
77
+ state_code: IL
78
+ output:
79
+ # Income: 80,000/year
80
+ # Household size: 1 adult + 1 unborn = 2
81
+ # 2024 FPL for 2: 20,440
82
+ # Income level: 80,000 / 20,440 = 3.91 (391% FPL)
83
+ # Over 200% FPL limit = not income eligible
84
+ il_mpe_income_eligible: false
85
+ il_mpe_eligible: false
86
+
87
+ - name: Case 4, pregnancy increases household size and passes income test.
88
+ period: 2024-01
89
+ input:
90
+ people:
91
+ person1:
92
+ age: 28
93
+ current_pregnancies: 1
94
+ employment_income: 31_000
95
+ tax_units:
96
+ tax_unit:
97
+ members: [person1]
98
+ spm_units:
99
+ spm_unit:
100
+ members: [person1]
101
+ households:
102
+ household:
103
+ members: [person1]
104
+ state_code: IL
105
+ output:
106
+ # Income: 31,000/year
107
+ # Household size: 1 adult + 1 unborn = 2
108
+ # 2024 FPL for 2: 20,440
109
+ # Income level: 31,000 / 20,440 = 1.52 (152% FPL)
110
+ # Under 200% FPL = income eligible
111
+ il_mpe_income_eligible: true
112
+ il_mpe_eligible: true
113
+
114
+ - name: Case 5, same income without pregnancy fails income test.
115
+ period: 2024-01
116
+ input:
117
+ people:
118
+ person1:
119
+ age: 28
120
+ employment_income: 31_000
121
+ tax_units:
122
+ tax_unit:
123
+ members: [person1]
124
+ spm_units:
125
+ spm_unit:
126
+ members: [person1]
127
+ households:
128
+ household:
129
+ members: [person1]
130
+ state_code: IL
131
+ output:
132
+ # Income: 31,000/year
133
+ # Household size: 1 adult only = 1
134
+ # 2024 FPL for 1: 15,060
135
+ # Income level: 31,000 / 15,060 = 2.06 (206% FPL)
136
+ # Over 200% FPL = not income eligible
137
+ il_mpe_income_eligible: false
138
+ il_mpe_eligible: false
@@ -0,0 +1,15 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_mpe_income_eligible(Variable):
5
+ value_type = bool
6
+ entity = Person
7
+ label = "Illinois MPE income eligible"
8
+ definition_period = MONTH
9
+ reference = "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.66"
10
+ defined_for = StateCode.IL
11
+
12
+ def formula(person, period, parameters):
13
+ p = parameters(period).gov.states.il.hfs.mpe.eligibility
14
+ income_level = person("medicaid_income_level", period.this_year)
15
+ return income_level <= p.income_limit
@@ -0,0 +1,15 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class il_mpe_eligible(Variable):
5
+ value_type = bool
6
+ entity = Person
7
+ label = "Illinois Medicaid Presumptive Eligibility eligible"
8
+ definition_period = MONTH
9
+ reference = "https://www.law.cornell.edu/regulations/illinois/Ill-Admin-Code-tit-89-SS-120.66"
10
+ defined_for = StateCode.IL
11
+
12
+ def formula(person, period, parameters):
13
+ is_pregnant = person("is_pregnant", period.this_year)
14
+ income_eligible = person("il_mpe_income_eligible", period)
15
+ return is_pregnant & income_eligible
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.450.0
3
+ Version: 1.451.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -1730,6 +1730,7 @@ policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/ear
1730
1730
  policyengine_us/parameters/gov/states/il/hfs/hbwd/eligibility/income/sources/unearned.yaml,sha256=A0UQTVYPreVG__IL4eHnrQDwr-XWdGnyPgf-x8i8aeU,750
1731
1731
  policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/earned.yaml,sha256=XU5OBHn-AynbirlC729_P54HIqDFOD9Ns9mGTVFyh4M,2080
1732
1732
  policyengine_us/parameters/gov/states/il/hfs/hbwd/premium/unearned.yaml,sha256=wwc_0vxUQjehff5W-NT69N1t3LSHoX19E-2YXgXUBuQ,2095
1733
+ policyengine_us/parameters/gov/states/il/hfs/mpe/eligibility/income_limit.yaml,sha256=cvt2D54stsfYKCbxohgRndO_L-CGDGX9_ZRal4GMCwg,515
1733
1734
  policyengine_us/parameters/gov/states/il/idoa/README.md,sha256=dSkp_E5HfWVdCBlFS5BdtAqNFOAGSBgTF7E3I9vJ8PU,38
1734
1735
  policyengine_us/parameters/gov/states/il/idoa/bap/README.md,sha256=ooC8UJHcRygwWKLRncZu-a0gW69M7euqkUIb3tMPZAk,25
1735
1736
  policyengine_us/parameters/gov/states/il/idoa/bap/disabled.yaml,sha256=fls1LRh7w5iQR2T9fuEV6GdKDs0Q19QZKtR3WlMBQvg,594
@@ -4415,6 +4416,9 @@ policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd
4415
4416
  policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_eligible.yaml,sha256=t-Jy1K9RHLScgCS9Tohvtuv4pEcD9io1Cor6rC9X5aQ,1526
4416
4417
  policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_employment_eligible.yaml,sha256=CsbrAnYM6gWchxLL5c8gtNVRx3szYun0ufMvCuWQ5hE,903
4417
4418
  policyengine_us/tests/policy/baseline/gov/states/il/hfs/hbwd/eligibility/il_hbwd_income_eligible.yaml,sha256=UB5ZommNBQw33RL2Z2pLya23MX-qAYdeh943yK3GpJo,694
4419
+ policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_eligible.yaml,sha256=HsLBtpSkDJj0UzuOTFdoXYqpmxb9Dh-RSVRDJLONfEw,841
4420
+ policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/il_mpe_income_eligible.yaml,sha256=mRupIOz0ZkSj87dz6gv98UlbXS_j_Ym7pZztY4Pr7sM,484
4421
+ policyengine_us/tests/policy/baseline/gov/states/il/hfs/mpe/integration.yaml,sha256=BshHjPMgASSK95anysum9f7-YXNCEUzwLYviJuVIM1Q,3521
4418
4422
  policyengine_us/tests/policy/baseline/gov/states/il/idoa/bap/il_bap_eligible.yaml,sha256=bxAIxI1GYL6I-htJnFPMEbbbq4yo0QZ2_b4V9jfboQc,1115
4419
4423
  policyengine_us/tests/policy/baseline/gov/states/il/rta/cta/il_cta_benefit.yaml,sha256=P1bzMm2ZSF6SdRMJ28fNrYm3ZJ1Qv2FWUaW4HNCxbvI,1257
4420
4424
  policyengine_us/tests/policy/baseline/gov/states/il/rta/cta/free_ride/il_cta_free_ride_benefit.yaml,sha256=vc6te3785fDkipZjr-JttgTai1w6WsDRydWM56E1h3c,683
@@ -7080,6 +7084,8 @@ policyengine_us/variables/gov/states/il/hfs/hbwd/income/il_hbwd_countable_income
7080
7084
  policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_countable_earned_income.py,sha256=T0fCLI17xXjf37YnOv2eEsSR6DAMNvaXGzLQF13df64,1174
7081
7085
  policyengine_us/variables/gov/states/il/hfs/hbwd/income/earned/il_hbwd_gross_earned_income.py,sha256=uX6l7ojyIm_7-fjGZhBIbYBsTahDxxifX79OimCaziQ,576
7082
7086
  policyengine_us/variables/gov/states/il/hfs/hbwd/income/unearned/il_hbwd_countable_unearned_income.py,sha256=KSMTrd5YyH5hsLteihng4y4mF8NuHf14MPJojdfPSCo,590
7087
+ policyengine_us/variables/gov/states/il/hfs/mpe/il_mpe_eligible.py,sha256=2q7nf9NWvG2GMIQsoIcr5HSB9JjXDsAK3Efqi9WpfbM,562
7088
+ policyengine_us/variables/gov/states/il/hfs/mpe/eligibility/il_mpe_income_eligible.py,sha256=3kM_oKUtXmPPtLIArsGHXTCzAKHpnX3kDV9525dVPTM,557
7083
7089
  policyengine_us/variables/gov/states/il/idoa/bap/il_bap_eligible.py,sha256=JOel2c6VVksxFwKHPOj9RnBdAwkakY4BpfPBBrfQOio,1141
7084
7090
  policyengine_us/variables/gov/states/il/rta/cta/il_cta_benefit.py,sha256=aah_Xm_XwslqNhOlpjPR62fAn68o6Zy2ghrWRa2rAVA,569
7085
7091
  policyengine_us/variables/gov/states/il/rta/cta/free_ride/il_cta_free_ride_benefit.py,sha256=5-FDCAqSSeAdebzMXcv7BPS29Yk_J8aCyepC3HVDnSA,415
@@ -9001,8 +9007,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
9001
9007
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
9002
9008
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
9003
9009
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
9004
- policyengine_us-1.450.0.dist-info/METADATA,sha256=JRwByluTdy-LwvQ-ax5HXSN3wSDikXh13s9Hx221kuQ,1649
9005
- policyengine_us-1.450.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
9006
- policyengine_us-1.450.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
9007
- policyengine_us-1.450.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
9008
- policyengine_us-1.450.0.dist-info/RECORD,,
9010
+ policyengine_us-1.451.0.dist-info/METADATA,sha256=AeQ-6UZutv-43tAcuCM0VqkRS4UlTNHv4ubn9tAoJxQ,1649
9011
+ policyengine_us-1.451.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
9012
+ policyengine_us-1.451.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
9013
+ policyengine_us-1.451.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
9014
+ policyengine_us-1.451.0.dist-info/RECORD,,