Skip to content

Correct Alabama Family Assistance grants and income eligibility - #11549

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
al-tanf-whole-dollar-budget-and-10-dollar-minimum
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
al-tanf-whole-dollar-budget-and-10-dollar-minimum

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.

What and why

Round total monthly countable income half up to whole dollars before subtracting it from the Alabama Family Assistance payment standard. Require a regular full-month grant of at least $10 for financial eligibility and payment. A new al_tanf_full_month_grant variable computes that grant, and both al_tanf and al_tanf_income_eligible read it.

The model applies Rule 660-2-2-.32 rounding from June 1983 and the Rule .10 minimum from November 1997. It starts each rule in the month that contains its effective date, June 28, 1983 or November 10, 1997. The cited sources do not say how to treat the days before those dates. The model treats Rule .27's November 10, 2009 amendment as a clarification of the existing payment rule, so the $10 minimum also governs financial eligibility from November 1997. At $295 in countable income against a $304 standard, the $9 deficit makes both eligibility flags false and the grant $0. Manual §3115(D) calls for denial or termination when the grant would be below $10.

  • Rules 660-2-2-.10, .27, and .32 establish the payment minimum, financial eligibility test, and rounded grant calculation on pp. 2-8, 2-23, and 2-26. Rule .30(2)(b) gives the established-job deduction on p. 2-24. Alabama Administrative Code
  • Sections 3115(D) and 3116 cover whole-dollar budgeting and the payment minimum on printed pp. 13–14. They do not say how to round exactly 50 cents; the model rounds half up. Section 3225(A) covers pensions on printed p. 38. DHR Public Assistance Payment Manual
  • Pages 2–3 give the payment standards and $10 minimum. DHR October 2023 eligibility brochure
  • Attachment E confirms the $304 two-person and $968 sixteen-person standards on pp. 23–24. 2024 Alabama TANF State Plan
  • Attachment E confirms the earlier $190 two-person standard on PDF p. 22. 2021 Alabama TANF State Plan

The file comparisons with #11157, #10764, #10700, #10696, #10670, #10110, #9912, #9894, and #9557 found zero shared files.

Test plan

Case Main Branch
January 2026, $294 countable pension $10 grant $10 grant
January 2026, $295 countable pension Both flags true, $9 grant Both flags false, $0 grant
January 2026, $294.49 countable pension $9.51 grant $10 grant
January 2026, $294.50 countable pension Both flags true, $9.50 grant Both flags false, $0 grant
January 2026, $304 countable pension Both flags true, $0 grant Both flags false, $0 grant
January 2026, $70.70 countable wages $233.30 grant $233 grant
January 2024, $304 monthly child support Income flag true Income flag false
October 2026, 16 members with zero income $968 grant $968 grant
September and October 2023, two members with zero income $190 and $304 grants $190 and $304 grants
  • Source-based YAML fixtures and dependent Alabama TANF and LIHEAP files. All 110 cases passed on the branch and on the branch merged with main.
  • Fixtures with an assumed $190 standard check each effective month. At $70.50 in income, grants are $119.50, $119, and $119 for May through July 1983. At $181 in income, grants are $9, $0, and $0 for October through December 1997. Income equal to the standard fails financial eligibility in October through December 2009. The cited sources do not give the standard for those years.
  • Other fixtures check that two $35.25 pensions round to $71 after summing, for a $233 grant, and that negative countable income cannot raise the grant above $304.
  • Source-conflict check. All 251 cases passed. The official sources agree on the grant rules. Manual §3115(B) prints a 20% work deduction, while Rule .30 and the 2023 brochure give 30%. The model uses 20% before May 15, 2022 and 30% from that date. This PR does not change that rate.
  • Axiom parity. The FY 2026 Axiom program applies the manual's $10 denial rule. No Axiom case tests the 1983, 1997, and 2009 boundaries yet. A standalone Axiom Rule .10 case expects a $10 grant on a $5 deficit, while this PR pays $0.
  • Not in this PR: household runs for 1983 and November 2009 stop on missing federal parameters. The TANF child age limits start in July 2010, and an immigration parameter has no 1983 value.
  • make format and Ruff checks.
  • Changelog fragment in changelog.d/.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 03:38
Round the income budget to whole dollars, enforce the regular monthly grant minimum, and require income below the payment standard.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
…nimum

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.61%. Comparing base (8999568) to head (74aefcf).
⚠️ Report is 414 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main   #11549      +/-   ##
===========================================
- Coverage   100.00%   93.61%   -6.39%     
===========================================
  Files            1        3       +2     
  Lines           24       47      +23     
===========================================
+ Hits            24       44      +20     
- Misses           0        3       +3     
Flag Coverage Δ
unittests 93.61% <100.00%> (-6.39%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

MaxGhenis and others added 2 commits December 1, 2026 16:22
Use the same rounded full-month grant for financial eligibility and payment. Apply rounding and the minimum in their effective months.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
…nimum

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant