Skip to content

Correct Maine TANF real estate, pregnancy benefits, and student eligibility - #11581

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
me-tanf-real-estate-and-pregnancy-due-date
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
me-tanf-real-estate-and-pregnancy-due-date

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

Maine’s TANF asset test adds a family’s countable real estate equity to cash assets and rounds the total to cents (me_tanf_resources_eligible.py:27). The test applies under both the $2,000 cap and the $10,000 cap that took effect October 25, 2023. A total of exactly $10,000 passes. Underwater property counts as $0. The cited sources state no rule for it, so the model infers this floor from the statutory asset limit. The model reads each month’s cap on the first of the month (resource_limit.yaml:5). October 2023 therefore uses the $2,000 cap even for an assessment on or after October 25, and November 2023 is the first month at $10,000. The model does not yet apply the $10,000 cap from October 25 within October 2023. 22 M.R.S. § 3762(3)(A), PDF p. 2 · Rule 118A adoption

The DHHS asset worksheet asks about real estate other than the home. The historical DHHS report identifies the home exemption. Rule 126A’s adoption notice describes an income-exclusion amendment. Users supply each family’s share of accessible, nonexempt real estate equity through me_tanf_countable_real_estate_equity (me_tanf_resources_eligible.py:20). When that input is omitted, a household with one SPM unit uses reported non-homestead equity as an estimate. In a household shared with another SPM unit, a family without that input counts $0, so shared households need an amount for each owning family. The household input gives no parcel-level accessibility, income-production, or sale information (household_other_real_estate_equity.py:8). DHHS asset worksheet, PDF p. 101 · DHHS asset-limit report, PDF pp. 5 and 7 · Rule 126A adoption

A Maine unit can qualify through an eligible child or a pregnant member. A pregnant member qualifies when a medically substantiated due date falls on the benefit receipt date or within 90 days after it (me_tanf_pregnancy_due_date_eligible.py:12, pregnancy_due_date_days.yaml:3). Users supply me_tanf_expected_delivery_date for the pregnant person and me_tanf_benefit_receipt_date for the unit. The receipt date defaults to the first of the month. A pregnancy-only unit with no due date is ineligible, and the pregnancy month input does not affect the result. In a pregnancy-only unit, the pregnant person who meets the due-date test must also meet the immigration test (me_tanf_eligible.py:24). The grant for that unit uses the one-person need standard and maximum (me_tanf_assistance_unit_size.py:12). 22 M.R.S. § 3762(3)(B)(5), PDF p. 3 · 1997 enactment · Effective date

Full-time secondary students count as children through age 21. Other people count as children below age 18 (me_tanf_has_eligible_child.py:12). Maine’s age limits and the due-date rule apply from June 12, 1997. 22 M.R.S. § 3762(3)(B)(4), PDF p. 3 · 45 C.F.R. § 260.30

PR #10639 rounds cash assets and touches the same resource formula and tests. Both #10639 rounding cases pass on this branch, but a direct merge with #10639 conflicts in me_tanf_resources_eligible.py and me_tanf_resources_eligible.yaml. PR #11104 updates grant and need schedules. PR #10764 adds railroad retirement benefits to unearned income.

Test plan

  • 71 cases in eight Maine TANF YAML files pass, including on a merge with main. New cases cover shared-household ownership, underwater property, and a one-cent October 2023 overage (me_tanf_resources_eligible.yaml:86, :113, :123). Others cover student ages, the receipt date, an out-of-range pregnancy month, a past due date, and July 1997 (me_tanf_demographic_eligible.yaml:1, :29, :54, :65, :76). The 90-day window and applicant immigration cases are at me_tanf_eligible.yaml:102 and :153, and the one-person grant case is at me_tanf.yaml:66. The existing pregnancy integration case supplies an April 1, 2025 due date and keeps the $425 grant (integration.yaml:278).
  • Source-conflict check passed. A register entry and marker are inapplicable.
  • ruff format --check and ruff check passed.
  • Changelog fragment added.
  • Python tests fail on this branch. Rest shards 1–4 and 8 and the microsimulation job stop with ParameterNotFoundError for gov.states.me.dhhs.tanf.standard_of_need.amount.0. Outside Maine, me_tanf_assistance_unit_size returns 0, and me_tanf_standard_of_need.py:28 then looks up a zero-person amount. This needs a code change before merge.
Scenario Outcome Main Branch
January 2026, parent and child with $11,000 idle-lot equity Resources, overall, grant True, true, $669 False, false, $0
January 2026, $10,000 cash and $0 equity Resources True True
January 2026, $9,750 cash and $250.01 equity Resources True False
$11,000 idle-lot equity in October and November 2023 Resources by month True, true False, false
October 2023, $1,900 cash and $100.01 equity Resources True False
January 2026, shared household where only a roommate’s family reports $11,000 of countable equity Resources, applicant and roommate True, true True, false
January 2026, pregnancy-only unit due April 2, 91 days after January 1 Overall, grant True, $425 False, $0
January 2026, pregnancy-only unit due April 1, 90 days after January 1 Overall True True
January 2026, pregnant with no due date Overall, grant True, $425 False, $0
January 2025, existing pregnancy case with an April 1 due date Overall, grant True, $425 True, $425
January 2025, pregnant applicant and a second adult, no child, zero income Grant $669 $425
January 2026, undocumented pregnant applicant and a citizen adult, no child Overall True False
January 2026, full-time secondary students aged 19 and 21 Demographic test False, false True, true

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 04:21
Count reported non-homestead equity toward the Maine TANF asset limit and use pregnancy month to approximate the due-date requirement for applicants without an eligible child.

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

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.13043% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 99.41%. Comparing base (8999568) to head (f87eead).
⚠️ Report is 414 commits behind head on main.

Files with missing lines Patch % Lines
...s/tanf/eligibility/me_tanf_demographic_eligible.py 92.85% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main   #11581      +/-   ##
===========================================
- Coverage   100.00%   99.41%   -0.59%     
===========================================
  Files            1       12      +11     
  Lines           24      172     +148     
===========================================
+ Hits            24      171     +147     
- Misses           0        1       +1     
Flag Coverage Δ
unittests 99.41% <99.13%> (-0.59%) ⬇️

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:07
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Count real estate and apply the pregnancy due-date rule for Maine TANF Correct Maine TANF real estate, pregnancy benefits, and student eligibility Dec 1, 2026

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