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

Oregon LIHEAP #5333

Draft
wants to merge 57 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
2fe85f4
Fixes #273
Nov 17, 2024
1e378f1
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Nov 17, 2024
cc61f82
Updated SMI for 2024
Nov 17, 2024
cb27f0c
Format
Nov 17, 2024
44fc36b
typo
Nov 17, 2024
a200de4
Updated tests
Nov 18, 2024
7c5da35
updated references
Nov 19, 2024
6b4a5be
liheap program variable
Nov 28, 2024
889e66e
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Nov 28, 2024
6ee8954
Format
Dec 2, 2024
e1cf00b
seperated files and changed loaction
Dec 2, 2024
1a65c5e
switched tax unit income to adjusted gross income
Dec 2, 2024
00a16a3
updated references
Dec 2, 2024
127737e
renamed file
Dec 3, 2024
b75e306
description
Dec 3, 2024
1435875
added ref pg number
Dec 3, 2024
c866d72
moved file location to variables
Dec 3, 2024
cc1eb83
updated references
Dec 3, 2024
5d395d5
Added tests
Dec 13, 2024
f4c3f28
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Dec 13, 2024
f621a61
format
Dec 14, 2024
627789f
finished tests
Dec 16, 2024
2a2e2b4
Oregon region 1 list parameter
Dec 22, 2024
d003002
Payout values for region 1
Dec 23, 2024
74b99e7
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Dec 23, 2024
76c37d4
format
Dec 23, 2024
9642f4a
added variable breakdowns
Dec 29, 2024
fb1bcd6
2021 Region 2 liheap payout
Dec 29, 2024
0df0c14
region 1 payout for years 2022, 2023 aqnd 2024
Dec 30, 2024
5932709
added utlity type enum
Jan 1, 2025
c876908
Format
Jan 1, 2025
850f446
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Jan 1, 2025
7fb5113
finshed region 1 payout
Jan 2, 2025
b8ea358
finished payouts for region 1 & 2
Jan 6, 2025
bf4c587
corrected thereshold formula
Jan 6, 2025
7d18769
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Jan 6, 2025
2e8ce16
started range function
Jan 6, 2025
457e6f5
income range variable
Jan 7, 2025
984144b
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Jan 7, 2025
03d85eb
corrected income range variable
Jan 7, 2025
2daab52
make format
Jan 7, 2025
fd72736
income range test
Jan 7, 2025
ca48360
fixed typo
Jan 7, 2025
018aa42
parameter variable for income range
Jan 10, 2025
4d348ab
make format
Jan 10, 2025
a93b544
region 1 counties format
Jan 13, 2025
e850139
rearranged payout files
Jan 13, 2025
0012bc4
renamed income rate file
Jan 13, 2025
c71fee5
corrected income range function
Jan 13, 2025
5926304
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Jan 13, 2025
3a62362
Separated range parameters
Jan 13, 2025
491d9c9
deleted old income parameter & make format
Jan 13, 2025
9a9f3cd
Adjusted breakdown parameters
Jan 14, 2025
421cb0b
adjusted income range and threshold variable
Jan 15, 2025
9f1c1d4
format
Jan 15, 2025
1ade852
Merge branch 'master' of https://github.com/PolicyEngine/policyengine…
Jan 16, 2025
a70682a
make format
Jan 16, 2025
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
54 changes: 54 additions & 0 deletions policyengine_us/parameters/gov/hhs/smi/amount.yaml
srilareddy marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add changelog_entry

