Skip to content

Commit f3886c7

Browse files
committed
Add SSA disability screen input
1 parent a4be569 commit f3886c7

6 files changed

Lines changed: 64 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added an SSA disability-screen variable for data-backed SSI disability modeling.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- name: Broad disability input remains the household fallback
2+
period: 2024
3+
input:
4+
is_disabled: true
5+
output:
6+
would_pass_ssa_disability_screen: true
7+
8+
- name: No disability signal defaults to not passing screen
9+
period: 2024
10+
input:
11+
is_disabled: false
12+
output:
13+
would_pass_ssa_disability_screen: false

policyengine_us/tests/policy/baseline/gov/ssa/ssi/is_ssi_disabled.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,24 @@
6868
output:
6969
is_ssi_disabled: false
7070

71+
- name: Data-provided SSA disability screen can identify SSI disability
72+
period: 2024
73+
input:
74+
would_pass_ssa_disability_screen: true
75+
is_disabled: false
76+
ssi_engaged_in_sga: false
77+
output:
78+
is_ssi_disabled: true
79+
80+
- name: Data-provided SSA disability screen remains subject to SGA
81+
period: 2024
82+
input:
83+
would_pass_ssa_disability_screen: true
84+
is_disabled: false
85+
ssi_engaged_in_sga: true
86+
output:
87+
is_ssi_disabled: false
88+
7189
- name: Data-provided SSI disability criteria can exclude broad disability
7290
period: 2024
7391
input:

policyengine_us/tests/policy/baseline/gov/ssa/ssi/meets_ssi_disability_criteria.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,19 @@
2121
ssi_engaged_in_sga: false
2222
output:
2323
meets_ssi_disability_criteria: false
24+
25+
- name: Data-provided SSA disability screen can identify SSI disability criteria
26+
period: 2024
27+
input:
28+
would_pass_ssa_disability_screen: true
29+
is_disabled: false
30+
output:
31+
meets_ssi_disability_criteria: true
32+
33+
- name: Data-provided SSA disability screen can exclude broad disability
34+
period: 2024
35+
input:
36+
would_pass_ssa_disability_screen: false
37+
is_disabled: true
38+
output:
39+
meets_ssi_disability_criteria: false
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from policyengine_us.model_api import *
2+
3+
4+
class would_pass_ssa_disability_screen(Variable):
5+
value_type = bool
6+
entity = Person
7+
label = "Would pass SSA disability screen"
8+
definition_period = YEAR
9+
reference = [
10+
"https://www.law.cornell.edu/uscode/text/42/423#d_1_A",
11+
"https://www.law.cornell.edu/uscode/text/42/1382c#a_3_A",
12+
]
13+
14+
def formula(person, period, parameters):
15+
return person("is_disabled", period)

policyengine_us/variables/gov/ssa/ssi/eligibility/status/meets_ssi_disability_criteria.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ class meets_ssi_disability_criteria(Variable):
1313
reference = "https://www.law.cornell.edu/uscode/text/42/1382c#a_3_A"
1414

1515
def formula(person, period, parameters):
16-
return person("is_disabled", period)
16+
return person("would_pass_ssa_disability_screen", period)

0 commit comments

Comments
 (0)