Skip to content

Deduct federal SSI from Kentucky state supplementation and correct couple payments - #11477

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
ky-ssp-subtract-federal-ssi
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
ky-ssp-subtract-federal-ssi

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

Deduct actual monthly federal SSI and other countable income from Kentucky’s state standard, and use that same budget for eligibility and payment (ky_ssp_payment_shortfall.py:22–46, ky_ssp_eligible.py:30). Floor the supplement at zero for eligible recipients (ky_ssp.py:19–22). A personal care home resident with $994 in SSI and no other income receives $616 under the existing $1,610 standard (payment_standard.yaml:23, integration.yaml:52–82). A resident with $616 in other income and $994 in SSI meets the $1,610 standard exactly, so the resident is ineligible and receives no personal needs allowance (ky_ssp_eligible.yaml:188). KRS 205.245, p. 1 · 921 KAR 2:015 §§4, 8–9 · SSA Kentucky, printed p. 49

Kentucky’s regulation cross-references Medicaid income policy. The federal-benefit exclusion in that policy expressly excepts SSI. The companion definitions identify the federal benefit rate as the SSI standard. 907 KAR 20:020 §4(2) · 907 KAR 20:001 §1(104)

SSA lists 2026 monthly maximums of $994 for an individual and $1,491 for an eligible couple. Each spouse receives half of the couple’s payable SSI. SSA historical amounts, 2026 row · SSA payment calculation

When both spouses in a couple qualify, combine both spouses’ standards and income, then pay each spouse half of the combined deficit, floored at zero (921 KAR 2:015 §9(2)). A both-care caretaker couple with $745.50 in SSI for one spouse and $0 for the other receives $430.25 each (ky_ssp.yaml:245–267). For a caretaker couple in which both spouses are SSI-eligible and only one receives care, mark the other spouse’s ky_ssp_category as NONE. If both spouses are marked CARETAKER, the model treats them as a both-eligible couple with a $776 standard each and splits the deficit equally. The spouse receiving care gets the $1,552 couple standard less both spouses’ income and SSI, and the other spouse receives $0 (ky_ssp_payment_standard.py:7–24, :47–52). This reading of 921 KAR 2:015 §§4 and 9 gives the allocation in the manual example quoted in Case 16, where Mark receives $352 (integration.yaml:544–587).

Set SSI take-up to false for Cases 14, 15, and 17, whose budgets contain only Social Security. Cases 13 and 16 supply $0 actual SSI. Case 13 checks Bob’s $114 federal SSI entitlement and assumes Bob applied for SSI and received no payment that month. A separate case computes Bob’s $114 in actual SSI and checks a $596 supplement and $1,610 in SNAP unearned income (integration.yaml:406–469).

PR #10532 changes Kentucky countable income and spousal deeming. This PR uses the existing countable-income calculation and deducts actual SSI in both the eligibility and payment budgets.

Not covered: the model has no input for qualifying payments made to a third party on a person’s behalf under 921 KAR 2:015 §8(2). A personal care home resident with $994 in SSI and a qualifying $100 third-party payment receives $616 on the branch, while the rule gives $516.

Test plan

  • Check Kentucky payment, eligibility, claim type, payment standard, and personal needs allowance cases, plus the SNAP, school-meal, LIHEAP, and household benefit tests that read the supplement.
  • Source-conflict register and marker (N/A). The one-care allocation reads 921 KAR 2:015 §§4 and 9 together and agrees with the manual example quoted in Case 16. The example and the January 2026 standards are not yet checked against the manual PDF itself. OMVOLV MS 1200, p. 5
  • Run make format.
  • Add the changelog fragment in changelog.d/.

Amounts below are monthly Kentucky SSP. Brackets show per-person payments in fixture order.

Case Main Branch
integration.yaml:50, personal care home with SSI and Social Security $810 $596
integration.yaml:82, Case A with federal SSI only $1,610 $616
integration.yaml:120, income above the federal rate $510 $510
integration.yaml:149, income above the state standard $0 $0
integration.yaml:185, community integration with wages $1,296.50 $510
integration.yaml:222, caretaker with an ineligible spouse [$1,056, $0] [$62, $0]
integration.yaml:258, caretaker couple, both receive care [$803, $803] [$57.50, $57.50]
integration.yaml:292, caretaker couple, one receives care (Main’s fixture marks both spouses as caretakers) [$776, $776] [$61, $0]
integration.yaml:294, Cases 9–11, three ineligible households $0 each $0 each
integration.yaml:401, family care home with SSI only $1,166 $172
integration.yaml:449, Case 13, Bob, $900 in Social Security and $0 actual SSI $710 $710
integration.yaml:467, Bob, $900 in Social Security and $114 in SSI $710 $596
integration.yaml:502, community integration with Social Security only $514 $514
integration.yaml:542, caretaker with an ineligible spouse and Social Security only [$201, $0] [$201, $0]
integration.yaml:587, one-care couple with Social Security only (Main’s fixture marks both spouses as caretakers) [$176, $176] [$352, $0]
integration.yaml:633, both-care couple with Social Security only [$165, $165] [$165, $165]
ky_ssp.yaml:12, :24, :36, Cases 1–3 $1,610, $1,110, $610 $1,610, $1,110, $610
ky_ssp.yaml:38, Cases 4–7 $0 each $0 each
ky_ssp.yaml:111, both-care couple [$803, $803] [$803, $803]
ky_ssp.yaml:135, two eligible spouses with supplied $776 standards [$776, $776] [$776, $776]
ky_ssp.yaml:147, one dollar below the standard $1 $1
ky_ssp.yaml:159, one dollar above the standard $0 $0
ky_ssp.yaml:186, one eligible spouse [$1,610, $0] [$1,610, $0]
ky_ssp.yaml:230, caretaker couple and another aged adult [$803, $803, $1,056] [$57.50, $57.50, $62]
ky_ssp.yaml:243, combined deductions exceed the standard $110 $0
Case B, $19,320 annual Social Security, ineligible $0 $0
Case C, $19,308 annual Social Security, eligible with a $60 personal needs allowance $1 $1

Payment cases on the branch also check a both-care couple with unequal SSI ($430.25 each, ky_ssp.yaml:267), a both-care couple in which one spouse has $994 in SSI ($306 each, ky_ssp.yaml:291), and a one-care couple with the care recipient listed second ([$0, $558], ky_ssp.yaml:315). An eligibility case checks the $616 plus $994 budget (ky_ssp_eligible.yaml:188).

All 160 cases in 12 targeted YAML files pass on the branch and on the branch merged with main. They include 18 integration cases, 17 payment cases, 11 eligibility cases, 14 payment standard cases, 10 Kentucky LIHEAP income cases, and 38 school-meal income cases. The Kentucky SSI reference node, the Kentucky marital-unit invariant node, and all 251 source-conflict checks also pass.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 02:08
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 (5414de7).
⚠️ Report is 414 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11477   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         5    +4     
  Lines           24       103   +79     
=========================================
+ Hits            24       103   +79     
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 14:27
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 Deduct federal SSI from Kentucky state supplementation Deduct federal SSI from Kentucky state supplementation and correct couple payments 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