Draft
Conversation
- Fix 2 broken reference URLs (income-standards.pdf, PA 22-118 SB 2) - Replace PA 22-118 budget bill ref with CGS § 17b-104(c) statute - Implement housing subsidy: 92% payment for subsidized housing per CGS § 17b-104(d), using receives_housing_assistance variable - Add high_earnings/in_effect boolean parameter to guard the 2024+ high-earnings reduction instead of relying on rate > 0 sentinel - Remove 2017-10-01 zero entries from rate.yaml and reduction_rate.yaml - Add 3 housing subsidy test cases - Remove redundant min_(raw_benefit, payment_standard) in benefit formula Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7483 +/- ##
===========================================
+ Coverage 97.82% 100.00% +2.17%
===========================================
Files 3 3
Lines 92 58 -34
Branches 2 2
===========================================
- Hits 90 58 -32
+ Misses 1 0 -1
+ Partials 1 0 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…d add tests - Add specific CGS subsections (§ 17b-112(c) for earned income deduction, § 17b-112(d) for all others) across 7 parameter files - Add descriptive suffixes to State Plan page 10 references across 8 files - Add 2025 DSS Standards Chart reference for payment amounts - Add CT TANF State Plan 2021-2023 reference for regional payment tables - Fix regional payment effective dates: amounts are from 2014-07-01 (per SSA POMS), not 1997-01-01. Add 1997-01-01 entries with original AFDC-inherited amounts from archived POMS snapshot - Add Wayback Machine POMS reference for 1995 regional amounts - Clean up hardcoded numbers from ct_tfa.py comments - Fix grammar in income_limit_rate and reduction_rate descriptions - Add post-2014 regional payment standard tests (2015 period) - Add integration tests for all 3 regions with post-2014 amounts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… boundary tests Address review findings from /review-program: - Fix resource/limit.yaml: replace incorrect CGS 17b-112(d) reference with OLR report and 2021-2023 State Plan; add comment explaining $6,000 effective date - Improve parameter descriptions and reference titles across 6 YAML files - Add statutory reference (CGS 17b-112(b)) to new_applicant/amount.yaml - Add DSS Program Standards Chart reference to payment_standard_rate.yaml - Add date comments to regional payment parameters (1997 vs 1995 POMS dates) - Move dead variable (capped_size) inside regional branch in payment standard - Add 4 boundary/edge case tests: income at need standard threshold, earnings above 171% FPG, pre-2014 regional amounts, pre-2024 high earner gate Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backdates Connecticut Temporary Family Assistance (TFA) parameters, adds regional payment standards, housing subsidy provision, and replaces hardcoded payment standard tables with a formula-based approach using FPG.
Closes #7482
Closes #6639
Connecticut TFA Income Rules
Regulatory Authority
1. INCOME ELIGIBILITY TESTS
Resource Limit
Source: CT TANF State Plan 2024-2026, Resource Limit, CGS § 17b-112(d)
Recipient Income Eligibility
Source: CT TANF State Plan 2024-2026, Recipient Income Eligibility, CGS § 17b-112(d)
2. INCOME DEDUCTIONS & EXEMPTIONS
A. Child Support Deduction — CGS § 17b-112(d)
B. New Applicant Earned Income Deduction — CGS § 17b-112(c)
3. INCOME STANDARDS BY FAMILY SIZE
Statewide Formula (2022-07-01 onward) — CGS § 17b-104(a)(c)
Payment Standard = 73% × Need Standard = 73% × 55% × FPG
No statutory cap on family size. FPG updates annually following the October fiscal-year convention.
Source: CGS § 17b-104(c), CT TANF State Plan 2024-2026, p.53
Regional Payment Standards — Post-COLA (Effective 2014-07-01 to 2022-06-30)
Source: SSA POMS SI BOS00830.403 (labeled "Effective July 1, 2014")
Regional Payment Standards — Original AFDC-Inherited (Effective 1997-01-01 to 2014-06-30)
Source: SSA POMS SI BOS00830.403 (Wayback Machine, 2011) (labeled "Effective July 1, 1995")
Amounts were frozen from 1995 through 2007, then received CPI adjustments in FY2008, FY2009, FY2014, and FY2015. The regional system was abolished by PA 22-118 § 236 effective July 1, 2022.
Need Standard Rate: 55% of FPL (from 2022-07-01) — CGS § 17b-104(a)
4. BENEFIT CALCULATION
Formula:
Housing Subsidy — CGS § 17b-104(d):
Families receiving housing assistance get 92% of the payment standard:
High-Earnings Reduction — CGS § 17b-112(d), effective 2024-01-01:
When gross earned income ≥ 171% of FPL, benefit is reduced by 20%:
Source: CT TANF State Plan 2024-2026, p.10
5. REPLACING TABLE VALUES WITH FORMULA-BASED RATES
Why
The previous implementation stored payment standards as a hardcoded table (
amount.yaml) with dollar values by family size, effective 2023-10-01 and 2025-03-01. This had two problems:How
CGS § 17b-104(c) defines the payment standard as a formula, not a fixed table:
This PR replaces the hardcoded table with a single rate parameter (
payment_standard_rate = 0.73) and chains through existing variables:The formula dynamically computes the correct payment standard for any period using the appropriate FPG (via the October fiscal-year convention already implemented in
tanf_fpg). No family size cap applies — CGS § 17b-104 does not specify a maximum, and SSA POMS lists amounts up to 20 persons.Validation: Formula vs State Plan Table
Comparing formula-computed values against the CT TANF State Plan 2024-2026 table (p.53) using 2023 FPG:
All sizes are within ~$1–2 of the formula except size 4, which is off by $40.25. This is likely a typo in the State Plan — $1,044 should read $1,004 (the digits
0and4are adjacent). Every other size follows a consistent ~$1 rounding pattern.Our implementation uses the formula, which we believe is correct per the statute.
Changes in this PR
Parameters — New:
payment_standard_rate.yaml— 73% rate per CGS § 17b-104(c), effective 2022-07-01regional_in_effect.yaml— boolean guard (true 1997-01-01, false 2022-07-01)regional/region_a/amount.yaml,region_b/amount.yaml,region_c/amount.yaml— regional payment standard tables (1997-01-01 AFDC amounts + 2014-07-01 COLA amounts)housing_subsidy_rate.yaml— 92% rate per CGS § 17b-104(d), effective 1995-07-01high_earnings/in_effect.yaml— boolean toggle (false before 2024, true from 2024-01-01)Parameters — Modified:
Parameters — Deleted:
payment/amount.yaml— hardcoded payment standard table by family size (replaced by formula-based approach)Variables — New:
ct_tfa_regionenum (REGION_A, REGION_B, REGION_C) with default REGION_BVariables — Modified:
ct_tfa_payment_standard.py— rewritten: statewide path now usespayment_standard_rate × ct_tfa_need_standard(chaining throughtanf_fpg), eliminating the hardcoded table and correctly computing payment standards for any period; regional path usesselect()by region with capped size lookupct_tfa.py— added housing subsidy adjustment (92% for housing-assisted households), added high-earnings reduction (20% when earned income ≥ 171% FPG, guarded byin_effecttoggle)Tests:
🤖 Generated with Claude Code