Skip to content

Conversation

@hua7450
Copy link
Collaborator

@hua7450 hua7450 commented Jan 13, 2026

Summary

Fixes #7165

Changes

1. Fix IL HBWD earned income exemptions (il_hbwd_countable_earned_income.py)

Per 89 Ill. Admin. Code § 120.510(i), earned income exemptions apply only to disabled/blind persons, not to all household members.

Before: All persons in the SPM unit received earned income exemptions (via il_aabd_earned_income_after_exemption_person), incorrectly reducing countable income for non-disabled spouses.

After: Only disabled/blind persons receive exemptions. Non-disabled/non-blind persons use gross earned income.

2. Add is_blind to disability eligibility (il_hbwd_disability_eligible.py)

SSA recognizes blindness as a category of disability (SSI has Aged, Blind, Disabled). Added is_blind check so blind workers qualify for HBWD.

3. Update il_hbwd_countable_income.py

Changed to use il_hbwd_countable_earned_income instead of il_aabd_earned_income_after_exemption_person.

Impact

Scenario 15 (from issue):

  • Married couple: disabled worker ($4,500/month) + non-disabled spouse ($2,500/month)
  • Combined gross: $7,000/month
  • 350% FPL limit for 2 people: $6,168.75/month
Metric Before (Bug) After (Fixed)
Spouse exemptions Yes (incorrect) No
Countable income ~$5,770 ~$6,323
Income eligible Yes No

Test Coverage

Added 17 new test cases covering:

  • Single/married households
  • Disabled/blind/non-disabled workers
  • Age eligibility boundaries (under 16, over 64)
  • Income at/above/below limits
  • Families with children

@codecov
Copy link

codecov bot commented Jan 13, 2026

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #7166   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         3    +1     
  Lines           32        39    +7     
=========================================
+ Hits            32        39    +7     
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 Sentry.
📢 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.

@hua7450 hua7450 marked this pull request as ready for review January 14, 2026 01:46
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.

Fix code bug in Illinois HBWD income

1 participant