Original file line number Diff line number Diff line change
Expand Up @@ -4,210 +4,262 @@ AK:
2021-10-01: 104_070
2022-10-01: 109_805
2023-10-01: 112_227
2024-10-01: 121_634
AL:
2021-10-01: 80_762
2022-10-01: 83_791
2023-10-01: 88_407
2024-10-01: 95_455
AR:
2021-10-01: 71_485
2022-10-01: 74_456
2023-10-01: 78_985
2024-10-01: 86_577
AZ:
2021-10-01: 82_227
2022-10-01: 86_079
2023-10-01: 92_454
2024-10-01: 101_783
CA:
2021-10-01: 98_644
2022-10-01: 103_856
2023-10-01: 110_879
2024-10-01: 121_926
CO:
2021-10-01: 106_120
2022-10-01: 110_786
2023-10-01: 118_538
2024-10-01: 130_104
CT:
2021-10-01: 125_087
2022-10-01: 127_443
2023-10-01: 133_184
2024-10-01: 145_853
DC:
2021-10-01: 137_563
2022-10-01: 152_043
2023-10-01: 159_662
2024-10-01: 184_525
DE:
2021-10-01: 103_900
2022-10-01: 105_076
2023-10-01: 111_871
2024-10-01: 120_963
FL:
2021-10-01: 81_077
2022-10-01: 83_452
2023-10-01: 88_895
2024-10-01: 98_038
GA:
2021-10-01: 84_851
2022-10-01: 89_932
2023-10-01: 95_238
2024-10-01: 105_893
HI:
2021-10-01: 108_498
2022-10-01: 112_242
2023-10-01: 119_285
2024-10-01: 129_108
IA:
2021-10-01: 94_221
2022-10-01: 97_935
2023-10-01: 104_510
2024-10-01: 113_549
ID:
2021-10-01: 79_820
2022-10-01: 81_293
2023-10-01: 86_721
2024-10-01: 97_325
IL:
2021-10-01: 102_167
2022-10-01: 106_151
2023-10-01: 112_679
2024-10-01: 122_136
IN:
2021-10-01: 86_578
2022-10-01: 89_193
2023-10-01: 95_373
2024-10-01: 103_324
KS:
2021-10-01: 90_284
2022-10-01: 92_146
2023-10-01: 98_343
2024-10-01: 107_363
KY:
2021-10-01: 80_407
2022-10-01: 82_499
2023-10-01: 87_555
2024-10-01: 96_305
LA:
2021-10-01: 81_779
2022-10-01: 83_464
2023-10-01: 86_934
2024-10-01: 95_801
MA:
2021-10-01: 131_252
2022-10-01: 135_936
2023-10-01: 145_491
2024-10-01: 157_680
MD:
2021-10-01: 124_807
2022-10-01: 127_853
2023-10-01: 136_443
2024-10-01: 149_249
ME:
2021-10-01: 93_560
2022-10-01: 98_914
2023-10-01: 104_719
2024-10-01: 113_259
MI:
2021-10-01: 93_492
2022-10-01: 96_917
2023-10-01: 103_103
2024-10-01: 111_699
MN:
2021-10-01: 112_942
2022-10-01: 117_587
2023-10-01: 125_645
2024-10-01: 137_690
MO:
2021-10-01: 88_519
2022-10-01: 91_159
2023-10-01: 97_499
2024-10-01: 105_825
MS:
2021-10-01: 68_871
2022-10-01: 70_961
2023-10-01: 75_300
2024-10-01: 82_331
MT:
2021-10-01: 87_442
2022-10-01: 90_180
2023-10-01: 95_501
2024-10-01: 102_893
NC:
2021-10-01: 84_549
2022-10-01: 88_855
2023-10-01: 95_852
2024-10-01: 104_937
ND:
2021-10-01: 104_087
2022-10-01: 107_076
2023-10-01: 114_503
2024-10-01: 123_092
NE:
2021-10-01: 93_660
2022-10-01: 95_903
2023-10-01: 102_274
2024-10-01: 112_961
NH:
2021-10-01: 120_821
2022-10-01: 124_902
2023-10-01: 133_449
2024-10-01: 146_582
NJ:
2021-10-01: 128_786
2022-10-01: 133_238
2023-10-01: 141_384
2024-10-01: 153_514
NM:
2021-10-01: 67_949
2022-10-01: 71_118
2023-10-01: 76_101
2024-10-01: 81_873
NV:
2021-10-01: 82_509
2022-10-01: 85_150
2023-10-01: 89_325
2024-10-01: 96_026
NY:
2021-10-01: 104_972
2022-10-01: 109_716
2023-10-01: 116_765
2024-10-01: 127_802
OH:
2021-10-01: 91_185
2022-10-01: 93_649
2023-10-01: 100_106
2024-10-01: 109_319
OK:
2021-10-01: 76_142
2022-10-01: 78_027
2023-10-01: 83_103
2024-10-01: 90_026
OR:
2021-10-01: 94_050
2022-10-01: 100_210
2023-10-01: 107_136
2024-10-01: 117_983
PA:
2021-10-01: 100_995
2022-10-01: 104_230
2023-10-01: 111_335
2024-10-01: 121_268
PR:
2021-10-01: 32_843
2022-10-01: 33_705
2023-10-01: 35_747
2024-10-01: 39_438
RI:
2021-10-01: 107_837
2022-10-01: 109_100
2023-10-01: 114_343
2024-10-01: 125_328
SC:
2021-10-01: 80_973
2022-10-01: 83_778
2023-10-01: 89_725
2024-10-01: 98_172
SD:
2021-10-01: 88_721
2022-10-01: 91_281
2023-10-01: 96_351
2024-10-01: 105_723
TN:
2021-10-01: 80_773
2022-10-01: 84_838
2023-10-01: 90_197
2024-10-01: 98_377
TX:
2021-10-01: 85_391
2022-10-01: 88_783
2023-10-01: 94_466
2024-10-01: 103_213
UT:
2021-10-01: 90_542
2022-10-01: 93_679
2023-10-01: 100_752
2024-10-01: 111_554
VA:
2021-10-01: 108_955
2022-10-01: 114_081
2023-10-01: 121_130
2024-10-01: 134_005
VT:
2021-10-01: 99_184
2022-10-01: 101_554
2023-10-01: 110_661
2024-10-01: 125_336
WA:
2021-10-01: 107_085
2022-10-01: 112_299
2023-10-01: 120_416
2024-10-01: 131_054
WI:
2021-10-01: 99_688
2022-10-01: 102_898
2023-10-01: 108_490
2024-10-01: 117_736
WV:
2021-10-01: 77_096
2022-10-01: 78_811
2023-10-01: 84_092
2024-10-01: 90_661
WY:
2021-10-01: 95_814
2022-10-01: 98_354
2023-10-01: 104_110
2024-10-01: 111_736

