Regenerate SPI projections from 2023-24 base#414
Merged
Conversation
3aea76e to
742a7be
Compare
This was referenced May 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
storage/incomes.csvandstorage/incomes_projection.csvfrom the 2024 SPI base through 202912_570_to_infrow from future calibration targets, preserving the real1_000_000_to_inftop bandCloses #393.
Validation
uv run --python 3.13 --frozen python policyengine_uk_data/utils/incomes_projection.pyuv run --python 3.13 --frozen ruff format --check policyengine_uk_data/tests/test_income_projection.py policyengine_uk_data/tests/test_property_income_targets.py policyengine_uk_data/targets/sources/hmrc_spi.py policyengine_uk_data/utils/incomes_projection.pyuv run --python 3.13 --frozen ruff check policyengine_uk_data/tests/test_income_projection.py policyengine_uk_data/tests/test_property_income_targets.py policyengine_uk_data/targets/sources/hmrc_spi.py policyengine_uk_data/utils/incomes_projection.pyuv run --python 3.13 --frozen pytest policyengine_uk_data/tests/test_income_projection.py policyengine_uk_data/tests/test_property_income_targets.py policyengine_uk_data/tests/test_target_registry.py::test_hmrc_spi_targets_exist policyengine_uk_data/tests/test_spi_build.py::test_income_projection_uses_current_spi_release policyengine_uk_data/tests/test_spi_build.py::test_income_projection_reads_spi_dataset_year_read_only policyengine_uk_data/tests/test_spi_build.py::test_income_projection_builds_current_spi_dataset_when_missing policyengine_uk_data/tests/test_spi_build.py::test_income_projection_rebuilds_stale_spi_dataset_year policyengine_uk_data/tests/test_spi_build.py::test_income_projection_loads_local_h5_dataset -q