Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Count vehicle equity and apply resource limits by month for Washington TANF, SFA, and RCA.
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,17 @@
# Override bypasses the RCA immigration gate and TANF/SFA mutex so all
# 3 cash-assistance programs can be displayed alongside each other.
wa_rca_eligible: true

- name: RCA uses the February 2024 resource limit.
period: 2024-01
input:
state_code: WA
age: {"2024": 30}
immigration_status: {"2024": REFUGEE}
years_since_us_entry: {"2024": 0}
bank_account_assets: {"2024": 8_000}
output:
# $6,000 < $8,000 <= $12,000.
wa_rca_eligible:
2024-01: false
2024-02: true
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,19 @@
# excludes units with TANF-immigration-eligible members), but the
# student pathway fires independently.
wa_sfa_eligible: true

- name: SFA uses the February 2024 resource limit.
period: 2024-01
input:
state_code: WA
immigration_status: {"2024": LEGAL_PERMANENT_RESIDENT}
years_since_us_entry: {"2024": 2}
is_demographic_tanf_eligible:
2024-01: true
2024-02: true
bank_account_assets: {"2024": 8_000}
output:
# $6,000 < $8,000 <= $12,000.
wa_sfa_eligible:
2024-01: false
2024-02: true
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,34 @@
wa_tanf_resources_eligible: true
output:
wa_tanf_eligible: false

- name: A Washington family with $8,000 in savings qualifies from February 2024.
period: 2024-01
input:
people:
parent:
age: {"2024": 30}
employment_income_before_lsr: {"2024": 12_000}
bank_account_assets: {"2024": 8_000}
child:
age: {"2024": 5}
is_tax_unit_dependent: {"2024": true}
households:
household:
members: [parent, child]
state_code: WA
output:
# $8,000 exceeds January's $6,000 cap and fits February's $12,000 cap.
wa_tanf_eligible:
2024-01: false
2024-02: true
2024-07: true
2024-08: true
# $12,000 / 12 = $1,000 monthly earnings.
# In February and July: $570 - $1,000 * 0.5 = $70.
# In August: $570 - ($1,000 - $500) * 0.5 = $320.
wa_tanf:
2024-01: 0
2024-02: 70
2024-07: 70
2024-08: 320
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,35 @@
output:
# Benefit = $521 - $200 = $321
wa_tanf: 321

- name: Vehicle-secured debt can make a family eligible for Washington TANF.
period: 2026-01
input:
people:
parent:
age: {"2026": 30}
bank_account_assets: {"2026": 5_000}
spouse:
age: {"2026": 28}
child:
age: {"2026": 5}
is_tax_unit_dependent: {"2026": true}
households:
household:
members: [parent, spouse, child]
state_code: WA
household_vehicles_owned: {"2026": 2}
household_vehicles_value: {"2026": 16_000}
axes:
- - name: household_vehicles_debt
period: "2026"
count: 2
min: 0
max: 16_000
output:
# $5,000 cash + ($16,000 - debt) / 2 for one countable vehicle.
wa_tanf_countable_resources:
"2026": [13_000, 5_000]
# $13,000 > $12,000 >= $5,000. The eligible family gets $706 - $0.
wa_tanf_resources_eligible: [false, true]
wa_tanf: [0, 706]
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,15 @@
household_vehicles_value: 12_000
output:
wa_tanf_countable_resources: 1_000

- name: Vehicle debt above value does not reduce countable cash.
period: 2026
input:
state_code: WA
bank_account_assets: {"2026": 5_000}
household_vehicles_owned: {"2026": 2}
household_vehicles_value: {"2026": 16_000}
household_vehicles_debt: {"2026": 18_000}
output:
# $5,000 cash + max(($16,000 - $18,000) / 2, 0) for one vehicle = $5,000.
wa_tanf_countable_resources: 5_000
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Tests for Feb 2024+ resource limits ($12,000)
- name: Case 1, assets at $12,000 resource limit.
period: 2025
period: 2025-01
input:
state_code: WA
bank_account_assets: 12_000
bank_account_assets: {"2025": 12_000}
output:
# Resource limit: $12,000 (Feb 2024+)
wa_tanf_resources_eligible: true

- name: Case 2, assets above $12,000 resource limit.
period: 2025
period: 2025-01
input:
state_code: WA
bank_account_assets: 13_000
bank_account_assets: {"2025": 13_000}
output:
wa_tanf_resources_eligible: false

Expand All @@ -21,7 +21,7 @@
period: 2024-01
input:
state_code: WA
bank_account_assets: 6_000
bank_account_assets: {"2024": 6_000}
output:
# Resource limit in Jan 2024: $6,000
wa_tanf_resources_eligible: true
Expand All @@ -30,15 +30,15 @@
period: 2024-01
input:
state_code: WA
bank_account_assets: 6_001
bank_account_assets: {"2024": 6_001}
output:
wa_tanf_resources_eligible: false

