Skip to content

US local build: one declared target set, aligned with the national build, and more district targets #1728

In progress
1 of 6 issues completed

Description

@juaristi22

Problem

The national and the local build compile the same registry (compile_us_fiscal_target_registry). Then each tool keeps a subset, and the choice is in tool code.

National build (national_state) Local build (--soi-mode state, the default)
Targets 6,102 4,867
National rows Yes: CBO, SSA, BEA, national SOI tables, JCT, population by age, Medicare Part B, net worth, LIHEAP, SNAP None
State SOI Yes Yes (4,227)
State SNAP and Medicaid enrollment Yes Yes (102 and 51)
State population by age (51 × 19 bands) Yes No. Totals only
State income tax (Census STC), SSI, TANF, CHIP, ACA Yes No
District rows None Population totals (436)

Effects:

More district targets exist than the fit uses:

  • --soi-mode state_cd adds 21,743 district SOI rows. It is opt-in, and no production build uses it.
  • ACS tables give age, households and income brackets for each district. None is in the fit. ACS rows can meet these targets without donor rows.

Work

  1. Declare the target set of each product as data. A small declaration states the families, the levels and the rule. A shared selector reads it. The UK membership files (uk/target_reference_membership.json, uk/local_target_reference_membership.json) are the nearest model. The first step changes no output: the declarations give 6,102 and 4,867 exactly, and a test pins both counts.
  2. Align the state targets.
  3. Add district targets that ACS rows can meet: age bands, households and income brackets from ACS. SLD layer for the local artifact: per-district ACS calibration (targets, membership vintage, doctrine solve, validation) #625 has the design for state legislative districts (tables B01001, B11001, B19001). The county step already fits an ACS households family. This needs Chronicle packages.
  4. Add district SOI rows.
  5. Count filers: US SOI targets count every modeled tax unit, while SOI counts filed returns #1644.
  6. Move the population totals to a current vintage, together with item 2. Move congressional districts to the 120th Congress #1526 changes the district set to the 120th Congress.

Order

Done when

  • Each product has one target declaration, and tests pin the counts.
  • The docs' statement about one target surface is true, or it is amended.
  • The state slices of the local file fit the national build's state targets, with reported fit by family.
  • District ACS targets are in the fit, and held-out families are reported.

Decisions needed

  1. Whether the local build fits the national rows and the full state set of the national build.
  2. Which district families enter the loss, and which stay as checks only.

Related

#1528, #1644, #1038, #1526, #449, #625, #880, PR #1531, PR #1040, PR #1030.

Sub-issues

Sub-issues

1 of 6 Issues completed
Loading 6 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions