Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7551d01
Lower Missouri TANF payments to the whole dollar
MaxGhenis Oct 21, 2026
428c233
Use contiguous-state poverty guidelines for SNAP in Guam and the Virg…
MaxGhenis Oct 21, 2026
f3629ca
Count Hawaii TANF in Hawaii CCAP income; limit the TANF care deductio…
MaxGhenis Oct 21, 2026
25ec576
Stop counting food as SSI ISM from September 30, 2024, month by month
MaxGhenis Oct 21, 2026
7f6cc61
Use plain booleans for the SSI food-exclusion month test; drop an unu…
MaxGhenis Oct 21, 2026
0064e6b
Key SSI transition-month test inputs to the calendar year
MaxGhenis Oct 21, 2026
d318d73
Enter Hawaii CCAP test earnings as employment_income_before_lsr; use …
MaxGhenis Oct 21, 2026
17de00c
Merge origin/main into statute-bugs-ccap-tanf-snap-ssi
claude Nov 2, 2026
ba7db6f
Key annual SSI countable income inputs to the year; add monthly ISM i…
claude Nov 2, 2026
3c7e9a3
Isolate the SSI property test's units and its direct-input case
claude Nov 2, 2026
d93c0dd
List military_retirement_income in Hawaii CCAP's 2021 income sources
claude Nov 2, 2026
a40e4af
Merge main and preserve CAPI monthly input keys
MaxGhenis Nov 5, 2026
b6dc7b7
Date SSI food exclusion by the budgeted income month
MaxGhenis Nov 5, 2026
35ae134
Preserve whole-dollar Missouri TANF deficits after float32 subtraction
MaxGhenis Nov 5, 2026
0882398
Pin Hawaii child care income at the 2021 monthly boundary
MaxGhenis Nov 5, 2026
ae83afa
Check SSI payment timing and supplement input contracts
MaxGhenis Nov 5, 2026
ed37709
Cover Illinois in the SSI supplement reference checks
MaxGhenis Nov 5, 2026
f65a67d
Avoid SSI history reads outside the food transition
MaxGhenis Nov 6, 2026
2ed172e
Date annual inputs in Hawaii child care boundary cases
MaxGhenis Nov 6, 2026
178cb87
Read SSI food support in its budgeted income month
MaxGhenis Nov 6, 2026
be1731f
Set territory states for the SNAP income regressions
MaxGhenis Nov 6, 2026
267b25e
Pay Missouri TANF grants from the printed maximum row
MaxGhenis Nov 6, 2026
f04ff49
Count Hawaii TANF throughout modeled child care months
MaxGhenis Nov 6, 2026
d8d2dec
Merge main into statute-bugs-ccap-tanf-snap-ssi
MaxGhenis Nov 10, 2026
4f3b510
Give month tests their SSI shelter values and countable income by month
MaxGhenis Nov 10, 2026
2a132f7
Compute the SSI deeming limit from each month's ISM
MaxGhenis Nov 10, 2026
75a5e4e
Read SSA's monthly ISM for Colorado's matching ISM; key yearly inputs…
MaxGhenis Nov 10, 2026
a6e025d
Pin the 2002-2006 Colorado ISM month read and read the property test …
MaxGhenis Nov 11, 2026
e2aa913
Read SSI's food_counts as one parameter at each date
MaxGhenis Nov 11, 2026
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
1 change: 1 addition & 0 deletions changelog.d/statute-bugs-ccap-tanf-snap-ssi.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use Missouri's printed TANF maximum grants, remove the unused maximum-benefit percentage parameter, and round deficits to four decimal places before flooring payments to whole dollars. Use contiguous-state SNAP income standards for Guam and the Virgin Islands. Count Hawaii TANF in child care income from August 2017, covering every modeled month. Date SSI food support and its exclusion by the second prior income month, with current-month support for January and February to retain one-year input coverage. Calculate SSI ISM and countable income monthly, and divide parental resources using monthly income eligibility. The monthly input contract also applies to ssi_shelter_support_value and ssi_pmv_amount; year-keyed amounts split across months.
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
description: SSA uses this indicator to determine whether food counts in SSI in-kind support and maintenance calculations.

# NOTE: This parameter flips on 2024-10-01, but the consuming variables
# (ssi_pmv_applies, ssi_in_kind_support_and_maintenance, etc.) are
# YEAR-defined, so parameters(period) resolves to January 1 of the year.
# In practice the change takes effect in 2025, not October 2024.
# Converting the ISM chain to MONTH would fix this.
# SSA excludes food received on or after September 30, 2024 (89 FR 21199).
# This parameter dates the income month. Under 20 CFR 416.420(a),
# ssi_pmv_applies reads the start and end of the second prior income month.
# The PMV uses the payment month's federal benefit rate.
values:
1975-01-01: true
2024-10-01: false
2024-09-30: false

metadata:
unit: bool
Expand All @@ -16,5 +15,5 @@ metadata:
reference:
- title: 20 CFR § 416.1130 - Introduction to in-kind support and maintenance (as amended)
href: https://www.law.cornell.edu/cfr/text/20/416.1130
- title: 89 FR 21199 - Omitting Food from In-Kind Support and Maintenance Calculations
href: https://www.federalregister.gov/documents/2024/03/27/2024-06464/omitting-food-from-in-kind-support-and-maintenance-calculations
- title: "89 FR 21199, Omitting Food from In-Kind Support and Maintenance Calculations #page 1,11"
href: https://www.govinfo.gov/content/pkg/FR-2024-03-27/pdf/2024-06464.pdf#page=1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ values:
- workers_compensation
- alimony_income
- child_support_received
# Hawaii counts public assistance under both HAR 17-798.2-10(b)(11)
# and its successor 17-798.3-10(b)(11), effective August 6, 2021.
# hi_ccap_tanf_income applies take-up and TANF abolition without
# introducing a dependency through other states' TANF programs.
- hi_ccap_tanf_income
# The following are counted per HAR 17-798.2-10(b) but have no
# matching PolicyEngine variables:
# - railroad retirement (item (2)(A); captured via social_security_*)
Expand All @@ -33,11 +38,6 @@ values:
# - royalties (item (17))
# - free rent converted to cost compensation (item (19));
# we don't track in-kind rent-for-activity at the moment
# HAR 17-798.2-10(b)(11) counts Hawaii public assistance (TANF), but we do
# NOT add `tanf` here to avoid the CCAP<->TANF circular dependency (CCAP
# income -> tanf -> TANF dependent-care deduction -> childcare_expenses ->
# child_care_subsidies -> CCAP). TANF families fall well below the lowest
# copay band, so the omission does not change their subsidy in practice.
# Items (10) out-of-state public assistance and (12) adoption assistance
# have no clean PolicyEngine income input.
# Excluded per HAR 17-798.2-11 (omitted from the list above): capital
Expand All @@ -50,13 +50,11 @@ metadata:
period: year
label: Hawaii CCAP countable income sources
reference:
# Chapter 17-798.3 (eff. 2021-08-06) carries the same source list in
# 17-798.3-10(b) and the same exclusions in 17-798.3-11 (page 29);
# "gross income" is defined in 17-798.3-2 as all non-excluded earned
# and unearned income.
- title: HAR 17-798.3-10(b) and 17-798.3-11
href: https://humanservices.hawaii.gov/bessd/files/2021/09/CHAPTER-17-798.3-Child-Care-Payments.pdf#page=24
- title: HAR 17-798.2-10(b)
href: https://humanservices.hawaii.gov/bessd/files/2013/01/HAR-17-798.2-Child-Care-Services-Rules.pdf#page=19
- title: HAR 17-798.2-11
href: https://humanservices.hawaii.gov/bessd/files/2013/01/HAR-17-798.2-Child-Care-Services-Rules.pdf#page=24
- title: "HAR 17-798.3-10(b)(11) and 17-798.3-11 #page 27,29"
href: https://humanservices.hawaii.gov/bessd/files/2021/09/CHAPTER-17-798.3-Child-Care-Payments.pdf#page=27
- title: HAR 17-798.3-10(b)(11), Hawaii public assistance payments
href: https://www.law.cornell.edu/regulations/hawaii/Haw-Code-R-SS-17-798-3-10
- title: "HAR 17-798.2-10(b)(11) and 17-798.2-11 #page 21,24"
href: https://humanservices.hawaii.gov/bessd/files/2013/01/HAR-17-798.2-Child-Care-Services-Rules.pdf#page=21
- title: HAR 17-798.2-10(b)(11), Hawaii public assistance payments
href: https://www.law.cornell.edu/regulations/hawaii/Haw-Code-R-SS-17-798-2-10
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
description: Hawaii deducts up to this amount for dependent care expenses based on employment hours under the Temporary Assistance for Needy Families program.
description: Hawaii deducts up to this amount for the actual cost of care of each incapacitated adult in the household, based on the applicant's weekly hours of employment, under the Temporary Assistance for Needy Families program.

