Skip to content

Add eCPS difficulty_* disability export columns (final Gate-1 gap)#135

Merged
MaxGhenis merged 1 commit into
mainfrom
g11-difficulty-disability
Jun 1, 2026
Merged

Add eCPS difficulty_* disability export columns (final Gate-1 gap)#135
MaxGhenis merged 1 commit into
mainfrom
g11-difficulty-disability

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Add eCPS difficulty_* disability export columns (final Gate-1 gap)

Re-measuring Gate-1 coverage after the seven gap-fill PRs surfaced six
contract-required columns no PR had built: difficulty_seeing, difficulty_hearing,
difficulty_walking_or_climbing_stairs, difficulty_dressing_or_bathing,
difficulty_doing_errands, difficulty_remembering_or_making_decisions. They were
missed because the original 47-column gap report ran against the first,
under-specified contract that had dropped them; PR #120 re-added them to the
contract but the imputation lane plan was never regenerated.

These are eCPS final-H5 contract columns present in the newest eCPS builds
(policyengine-us-data PR #1151 and the clone-correct baseline) and absent only
from the older published HF baseline. They recode from the ASEC PEDIS* fields
(PEDIS{X} == 1 -> True; verified difficulty_seeing is byte-identical to is_blind,
both PEDISEYE == 1, in the PR #1151 eCPS export). They are not PolicyEngine-US
variables, so they export as person-level dataset columns via the
legacy-contract entity map (the scf_* pattern).

Microplex already ingested the six PEDIS* fields into disability* staging
columns (used to compute is_disabled); this produces the difficulty_* leaves
from that staging before it is dropped, and wires the SAFE export set, the
export defaults (False), and the legacy-entity map. Static config coverage is
now 246/246 contract-required columns.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Re-measuring Gate-1 coverage after the seven gap-fill PRs surfaced six
contract-required columns no PR had built: difficulty_seeing, difficulty_hearing,
difficulty_walking_or_climbing_stairs, difficulty_dressing_or_bathing,
difficulty_doing_errands, difficulty_remembering_or_making_decisions. They were
missed because the original 47-column gap report ran against the first,
under-specified contract that had dropped them; PR #120 re-added them to the
contract but the imputation lane plan was never regenerated.

These are eCPS final-H5 contract columns present in the newest eCPS builds
(policyengine-us-data PR #1151 and the clone-correct baseline) and absent only
from the older published HF baseline. They recode from the ASEC PEDIS* fields
(PEDIS{X} == 1 -> True; verified difficulty_seeing is byte-identical to is_blind,
both PEDISEYE == 1, in the PR #1151 eCPS export). They are not PolicyEngine-US
variables, so they export as person-level dataset columns via the
legacy-contract entity map (the scf_* pattern).

Microplex already ingested the six PEDIS* fields into _disability_* staging
columns (used to compute is_disabled); this produces the difficulty_* leaves
from that staging before it is dropped, and wires the SAFE export set, the
export defaults (False), and the legacy-entity map. Static config coverage is
now 246/246 contract-required columns.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MaxGhenis MaxGhenis merged commit 9e2c64b into main Jun 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant