South Carolina OSS: require SSI's citizen or qualified-noncitizen test (S.C. Code Regs. 126-920)

Open Beginner friendly
#10,545 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Find the definition and tests for sc_ssi_state_supplement_eligible, then compare its eligibility conditions with SSI's use of is_ssi_qualified_noncitizen. Add a case for an undocumented resident and run the relevant tests; done means the case returns $0 while eligible citizens or qualified noncitizens retain the existing behavior.

Written by the indexing model from the issue text.

Description

Problem

South Carolina's Optional State Supplementation requires the person to meet SSI's eligibility criteria (S.C. Code Regs. 126-920(A)(4)-(5)). sc_ssi_state_supplement_eligible has no SSI citizen or qualified-noncitizen test.

The example below is from the review of #10240. An undocumented aged resident of a community residential care facility, with a $900 a month pension:

Branch OSS
main $1,804
#10240 $924 (the pension now counts)
The regulation $0

Proposed fix

Require citizenship or SSI qualified-noncitizen status (is_ssi_qualified_noncitizen) in sc_ssi_state_supplement_eligible, the same as SSI's own test. Then add a case with an undocumented resident who gets $0.

Related

#10240

Dominant language
Python
Stars
171
Forks
220
Avg merge
4d 15h
Merged PRs (30d)
283

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-us

All issues in PolicyEngine/policyengine-us

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.