metadata:
type: single_amount
threshold_unit: hour
amount_unit: currency-USD
period: month
label: Hawaii TANF dependent care deduction amount
label: Hawaii TANF incapacitated adult care deduction amount
reference:
- title: "HAR 17-676-54.1(c)(4) and (d)(4); HAR 17-676-2 full-time employed #page 6,36-37"
href: https://humanservices.hawaii.gov/wp-content/uploads/2019/03/HAR-17-676-INCOME.pdf#page=6
- title: Hawaii TANF State Plan 10.2.2 (Effective October 1, 2023)
href: https://humanservices.hawaii.gov/wp-content/uploads/2024/12/Hawaii_TANF_State_Plan_Signed_Certified-Eff_20231001.pdf#page=20
- title: HAR 17-676-2 Earned income (1)
href: https://humanservices.hawaii.gov/wp-content/uploads/2019/03/HAR-17-676-INCOME.pdf#page=6

# Full-time = 32+ hours/week per HAR 17-676
# Part-time = less than 32 hours/week
# Full time = employed 32 or more hours a week (HAR 17-676-2).
# Less than full time = under 32 hours a week.
brackets:
- threshold:
2007-07-01: 0
amount:
2007-07-01: 165 # Part-time
2007-07-01: 165 # Less than full time
- threshold:
2007-07-01: 32
amount:
2007-07-01: 175 # Full-time
2007-07-01: 175 # Full time
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Missouri adds this amount to the maximum grant for each person above the base table size under the Temporary Assistance for Needy Families program.

values:
1991-01-01: 40

metadata:
unit: currency-USD
period: month
label: Missouri TANF maximum grant increment
reference:
- title: 13 CSR 40-2.310(13)
href: https://www.law.cornell.edu/regulations/missouri/13-CSR-40-2-310
- title: Missouri DSS Manual 0200.000.00, Appendix B
href: https://dssmanuals.mo.gov/wp-content/uploads/2019/04/TA-AppendixB.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
description: Missouri provides this maximum grant under the Temporary Assistance for Needy Families program.

metadata:
unit: currency-USD
period: month
breakdown:
- range(1, 13)
breakdown_labels:
- Assistance unit size
label: Missouri TANF maximum grant
reference:
- title: 13 CSR 40-2.310(13), 34.526% of Need row
href: https://www.law.cornell.edu/regulations/missouri/13-CSR-40-2-310
- title: Missouri DSS Manual 0200.000.00, Appendix B
href: https://dssmanuals.mo.gov/wp-content/uploads/2019/04/TA-AppendixB.pdf#page=1

1:
1991-01-01: 136
2:
1991-01-01: 234
3:
1991-01-01: 292
4:
1991-01-01: 342
5:
1991-01-01: 388
6:
1991-01-01: 431
7:
1991-01-01: 474
8:
1991-01-01: 514
9:
1991-01-01: 554
10:
1991-01-01: 595
11:
1991-01-01: 635
12:
1991-01-01: 675
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Missouri defines maximum grant amounts up to this household size before adding an increment under the Temporary Assistance for Needy Families program.

values:
1991-01-01: 12

