Opt in expanded SOI congressional district targets#197
Merged
Conversation
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\n- Map newly available SOI congressional district measures into the existing Populace fiscal target compiler.\n- Preserve Ledger EITC child-count dimensions as target metadata.\n- Mark the SOI congressional district package as a hard-target source that is active only when congressional district targets are explicitly enabled.\n\n## Validation\n- uv run --package populace-build pytest packages/populace-build/tests/test_us_fiscal_targets.py::test_soi_congressional_district_targets_are_opt_in packages/populace-build/tests/test_us_fiscal_targets.py::test_soi_congressional_district_targets_reconcile_to_state_parent packages/populace-build/tests/test_us_fiscal_targets.py::test_soi_congressional_district_hierarchy_uses_source_vintage_counts packages/populace-build/tests/test_us_fiscal_targets.py::test_soi_congressional_district_reconciliation_requires_complete_children packages/populace-build/tests/test_us_fiscal_targets.py::test_us_fiscal_target_references_are_declared_registry -q\n- uv run --package populace-build pytest packages/populace-build/tests/test_us_fiscal_refresh_builder.py::test_reviewed_exclusions_do_not_report_opted_in_cd_sources packages/populace-build/tests/test_us_fiscal_refresh_builder.py::test_reviewed_exclusions_are_exact_for_fiscal_refresh packages/populace-build/tests/test_us_source_coverage.py::test_us_source_coverage_snapshot_has_expected_roles packages/populace-build/tests/test_us_source_coverage.py::test_us_source_coverage_gate_passes_when_hard_aliases_are_active packages/populace-build/tests/test_us_fiscal_targets.py::test_soi_congressional_district_targets_are_opt_in -q\n- uv run --package populace-build ruff check packages/populace-build/src/populace/build/us_runtime/fiscal_targets.py packages/populace-build/src/populace/build/us_runtime/source_coverage.py packages/populace-build/tests/test_us_fiscal_targets.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py packages/populace-build/tests/test_us_source_coverage.py tools/build_us_fiscal_refresh_release.py\n- uv run --package populace-build ruff format --check packages/populace-build/src/populace/build/us_runtime/fiscal_targets.py packages/populace-build/src/populace/build/us_runtime/source_coverage.py packages/populace-build/tests/test_us_fiscal_targets.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py packages/populace-build/tests/test_us_source_coverage.py tools/build_us_fiscal_refresh_release.py\n\n## Notes\nDepends on the expanded Ledger SOI congressional district source facts in PolicyEngine/arch-data#66. A local probe compiling the expanded fact stream produced 23,968 congressional-district targets, equal to 428 districts times 56 measures.