- name: Case 5, 2018-01 uses $1,000 limit (before 2019).
period: 2018-01
input:
state_code: WA
bank_account_assets: 1_000
bank_account_assets: {"2018": 1_000}
output:
# Resource limit in 2018: $1,000
wa_tanf_resources_eligible: true
Expand All @@ -47,6 +47,28 @@
period: 2018-01
input:
state_code: WA
bank_account_assets: 1_001
bank_account_assets: {"2018": 1_001}
output:
wa_tanf_resources_eligible: false

- name: Washington applies the 2019 resource limit increase in February.
period: 2019-01
input:
state_code: WA
bank_account_assets: {"2019": 5_000}
output:
# $1,000 < $5,000 <= $6,000.
wa_tanf_resources_eligible:
2019-01: false
2019-02: true

- name: Washington applies the 2024 resource limit increase in February.
period: 2024-01
input:
state_code: WA
bank_account_assets: {"2024": 8_000}
output:
# $6,000 < $8,000 <= $12,000.
wa_tanf_resources_eligible:
2024-01: false
2024-02: true
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def formula(spm_unit, period, parameters):
show_all = spm_unit("wa_show_all_cash_assistance_programs", period)

income_eligible = spm_unit("wa_tanf_income_eligible", period)
resources_eligible = spm_unit("wa_tanf_resources_eligible", period.this_year)
resources_eligible = spm_unit("wa_tanf_resources_eligible", period)

return (
(has_rca_eligible_member | show_all)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def formula(spm_unit, period, parameters):

show_all = spm_unit("wa_show_all_cash_assistance_programs", period)
income_eligible = spm_unit("wa_tanf_income_eligible", period)
resources_eligible = spm_unit("wa_tanf_resources_eligible", period.this_year)
resources_eligible = spm_unit("wa_tanf_resources_eligible", period)
return (
demographic_eligible
& (immigration_pathway | student_pathway | show_all)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def formula(spm_unit, period, parameters):
)
show_all = spm_unit("wa_show_all_cash_assistance_programs", period)
income_eligible = spm_unit("wa_tanf_income_eligible", period)
resources_eligible = spm_unit("wa_tanf_resources_eligible", period.this_year)
resources_eligible = spm_unit("wa_tanf_resources_eligible", period)
return (
demographic_eligible
& (has_tanf_eligible_immigrant | show_all)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class wa_tanf_countable_resources(Variable):
definition_period = YEAR
quantity_type = STOCK
reference = (
"https://app.leg.wa.gov/wac/default.aspx?cite=388-470-0005",
"https://app.leg.wa.gov/wac/default.aspx?cite=388-470-0045",
"https://app.leg.wa.gov/wac/default.aspx?cite=388-470-0070",
)
Expand All @@ -18,22 +19,16 @@ def formula(spm_unit, period, parameters):
cash_assets = spm_unit("spm_unit_cash_assets", period.this_year)
vehicle_count = spm_unit.household("household_vehicles_owned", period.this_year)
vehicle_value = spm_unit.household("household_vehicles_value", period.this_year)
vehicle_debt = spm_unit.household("household_vehicles_debt", period.this_year)

# Washington counts some non-home real property, but current CPS
# inputs do not distinguish homestead from other property. To avoid
# counting the excluded home as a TANF resource, only liquid assets
# and countable vehicle value are modeled here until a non-homestead
# and countable vehicle equity are modeled here until a non-homestead
# property input exists.
# Washington excludes one transportation vehicle. We only observe
# total household vehicle value and count, so treat the countable
# portion as the average value of any vehicles beyond the first.
# NOTE: This overstates countable resources when vehicles differ in
# value (e.g., $11k + $1k → $6k countable vs $1k correct). A
# highest_vehicle_value input would allow the exact rule.
average_vehicle_value = where(
vehicle_count > 0,
vehicle_value / vehicle_count,
0,
)
countable_vehicle_value = average_vehicle_value * max_(vehicle_count - 1, 0)
return cash_assets + countable_vehicle_value
# Approximate the exclusion of one transportation vehicle by using
# average equity for each additional vehicle.
vehicle_equity = max_(vehicle_value - vehicle_debt, 0)
average_vehicle_equity = vehicle_equity / max_(vehicle_count, 1)
countable_vehicle_equity = average_vehicle_equity * max_(vehicle_count - 1, 0)
return cash_assets + countable_vehicle_equity
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ class wa_tanf_resources_eligible(Variable):
value_type = bool
entity = SPMUnit
label = "Washington TANF resources eligible"
definition_period = YEAR
definition_period = MONTH
reference = "https://app.leg.wa.gov/wac/default.aspx?cite=388-470-0005"
defined_for = StateCode.WA

def formula(spm_unit, period, parameters):
p = parameters(period).gov.states.wa.dshs.tanf
countable_resources = spm_unit("wa_tanf_countable_resources", period)
countable_resources = spm_unit("wa_tanf_countable_resources", period.this_year)
return countable_resources <= p.resource_limit
Loading