Skip to content

Fix in_nyc before enforcing no-formula exports #34

Description

@MaxGhenis

Summary

in_nyc is formula-owned in PolicyEngine-US and should not be persisted as a final input, but it cannot be fixed by simply dropping the stored column from the current populace artifact. The current artifact has in_nyc and state_fips, but not county / county_str; if the stored in_nyc is removed as-is, the PE-US formula recomputes NYC as zero.

Evidence from the local audit

  • Stored in_nyc aggregate in the published US artifact: about 5.94M weighted people.
  • One-column removal/recompute: formula aggregate becomes 0 because county data are missing.
  • Non-NY rows were not the problem; the issue is the missing county input surface needed to recompute NYC inside NY.

Fix direction

Related: #18, #24, #25.

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