Skip to content

Fix Oklahoma SSP parental wages and TANF child allocations - #11413

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
ok-ssp-deeming-gross-wages-and-allocations
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
ok-ssp-deeming-gross-wages-and-allocations

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

Count parents’ wages before cafeteria-plan deductions in Oklahoma SSP parental deeming. Round each parent’s monthly gross wages to the nearest dollar, with 50 cents rounding up, before applying exclusions. The shared federal helper takes an optional earned_income argument. The Oklahoma formula passes those earnings through it and honors explicit annual input overrides. Federal SSI applies its salary-reduction exclusion. OAC 317:35-5-42(b)(9)(A), (i) and (n)(1) · SSA POMS SI 00820.102 C.2

Exclude children receiving public income-maintenance payments from the ineligible spouse’s child allocation. A child counts as receiving payments when the per-person ssi_receives_public_income_maintenance flag is set. A child also counts when a reported Oklahoma TANF payment for the budget month goes to an SPM unit made up only of children. For a unit with adults and children, a reported payment does not show which members receive it, so those children rely on the per-person flag. The gross-wage and receipt rules apply in every month, with no start date. OHCA’s redline for its September 12, 2022 revision keeps both provisions (pp. 9 and 22). OHCA’s March 2020 board packet already shows them. The earliest adoption date is not confirmed. OAC 317:35-5-42(m)(2)(B) and (l)(2)

The parental sibling-allocation amount requires an owner decision because the formula explicitly retains the federal amount at ok_ssp_unearned_income_deemed_from_ineligible_parent.py:39. Appendix C-1 gives the state amount and the July 2026 standards used in the cases. OKDHS Appendix C-1, Schedule VIII.A and VIII.C, pp. 3–4

#11316 also edits the Oklahoma parental formula, to change which children can receive deemed income. It also edits the shared helper’s argument list, which this PR extends with earned_income. #10532 changes the shared federal helper for self-employment income and the student exclusion. Merging #10532 with this PR conflicts where the helper reads earnings. Keeping #10532’s federal fallback and this PR’s earned_income argument resolves it. With that resolution, case F gives $364 deemed and $770 federal SSI, and the four parental cases in ok_ssp_unearned_income_deemed_from_ineligible_parent.yaml pass.

Test plan

July 2026 case Main Branch
E. Sibling allocation, documented owner decision $497 allocated, $889 deemed, $994 claimant countable, $40 SSP $497 allocated, $889 deemed, $994 claimant countable, $40 SSP
F. Parent’s cafeteria-plan deductions, integration.yaml:888 $244 deemed, $994 claimant countable, $40 SSP, $770 federal SSI $364 deemed, $1,114 claimant countable, $0 SSP, $770 federal SSI
G. Child receiving TANF, integration.yaml:927 Family allocation [498, 498, 498], $1,202.50 combined countable, $40 SSP Family allocation [0, 0, 0], $1,451.50 combined countable, $40 SSP
  • Source-based YAML cases. The four Oklahoma SSP test files passed 57 cases. The 22 targeted SSI, state-supplement and related YAML files passed 383 cases, also with main merged in.
  • Rounding case: $2,801.50 in monthly wages and $79.50 in monthly pre-tax health premiums give $364.50 deemed, $1,034 claimant countable and $0 SSP. Federal SSI deems $324.50 and pays $689.50.
  • Monthly TANF case: a child-only SPM unit reports $100 of Oklahoma TANF in July and $0 in August. The family allocation is [0, 0, 0] in July and [498, 498, 498] in August.
  • September and October 2022 cases: a child flagged as receiving payments gets $0 of a $420 fixture allocation in both months. Gross parental wages give $517 deemed in both months.
  • Override cases: a zero annual SSI earnings input deems $0, and a $240 annual deemed-income input gives $20 a month.
  • Source-conflict check passed 251 tests. Register entry and marker are inapplicable to these two corrections.
  • make format and individual Ruff checks passed.
  • Changelog fragment in changelog.d/.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 00:49
Count wages before cafeteria-plan deductions when deeming a parent's income. Exclude children receiving public income-maintenance payments from the ineligible spouse's child allocation.

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

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

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11413   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         3    +2     
  Lines           24        85   +61     
  Branches         0         7    +7     
=========================================
+ Hits            24        85   +61     
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.

MaxGhenis and others added 2 commits December 1, 2026 13:38
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
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