metadata:
unit: currency-USD
srilareddy marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -218,5 +270,7 @@ metadata:
href: https://www.acf.hhs.gov/sites/default/files/documents/ocs/COMM_LIHEAP_Att1SMITable_FY2023.pdf
- title: State Median Income (SMI) by Household Size for Mandatory Use in LIHWAP for FY 2024
href: https://www.acf.hhs.gov/sites/default/files/documents/ocs/COMM_LIHWAP_Att1SMITable_FY2023.pdf
- title: State Median Income (SMI) by Household Size for Optional Use in FFY 2024 and Mandatory Use in LIHEAP for FY 25
href: https://www.acf.hhs.gov/sites/default/files/documents/ocs/COMM_LIHEAP_IM%202024-02_Att4SMITable_0.pdf#page=2
period: year
uprating: calibration.gov.cbo.income_by_source.adjusted_gross_income
14 changes: 14 additions & 0 deletions policyengine_us/parameters/gov/states/or/liheap/income_rate.yaml
srilareddy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Oregon provides assistance for households with adjusted gross income below this percentage of the state median income through the LIHEAP program.
values:
2021-01-01: 0.6
metadata:
period: year
unit: /1
label: Oregon LIHEAP eligibility threshold
srilareddy marked this conversation as resolved.
Show resolved Hide resolved
reference:
# Legal code points to the program manual
- title: Oregon Administrative Rules, Chapter 813, Division 200
href: https://oregon.public.law/rules/oar_813-200-0020
- title: Oregon Department of Housing and Community Services, Utility Bill Payment Assistance Programs
href: https://www.oregon.gov/ohcs/energy-weatherization/pages/utility-bill-payment-assistance.aspx

8 changes: 4 additions & 4 deletions policyengine_us/tests/policy/baseline/gov/hhs/hhs_smi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
spm_unit_size: 4
state_code_str: NY
output:
hhs_smi: 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024
hhs_smi: 116_765

- name: 2024 Household size 1, State NY
period: 2024
Expand All @@ -46,7 +46,7 @@
spm_unit_size: 1
state_code_str: NY
output:
hhs_smi: 0.52 * 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024
hhs_smi: 0.52 * 116_765

- name: 2024 Household size 6, State NY
period: 2024
Expand All @@ -55,7 +55,7 @@
spm_unit_size: 6
state_code_str: NY
output:
hhs_smi: 1.32 * 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024
hhs_smi: 1.32 * 116_765

- name: 2024 Household size 7, State NY
period: 2024
Expand All @@ -64,4 +64,4 @@
spm_unit_size: 7
state_code_str: NY
output:
hhs_smi: 1.35 * 116_765 * 1.0654 # includes CBO uprating from 2023-10-01 to 2024
hhs_smi: 1.35 * 116_765
srilareddy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from policyengine_us.model_api import *

class or_liheap_eligibility(Variable):
value_type = bool
entity = TaxUnit
label = "Oregon LIHEAP eligibility"
definition_period = YEAR
reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm"
defined_for = StateCode.ORu

def formula(tax_unit, period, parameters):
income = tax_unit("adjusted_gross_income", period)
threshold = tax_unit("or_liheap_income_threshold", period)
return income <= threshold
srilareddy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from policyengine_us.model_api import *

class or_liheap_income_threshold(Variable):
value_type = float
entity = TaxUnit
label = "Income threshold for Oregon LIHEAP eligibility"
unit = USD
definition_period = YEAR
reference = "https://liheapch.acf.hhs.gov/profiles/Oregon.htm"

defined_for = StateCode.OR

def formula(tax_unit, period, parameters):
state_median_income = tax_unit("hhs_smi", period)
p = parameters(period).gov.states.["or"].liheap.eligibility
return state_median_income * p.eligibility
Loading