Skip to content

Commit

Permalink
Revert "Revert "Merge pull request #614 from Gary-Community-Ventures/…
Browse files Browse the repository at this point in the history
…bug/snap_gross_income_test""

This reverts commit aab8fb9.
  • Loading branch information
CalebPena committed Nov 1, 2024
1 parent eb105b0 commit 049b03b
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 @@ -10,7 +10,6 @@ class Snap(PolicyEngineSpmCalulator):
dependency.spm.SnapAssetsDependency,
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 049b03b

Please sign in to comment.