Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DC "Give SNAP A Raise" program #4226

Merged
merged 22 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
added:
- DC "Give SNAP A Raise" program.
8 changes: 8 additions & 0 deletions policyengine_us/parameters/gov/states/dc/snap/max_months.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: Government provides DC a raise to snap within the maximum months of 2024.
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
metadata:
reference:
- title: Supplemental Nutrition Assistance Program (SNAP) raise in District of Columbia in 2024.
href: https://dhs.dc.gov/page/give-snap-raise-heres-what-expect
label: Colorado Child Care Assistance Program disabled child age limit
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
unit: months
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
values: 9
11 changes: 11 additions & 0 deletions policyengine_us/parameters/gov/states/dc/snap/rate.yaml
laviniawo marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: DC snap increased at this rate.
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
values:
2024-10-01: 0.1
laviniawo marked this conversation as resolved.
Show resolved Hide resolved
2024-11-01: 0
metadata:
period: year
unit: /1
label: "DC snap rate raise"
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
reference:
- title: Supplemental Nutrition Assistance Program (SNAP) raise in District of Columbia in 2024.
href: https://dhs.dc.gov/page/give-snap-raise-heres-what-expect
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
2022-10: 0
2022-11: 0
2022-12: 0
dc_snap_temporary_local_benefit: 3
output:
snap: 3
snap: 6
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
from policyengine_us.model_api import *


class dc_snap_temporary_local_benefit(Variable):
value_type = float
entity = SPMUnit
definition_period = MONTH
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
documentation = "DC temporary SNAP benefit amount"
label = "DC SNAP amount"
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
reference = "https://dhs.dc.gov/page/give-snap-raise-heres-what-expect"
unit = USD
laviniawo marked this conversation as resolved.
Show resolved Hide resolved
defined_for = StateCode.DC

def formula(spm_unit, period, parameters):
p = parameters(period).gov.states.dc.snap

max_allotments = parameters(period).gov.usda.snap.max_allotment

snap_region = spm_unit.household("snap_region_str", period)

applicable_months = min_(MONTHS_IN_YEAR, p.max_months)

dc_local_allotment = (
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
max_allotments.main[snap_region][household_size]
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
* p.rate
* applicable_months
)

return dc_local_allotment
6 changes: 5 additions & 1 deletion policyengine_us/variables/gov/usda/snap/snap.py
PavelMakarchuk marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ def formula(spm_unit, period, parameters):
return add(
spm_unit,
period,
["snap_normal_allotment", "snap_emergency_allotment"],
[
"snap_normal_allotment",
"snap_emergency_allotment",
"dc_snap_temporary_local_benefit",
],
)
Loading