Skip to content

has_medicaid_health_coverage_at_interview maps NOW_MCAID, which includes CHIP and other means-tested coverage #1412

Open

Description

@hua7450

Problem

_fill_health_coverage_inputs in packages/microcosm-build/src/microcosm/build/us_runtime/cps_carried.py maps has_medicaid_health_coverage_at_interview from CPS ASEC NOW_MCAID. NOW_MCAID is a recode: the union of NOW_CAID (Medicaid), NOW_PCHIP (CHIP) and NOW_OTHMT (other means-tested coverage). So the "Medicaid" input also holds CHIP and other means-tested reporters, and NOW_OTHMT is counted a second time through has_other_means_tested_health_coverage_at_interview.

In policyengine-us, has_medicaid_health_coverage_at_interview is on the CHIP disqualifying-coverage list (gov.hhs.chip.disqualifying_health_coverage). A person who reports CHIP at interview therefore fails the CHIP no-other-coverage test: in the 2024 default data, all 400 CHIP-reporter records (956,895 weighted) do. For example, a New Jersey child at 250% FPL with the flag set gets no CHIP.

Found during review of PolicyEngine/policyengine-us#10371 (record counts in the default data: 10,622 NOW_CAID, 400 NOW_PCHIP and 159 NOW_OTHMT). That PR's own effect does not depend on it.

Proposed fix

Map has_medicaid_health_coverage_at_interview from NOW_CAID alone. If CHIP at interview is wanted as an input, carry NOW_PCHIP to a separate CHIP flag that the CHIP coverage test does not read. Check the Medicaid enrollment and take-up calibration that may read the current flag (medicaid_take_up.py, #720).

Related

Activity

  1. MaxGhenis commented on Nov 17, 2026

    @MaxGhenis
    Contributor

    policyengine-us already has the separate CHIP flag the proposed fix treats as optional. It counts has_chip_health_coverage_at_interview as coverage that bars the premium tax credit and leaves it off the CHIP no-other-coverage list. The build leaves it unset, so the engine reads it as false.

    The engine now bars a CHIP reporter from the credit through the Medicaid flag, which the build maps from NOW_MCAID. A fix that maps that flag from NOW_CAID alone removes that bar, though the engine still bars those it finds eligible for Medicaid or CHIP (read from code). The fix can keep the bar by carrying NOW_PCHIP into the CHIP flag.

    The 2023 input lacks both columns, so a fix that reads either must restore it, as a comment on #720 sets out. A test that a record with NOW_PCHIP = 1 and NOW_CAID = 2 ends with the CHIP flag set and the Medicaid flag clear would pin the mapping. A weighted count of CHIP reporters with is_aca_ptc_eligible true, before and after the change, would size the effect.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions