Skip to content

Add uprated SOI taxable interest AGI targets#176

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/taxable-interest-targets-20260623
Jun 23, 2026
Merged

Add uprated SOI taxable interest AGI targets#176
MaxGhenis merged 1 commit into
mainfrom
codex/taxable-interest-targets-20260623

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • activate SOI taxable-interest AGI-slice amount and return-count facts when Ledger has a same-scope all-income control to anchor the slice; if the control is newer, the slice is uprated, and if it is the latest available same-period control, the factor is 1
  • annotate taxable-interest targets with the control source record, source period, target period, and factor, and drop slices when no all-income control exists
  • classify all-income using both dimensions and AGI constraints so open-ended constrained rows like 500k_plus cannot be dropped as all-income controls
  • strengthen the interest-distribution launch gate so broad state all-income totals alone no longer satisfy the by-AGI-bracket requirement

Context

The latest live Populace target diagnostics showed taxable-interest amount badly off while taxable-interest return counts and tax-exempt interest were close. The target surface had only broad taxable-interest amount controls, so the reweighter had little shape information for the taxable-interest tail.

Companion Ledger PR: PolicyEngine/arch-data#62 adds the missing SOI Historic Table 2 state-by-AGI taxable-interest return-count and amount facts from N00300/A00300, including explicit 500k_plus filters.

Tests

  • uv run python -m pytest packages/populace-build/tests/test_us_fiscal_targets.py packages/populace-build/tests/test_us_fiscal_refresh_builder.py -q
  • uv run ruff check packages/populace-build/src/populace/build/us_runtime/fiscal_targets.py packages/populace-build/tests/test_us_fiscal_targets.py
  • uv run ruff format --check packages/populace-build/src/populace/build/us_runtime/fiscal_targets.py packages/populace-build/tests/test_us_fiscal_targets.py
  • git diff --check

@MaxGhenis MaxGhenis force-pushed the codex/taxable-interest-targets-20260623 branch from 74bfe7c to ec09fa5 Compare June 23, 2026 18:51
@MaxGhenis MaxGhenis merged commit 5eaeafe into main Jun 23, 2026
4 checks passed
@MaxGhenis MaxGhenis deleted the codex/taxable-interest-targets-20260623 branch June 23, 2026 18:56
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