Skip to content

Commit

Permalink
remove snap gross income test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebPena committed Oct 31, 2024
1 parent fda4302 commit 763972f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion programs/programs/federal/pe/spm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Snap(PolicyEngineSpmCalulator):
dependency.spm.MeetsSnapCategoricalEligibilityDependency,
dependency.spm.SnapEmergencyAllotmentDependency,
dependency.spm.HousingCostDependency,
dependency.spm.MeetsSnapGrossIncomeTestDependency,
dependency.spm.HasPhoneExpenseDependency,
dependency.spm.HasHeatingCoolingExpenseDependency,
dependency.spm.HeatingCoolingExpenseDependency,
Expand Down
16 changes: 0 additions & 16 deletions programs/programs/policyengine/calculators/dependencies/spm.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,6 @@ def value(self):
return int(self.screen.calc_gross_income("yearly", ["all"]))


class MeetsSnapGrossIncomeTestDependency(SpmUnit):
field = "meets_snap_gross_income_test"
dependencies = (
"income_amount",
"income_frequency",
"household_size",
)

def value(self):
fpl = FederalPoveryLimit.objects.get(year="THIS YEAR").as_dict()
snap_gross_income = self.screen.calc_gross_income("yearly", ["all"])
snap_gross_limit = 2 * fpl[self.screen.household_size]

return snap_gross_income < snap_gross_limit


class SnapAlwaysUseSuaDependency(SpmUnit):
field = "snap_state_using_standard_utility_allowance"

Expand Down

0 comments on commit 763972f

Please sign in to comment.