Skip to content

Cache US target reform materialization#201

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/target-materialization-cache-20260627
Jun 27, 2026
Merged

Cache US target reform materialization#201
MaxGhenis merged 1 commit into
mainfrom
codex/target-materialization-cache-20260627

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Summary

  • add an opt-in --target-materialization-cache-dir for expensive US fiscal target materialization
  • cache JCT reform household income-tax vectors by base H5 SHA, target registry version, PE-US version, build commit, period, seed, and reform identity
  • report cache hit/miss/write stats in target compilation diagnostics
  • extend the JCT materialization regression test to prove cache hits skip reform microsim batches

Validation

  • uv run --python 3.13 ruff format tools/build_us_fiscal_refresh_release.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py
  • uv run --python 3.13 ruff check tools/build_us_fiscal_refresh_release.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py
  • uv run --python 3.13 --package populace-build --with pytest python -m pytest packages/populace-build/tests/test_us_fiscal_refresh_builder.py -q
  • git diff --check

@MaxGhenis MaxGhenis merged commit 4851e6a into main Jun 27, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/target-materialization-cache-20260627 branch June 27, 2026 16:21
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