metadata:
unit: person
period: year
label: Missouri TANF maximum grant base table size
reference:
- title: 13 CSR 40-2.310(13)
href: https://www.law.cornell.edu/regulations/missouri/13-CSR-40-2-310
- title: Missouri DSS Manual 0200.000.00, Appendix B
href: https://dssmanuals.mo.gov/wp-content/uploads/2019/04/TA-AppendixB.pdf#page=1

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ metadata:
period: month
label: Missouri TANF minimum payment
reference:
- title: 13 CSR 40-2.310(14)
href: https://www.sos.mo.gov/cmsimages/adrules/csr/current/13csr/13c40-2.pdf#page=36
- title: Missouri DSS Manual 0210.010.15 - Payment Determination
href: https://dssmanuals.mo.gov/temporary-assistance-case-management/0210-010-15/
2 changes: 0 additions & 2 deletions policyengine_us/tests/code_health/test_source_conflicts.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,12 @@
"policyengine_us/parameters/gov/irs/credits/residential_clean_energy/fuel_cell_cap_per_kw.yaml": 1,
"policyengine_us/parameters/gov/irs/income/exemption/overtime/hce_salary_threshold.yaml": 1,
"policyengine_us/parameters/gov/irs/income/exemption/overtime/salary_basis_threshold.yaml": 1,
"policyengine_us/parameters/gov/ssa/ssi/income/ism/food_counts.yaml": 1,
"policyengine_us/parameters/gov/states/ar/ade/oec/sra/rates/no_copay_smi_threshold.yaml": 1,
"policyengine_us/parameters/gov/states/ca/cpuc/income_sources.yaml": 1,
"policyengine_us/parameters/gov/states/ca/hbex/premium_subsidy/fpl_limit.yaml": 1,
"policyengine_us/parameters/gov/states/co/doi/premium_assistance/amount/additional_member.yaml": 1,
"policyengine_us/parameters/gov/states/co/doi/premium_assistance/amount/first_member.yaml": 1,
"policyengine_us/parameters/gov/states/fl/commerce/liheap/payment/base_amount.yaml": 1,
"policyengine_us/parameters/gov/states/hi/bessd/ccap/income/countable_income/sources.yaml": 1,
"policyengine_us/parameters/gov/states/ma/hic/connector_care/fpl_floor.yaml": 1,
"policyengine_us/parameters/gov/states/mo/tax/income/deductions/federal_income_tax/ignored_credits.yaml": 1,
"policyengine_us/parameters/gov/states/mt/tax/income/subtractions/disability_income/cap.yaml": 1,
Expand Down
5 changes: 1 addition & 4 deletions policyengine_us/tests/core/test_co_ism_invariants.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,7 @@ def calculate(cases, values):
"ssi_in_kind_support_and_maintenance",
"ssi_couple_computation_applies",
):
period = YEAR if variable == "ssi_in_kind_support_and_maintenance" else PERIOD
values_ = np.asarray(simulation.calculate(variable, period))
if variable == "ssi_in_kind_support_and_maintenance":
values_ = values_ / 12
values_ = np.asarray(simulation.calculate(variable, PERIOD))
results[variable] = dict(zip(names, values_))
p = simulation.tax_benefit_system.parameters(PERIOD)
return results, p
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
9. Known parent IDs identify the named parent independently of ages and
own-child counts. Reusing IDs in separate households cannot link them.
10. Omitted and explicitly zero parent IDs preserve the frozen pre-d1049
parent flags, NPCR identification, membership, unit sizes and zero-income
grants, checked against independent expectations from b9e7fff.
parent flags, NPCR identification, membership and unit sizes from
b9e7fff, with zero-income grants from the published maximum grant row.
"""

import itertools
Expand All @@ -60,9 +60,8 @@

PERIOD = "2026-01"
YEAR = 2026
# 13 CSR 40-2.310(13) standard of need and (12) payment percentage.
STANDARD_OF_NEED = {1: 393, 2: 678, 3: 846, 4: 990, 5: 1_123, 6: 1_247}
PAYMENT_PERCENTAGE = 0.34526
# 13 CSR 40-2.310(13) prints the maximum grants.
MAXIMUM_GRANT = {1: 136, 2: 234, 3: 292, 4: 342, 5: 388, 6: 431}

# How the tax-dependent adult is described to the model.
# parent: marked a parent of the children
Expand Down Expand Up @@ -210,7 +209,7 @@ def _calc(sim, variable):


def _payment(size):
return STANDARD_OF_NEED.get(int(size), 0) * PAYMENT_PERCENTAGE
return MAXIMUM_GRANT.get(int(size), 0)


def _adult_is_dependent_child(h):
Expand Down Expand Up @@ -625,7 +624,9 @@ def test_known_parent_ids_override_ages_and_stay_within_households():

@pytest.mark.parametrize("explicit_zero_ids", (False, True))
def test_unknown_parent_ids_reproduce_the_frozen_pre_d1049_rule(explicit_zero_ids):
"""Unknown ids preserve pre-d1049 flags, caretakers, members, sizes and grants.
"""Unknown ids preserve pre-d1049 flags, caretakers, members and sizes.

Grants use the published maximum row.

Independently restate the three changed formulas at immutable commit
b9e7fff948caf4f33313c942c09caa7c7ccc3dea, rather than reading any current
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
YEAR = 2026
N = 480
SEED = 20260928
# 13 CSR 40-2.310(13) standard of need and (12) payment percentage.
# 13 CSR 40-2.310(13) lists the standard of need and maximum grant.
STANDARD_OF_NEED = {1: 393, 2: 678, 3: 846, 4: 990, 5: 1_123}
PAYMENT_PERCENTAGE = 0.34526
MAXIMUM_GRANT = {1: 136, 2: 234, 3: 292, 4: 342, 5: 388, 6: 431}
WORK_EXPENSE = 90
RESOURCE_LIMIT = 1_000

Expand Down Expand Up @@ -179,7 +179,7 @@ def _person_index():


def _payment(size):
return STANDARD_OF_NEED.get(size, 0) * PAYMENT_PERCENTAGE
return MAXIMUM_GRANT.get(size, 0)


def test_unflagged_households_include_dependent_parents(unflagged_sim):
Expand Down
Loading
Loading