Skip to content

Update FRS ingestion for 2024-25#410

Merged
MaxGhenis merged 6 commits into
mainfrom
codex/update-frs-2024-25
May 24, 2026
Merged

Update FRS ingestion for 2024-25#410
MaxGhenis merged 6 commits into
mainfrom
codex/update-frs-2024-25

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

@MaxGhenis MaxGhenis commented May 23, 2026

Summary

  • Centralize the current FRS release metadata for UKDS SN 9563 / FRS 2024-25.
  • Point the build, test fixtures, manifest defaults, and upload/download helpers at frs_2024_25 and enhanced_frs_2024_25.
  • Flatten the UK Data Service nested TAB zip layout during private prerequisite extraction, with tests for the 2024-25 package shape.
  • Advance the eFRS base year to 2024 so dataset periods, donor-year alignment, local-area calibration keys, and weight-loading defaults move together.

Closes #409.

Validation

  • uv run pytest policyengine_uk_data/tests/test_frs_prerequisites.py policyengine_uk_data/tests/test_release_manifest.py policyengine_uk_data/tests/test_load_weights.py policyengine_uk_data/tests/test_calibrate_save.py -q
  • uv run ruff check ... on touched Python files
  • uv run ruff format --check ... on touched Python files
  • git diff --check

Notes

  • This does not upload the restricted raw FRS zip or build/publish new H5 artifacts. frs_2024_25.zip still needs to be mirrored privately before download_prerequisites() can fetch it in a normal data build.
  • 2025-only target sources are no longer implicitly used for a 2024-base eFRS; those should be explicitly backcast or aged if we want them in the 2024 calibration surface.

@MaxGhenis MaxGhenis marked this pull request as ready for review May 24, 2026 00:28
@MaxGhenis MaxGhenis merged commit 03b3cfa into main May 24, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/update-frs-2024-25 branch May 24, 2026 00:28
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.

Update UK data build to FRS 2024-25

1 participant