Skip to content

Commit

Permalink
add age limit to ssdi
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebPena committed Dec 3, 2024
1 parent ea63440 commit e98fcce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions programs/programs/federal/ssdi/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Ssdi(ProgramCalculator):
income_limit_blind = 2_590
amount = 1_537
min_age = 18
max_age = 65
ineligible_relationships = ["fosterChild", "grandChild"]
parent_relationships = ["spouse", "domesticPartner", "headOfHousehold"]
dependencies = ["income_amount", "income_frequency", "household_size"]
Expand All @@ -36,6 +37,7 @@ def member_eligible(self, e: MemberEligibility):

# age
e.condition(member.age >= Ssdi.min_age or self._child_eligible(member))
e.condition(member.age <= Ssdi.max_age)

if e.eligible:
self.eligible_members.append(member)
Expand Down

0 comments on commit e98fcce

Please sign in to comment.