Repository navigation
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
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 117The 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 sharedround_to_centshelper 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:857uses 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–29true/true/ $309false/false/ $0true/true/ $309true/true/ $309Six cases in
policyengine_us/tests/policy/baseline/gov/states/ks/dcf/tanf/ks_tanf_resources_eligible.yamltest 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.make formatandruff format --check ..changelog.d/.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