policyengine-us 1.427.0__py3-none-any.whl → 1.428.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of policyengine-us might be problematic. Click here for more details.
- policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/earned.yaml +13 -0
- policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/unearned.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_fpg.yaml +53 -0
- policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_earned_income.py +13 -0
- policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_unearned_income.py +13 -0
- policyengine_us/variables/gov/hhs/tanf/tanf_fpg.py +28 -0
- {policyengine_us-1.427.0.dist-info → policyengine_us-1.428.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.427.0.dist-info → policyengine_us-1.428.0.dist-info}/RECORD +11 -5
- {policyengine_us-1.427.0.dist-info → policyengine_us-1.428.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.427.0.dist-info → policyengine_us-1.428.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.427.0.dist-info → policyengine_us-1.428.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
description: The Department of Health and Human Services counts these income sources as earned income under the Temporary Assistance for Needy Families program.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01:
|
|
4
|
+
- employment_income_before_lrs
|
|
5
|
+
- self_employment_income_before_lrs
|
|
6
|
+
metadata:
|
|
7
|
+
unit: list
|
|
8
|
+
period: year
|
|
9
|
+
label: TANF earned income sources
|
|
10
|
+
reference:
|
|
11
|
+
- title: 42 U.S.C. § 602 - Eligible States; State plan
|
|
12
|
+
href: https://www.law.cornell.edu/uscode/text/42/602
|
|
13
|
+
# TANF gives states flexibility to define earned income in their state plans. This list serves as a general baseline that states may override with their own definitions.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
description: The Department of Health and Human Services counts these income sources as unearned income under the Temporary Assistance for Needy Families program.
|
|
2
|
+
values:
|
|
3
|
+
2020-01-01:
|
|
4
|
+
- veterans_benefits
|
|
5
|
+
- rental_income
|
|
6
|
+
- child_support_received
|
|
7
|
+
- alimony_income
|
|
8
|
+
- dividend_income
|
|
9
|
+
- interest_income
|
|
10
|
+
- miscellaneous_income
|
|
11
|
+
- pension_income
|
|
12
|
+
- unemployment_compensation
|
|
13
|
+
- gi_cash_assistance
|
|
14
|
+
- social_security
|
|
15
|
+
|
|
16
|
+
metadata:
|
|
17
|
+
unit: list
|
|
18
|
+
period: year
|
|
19
|
+
label: TANF unearned income sources
|
|
20
|
+
reference:
|
|
21
|
+
- title: 42 U.S.C. § 602 - Eligible States; State plan
|
|
22
|
+
href: https://www.law.cornell.edu/uscode/text/42/602
|
|
23
|
+
# TANF gives states flexibility to define unearned income in their state plans. This list serves as a general baseline that states may override with their own definitions.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
- name: TANF FPG for household of 1 in 2025
|
|
2
|
+
period: 2025-01
|
|
3
|
+
absolute_error_margin: 0.01
|
|
4
|
+
input:
|
|
5
|
+
spm_unit_size: 1
|
|
6
|
+
state_group_str: CONTIGUOUS_US
|
|
7
|
+
output:
|
|
8
|
+
tanf_fpg: 15_060 / 12
|
|
9
|
+
|
|
10
|
+
- name: TANF FPG for household of 2 in 2025
|
|
11
|
+
period: 2025-01
|
|
12
|
+
absolute_error_margin: 0.01
|
|
13
|
+
input:
|
|
14
|
+
spm_unit_size: 2
|
|
15
|
+
state_group_str: CONTIGUOUS_US
|
|
16
|
+
output:
|
|
17
|
+
tanf_fpg: (15_060 + 5_380) / 12
|
|
18
|
+
|
|
19
|
+
- name: TANF FPG for household of 3 in 2025
|
|
20
|
+
period: 2025-01
|
|
21
|
+
absolute_error_margin: 0.01
|
|
22
|
+
input:
|
|
23
|
+
spm_unit_size: 3
|
|
24
|
+
state_group_str: CONTIGUOUS_US
|
|
25
|
+
output:
|
|
26
|
+
tanf_fpg: (15_060 + 5_380 * 2) / 12
|
|
27
|
+
|
|
28
|
+
- name: TANF FPG for household of 4 in 2025
|
|
29
|
+
period: 2025-01
|
|
30
|
+
absolute_error_margin: 0.01
|
|
31
|
+
input:
|
|
32
|
+
spm_unit_size: 4
|
|
33
|
+
state_group_str: CONTIGUOUS_US
|
|
34
|
+
output:
|
|
35
|
+
tanf_fpg: (15_060 + 5_380 * 3) / 12
|
|
36
|
+
|
|
37
|
+
- name: TANF FPG in 2024
|
|
38
|
+
period: 2024-01
|
|
39
|
+
absolute_error_margin: 0.01
|
|
40
|
+
input:
|
|
41
|
+
spm_unit_size: 3
|
|
42
|
+
state_group_str: CONTIGUOUS_US
|
|
43
|
+
output:
|
|
44
|
+
tanf_fpg: (14_580 + 5_140 * 2) / 12
|
|
45
|
+
|
|
46
|
+
- name: TANF FPG in 2023
|
|
47
|
+
period: 2023-01
|
|
48
|
+
absolute_error_margin: 0.01
|
|
49
|
+
input:
|
|
50
|
+
spm_unit_size: 3
|
|
51
|
+
state_group_str: CONTIGUOUS_US
|
|
52
|
+
output:
|
|
53
|
+
tanf_fpg: (13_590 + 4_720 * 2) / 12
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_gross_earned_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
label = (
|
|
8
|
+
"Temporary Assistance for Needy Families (TANF) gross earned income"
|
|
9
|
+
)
|
|
10
|
+
unit = USD
|
|
11
|
+
definition_period = MONTH
|
|
12
|
+
|
|
13
|
+
adds = "gov.hhs.tanf.cash.income.sources.earned"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_gross_unearned_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
label = (
|
|
8
|
+
"Temporary Assistance for Needy Families (TANF) gross unearned income"
|
|
9
|
+
)
|
|
10
|
+
unit = USD
|
|
11
|
+
definition_period = MONTH
|
|
12
|
+
|
|
13
|
+
adds = "gov.hhs.tanf.cash.income.sources.unearned"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class tanf_fpg(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
label = "TANF federal poverty guideline"
|
|
8
|
+
unit = USD
|
|
9
|
+
documentation = (
|
|
10
|
+
"The federal poverty guideline used to determine TANF eligibility."
|
|
11
|
+
)
|
|
12
|
+
definition_period = MONTH
|
|
13
|
+
reference = "https://www.law.cornell.edu/uscode/text/42/9902"
|
|
14
|
+
|
|
15
|
+
def formula(spm_unit, period, parameters):
|
|
16
|
+
# We can use tanf_unit_size for more accurate model in the future
|
|
17
|
+
n = spm_unit("spm_unit_size", period.this_year)
|
|
18
|
+
state_group = spm_unit.household("state_group_str", period.this_year)
|
|
19
|
+
year = period.start.year
|
|
20
|
+
month = period.start.month
|
|
21
|
+
if month >= 10:
|
|
22
|
+
instant_str = f"{year}-10-01"
|
|
23
|
+
else:
|
|
24
|
+
instant_str = f"{year - 1}-10-01"
|
|
25
|
+
p_fpg = parameters(instant_str).gov.hhs.fpg
|
|
26
|
+
p1 = p_fpg.first_person[state_group] / MONTHS_IN_YEAR
|
|
27
|
+
pn = p_fpg.additional_person[state_group] / MONTHS_IN_YEAR
|
|
28
|
+
return p1 + pn * (n - 1)
|
|
@@ -484,6 +484,8 @@ policyengine_us/parameters/gov/hhs/tanf/README.md,sha256=ExzUkRM0-lNXCyx58_0pIWq
|
|
|
484
484
|
policyengine_us/parameters/gov/hhs/tanf/abolish_tanf.yaml,sha256=QbRKCgyVW9JPEBRHh2v2IFzmTVng34Te64vyMcADT00,114
|
|
485
485
|
policyengine_us/parameters/gov/hhs/tanf/cash/eligibility/age_limit/non_student.yaml,sha256=QuFwip1Cx3ZhgAXMG4Pu_7L3j-XxKoHAEn9TD5g12Hw,447
|
|
486
486
|
policyengine_us/parameters/gov/hhs/tanf/cash/eligibility/age_limit/student.yaml,sha256=8f3jxAiTnKOrVIElo2QzoK1LM4rI8RR1m1ik3gEXbJ4,553
|
|
487
|
+
policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/earned.yaml,sha256=imilE1TaiPS1mykAn2ErNUV9XEJuu1YvgzEmDWgNC_s,636
|
|
488
|
+
policyengine_us/parameters/gov/hhs/tanf/cash/income/sources/unearned.yaml,sha256=OXdk3EFJzhCkMtNvW9XUQSsDXnnuml71oPxmrbsOFtA,833
|
|
487
489
|
policyengine_us/parameters/gov/hhs/tanf/non_cash/README.md,sha256=g9ohAsRC6sSMT68RlrvapFn8euHpAyowidege4Soogw,11
|
|
488
490
|
policyengine_us/parameters/gov/hhs/tanf/non_cash/asset_limit.yaml,sha256=QFs1ZhY4aHziKu6q7qbCAP81Xxq_kmdkJmuSw972LMo,2791
|
|
489
491
|
policyengine_us/parameters/gov/hhs/tanf/non_cash/requires_all_for_hheod.yaml,sha256=XCn_hnmwULADmAotq5sLe8fO9AEEhPyQmnMlYGc85u8,714
|
|
@@ -3520,6 +3522,7 @@ policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/me
|
|
|
3520
3522
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/eligibility/categories/medically_needy/is_medically_needy_for_medicaid.yaml,sha256=2vU8xZuYNwKwRLJv_P0FANWEZD5XVbsGemfE4lu2ddU,609
|
|
3521
3523
|
policyengine_us/tests/policy/baseline/gov/hhs/medicaid/income/tax_unit_medicaid_income_level.yaml,sha256=hUKzyVUIey3zrgtFGkYc4fzb3U83b5MubRHQEw7rHYY,1653
|
|
3522
3524
|
policyengine_us/tests/policy/baseline/gov/hhs/medicare/eligibility/is_medicare_eligible.yaml,sha256=QwfUTRIC6TXTIpgUTtybVnwoInAcTpk-0ZhzOg09u84,601
|
|
3525
|
+
policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_fpg.yaml,sha256=3noKFraBglks9gjxlqKj8fZSm_NFUs49JzBmOgQfZcM,1191
|
|
3523
3526
|
policyengine_us/tests/policy/baseline/gov/hhs/tanf/tanf_person.yaml,sha256=CU_Mlc0yyFMi2mOHUxQGz9lR7tkndxCxypD8z1muFzw,437
|
|
3524
3527
|
policyengine_us/tests/policy/baseline/gov/hhs/tanf/cash/integration.yaml,sha256=_9Zvuf3NzQWkM488gbjIpzKaVWhzsq_0Z3zmig9eX1s,3117
|
|
3525
3528
|
policyengine_us/tests/policy/baseline/gov/hhs/tanf/cash/tanf.yaml,sha256=NZcgA6RhTotjqnWgDD00DJ77gml8kFcXOij4qjtXR7U,946
|
|
@@ -5791,12 +5794,15 @@ policyengine_us/variables/gov/hhs/medicaid/income/medicaid_magi.py,sha256=c0S4mX
|
|
|
5791
5794
|
policyengine_us/variables/gov/hhs/medicaid/income/tax_unit_medicaid_income_level.py,sha256=PlZ5aklsZA-JbDjgKaFycg6ask1eU2alVCzBfLz0Ggo,1521
|
|
5792
5795
|
policyengine_us/variables/gov/hhs/medicare/eligibility/is_medicare_eligible.py,sha256=69w6eUXkfeKSVjWFgdNCTIkkOHRJlMMyMqPiRC_YGNU,1012
|
|
5793
5796
|
policyengine_us/variables/gov/hhs/medicare/eligibility/months_receiving_social_security_disability.py,sha256=utW5DqF5odq2-GaZk8b6twhXJ3cnSVpCvKl8eacfQQY,251
|
|
5797
|
+
policyengine_us/variables/gov/hhs/tanf/tanf_fpg.py,sha256=32dAmEnxgvMPbDeI9GLv5ykrihX-DF7OZyeFhyw3p78,1036
|
|
5794
5798
|
policyengine_us/variables/gov/hhs/tanf/cash/tanf.py,sha256=WyQ73G4lUUYzmIWl0E_Yfqi29t_9rD9Vr6sACXQG49g,914
|
|
5795
5799
|
policyengine_us/variables/gov/hhs/tanf/cash/tanf_person.py,sha256=le2OSSvI7ZJ7fvvfOWoXQs4VO_rCubUg6wMRxzi91oM,419
|
|
5796
5800
|
policyengine_us/variables/gov/hhs/tanf/cash/tanf_reported.py,sha256=CBtRTrQ0B7HG6f-d2t1akY4e_vPIeuEU9PdRLRIzVIg,329
|
|
5797
5801
|
policyengine_us/variables/gov/hhs/tanf/cash/eligibility/is_demographic_tanf_eligible.py,sha256=iwdROA_I63WEkkIPFifZPFPM5DXWLiOBG3Gq3VUSOxM,409
|
|
5798
5802
|
policyengine_us/variables/gov/hhs/tanf/cash/eligibility/is_person_demographic_tanf_eligible.py,sha256=FfkPnrL7Cl7mVEC-Ak-yMCbBNQhvNM7B4Dtu_4yxH00,1079
|
|
5799
5803
|
policyengine_us/variables/gov/hhs/tanf/cash/eligibility/is_tanf_enrolled.py,sha256=ol7qxe_eCBfSoEl2d3xqJTZ2tbMobmrWv0CxYdtCtrA,300
|
|
5804
|
+
policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_earned_income.py,sha256=LU18BsC7-BuaDNrqHaIhrFBcxycH4SybLJTKbey4klQ,323
|
|
5805
|
+
policyengine_us/variables/gov/hhs/tanf/cash/income/tanf_gross_unearned_income.py,sha256=KFxC5xmaFgM7q7gxqbgHgLOaTFX3OAcPcrEGe_wrXL8,329
|
|
5800
5806
|
policyengine_us/variables/gov/hhs/tanf/non_cash/is_tanf_non_cash_eligible.py,sha256=O2OEPVWV6CVgycjW6BhZ-RappooTw1hKowwhwOkM1yU,578
|
|
5801
5807
|
policyengine_us/variables/gov/hhs/tanf/non_cash/is_tanf_non_cash_hheod.py,sha256=BMojFH9WUSC6Ef1p0k_1N3cxmCrrnUjjsydGaxsytaE,736
|
|
5802
5808
|
policyengine_us/variables/gov/hhs/tanf/non_cash/meets_tanf_non_cash_asset_test.py,sha256=ENJgtdtMdTVV4iNRGjZ0UpLIqN-693ljHgBnvh5jTOE,601
|
|
@@ -8849,8 +8855,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8849
8855
|
policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
|
|
8850
8856
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8851
8857
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8852
|
-
policyengine_us-1.
|
|
8853
|
-
policyengine_us-1.
|
|
8854
|
-
policyengine_us-1.
|
|
8855
|
-
policyengine_us-1.
|
|
8856
|
-
policyengine_us-1.
|
|
8858
|
+
policyengine_us-1.428.0.dist-info/METADATA,sha256=QgSbZwtZHTaE5L2H-S_s2a6LuqmEKyeJuyvep8-6qSE,1649
|
|
8859
|
+
policyengine_us-1.428.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8860
|
+
policyengine_us-1.428.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8861
|
+
policyengine_us-1.428.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8862
|
+
policyengine_us-1.428.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|