policyengine-us 1.373.0__py3-none-any.whl → 1.374.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/irs/income/amt/exemption/phase_out/rate.yaml +4 -0
- policyengine_us/parameters/gov/local/ca/ala/README.md +1 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/age_threshold.yaml +12 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/amount/married.yaml +11 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/amount/single.yaml +11 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/countable_income/sources.yaml +16 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/personal_property/limit.yaml +10 -0
- policyengine_us/parameters/gov/local/ca/ala/general_assistance/qualified_immigration_status.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/ca_ala_general_assistance_base_amount.yaml +67 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_age_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_eligible_person.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_immigration_status_eligible.yaml +23 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_income_eligible.yaml +17 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_personal_property_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/local/ca/ala/integration.yaml +75 -0
- policyengine_us/variables/gov/local/ca/ala/ga/ca_ala_general_assistance.py +15 -0
- policyengine_us/variables/gov/local/ca/ala/ga/ca_ala_general_assistance_base_amount.py +19 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_age_eligible.py +16 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_eligible_person.py +28 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_immigration_status_eligible.py +16 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_income_eligible.py +15 -0
- policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_personal_property_eligible.py +19 -0
- policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income.py +13 -0
- policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income_person.py +13 -0
- policyengine_us/variables/gov/local/ca/ala/in_ala.py +12 -0
- {policyengine_us-1.373.0.dist-info → policyengine_us-1.374.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.373.0.dist-info → policyengine_us-1.374.0.dist-info}/RECORD +30 -6
- {policyengine_us-1.373.0.dist-info → policyengine_us-1.374.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.373.0.dist-info → policyengine_us-1.374.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.373.0.dist-info → policyengine_us-1.374.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -4,5 +4,9 @@ metadata:
|
|
|
4
4
|
reference:
|
|
5
5
|
- title: 26 U.S. Code § 55 - Alternative minimum tax imposed (d)(2)
|
|
6
6
|
href: https://www.law.cornell.edu/uscode/text/26/55#d_2
|
|
7
|
+
- title: 26 U.S. Code § 55 - Alternative minimum tax imposed (d)(4)(A)(ii)(IV)
|
|
8
|
+
href: https://www.law.cornell.edu/uscode/text/26/55#d_4_A_ii_IV
|
|
9
|
+
# Phaseout rate changed to 50% following the passage of the OBBBA.
|
|
7
10
|
values:
|
|
8
11
|
2013-01-01: 0.25
|
|
12
|
+
2026-01-01: 0.5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Alameda
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Alameda County limits the General Assistance program to individuals of this age or older.
|
|
2
|
+
metadata:
|
|
3
|
+
label: Alameda County General Assistance age eligibility threshold
|
|
4
|
+
unit: year
|
|
5
|
+
period: year
|
|
6
|
+
reference:
|
|
7
|
+
- title: Alameda County Social Services Agency - General Assistance
|
|
8
|
+
href: https://www.alamedacountysocialservices.org/our-services/Work-and-Money/General-Assistance/index
|
|
9
|
+
- title: Legal Services of Northern California - General Assistance
|
|
10
|
+
href: https://lsnc.net/self-help/general-assistance-county-aid
|
|
11
|
+
values:
|
|
12
|
+
2019-01-01: 18
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
description: Alameda County provides a cash grant of this amount to married filers under the General Assistance program.
|
|
2
|
+
metadata:
|
|
3
|
+
label: Alameda County General Assistance married amount
|
|
4
|
+
period: month
|
|
5
|
+
unit: currency-USD
|
|
6
|
+
reference:
|
|
7
|
+
- title: Alameda County GA-Regulations
|
|
8
|
+
href: https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=28
|
|
9
|
+
|
|
10
|
+
values:
|
|
11
|
+
2024-01-01: 548
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
description: Alameda County provides a cash grant of this amount to single filers under the General Assistance program.
|
|
2
|
+
metadata:
|
|
3
|
+
label: Alameda County General Assistance single amount
|
|
4
|
+
period: month
|
|
5
|
+
unit: currency-USD
|
|
6
|
+
reference:
|
|
7
|
+
- title: Alameda County GA-Regulations
|
|
8
|
+
href: https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=28
|
|
9
|
+
|
|
10
|
+
values:
|
|
11
|
+
2024-01-01: 336
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
description: Alameda County accounts for these income sources when determining eligibility for the General Assistance program.
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01:
|
|
4
|
+
- employment_income
|
|
5
|
+
- self_employment_income
|
|
6
|
+
- social_security
|
|
7
|
+
- unemployment_compensation
|
|
8
|
+
- veterans_benefits
|
|
9
|
+
|
|
10
|
+
metadata:
|
|
11
|
+
unit: list
|
|
12
|
+
period: year
|
|
13
|
+
label: Alameda County General Assistance income sources
|
|
14
|
+
reference:
|
|
15
|
+
- title: Alameda County GA-Regulations
|
|
16
|
+
href: https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=29
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
description: Alameda County limits the General Assistance program to households with up to this personal property amount.
|
|
2
|
+
metadata:
|
|
3
|
+
label: Alameda County General Assistance personal property limit amount
|
|
4
|
+
unit: currency-USD
|
|
5
|
+
period: month
|
|
6
|
+
reference:
|
|
7
|
+
- title: Alameda County GA-Regulations
|
|
8
|
+
href: https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=23
|
|
9
|
+
values:
|
|
10
|
+
2019-01-01: 1_000
|
policyengine_us/parameters/gov/local/ca/ala/general_assistance/qualified_immigration_status.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
description: Alameda county considers these statuses as qualified immigrants under the General Relief Program.
|
|
2
|
+
values:
|
|
3
|
+
1975-01-01:
|
|
4
|
+
- CITIZEN
|
|
5
|
+
- REFUGEE
|
|
6
|
+
- ASYLEE
|
|
7
|
+
- CUBAN_HAITIAN_ENTRANT
|
|
8
|
+
- PAROLED_ONE_YEAR
|
|
9
|
+
- LEGAL_PERMANENT_RESIDENT
|
|
10
|
+
|
|
11
|
+
metadata:
|
|
12
|
+
label: Alameda County General Relief qualified immigration statuses
|
|
13
|
+
period: year
|
|
14
|
+
unit: list
|
|
15
|
+
reference:
|
|
16
|
+
- title: Alameda County GA-Regulations
|
|
17
|
+
href: https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=21
|
policyengine_us/tests/policy/baseline/gov/local/ca/ala/ca_ala_general_assistance_base_amount.yaml
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
- name: Case 1, both people are eligible.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 30
|
|
7
|
+
is_tax_unit_head_or_spouse: true
|
|
8
|
+
ssi: 0
|
|
9
|
+
person2:
|
|
10
|
+
age: 30
|
|
11
|
+
is_tax_unit_head_or_spouse: true
|
|
12
|
+
ssi: 0
|
|
13
|
+
households:
|
|
14
|
+
household:
|
|
15
|
+
members: [person1, person2]
|
|
16
|
+
in_ala: true
|
|
17
|
+
spm_units:
|
|
18
|
+
spm_unit:
|
|
19
|
+
members: [person1, person2]
|
|
20
|
+
output:
|
|
21
|
+
ca_ala_general_assistance_base_amount: 548
|
|
22
|
+
|
|
23
|
+
- name: Case 2, only one people is eligible.
|
|
24
|
+
period: 2024-01
|
|
25
|
+
input:
|
|
26
|
+
people:
|
|
27
|
+
person1:
|
|
28
|
+
age: 30
|
|
29
|
+
is_tax_unit_head_or_spouse: true
|
|
30
|
+
ssi: 0
|
|
31
|
+
person2:
|
|
32
|
+
age: 30
|
|
33
|
+
is_tax_unit_head_or_spouse: true
|
|
34
|
+
immigration_status: UNDOCUMENTED
|
|
35
|
+
ssi: 0
|
|
36
|
+
households:
|
|
37
|
+
household:
|
|
38
|
+
members: [person1, person2]
|
|
39
|
+
in_ala: true
|
|
40
|
+
spm_units:
|
|
41
|
+
spm_unit:
|
|
42
|
+
members: [person1, person2]
|
|
43
|
+
output:
|
|
44
|
+
ca_ala_general_assistance_base_amount: 336
|
|
45
|
+
|
|
46
|
+
- name: Case 3, both people are ineligible.
|
|
47
|
+
period: 2024-01
|
|
48
|
+
input:
|
|
49
|
+
people:
|
|
50
|
+
person1:
|
|
51
|
+
age: 30
|
|
52
|
+
is_tax_unit_head_or_spouse: true
|
|
53
|
+
ssi: 50
|
|
54
|
+
person2:
|
|
55
|
+
age: 30
|
|
56
|
+
is_tax_unit_head_or_spouse: true
|
|
57
|
+
immigration_status: UNDOCUMENTED
|
|
58
|
+
ssi: 0
|
|
59
|
+
households:
|
|
60
|
+
household:
|
|
61
|
+
members: [person1, person2]
|
|
62
|
+
in_ala: true
|
|
63
|
+
spm_units:
|
|
64
|
+
spm_unit:
|
|
65
|
+
members: [person1, person2]
|
|
66
|
+
output:
|
|
67
|
+
ca_ala_general_assistance_base_amount: 0
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
- name: Case 1, adult is eligible.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
age: 30
|
|
5
|
+
in_ala: true
|
|
6
|
+
output:
|
|
7
|
+
ca_ala_general_assistance_age_eligible: true
|
|
8
|
+
|
|
9
|
+
- name: Case 2, minor is ineligible.
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
age: 17
|
|
13
|
+
in_ala: true
|
|
14
|
+
output:
|
|
15
|
+
ca_ala_general_assistance_age_eligible: false
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
- name: Case 1, eligible person.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
age: 30
|
|
5
|
+
is_tax_unit_head_or_spouse: true
|
|
6
|
+
ssi: 0
|
|
7
|
+
personal_property: 500
|
|
8
|
+
immigration_status: CITIZEN
|
|
9
|
+
in_ala: true
|
|
10
|
+
output:
|
|
11
|
+
ca_ala_general_assistance_eligible_person: true
|
|
12
|
+
|
|
13
|
+
- name: Case 2, ineligible due to receive ssi.
|
|
14
|
+
period: 2024-01
|
|
15
|
+
input:
|
|
16
|
+
age: 30
|
|
17
|
+
is_tax_unit_head_or_spouse: true
|
|
18
|
+
ssi: 100
|
|
19
|
+
personal_property: 500
|
|
20
|
+
immigration_status: CITIZEN
|
|
21
|
+
in_ala: true
|
|
22
|
+
output:
|
|
23
|
+
ca_ala_general_assistance_eligible_person: false
|
|
24
|
+
|
|
25
|
+
- name: Case 3, ineligible due to not a head or spouse.
|
|
26
|
+
period: 2024-01
|
|
27
|
+
input:
|
|
28
|
+
age: 30
|
|
29
|
+
is_tax_unit_head_or_spouse: false
|
|
30
|
+
ssi: 0
|
|
31
|
+
personal_property: 500
|
|
32
|
+
immigration_status: CITIZEN
|
|
33
|
+
in_ala: true
|
|
34
|
+
output:
|
|
35
|
+
ca_ala_general_assistance_eligible_person: false
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
- name: Case 1, eligible.
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
in_ala: true
|
|
5
|
+
immigration_status: CITIZEN
|
|
6
|
+
output:
|
|
7
|
+
ca_ala_general_assistance_immigration_status_eligible: true
|
|
8
|
+
|
|
9
|
+
- name: Case 2, ineligible.
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
in_ala: true
|
|
13
|
+
immigration_status: UNDOCUMENTED
|
|
14
|
+
output:
|
|
15
|
+
ca_ala_general_assistance_immigration_status_eligible: false
|
|
16
|
+
|
|
17
|
+
- name: Case 3, refugee eligible.
|
|
18
|
+
period: 2024
|
|
19
|
+
input:
|
|
20
|
+
in_ala: true
|
|
21
|
+
immigration_status: REFUGEE
|
|
22
|
+
output:
|
|
23
|
+
ca_ala_general_assistance_immigration_status_eligible: true
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
- name: Countable income higher than base amount, ineligible.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
ca_ala_general_assistance_countable_income: 100
|
|
5
|
+
ca_ala_general_assistance_base_amount: 90
|
|
6
|
+
in_ala: true
|
|
7
|
+
output:
|
|
8
|
+
ca_ala_general_assistance_income_eligible: false
|
|
9
|
+
|
|
10
|
+
- name: Countable income lower than base amount, eligible.
|
|
11
|
+
period: 2024-01
|
|
12
|
+
input:
|
|
13
|
+
ca_ala_general_assistance_countable_income: 90
|
|
14
|
+
ca_ala_general_assistance_base_amount: 100
|
|
15
|
+
in_ala: true
|
|
16
|
+
output:
|
|
17
|
+
ca_ala_general_assistance_income_eligible: true
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
- name: Case 1, personal property less than $1000, eligible.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
personal_property: 999
|
|
5
|
+
in_ala: true
|
|
6
|
+
output:
|
|
7
|
+
ca_ala_general_assistance_personal_property_eligible: true
|
|
8
|
+
|
|
9
|
+
- name: Case 2, personal property higher than $1000, ineligible.
|
|
10
|
+
period: 2024-01
|
|
11
|
+
input:
|
|
12
|
+
personal_property: 1_001
|
|
13
|
+
in_ala: true
|
|
14
|
+
output:
|
|
15
|
+
ca_ala_general_assistance_personal_property_eligible: false
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
- name: Case 1, both people are eligible, with $1000 monthly income, receive 0.
|
|
2
|
+
period: 2024-01
|
|
3
|
+
input:
|
|
4
|
+
people:
|
|
5
|
+
person1:
|
|
6
|
+
age: 30
|
|
7
|
+
is_tax_unit_head_or_spouse: true
|
|
8
|
+
employment_income: 1000 * 12
|
|
9
|
+
ssi: 0
|
|
10
|
+
person2:
|
|
11
|
+
age: 30
|
|
12
|
+
is_tax_unit_head_or_spouse: true
|
|
13
|
+
ssi: 0
|
|
14
|
+
households:
|
|
15
|
+
household:
|
|
16
|
+
members: [person1, person2]
|
|
17
|
+
in_ala: true
|
|
18
|
+
spm_units:
|
|
19
|
+
spm_unit:
|
|
20
|
+
members: [person1, person2]
|
|
21
|
+
output:
|
|
22
|
+
ca_ala_general_assistance_base_amount: 548
|
|
23
|
+
ca_ala_general_assistance_countable_income: 1_000
|
|
24
|
+
ca_ala_general_assistance: 0
|
|
25
|
+
|
|
26
|
+
- name: Case 2, only one people is eligible, with $300 monthly income.
|
|
27
|
+
period: 2024-01
|
|
28
|
+
input:
|
|
29
|
+
people:
|
|
30
|
+
person1:
|
|
31
|
+
age: 30
|
|
32
|
+
is_tax_unit_head_or_spouse: true
|
|
33
|
+
employment_income: 300 * 12
|
|
34
|
+
ssi: 0
|
|
35
|
+
person2:
|
|
36
|
+
age: 30
|
|
37
|
+
is_tax_unit_head_or_spouse: true
|
|
38
|
+
immigration_status: UNDOCUMENTED
|
|
39
|
+
ssi: 0
|
|
40
|
+
households:
|
|
41
|
+
household:
|
|
42
|
+
members: [person1, person2]
|
|
43
|
+
in_ala: true
|
|
44
|
+
spm_units:
|
|
45
|
+
spm_unit:
|
|
46
|
+
members: [person1, person2]
|
|
47
|
+
output:
|
|
48
|
+
ca_ala_general_assistance_base_amount: 336
|
|
49
|
+
ca_ala_general_assistance_countable_income: 300
|
|
50
|
+
ca_ala_general_assistance: 36
|
|
51
|
+
|
|
52
|
+
- name: Case 3, both people are ineligible.
|
|
53
|
+
period: 2024-01
|
|
54
|
+
input:
|
|
55
|
+
people:
|
|
56
|
+
person1:
|
|
57
|
+
age: 30
|
|
58
|
+
is_tax_unit_head_or_spouse: true
|
|
59
|
+
employment_income: 0
|
|
60
|
+
ssi: 50
|
|
61
|
+
person2:
|
|
62
|
+
age: 30
|
|
63
|
+
is_tax_unit_head_or_spouse: true
|
|
64
|
+
immigration_status: UNDOCUMENTED
|
|
65
|
+
ssi: 0
|
|
66
|
+
households:
|
|
67
|
+
household:
|
|
68
|
+
members: [person1, person2]
|
|
69
|
+
in_ala: true
|
|
70
|
+
spm_units:
|
|
71
|
+
spm_unit:
|
|
72
|
+
members: [person1, person2]
|
|
73
|
+
output:
|
|
74
|
+
ca_ala_general_assistance_base_amount: 0
|
|
75
|
+
ca_ala_general_assistance: 0
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
unit = USD
|
|
8
|
+
label = "Alameda County General Assistance base amount"
|
|
9
|
+
definition_period = MONTH
|
|
10
|
+
defined_for = "ca_ala_general_assistance_income_eligible"
|
|
11
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=28"
|
|
12
|
+
|
|
13
|
+
# Defined for income eligible family, which make sure that countable income is less than based amount
|
|
14
|
+
adds = ["ca_ala_general_assistance_base_amount"]
|
|
15
|
+
subtracts = ["ca_ala_general_assistance_countable_income"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_base_amount(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
unit = USD
|
|
8
|
+
label = "Alameda County General Assistance base amount"
|
|
9
|
+
definition_period = MONTH
|
|
10
|
+
defined_for = "ca_ala_general_assistance_eligible_person"
|
|
11
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=28"
|
|
12
|
+
|
|
13
|
+
def formula(spm_unit, period, parameters):
|
|
14
|
+
p = parameters(period).gov.local.ca.ala.general_assistance.amount
|
|
15
|
+
eligible_persons = spm_unit.members(
|
|
16
|
+
"ca_ala_general_assistance_eligible_person", period
|
|
17
|
+
)
|
|
18
|
+
num_eligible = spm_unit.sum(eligible_persons)
|
|
19
|
+
return where(num_eligible == 2, p.married, p.single)
|
policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_age_eligible.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_age_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
definition_period = MONTH
|
|
8
|
+
label = "Eligible for Alameda County General Assistance based on age requirements"
|
|
9
|
+
defined_for = "in_ala"
|
|
10
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=21"
|
|
11
|
+
|
|
12
|
+
def formula(person, period, parameters):
|
|
13
|
+
p = parameters(period).gov.local.ca.ala.general_assistance
|
|
14
|
+
age = person("monthly_age", period)
|
|
15
|
+
|
|
16
|
+
return age >= p.age_threshold
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_eligible_person(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
label = "Eligible person for Alameda County General Assistance"
|
|
8
|
+
definition_period = MONTH
|
|
9
|
+
defined_for = "in_ala"
|
|
10
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=19"
|
|
11
|
+
|
|
12
|
+
def formula(person, period, parameters):
|
|
13
|
+
age_eligible = person("ca_ala_general_assistance_age_eligible", period)
|
|
14
|
+
personal_property_eligible = person.spm_unit(
|
|
15
|
+
"ca_ala_general_assistance_personal_property_eligible", period
|
|
16
|
+
)
|
|
17
|
+
immigration_status_eligible = person(
|
|
18
|
+
"ca_ala_general_assistance_immigration_status_eligible", period
|
|
19
|
+
)
|
|
20
|
+
receives_ssi = person("ssi", period) > 0
|
|
21
|
+
is_head_or_spouse = person("is_tax_unit_head_or_spouse", period)
|
|
22
|
+
return (
|
|
23
|
+
age_eligible
|
|
24
|
+
& personal_property_eligible
|
|
25
|
+
& immigration_status_eligible
|
|
26
|
+
& ~receives_ssi
|
|
27
|
+
& is_head_or_spouse
|
|
28
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_immigration_status_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Person
|
|
7
|
+
label = "Eligible for the Alameda County General Assistance due to immigration status"
|
|
8
|
+
definition_period = MONTH
|
|
9
|
+
defined_for = "in_ala"
|
|
10
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=21"
|
|
11
|
+
|
|
12
|
+
def formula(person, period, parameters):
|
|
13
|
+
p = parameters(period).gov.local.ca.ala.general_assistance
|
|
14
|
+
immigration_status = person("immigration_status", period)
|
|
15
|
+
immigration_status_str = immigration_status.decode_to_str()
|
|
16
|
+
return np.isin(immigration_status_str, p.qualified_immigration_status)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_income_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
label = "Eligible for Alameda County General Assistance based on income requirements"
|
|
8
|
+
definition_period = MONTH
|
|
9
|
+
defined_for = "in_ala"
|
|
10
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=22"
|
|
11
|
+
|
|
12
|
+
def formula(spm_unit, period, parameters):
|
|
13
|
+
income = spm_unit("ca_ala_general_assistance_countable_income", period)
|
|
14
|
+
limit = spm_unit("ca_ala_general_assistance_base_amount", period)
|
|
15
|
+
return income < limit
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_personal_property_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
definition_period = MONTH
|
|
8
|
+
label = "Meets property limit for Alameda County General Assistance"
|
|
9
|
+
defined_for = "in_ala"
|
|
10
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=23"
|
|
11
|
+
|
|
12
|
+
def formula(spm_unit, period, parameters):
|
|
13
|
+
p = parameters(
|
|
14
|
+
period
|
|
15
|
+
).gov.local.ca.ala.general_assistance.personal_property
|
|
16
|
+
personal_property = add(
|
|
17
|
+
spm_unit, period.this_year, ["personal_property"]
|
|
18
|
+
)
|
|
19
|
+
return personal_property <= p.limit
|
policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_countable_income(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = SPMUnit
|
|
7
|
+
unit = USD
|
|
8
|
+
definition_period = MONTH
|
|
9
|
+
label = "Eligible for Alameda County General Assistance based on age requirements"
|
|
10
|
+
defined_for = "in_ala"
|
|
11
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=29"
|
|
12
|
+
|
|
13
|
+
adds = ["ca_ala_general_assistance_countable_income_person"]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class ca_ala_general_assistance_countable_income_person(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = Person
|
|
7
|
+
unit = USD
|
|
8
|
+
definition_period = MONTH
|
|
9
|
+
label = "Eligible for Alameda County General Assistance based on age requirements"
|
|
10
|
+
defined_for = "is_tax_unit_head_or_spouse"
|
|
11
|
+
reference = "https://www.alamedacountysocialservices.org/acssa-assets/PDF/GA-Policies/GA-Regulations.pdf#page=29"
|
|
12
|
+
|
|
13
|
+
adds = "gov.local.ca.ala.general_assistance.countable_income.sources"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class in_ala(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = Household
|
|
7
|
+
definition_period = YEAR
|
|
8
|
+
label = "Is in Alameda County"
|
|
9
|
+
|
|
10
|
+
def formula(household, period, parameters):
|
|
11
|
+
county = household("county_str", period)
|
|
12
|
+
return county == "Alameda_COUNTY_CA"
|
|
@@ -712,7 +712,7 @@ policyengine_us/parameters/gov/irs/income/amt/capital_gains/capital_gain_excess_
|
|
|
712
712
|
policyengine_us/parameters/gov/irs/income/amt/exemption/amount.yaml,sha256=fj25AK8UP8o1Dkl1185CQCT93RQ2rFdkOSCzd_-Dv-g,4495
|
|
713
713
|
policyengine_us/parameters/gov/irs/income/amt/exemption/separate_limit.yaml,sha256=sAl_TrnM9-gtHLc6OmQukxh4CIHzEoa8n65IwEE7HjQ,1723
|
|
714
714
|
policyengine_us/parameters/gov/irs/income/amt/exemption/child/amount.yaml,sha256=QB3zldIsE7nOSw9Du5YpA2Z5W07h8XG6wHTK3tas4O4,1119
|
|
715
|
-
policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/rate.yaml,sha256=
|
|
715
|
+
policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/rate.yaml,sha256=M73ylOx-4yTWsO4NUy_J1HaD_tYgb4ZBBAIWAadFx18,483
|
|
716
716
|
policyengine_us/parameters/gov/irs/income/amt/exemption/phase_out/start.yaml,sha256=dFuJApoBErx4VAoEGom1jB5lWBfck8C6d7jK2QXkYmc,4908
|
|
717
717
|
policyengine_us/parameters/gov/irs/income/disability_income_exclusion/amount.yaml,sha256=lElkZiuJlPHpGugUhmjDMa2DxsoWLaFJscHMvs8Oatg,541
|
|
718
718
|
policyengine_us/parameters/gov/irs/income/disability_income_exclusion/cap.yaml,sha256=45JSvG4BEbMKIBAsi9a_kbdlTJYbxWmlHUZypYdDOvQ,626
|
|
@@ -756,6 +756,13 @@ policyengine_us/parameters/gov/irs/unemployment_compensation/exemption/cutoff.ya
|
|
|
756
756
|
policyengine_us/parameters/gov/irs/vita/eligibility/income_limit.yaml,sha256=2Oo4cM8f3LQabnwa9M23rUnWOFMORqylMivxduCgjos,752
|
|
757
757
|
policyengine_us/parameters/gov/local/README.md,sha256=sb_ft_o2cQNW9C0etl3UYe8howZryM6SEjmaXoGXfRQ,8
|
|
758
758
|
policyengine_us/parameters/gov/local/index.yaml,sha256=XFQ5xsiM7Tc_5ZCAQ8yk-q0B4aapbJ5yQxokqT_zCAc,65
|
|
759
|
+
policyengine_us/parameters/gov/local/ca/ala/README.md,sha256=zyTeL2YHYZGudutdvBfRy0FP245T4wQM_pIHZClaZ3s,10
|
|
760
|
+
policyengine_us/parameters/gov/local/ca/ala/general_assistance/age_threshold.yaml,sha256=wVBo13mf0rkVpz1gmvjF-CVwZdQ8oyjM98E9xZrXJTs,570
|
|
761
|
+
policyengine_us/parameters/gov/local/ca/ala/general_assistance/qualified_immigration_status.yaml,sha256=BFw-bZ7TgbikJT_PL8oC9h2ebzsEkKhYu0259UIsKmw,538
|
|
762
|
+
policyengine_us/parameters/gov/local/ca/ala/general_assistance/amount/married.yaml,sha256=MQG6TzusOTwgDWNa_Nkd2gchcbO2NDHN04spUo_aDbk,422
|
|
763
|
+
policyengine_us/parameters/gov/local/ca/ala/general_assistance/amount/single.yaml,sha256=g-jDV-JzPaObtTyNxADlu7QKOw7QGzCzYi52KtIUIW8,420
|
|
764
|
+
policyengine_us/parameters/gov/local/ca/ala/general_assistance/countable_income/sources.yaml,sha256=_iDvCNTtwhQVSJWrEjpEZd5wzg1luO3GqZXkuAiKU_0,546
|
|
765
|
+
policyengine_us/parameters/gov/local/ca/ala/general_assistance/personal_property/limit.yaml,sha256=nUk5PQgxtZNhM5NIkqNERKbJ3x5LO3WVbTOazDTT9Hc,440
|
|
759
766
|
policyengine_us/parameters/gov/local/ca/la/README.md,sha256=Chg4TG7hnO_Z6Dt75Kj7_Gph_V92rg0xLceAH57QCtI,14
|
|
760
767
|
policyengine_us/parameters/gov/local/ca/la/dss/expectant_parent_payment/amount.yaml,sha256=9w1TLbBkzL8HC9K-GgC_da_lAxCGKK6CxC_kgRM5Rm8,638
|
|
761
768
|
policyengine_us/parameters/gov/local/ca/la/dss/expectant_parent_payment/pregnancy_month/max.yaml,sha256=IvWXUEWazAqgRsg_5p0kNK5CoqmoaTD368FHogbxxNs,747
|
|
@@ -3457,6 +3464,13 @@ policyengine_us/tests/policy/baseline/gov/irs/tax/federal_income/alternative_min
|
|
|
3457
3464
|
policyengine_us/tests/policy/baseline/gov/irs/tax_unit/head_spouse_count.yaml,sha256=d9mrPyilVa7_Klj9qkunwPO5grTTHKHsla4bI9GLLHo,625
|
|
3458
3465
|
policyengine_us/tests/policy/baseline/gov/irs/tce/is_tce_eligible.yaml,sha256=2ZNazVHr9Aqmv23fm8Kl-tGeS6EQ0n-_xpbj-f8antg,291
|
|
3459
3466
|
policyengine_us/tests/policy/baseline/gov/irs/vita/vita_eligible.yaml,sha256=DdGXPWZ2aywgVWtLuhTQ-ShgmlVX5u-ksiryypg-6lA,765
|
|
3467
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/ca_ala_general_assistance_base_amount.yaml,sha256=Q-MDL-F-FWPvrqYcbqcLnCZacPctE9KY3iFNVvSjdiw,1498
|
|
3468
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/integration.yaml,sha256=wLnsmaLVeKJOjP27AnKYN9CTD0AR-vnYHcUiC2b9AKQ,1869
|
|
3469
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_age_eligible.yaml,sha256=RpH8KJNBhPOVb-XiIXe0Bm_KlCHspoFj-QJkdtYfzgk,300
|
|
3470
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_eligible_person.yaml,sha256=6QrVVJtb_Jntpc6YNPBAobj7YZIH2RPQ6ARp8dVOOag,818
|
|
3471
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_immigration_status_eligible.yaml,sha256=BddGqsNrGsErUULPw1a5Ufj0LpVa2orUa3U2K5NzAnU,540
|
|
3472
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_income_eligible.yaml,sha256=BVNogOOuS2hzBJ3RWTZEHuniUWuwGuB4e4jxT7ycwJM,531
|
|
3473
|
+
policyengine_us/tests/policy/baseline/gov/local/ca/ala/eligibility/ca_ala_general_assistance_personal_property_eligible.yaml,sha256=Mw1syyeBxz2JQ0RPhCKFuR_vgtKJAQ5DcHWVXckxSpA,420
|
|
3460
3474
|
policyengine_us/tests/policy/baseline/gov/local/ca/la/dss/expectant_parent_payment/ca_la_expectant_parent_payment.yaml,sha256=5M_FhxmIviaXaKC-EztrfJHHfrWSgqFXOIBTBvwk_xo,295
|
|
3461
3475
|
policyengine_us/tests/policy/baseline/gov/local/ca/la/dss/expectant_parent_payment/ca_la_expectant_parent_payment_eligible.yaml,sha256=wMPNkR_yPaUlL02S5LqAfJkVc4N9mXlx5RiOKtoX1OY,1241
|
|
3462
3476
|
policyengine_us/tests/policy/baseline/gov/local/ca/la/dss/infant_supplement/ca_la_infant_supplement.yaml,sha256=8DHC9xXb6lRNHpHXPDX5SLDaFCJqxAI6goIK1r45AUk,2543
|
|
@@ -5681,6 +5695,16 @@ policyengine_us/variables/gov/irs/tax_unit/tax_unit_is_joint.py,sha256=mrqkvJqSQ
|
|
|
5681
5695
|
policyengine_us/variables/gov/irs/tax_unit/tax_unit_size.py,sha256=yVX21kd2rCd_Zcb4chEng1gso0hPTJB-liE0s_v6tYE,327
|
|
5682
5696
|
policyengine_us/variables/gov/irs/tce/is_tce_eligible.py,sha256=1VQ0TQthcYdUqfPkVI_hj6KNXuO0jajYIdOl25YEEMo,483
|
|
5683
5697
|
policyengine_us/variables/gov/irs/vita/vita_eligible.py,sha256=LvAOEaCud5DG35Vyx7-RIO9jCzElCK8ixllYJZ4ZODA,593
|
|
5698
|
+
policyengine_us/variables/gov/local/ca/ala/in_ala.py,sha256=Q9A-QLeJRDEgkDpXZLdYytyeqlslFWqtezPHy4e69Rc,318
|
|
5699
|
+
policyengine_us/variables/gov/local/ca/ala/ga/ca_ala_general_assistance.py,sha256=ODYf8RcRXE7YWBoGArYsv1i9jXQmtXKF5FmzCitEAeg,637
|
|
5700
|
+
policyengine_us/variables/gov/local/ca/ala/ga/ca_ala_general_assistance_base_amount.py,sha256=71ADxmPUfyYjBVmPI9qLbW8TaxihZe4CJnOgQElWFVk,782
|
|
5701
|
+
policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_age_eligible.py,sha256=u8JgC0s2OSlg3uc5xKwE1cZh-n4GHds9VpLnPjmj5vA,598
|
|
5702
|
+
policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_eligible_person.py,sha256=j9BTsABPXSDYYsR2lzY7kk_gzp-m3QSXAXqjBP3ZWMM,1100
|
|
5703
|
+
policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_immigration_status_eligible.py,sha256=QL-oKwMxCMmoJfvNDrCPAZv6KkNfoZmBoTomgi9g9_M,747
|
|
5704
|
+
policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_income_eligible.py,sha256=Vp4RD3aU_eM7QwMtG84cPa6p6XHcVR4ovN7QRIzKIEE,641
|
|
5705
|
+
policyengine_us/variables/gov/local/ca/ala/ga/eligibility/ca_ala_general_assistance_personal_property_eligible.py,sha256=l_7sclVcfUw_LaKndFs6v4bknZujb-Kd4yJlNN02gqQ,707
|
|
5706
|
+
policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income.py,sha256=2suuQh1CTJbSjTAJW9wkmM__I5ov4zRH4ZVXZ7dwj2M,489
|
|
5707
|
+
policyengine_us/variables/gov/local/ca/ala/ga/income/ca_ala_general_assistance_countable_income_person.py,sha256=A6iclOnRomC1VJjinyYexaQ-vex4B4A3GWsEEzoRqbo,524
|
|
5684
5708
|
policyengine_us/variables/gov/local/ca/la/in_la.py,sha256=xvJC9Wh7z9PUnhhEOifnySC13bbxhcBSmqfgokQ9Xkk,325
|
|
5685
5709
|
policyengine_us/variables/gov/local/ca/la/dss/expectant_parent_payment/ca_la_expectant_parent_payment.py,sha256=iAOVokCt56Zi4rmPEsmhJbP4TZdi90Q7cN_XrpSWT-A,349
|
|
5686
5710
|
policyengine_us/variables/gov/local/ca/la/dss/expectant_parent_payment/ca_la_expectant_parent_payment_eligible.py,sha256=jip0ZqRGrH7_xaHLyo496tMrYui6cA6rxdcXNfJuUqw,804
|
|
@@ -8261,8 +8285,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8261
8285
|
policyengine_us/variables/input/geography.py,sha256=XmBlgXhzBoLRKk6R8taVZHqUw1eU8MbNeGS9iJ7_l44,4506
|
|
8262
8286
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8263
8287
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8264
|
-
policyengine_us-1.
|
|
8265
|
-
policyengine_us-1.
|
|
8266
|
-
policyengine_us-1.
|
|
8267
|
-
policyengine_us-1.
|
|
8268
|
-
policyengine_us-1.
|
|
8288
|
+
policyengine_us-1.374.0.dist-info/METADATA,sha256=AgpmzL7rfMx6nX83H-T_7epAGnW6l8IsWrJGtDGwJM0,1649
|
|
8289
|
+
policyengine_us-1.374.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8290
|
+
policyengine_us-1.374.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8291
|
+
policyengine_us-1.374.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8292
|
+
policyengine_us-1.374.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|