Skip to content

Allow Arch calibration targets in rebuild checkpoints#206

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/obvious-target-fixes-20260603
Jun 3, 2026
Merged

Allow Arch calibration targets in rebuild checkpoints#206
MaxGhenis merged 1 commit into
mainfrom
codex/obvious-target-fixes-20260603

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • let PE-US-data rebuild checkpoints calibrate against Arch targets while keeping PE/eCPS targets for comparison and scoring
  • add repeated --arch-targets-db plus --calibration-target-source arch CLI plumbing
  • default Arch calibration to pe_native_broad_source_backed, the documented source-backed calibration boundary

Why

Issue #200 identified that recent collapse/scaffold diagnostics were scored and calibrated on pe_native_broad, which is the PE/eCPS comparison surface and does not load MP Arch/NIPA targets such as BEA/NIPA wages. This keeps apples-to-apples PE scoring available while letting production-shaped MP rebuilds use the richer source-backed Arch target surface.

Tests

  • UV_PROJECT_ENVIRONMENT=.venv313 uv run --python 3.13 --extra dev ruff format --check src/microplex_us/pipelines/pe_us_data_rebuild_checkpoint.py tests/pipelines/test_pe_us_data_rebuild_checkpoint.py
  • UV_PROJECT_ENVIRONMENT=.venv313 uv run --python 3.13 --extra dev ruff check src/microplex_us/pipelines/pe_us_data_rebuild_checkpoint.py tests/pipelines/test_pe_us_data_rebuild_checkpoint.py
  • UV_PROJECT_ENVIRONMENT=.venv313 uv run --python 3.13 --extra dev pytest tests/pipelines/test_pe_us_data_rebuild_checkpoint.py -q

Closes part of #200.

@MaxGhenis MaxGhenis merged commit b40b7c2 into main Jun 3, 2026
5 checks passed
@MaxGhenis MaxGhenis deleted the codex/obvious-target-fixes-20260603 branch June 3, 2026 22:15
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