Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split SSI couple amount for OAP #5276

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
fixed:
- Split SSI couple amount for OAP
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
co_oap_eligible: true
ssi_countable_income: 1_000
ssi: 0
ssi_claim_is_joint: false
output:
co_oap: 10_424

Expand All @@ -13,6 +14,7 @@
co_oap_eligible: true
ssi_countable_income: 0
ssi: 2_000
ssi_claim_is_joint: false
output:
co_oap: 9_424

Expand All @@ -22,5 +24,26 @@
co_oap_eligible: true
ssi_countable_income: 6_000
ssi: 6_000
ssi_claim_is_joint: false
output:
co_oap: 0

- name: SSI both eligible
period: 2024
input:
people:
head:
co_oap_eligible: true
ssi_countable_income: 0
ssi: 12_000
ssi_claim_is_joint: true
spouse:
co_oap_eligible: true
ssi_countable_income: 0
ssi: 0
ssi_claim_is_joint: true
marital_units:
marital_unit:
members: [head, spouse]
output:
co_oap: [5_784, 5_784]
5 changes: 4 additions & 1 deletion policyengine_us/variables/gov/states/co/ssa/oap/co_oap.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ class co_oap(Variable):

def formula(person, period, parameters):
income = person("ssi_countable_income", period)
is_joint = person("ssi_claim_is_joint", period)
ssi = person("ssi", period)
total_countable_income = ssi + income
# The SSI variable assigns SSI to one member of the marital unit if both are eligible
marital_ssi = where(is_joint, person.marital_unit.sum(ssi) / 2, ssi)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
marital_ssi = where(is_joint, person.marital_unit.sum(ssi) / 2, ssi)
marital_ssi = where(is_joint, person.household.sum(ssi) / 2, ssi)

I think we want to sum it by household

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SSI is a per member benefit except for the marital unit. So, if the child qualifies for SSI, we would not want that to be counted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a source for this? AFAIUI, spouses could get different portions of the marital unit's total SSI, based on the personal income of each spouse; it's not automatically split 50/50.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that if both spouses are eligible for SSI, they would only receive one check.

FYI, I just realized that I used the wrong variable. Just changed it to use ssi_marital_both_eligible

total_countable_income = marital_ssi + income
p = parameters(period).gov.states.co.ssa.oap
grant_standard = p.grant_standard * MONTHS_IN_YEAR
return max_(0, grant_standard - total_countable_income)