Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
changed:
- Wire up all 39 state TANF programs, add takeup support, and remove tanf_reported short-circuit.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
description: Colorado counts these income sources as countable income under the Child Care Assistance Program.
values:
2020-01-01:
# Earned income
- employment_income
- self_employment_income
- farm_income
# Unearned income
- social_security
- pension_income
- retirement_distributions
- military_retirement_pay
- unemployment_compensation
- workers_compensation
- child_support_received
- alimony_income
- interest_income
- dividend_income
- rental_income
- veterans_benefits
- disability_benefits
- capital_gains
- gi_cash_assistance

metadata:
unit: list
period: year
label: Colorado CCAP countable income sources
reference:
- title: 8 CCR 1403-1 Section 7.105
href: https://www.sos.state.co.us/CCR/GenerateRulePdf.do?ruleVersionId=11042&fileName=8%20CCR%201403-1#page=22
Original file line number Diff line number Diff line change
Expand Up @@ -22,42 +22,25 @@
# CO TANF will be calculated - just check it's positive
tanf: 6_540 # Actual CO TANF for family of 4 with low income

- name: Illinois family with reported TANF
- name: Takeup set to false zeroes TANF for eligible household
period: 2023
input:
people:
parent:
age: 30
tanf_reported: 300 * 12
employment_income: 500 * 12
child:
age: 10
spm_units:
spm_unit:
members: [parent, child]
takes_up_tanf_if_eligible: false
households:
household:
members: [parent, child]
state_code_str: IL
output:
tanf: 300 * 12 # Uses reported value

- name: Florida family gets no TANF
period: 2023
input:
people:
parent:
age: 30
child:
age: 5
spm_units:
spm_unit:
members: [parent, child]
households:
household:
members: [parent, child]
state_code_str: FL
state_code_str: CO
output:
tanf: 0 # FL not implemented
tanf: 0

- name: DC family with no income
period: 2023
Expand Down
30 changes: 13 additions & 17 deletions policyengine_us/tests/policy/baseline/gov/hhs/tanf/cash/tanf.yaml
Original file line number Diff line number Diff line change
@@ -1,50 +1,46 @@
# Unit tests for tanf variable - testing only direct inputs
# Unit tests for tanf variable

- name: TANF abolition parameter returns zero
period: 2022
input:
gov.hhs.tanf.abolish_tanf: true
tanf_reported: 500
ca_tanf: 300
co_tanf: 200
output:
tanf: 0

- name: TANF reported is used when positive
- name: State TANF values are summed
period: 2022
input:
tanf_reported: 200
ca_tanf: 100
co_tanf: 50
output:
tanf: 200

- name: State TANF values are summed when no reported value
period: 2022
input:
tanf_reported: 0
ca_tanf: 150
co_tanf: 100
dc_tanf: 75
ny_tanf: 125
output:
tanf: 450

- name: Zero TANF when no state programs and no reported value
- name: Zero TANF when no state programs calculate a benefit
period: 2022
input:
tanf_reported: 0
ca_tanf: 0
co_tanf: 0
dc_tanf: 0
ny_tanf: 0
output:
tanf: 0

- name: Only positive reported TANF overrides state values
- name: Takeup set to false zeroes out TANF
period: 2022
input:
takes_up_tanf_if_eligible: false
ca_tanf: 500
ny_tanf: 300
output:
tanf: 0

- name: Takeup defaults to true
period: 2022
input:
tanf_reported: 0
ca_tanf: 100
ny_tanf: 200
output:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
# Child age 1: cap = $200/month
# Child age 4: cap = $175/month
# Total max disregard = $200 + $175 = $375
# Monthly expenses = $3,600 / 12 = $300
# Monthly expenses = $3_600 / 12 = $300
# Disregard = min($300, $375) = $300 (expenses below cap)
ak_atap_childcare_deduction: 300

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -43,13 +43,13 @@
employment_income_before_lsr: 3_600 # $300/month annual
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -72,13 +72,13 @@
employment_income_before_lsr: 24_000 # $2,000/month annual
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -100,6 +100,7 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 7_200
person2:
age: 5
person3:
Expand All @@ -108,7 +109,6 @@
spm_unit:
members: [person1, person2, person3]
spm_unit_assets: 1_000
housing_cost: 600
tax_units:
tax_unit:
members: [person1, person2, person3]
Expand All @@ -134,13 +134,13 @@
child_support_received: 1_200 # $100/month annual
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand Down Expand Up @@ -170,7 +170,6 @@
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 0
tax_units:
tax_unit:
members: [person1, person2]
Expand Down Expand Up @@ -202,7 +201,6 @@
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 0 # A2 lower standard
tax_units:
tax_unit:
members: [person1, person2]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -36,11 +36,11 @@
age: 30
employment_income_before_lsr: 0
is_tax_unit_head: true
pre_subsidy_rent: 6_000
spm_units:
spm_unit:
members: [person1]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1]
Expand All @@ -61,13 +61,13 @@
employment_income_before_lsr: 24_000 # $2,000/month annual
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -91,13 +91,13 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 3_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -118,11 +118,11 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
is_pregnant: true
pre_subsidy_rent: 4_800
spm_units:
spm_unit:
members: [person1]
spm_unit_assets: 500
housing_cost: 400
tax_units:
tax_unit:
members: [person1]
Expand All @@ -143,6 +143,7 @@
employment_income_before_lsr: 3_600 # $300/month annual
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 7_200
person2:
age: 5
person3:
Expand All @@ -151,7 +152,6 @@
spm_unit:
members: [person1, person2, person3]
spm_unit_assets: 1_500
housing_cost: 600
tax_units:
tax_unit:
members: [person1, person2, person3]
Expand All @@ -176,14 +176,14 @@
is_tax_unit_head: true
own_children_in_household: 1
immigration_status: UNDOCUMENTED
pre_subsidy_rent: 6_000
person2:
age: 5
immigration_status: UNDOCUMENTED
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -205,13 +205,13 @@
is_tax_unit_head: true
own_children_in_household: 1
immigration_status: LEGAL_PERMANENT_RESIDENT
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 1_000
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -232,13 +232,13 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 2_000 # Exactly at $2,000 limit
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand All @@ -259,13 +259,13 @@
employment_income_before_lsr: 0
is_tax_unit_head: true
own_children_in_household: 1
pre_subsidy_rent: 6_000
person2:
age: 5
spm_units:
spm_unit:
members: [person1, person2]
spm_unit_assets: 2_001 # $1 over limit
housing_cost: 500
tax_units:
tax_unit:
members: [person1, person2]
Expand Down
Loading