Skip to content

Use the $2,750 Kansas TANF resource limit from October 2022 through September 2024 and round resources to cents - #11469

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
ks-tanf-resource-limit-history
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
ks-tanf-resource-limit-history

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

Kansas TANF uses a $2,750 nonexempt resource limit from October 1, 2022, through September 30, 2024, and a $3,000 limit beginning October 1, 2024. The dated values are in policyengine_us/parameters/gov/states/ks/dcf/tanf/resource_limit/amount.yaml:5–6. Line 4 keeps $3,000 for periods before October 2022. KEESM Revision 107 · KEESM Revision 117

The July 2023 and July 2024 editions of § 5110 give the $2,750 limit. The October 2024 edition shows $3,000 in figures alongside the earlier amount in words. Revision 117 and current § 5110 confirm the $3,000 figure. K.S.A. 39-709(a)(1)(A) supplies the general resource eligibility requirement. July 2023 § 5110 · July 2024 § 5110 · October 2024 § 5110 · Current § 5110 · Kansas statute

The Kansas formula rounds summed resources to cents before it compares them with the monthly limit, at policyengine_us/variables/gov/states/ks/dcf/tanf/eligibility/ks_tanf_resources_eligible.py:20. The model stores cash assets as float32, so $548.28 + $2,187.62 + $14.10 sums to 2750.000244 without rounding, which would fail the inclusive $2,750 cap. PR #10639 applies the same cent rounding through a shared round_to_cents helper and edits the same formula lines and test file.

Not done yet: periods before October 2022 still use $3,000. The October 2021 and April 2022 editions of § 5110 list $2,500. A household with $2,750 in September 2022 is resource eligible on the branch. It would be ineligible if the April 2022 cap of $2,500 still applied that month, as Revision 107's October 1, 2022 effective date suggests. This PR does not verify the limit history back to March 1997. RuleSpec US has no Kansas § 5110 module or resource-limit test, so this PR has no Axiom parity evidence.

Test plan

Case 23 in policyengine_us/tests/policy/baseline/gov/states/ks/dcf/tanf/integration.yaml:857 uses an Allen County adult and child with no income and $3,000 in cash. September cash exceeds the $2,750 cap, so the grant is $0. October cash equals the $3,000 cap, so the Group I non-shared grant is $309 minus $0 in countable income. KEESM Appendix T-2, p. 1 · Kansas TANF State Plan, pp. 28–29

Period Main resource eligible / TANF eligible / grant Branch resource eligible / TANF eligible / grant
September 2024 true / true / $309 false / false / $0
October 2024 true / true / $309 true / true / $309

Six cases in policyengine_us/tests/policy/baseline/gov/states/ks/dcf/tanf/ks_tanf_resources_eligible.yaml test the monthly caps. $2,750 is resource eligible in September 2024. $2,750.01 fails in September and passes in October, and $3,000.01 fails in October. The case at line 67 gives an Allen County adult and child $548.28 in savings, $2,187.62 in stock and $14.10 in bonds, or $2,750.00 in all, and no income. It returns resource eligible, TANF eligible and a $309 grant for September 2024. Zero and -$1 cash inputs are resource eligible.

  • YAML regressions for the dated limits, one cent above each cap and the split-account total, with expected values from Kansas DCF publications.
  • The branch registers no source conflict. The State Plan's asset summary says “Household assets of less than $2,750.” The branch follows the inclusive § 5110 wording, “shall not exceed.”
  • make format and ruff format --check ..
  • Changelog fragment in changelog.d/.
  • All 143 cases in 14 selected YAML files pass on branch commit 0d6448b and on its merge with main at 094934a, including two partner coverage files under partners/analytics_coverage/. The files reference the resource formula, its parameter, or the Kansas TANF eligibility and grant variables. The source-conflict check passes on 0d6448b.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 3 commits December 1, 2026 01:53
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: GPT-6.2 Sol <noreply@openai.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 100.00%. Comparing base (8999568) to head (a646e96).
⚠️ Report is 414 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11469   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           24        12   -12     
=========================================
- Hits            24        12   -12     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Correct the Kansas TANF resource limit before October 2024 Use the $2,750 Kansas TANF resource limit from October 2022 through September 2024 and round resources to cents 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