Skip to content

Add UK SPI support rows#149

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/uk-spi-support-20260619
Jun 19, 2026
Merged

Add UK SPI support rows#149
MaxGhenis merged 1 commit into
mainfrom
codex/uk-spi-support-20260619

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Summary

  • add a Populace-owned UK SPI support-row primitive matching the eFRS pattern: base FRS rows keep weight, SPI support rows are sampled FRS copies with remapped IDs and zero household weight
  • preserve source_household_id/source_household_key/clone_index lineage so longwise local support counts do not treat the SPI copy as independent FRS support
  • add channel-scoped source fill helper and export the eFRS stage-1 SPI income and stage-2 FRS-only fill variable surfaces

Tests

  • uv run ruff check packages/populace-build/src/populace/build/uk/spi_support.py packages/populace-build/src/populace/build/uk/init.py packages/populace-build/tests/test_uk_spi_support.py
  • uv run --package populace-build --group dev python -m pytest packages/populace-build/tests -q

Review

  • Read-only subagent review found no actionable issues; added a regression for pre-existing rowwise lineage metadata based on residual-risk feedback.

@MaxGhenis MaxGhenis merged commit a58737e into main Jun 19, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/uk-spi-support-20260619 branch June 19, 2026 19:38
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