Skip to content

Commit b090a9f

Browse files
committed
Fix SSI imputation PR checks
1 parent 8563214 commit b090a9f

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

changelog.d/1123.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve SSI disability imputation by using comparable CPS and SIPP difficulty flags and refreshing CPS-only disability attributes on PUF clones.

policyengine_us_data/datasets/sipp/sipp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,8 @@ def build_ssi_disability_training_frame(
531531
social_security_amount = (
532532
df["TSSSAMT"] if "TSSSAMT" in df else pd.Series(0.0, index=df.index)
533533
)
534+
# SSDI receipt is evidence for disability status, but the training label
535+
# below remains SSI receipt reason, not a broad SSA disability determination.
534536
df["social_security_disability"] = np.where(
535537
_yes(df, "ESSRSN2YN"),
536538
social_security_amount.fillna(0).astype(float) * 12,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.14",
2323
]
2424
dependencies = [
25-
"policyengine-us==1.705.1",
25+
"policyengine-us==1.705.6",
2626
# policyengine-core 3.26.1 is the current 3.26.x runtime and includes the fix for
2727
# PolicyEngine/policyengine-core#482 (user-set ETERNITY inputs lost
2828
# after _invalidate_all_caches) and is required by policyengine-us 1.682.1+.

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)