policyengine-us 1.421.0__py3-none-any.whl → 1.422.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.
- policyengine_us/parameters/gov/states/tx/twc/README.md +1 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/README.md +1 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/child.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/disabled_child.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/infant.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/school_age.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/age_threshold/toddler.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/assets/limit.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/additional_child.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/first_child.yaml +55 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/copay/rate/maximum.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/income/smi_rate.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/income/sources.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/payment/rates.yaml +10459 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/alamo.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/borderplex.yaml +18 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/brazos_valley.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/cameron_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/capital_area.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/central_texas.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/coastal_bend.yaml +24 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/concho_valley.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/dallas_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/deep_east.yaml +24 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/east_texas.yaml +26 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/golden_crescent.yaml +19 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/gulf_coast.yaml +25 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/heart_of_texas.yaml +18 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/lower_rio.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/middle_rio.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_central.yaml +26 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/north_texas.yaml +23 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/northeast_texas.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/panhandle.yaml +38 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/permian_basin.yaml +29 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/rural_capital.yaml +21 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_plains.yaml +27 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/south_texas.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/southeast.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/tarrant_county.yaml +13 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/texoma.yaml +15 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/region/west_central.yaml +31 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/single_parent.yaml +11 -0
- policyengine_us/parameters/gov/states/tx/twc/ccs/work_requirements/two_parent.yaml +11 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/copay/tx_ccs_copay.yaml +165 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.yaml +67 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.yaml +114 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.yaml +172 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.yaml +65 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.yaml +24 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.yaml +155 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.yaml +224 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs.yaml +132 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_child_age_category.yaml +127 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.yaml +141 -0
- policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.yaml +79 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/copay/tx_ccs_copay.py +40 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.py +16 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible.py +28 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.py +22 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.py +19 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.py +26 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_requirement_eligible.py +44 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_care_schedule.py +18 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_payment_rate.py +36 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_rating.py +21 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/payment/tx_ccs_provider_type.py +19 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs.py +21 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_child_age_category.py +41 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_countable_income.py +13 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_maximum_payment.py +15 -0
- policyengine_us/variables/gov/states/tx/twc/ccs/tx_ccs_workforce_board_region.py +68 -0
- {policyengine_us-1.421.0.dist-info → policyengine_us-1.422.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.421.0.dist-info → policyengine_us-1.422.0.dist-info}/RECORD +77 -5
- {policyengine_us-1.421.0.dist-info → policyengine_us-1.422.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.421.0.dist-info → policyengine_us-1.422.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.421.0.dist-info → policyengine_us-1.422.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
- name: Case 1 - Minimum copay for income below 20% SMI
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
parent1:
|
|
6
|
+
age: 30
|
|
7
|
+
employment_income: 12_000 # Annual income ($1,000/month)
|
|
8
|
+
parent2:
|
|
9
|
+
age: 28
|
|
10
|
+
child1:
|
|
11
|
+
age: 3
|
|
12
|
+
is_disabled: false
|
|
13
|
+
is_citizen_or_legal_immigrant: true
|
|
14
|
+
spm_units:
|
|
15
|
+
spm_unit:
|
|
16
|
+
members: [parent1, parent2, child1]
|
|
17
|
+
spm_unit_size: 3
|
|
18
|
+
households:
|
|
19
|
+
household:
|
|
20
|
+
members: [parent1, parent2, child1]
|
|
21
|
+
state_code: TX
|
|
22
|
+
output:
|
|
23
|
+
# Calculation: Income ~14% SMI → first child rate 2.27%
|
|
24
|
+
# Copay = 0.0227 * $1,000 = $22.70
|
|
25
|
+
tx_ccs_copay: 22.7
|
|
26
|
+
|
|
27
|
+
- name: Case 2 - Single child in 30% SMI bracket
|
|
28
|
+
period: 2024-01
|
|
29
|
+
input:
|
|
30
|
+
people:
|
|
31
|
+
parent1:
|
|
32
|
+
age: 35
|
|
33
|
+
employment_income: 30_000 # Annual income ($2,500/month, ~35% of SMI for family of 3)
|
|
34
|
+
parent2:
|
|
35
|
+
age: 32
|
|
36
|
+
child1:
|
|
37
|
+
age: 4
|
|
38
|
+
is_disabled: false
|
|
39
|
+
is_citizen_or_legal_immigrant: true
|
|
40
|
+
spm_units:
|
|
41
|
+
spm_unit:
|
|
42
|
+
members: [parent1, parent2, child1]
|
|
43
|
+
spm_unit_size: 3
|
|
44
|
+
households:
|
|
45
|
+
household:
|
|
46
|
+
members: [parent1, parent2, child1]
|
|
47
|
+
state_code: TX
|
|
48
|
+
output:
|
|
49
|
+
# Calculation: Income ~35% SMI → first child rate 4.6%
|
|
50
|
+
# Copay = 0.046 * $2,500 = $115
|
|
51
|
+
tx_ccs_copay: 115
|
|
52
|
+
|
|
53
|
+
- name: Case 3 - Two children in 50% SMI bracket
|
|
54
|
+
period: 2024-01
|
|
55
|
+
input:
|
|
56
|
+
people:
|
|
57
|
+
parent1:
|
|
58
|
+
age: 35
|
|
59
|
+
employment_income: 48_000 # Annual income ($4,000/month, ~55% of SMI for family of 4)
|
|
60
|
+
parent2:
|
|
61
|
+
age: 32
|
|
62
|
+
child1:
|
|
63
|
+
age: 5
|
|
64
|
+
is_disabled: false
|
|
65
|
+
is_citizen_or_legal_immigrant: true
|
|
66
|
+
child2:
|
|
67
|
+
age: 2
|
|
68
|
+
is_disabled: false
|
|
69
|
+
is_citizen_or_legal_immigrant: true
|
|
70
|
+
spm_units:
|
|
71
|
+
spm_unit:
|
|
72
|
+
members: [parent1, parent2, child1, child2]
|
|
73
|
+
spm_unit_size: 4
|
|
74
|
+
households:
|
|
75
|
+
household:
|
|
76
|
+
members: [parent1, parent2, child1, child2]
|
|
77
|
+
state_code: TX
|
|
78
|
+
output:
|
|
79
|
+
# Calculation: Income ~55% SMI → first child rate 5.93%
|
|
80
|
+
# First child copay = 0.0593 * $4,000 = $237.20
|
|
81
|
+
# Additional child copay = 0.0015 * $4,000 * 1 = $6.00
|
|
82
|
+
# Total = $237.20 + $6.00 = $243.20
|
|
83
|
+
tx_ccs_copay: 243.2
|
|
84
|
+
|
|
85
|
+
- name: Case 4 - Three children in 75% SMI bracket
|
|
86
|
+
period: 2024-01
|
|
87
|
+
input:
|
|
88
|
+
people:
|
|
89
|
+
parent1:
|
|
90
|
+
age: 40
|
|
91
|
+
employment_income: 84_000 # Annual income ($7,000/month, ~75-80% of SMI for family of 5)
|
|
92
|
+
parent2:
|
|
93
|
+
age: 38
|
|
94
|
+
child1:
|
|
95
|
+
age: 8
|
|
96
|
+
is_disabled: false
|
|
97
|
+
is_citizen_or_legal_immigrant: true
|
|
98
|
+
child2:
|
|
99
|
+
age: 5
|
|
100
|
+
is_disabled: false
|
|
101
|
+
is_citizen_or_legal_immigrant: true
|
|
102
|
+
child3:
|
|
103
|
+
age: 2
|
|
104
|
+
is_disabled: false
|
|
105
|
+
is_citizen_or_legal_immigrant: true
|
|
106
|
+
spm_units:
|
|
107
|
+
spm_unit:
|
|
108
|
+
members: [parent1, parent2, child1, child2, child3]
|
|
109
|
+
spm_unit_size: 5
|
|
110
|
+
households:
|
|
111
|
+
household:
|
|
112
|
+
members: [parent1, parent2, child1, child2, child3]
|
|
113
|
+
state_code: TX
|
|
114
|
+
output:
|
|
115
|
+
# Calculation: Income ~77% SMI → first child rate would be 6.97%
|
|
116
|
+
# First child copay = 0.0697 * $7,000 = $487.90
|
|
117
|
+
# Additional child copay = 0.0015 * $7,000 * 2 = $21.00
|
|
118
|
+
# Subtotal = $487.90 + $21.00 = $508.90
|
|
119
|
+
# Capped at max: 0.07 * $7,000 = $490
|
|
120
|
+
tx_ccs_copay: 490
|
|
121
|
+
|
|
122
|
+
- name: Case 5 - Single child in above 85% SMI bracket
|
|
123
|
+
period: 2024-01
|
|
124
|
+
input:
|
|
125
|
+
people:
|
|
126
|
+
parent1:
|
|
127
|
+
age: 35
|
|
128
|
+
employment_income: 78_000 # Annual income ($6,500/month, >85% of SMI for family of 2)
|
|
129
|
+
weekly_hours_worked: 40 # Meets work requirement
|
|
130
|
+
child1:
|
|
131
|
+
age: 6
|
|
132
|
+
is_disabled: false
|
|
133
|
+
is_citizen_or_legal_immigrant: true
|
|
134
|
+
spm_units:
|
|
135
|
+
spm_unit:
|
|
136
|
+
members: [parent1, child1]
|
|
137
|
+
spm_unit_size: 2
|
|
138
|
+
households:
|
|
139
|
+
household:
|
|
140
|
+
members: [parent1, child1]
|
|
141
|
+
state_code: TX
|
|
142
|
+
output:
|
|
143
|
+
tx_ccs_copay: 0
|
|
144
|
+
|
|
145
|
+
- name: Case 6 - No eligible children means no copay
|
|
146
|
+
period: 2024-01
|
|
147
|
+
input:
|
|
148
|
+
people:
|
|
149
|
+
parent1:
|
|
150
|
+
age: 30
|
|
151
|
+
employment_income: 36_000 # Annual income ($3,000/month)
|
|
152
|
+
teenager:
|
|
153
|
+
age: 14 # Too old for CCS
|
|
154
|
+
is_disabled: false
|
|
155
|
+
is_citizen_or_legal_immigrant: true
|
|
156
|
+
spm_units:
|
|
157
|
+
spm_unit:
|
|
158
|
+
members: [parent1, teenager]
|
|
159
|
+
spm_unit_size: 2
|
|
160
|
+
households:
|
|
161
|
+
household:
|
|
162
|
+
members: [parent1, teenager]
|
|
163
|
+
state_code: TX
|
|
164
|
+
output:
|
|
165
|
+
tx_ccs_copay: 0 # No eligible children = no copay
|
policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_asset_eligible.yaml
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
- name: Family with assets below limit is eligible
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person:
|
|
6
|
+
age: 30
|
|
7
|
+
spm_units:
|
|
8
|
+
spm_unit:
|
|
9
|
+
members: [person]
|
|
10
|
+
spm_unit_assets: 500_000
|
|
11
|
+
households:
|
|
12
|
+
household:
|
|
13
|
+
members: [person]
|
|
14
|
+
state_code: TX
|
|
15
|
+
output:
|
|
16
|
+
tx_ccs_asset_eligible: true
|
|
17
|
+
|
|
18
|
+
- name: Family with assets at limit is eligible
|
|
19
|
+
period: 2024-01
|
|
20
|
+
input:
|
|
21
|
+
people:
|
|
22
|
+
person:
|
|
23
|
+
age: 30
|
|
24
|
+
spm_units:
|
|
25
|
+
spm_unit:
|
|
26
|
+
members: [person]
|
|
27
|
+
spm_unit_assets: 1_000_000
|
|
28
|
+
households:
|
|
29
|
+
household:
|
|
30
|
+
members: [person]
|
|
31
|
+
state_code: TX
|
|
32
|
+
output:
|
|
33
|
+
tx_ccs_asset_eligible: true
|
|
34
|
+
|
|
35
|
+
- name: Family with assets above limit is not eligible
|
|
36
|
+
period: 2024-01
|
|
37
|
+
input:
|
|
38
|
+
people:
|
|
39
|
+
person:
|
|
40
|
+
age: 30
|
|
41
|
+
spm_units:
|
|
42
|
+
spm_unit:
|
|
43
|
+
members: [person]
|
|
44
|
+
spm_unit_assets: 1_000_001
|
|
45
|
+
households:
|
|
46
|
+
household:
|
|
47
|
+
members: [person]
|
|
48
|
+
state_code: TX
|
|
49
|
+
output:
|
|
50
|
+
tx_ccs_asset_eligible: false
|
|
51
|
+
|
|
52
|
+
- name: Family with no assets is eligible
|
|
53
|
+
period: 2024-01
|
|
54
|
+
input:
|
|
55
|
+
people:
|
|
56
|
+
person:
|
|
57
|
+
age: 30
|
|
58
|
+
spm_units:
|
|
59
|
+
spm_unit:
|
|
60
|
+
members: [person]
|
|
61
|
+
spm_unit_assets: 0
|
|
62
|
+
households:
|
|
63
|
+
household:
|
|
64
|
+
members: [person]
|
|
65
|
+
state_code: TX
|
|
66
|
+
output:
|
|
67
|
+
tx_ccs_asset_eligible: true
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
- name: Family meeting all requirements is eligible
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
parent:
|
|
6
|
+
age: 30
|
|
7
|
+
weekly_hours_worked: 30
|
|
8
|
+
employment_income: 50_000 # Below 85% SMI
|
|
9
|
+
child:
|
|
10
|
+
age: 5
|
|
11
|
+
weekly_hours_worked: 0
|
|
12
|
+
is_citizen_or_legal_immigrant: trues
|
|
13
|
+
spm_units:
|
|
14
|
+
spm_unit:
|
|
15
|
+
members: [parent, child]
|
|
16
|
+
spm_unit_assets: 100_000 # Below $1M limit
|
|
17
|
+
households:
|
|
18
|
+
household:
|
|
19
|
+
members: [parent, child]
|
|
20
|
+
state_code: TX
|
|
21
|
+
output:
|
|
22
|
+
tx_ccs_eligible: true
|
|
23
|
+
|
|
24
|
+
- name: Family with income too high is not eligible
|
|
25
|
+
period: 2024-01
|
|
26
|
+
input:
|
|
27
|
+
people:
|
|
28
|
+
parent:
|
|
29
|
+
age: 30
|
|
30
|
+
weekly_hours_worked: 30
|
|
31
|
+
employment_income: 150_000 # Above 85% SMI
|
|
32
|
+
child:
|
|
33
|
+
age: 5
|
|
34
|
+
weekly_hours_worked: 0
|
|
35
|
+
is_citizen_or_legal_immigrant: true
|
|
36
|
+
spm_units:
|
|
37
|
+
spm_unit:
|
|
38
|
+
members: [parent, child]
|
|
39
|
+
spm_unit_assets: 100_000
|
|
40
|
+
households:
|
|
41
|
+
household:
|
|
42
|
+
members: [parent, child]
|
|
43
|
+
state_code: TX
|
|
44
|
+
output:
|
|
45
|
+
tx_ccs_eligible: false
|
|
46
|
+
|
|
47
|
+
- name: Family with no eligible children is not eligible
|
|
48
|
+
period: 2024-01
|
|
49
|
+
input:
|
|
50
|
+
people:
|
|
51
|
+
parent:
|
|
52
|
+
age: 30
|
|
53
|
+
weekly_hours_worked: 30
|
|
54
|
+
employment_income: 50_000
|
|
55
|
+
teen:
|
|
56
|
+
age: 14 # Too old
|
|
57
|
+
weekly_hours_worked: 0
|
|
58
|
+
is_citizen_or_legal_immigrant: true
|
|
59
|
+
spm_units:
|
|
60
|
+
spm_unit:
|
|
61
|
+
members: [parent, teen]
|
|
62
|
+
spm_unit_assets: 100_000
|
|
63
|
+
households:
|
|
64
|
+
household:
|
|
65
|
+
members: [parent, teen]
|
|
66
|
+
state_code: TX
|
|
67
|
+
output:
|
|
68
|
+
tx_ccs_eligible: false
|
|
69
|
+
|
|
70
|
+
- name: Family not meeting work requirements is not eligible
|
|
71
|
+
period: 2024-01
|
|
72
|
+
input:
|
|
73
|
+
people:
|
|
74
|
+
parent:
|
|
75
|
+
age: 30
|
|
76
|
+
weekly_hours_worked: 10 # Below minimum
|
|
77
|
+
employment_income: 50_000
|
|
78
|
+
child:
|
|
79
|
+
age: 5
|
|
80
|
+
weekly_hours_worked: 0
|
|
81
|
+
is_citizen_or_legal_immigrant: true
|
|
82
|
+
spm_units:
|
|
83
|
+
spm_unit:
|
|
84
|
+
members: [parent, child]
|
|
85
|
+
spm_unit_assets: 100_000
|
|
86
|
+
households:
|
|
87
|
+
household:
|
|
88
|
+
members: [parent, child]
|
|
89
|
+
state_code: TX
|
|
90
|
+
output:
|
|
91
|
+
tx_ccs_eligible: false
|
|
92
|
+
|
|
93
|
+
- name: Family with assets too high is not eligible
|
|
94
|
+
period: 2024-01
|
|
95
|
+
input:
|
|
96
|
+
people:
|
|
97
|
+
parent:
|
|
98
|
+
age: 30
|
|
99
|
+
weekly_hours_worked: 30
|
|
100
|
+
employment_income: 50_000
|
|
101
|
+
child:
|
|
102
|
+
age: 5
|
|
103
|
+
weekly_hours_worked: 0
|
|
104
|
+
is_citizen_or_legal_immigrant: true
|
|
105
|
+
spm_units:
|
|
106
|
+
spm_unit:
|
|
107
|
+
members: [parent, child]
|
|
108
|
+
spm_unit_assets: 2_000_000 # Above $1M limit
|
|
109
|
+
households:
|
|
110
|
+
household:
|
|
111
|
+
members: [parent, child]
|
|
112
|
+
state_code: TX
|
|
113
|
+
output:
|
|
114
|
+
tx_ccs_eligible: false
|
policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_eligible_child.yaml
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
- name: Young child who is dependent and citizen is eligible
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
parent:
|
|
6
|
+
age: 30
|
|
7
|
+
is_tax_unit_dependent: false
|
|
8
|
+
child:
|
|
9
|
+
age: 5
|
|
10
|
+
is_disabled: false
|
|
11
|
+
is_tax_unit_dependent: true
|
|
12
|
+
is_citizen_or_legal_immigrant: true
|
|
13
|
+
tax_units:
|
|
14
|
+
tax_unit:
|
|
15
|
+
members: [parent, child]
|
|
16
|
+
households:
|
|
17
|
+
household:
|
|
18
|
+
members: [parent, child]
|
|
19
|
+
state_code: TX
|
|
20
|
+
output:
|
|
21
|
+
tx_ccs_eligible_child: [false, true]
|
|
22
|
+
|
|
23
|
+
- name: Child age 13 is not age eligible even if dependent and citizen
|
|
24
|
+
period: 2024-01
|
|
25
|
+
input:
|
|
26
|
+
people:
|
|
27
|
+
parent:
|
|
28
|
+
age: 35
|
|
29
|
+
is_tax_unit_dependent: false
|
|
30
|
+
child:
|
|
31
|
+
age: 13
|
|
32
|
+
is_disabled: false
|
|
33
|
+
is_tax_unit_dependent: true
|
|
34
|
+
is_citizen_or_legal_immigrant: true
|
|
35
|
+
tax_units:
|
|
36
|
+
tax_unit:
|
|
37
|
+
members: [parent, child]
|
|
38
|
+
households:
|
|
39
|
+
household:
|
|
40
|
+
members: [parent, child]
|
|
41
|
+
state_code: TX
|
|
42
|
+
output:
|
|
43
|
+
tx_ccs_eligible_child: [false, false]
|
|
44
|
+
|
|
45
|
+
- name: Disabled child age 15 who is dependent and citizen is eligible
|
|
46
|
+
period: 2024-01
|
|
47
|
+
input:
|
|
48
|
+
people:
|
|
49
|
+
parent:
|
|
50
|
+
age: 40
|
|
51
|
+
is_tax_unit_dependent: false
|
|
52
|
+
child:
|
|
53
|
+
age: 15
|
|
54
|
+
is_disabled: true
|
|
55
|
+
is_tax_unit_dependent: true
|
|
56
|
+
is_citizen_or_legal_immigrant: true
|
|
57
|
+
tax_units:
|
|
58
|
+
tax_unit:
|
|
59
|
+
members: [parent, child]
|
|
60
|
+
households:
|
|
61
|
+
household:
|
|
62
|
+
members: [parent, child]
|
|
63
|
+
state_code: TX
|
|
64
|
+
output:
|
|
65
|
+
tx_ccs_eligible_child: [false, true]
|
|
66
|
+
|
|
67
|
+
- name: Disabled child age 19 is not age eligible
|
|
68
|
+
period: 2024-01
|
|
69
|
+
input:
|
|
70
|
+
people:
|
|
71
|
+
parent:
|
|
72
|
+
age: 45
|
|
73
|
+
is_tax_unit_dependent: false
|
|
74
|
+
child:
|
|
75
|
+
age: 19
|
|
76
|
+
is_disabled: true
|
|
77
|
+
is_tax_unit_dependent: true
|
|
78
|
+
is_citizen_or_legal_immigrant: true
|
|
79
|
+
tax_units:
|
|
80
|
+
tax_unit:
|
|
81
|
+
members: [parent, child]
|
|
82
|
+
households:
|
|
83
|
+
household:
|
|
84
|
+
members: [parent, child]
|
|
85
|
+
state_code: TX
|
|
86
|
+
output:
|
|
87
|
+
tx_ccs_eligible_child: [false, false]
|
|
88
|
+
|
|
89
|
+
- name: Young child who is not a dependent is not eligible
|
|
90
|
+
period: 2024-01
|
|
91
|
+
input:
|
|
92
|
+
people:
|
|
93
|
+
person:
|
|
94
|
+
age: 10
|
|
95
|
+
is_disabled: false
|
|
96
|
+
is_tax_unit_dependent: false
|
|
97
|
+
is_citizen_or_legal_immigrant: true
|
|
98
|
+
tax_units:
|
|
99
|
+
tax_unit:
|
|
100
|
+
members: [person]
|
|
101
|
+
households:
|
|
102
|
+
household:
|
|
103
|
+
members: [person]
|
|
104
|
+
state_code: TX
|
|
105
|
+
output:
|
|
106
|
+
tx_ccs_eligible_child: false
|
|
107
|
+
|
|
108
|
+
- name: Dependent child with lawful permanent resident status is eligible
|
|
109
|
+
period: 2024-01
|
|
110
|
+
input:
|
|
111
|
+
people:
|
|
112
|
+
parent:
|
|
113
|
+
age: 30
|
|
114
|
+
is_tax_unit_dependent: false
|
|
115
|
+
child:
|
|
116
|
+
age: 8
|
|
117
|
+
is_disabled: false
|
|
118
|
+
is_tax_unit_dependent: true
|
|
119
|
+
is_citizen_or_legal_immigrant: true
|
|
120
|
+
tax_units:
|
|
121
|
+
tax_unit:
|
|
122
|
+
members: [parent, child]
|
|
123
|
+
households:
|
|
124
|
+
household:
|
|
125
|
+
members: [parent, child]
|
|
126
|
+
state_code: TX
|
|
127
|
+
output:
|
|
128
|
+
tx_ccs_eligible_child: [false, true]
|
|
129
|
+
|
|
130
|
+
- name: Dependent child with undocumented status is not eligible
|
|
131
|
+
period: 2024-01
|
|
132
|
+
input:
|
|
133
|
+
people:
|
|
134
|
+
parent:
|
|
135
|
+
age: 30
|
|
136
|
+
is_tax_unit_dependent: false
|
|
137
|
+
child:
|
|
138
|
+
age: 6
|
|
139
|
+
is_disabled: false
|
|
140
|
+
is_tax_unit_dependent: true
|
|
141
|
+
is_citizen_or_legal_immigrant: false
|
|
142
|
+
tax_units:
|
|
143
|
+
tax_unit:
|
|
144
|
+
members: [parent, child]
|
|
145
|
+
households:
|
|
146
|
+
household:
|
|
147
|
+
members: [parent, child]
|
|
148
|
+
state_code: TX
|
|
149
|
+
output:
|
|
150
|
+
tx_ccs_eligible_child: [false, false]
|
|
151
|
+
|
|
152
|
+
- name: Infant dependent with citizen status is eligible
|
|
153
|
+
period: 2024-01
|
|
154
|
+
input:
|
|
155
|
+
people:
|
|
156
|
+
parent:
|
|
157
|
+
age: 25
|
|
158
|
+
is_tax_unit_dependent: false
|
|
159
|
+
infant:
|
|
160
|
+
age: 0
|
|
161
|
+
is_disabled: false
|
|
162
|
+
is_tax_unit_dependent: true
|
|
163
|
+
is_citizen_or_legal_immigrant: true
|
|
164
|
+
tax_units:
|
|
165
|
+
tax_unit:
|
|
166
|
+
members: [parent, infant]
|
|
167
|
+
households:
|
|
168
|
+
household:
|
|
169
|
+
members: [parent, infant]
|
|
170
|
+
state_code: TX
|
|
171
|
+
output:
|
|
172
|
+
tx_ccs_eligible_child: [false, true]
|
policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_income_eligible.yaml
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
- name: Family below 85% SMI is income eligible
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
parent:
|
|
6
|
+
age: 30
|
|
7
|
+
employment_income: 60_000 # Annual income
|
|
8
|
+
child1:
|
|
9
|
+
age: 5
|
|
10
|
+
child2:
|
|
11
|
+
age: 7
|
|
12
|
+
child3:
|
|
13
|
+
age: 10
|
|
14
|
+
spm_units:
|
|
15
|
+
spm_unit:
|
|
16
|
+
members: [parent, child1, child2, child3]
|
|
17
|
+
spm_unit_size: 4
|
|
18
|
+
households:
|
|
19
|
+
household:
|
|
20
|
+
members: [parent, child1, child2, child3]
|
|
21
|
+
state_code: TX
|
|
22
|
+
output:
|
|
23
|
+
tx_ccs_income_eligible: true
|
|
24
|
+
|
|
25
|
+
- name: Family above 85% SMI is not income eligible
|
|
26
|
+
period: 2024-01
|
|
27
|
+
input:
|
|
28
|
+
people:
|
|
29
|
+
parent:
|
|
30
|
+
age: 30
|
|
31
|
+
employment_income: 120_000 # Annual income
|
|
32
|
+
child1:
|
|
33
|
+
age: 5
|
|
34
|
+
child2:
|
|
35
|
+
age: 7
|
|
36
|
+
child3:
|
|
37
|
+
age: 10
|
|
38
|
+
spm_units:
|
|
39
|
+
spm_unit:
|
|
40
|
+
members: [parent, child1, child2, child3]
|
|
41
|
+
spm_unit_size: 4
|
|
42
|
+
households:
|
|
43
|
+
household:
|
|
44
|
+
members: [parent, child1, child2, child3]
|
|
45
|
+
state_code: TX
|
|
46
|
+
output:
|
|
47
|
+
tx_ccs_income_eligible: false
|
|
48
|
+
|
|
49
|
+
- name: Single person below 85% SMI is income eligible
|
|
50
|
+
period: 2024-01
|
|
51
|
+
input:
|
|
52
|
+
people:
|
|
53
|
+
person:
|
|
54
|
+
age: 30
|
|
55
|
+
employment_income: 40_000 # Annual income - adjusted to be below 85% SMI
|
|
56
|
+
spm_units:
|
|
57
|
+
spm_unit:
|
|
58
|
+
members: [person]
|
|
59
|
+
spm_unit_size: 1
|
|
60
|
+
households:
|
|
61
|
+
household:
|
|
62
|
+
members: [person]
|
|
63
|
+
state_code: TX
|
|
64
|
+
output:
|
|
65
|
+
tx_ccs_income_eligible: true
|
policyengine_us/tests/policy/baseline/gov/states/tx/twc/ccs/eligibility/tx_ccs_work_exempt.yaml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
- name: Full-time student is exempt
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
is_full_time_student: true
|
|
5
|
+
state_code: TX
|
|
6
|
+
output:
|
|
7
|
+
tx_ccs_work_exempt: true
|
|
8
|
+
|
|
9
|
+
- name: Disabled person is exempt
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
is_disabled: true
|
|
13
|
+
state_code: TX
|
|
14
|
+
output:
|
|
15
|
+
tx_ccs_work_exempt: true
|
|
16
|
+
|
|
17
|
+
- name: Non-student, non-disabled person is not exempt
|
|
18
|
+
period: 2024
|
|
19
|
+
input:
|
|
20
|
+
is_disabled: false
|
|
21
|
+
is_full_time_student: false
|
|
22
|
+
state_code: TX
|
|
23
|
+
output:
|
|
24
|
+
tx_ccs_work_exempt: false
|