Skip to content

Port UK compact source stages and 2024-25 refresh from uk-data #145

Description

@MaxGhenis

Parent: #144.

Why

Populace UK can replace the local-geography/matrix path, and the current compact H5 already carries several recent uk-data columns. But if policyengine-uk-data is archived, Populace needs to own the source-stage logic and provenance for those columns instead of relying on uk-data build history.

Scope migrated from uk-data

Open PRs:

Recent merged PRs that need Populace-owned source-stage equivalents:

Acceptance criteria

  • Populace has UK source-stage modules/manifests for these compact-data inputs, with no policyengine_uk_data imports.
  • The compact artifact can be rebuilt for at least the current Populace UK release year and the FRS 2024-25 refresh path.
  • Export-variable gates prove the compact H5 includes the same PolicyEngine-UK variables expected by policyengine.py.
  • Determinism tests cover every stochastic assignment on the live build path.
  • Source flags and diagnostics make synthetic SPI/capital-gains support inspectable without row-order inference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions