From 763972f751e37f7d2492a2afa907977ab46cd909 Mon Sep 17 00:00:00 2001 From: Caleb Date: Thu, 31 Oct 2024 16:09:31 -0600 Subject: [PATCH] remove snap gross income test dependency --- programs/programs/federal/pe/spm.py | 1 - .../policyengine/calculators/dependencies/spm.py | 16 ---------------- 2 files changed, 17 deletions(-) diff --git a/programs/programs/federal/pe/spm.py b/programs/programs/federal/pe/spm.py index 1ab67cc8..21e13d6a 100644 --- a/programs/programs/federal/pe/spm.py +++ b/programs/programs/federal/pe/spm.py @@ -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, diff --git a/programs/programs/policyengine/calculators/dependencies/spm.py b/programs/programs/policyengine/calculators/dependencies/spm.py index fe37707d..581e7f50 100644 --- a/programs/programs/policyengine/calculators/dependencies/spm.py +++ b/programs/programs/policyengine/calculators/dependencies/spm.py @@ -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"