Skip to content

US local build: district targets that exist but are not in the fit #1731

Backlog

Description

@juaristi22

Problem

The local build fits one district family: population totals (436 rows, from the 2020 ladder). More district facts exist. This issue lists them, says what each one needs, and gives an order. It is the district part of #1728 (work items 3 and 4).

#1038 does not cover this. #1038 corrects three district tax families on the national full surface, and it adds no target.

District facts that exist today

Source Rows Where it is What it needs
IRS district file, all returns (--soi-mode state_cd) 21,743 district rows and 302 state rows The code is ready. It is opt-in, and no production build uses it #1036 for the state capital-gains level, a measured run, a ruling
District SALT and premium tax credit rows 974 and 487 specs Kept off state_cd by STATE_CD_DEFECTIVE_CD_FILE_MEASURES, because the feed pin reads the wrong IRS columns The corrected columns in the feed (PolicyEngine/chronicle#447, item 1.1). Then remove the register entries
ACS district population by age (S0101, 2024, 119th plan) 436 districts × 18 age bands In Chronicle at the feed pin, but not in the feed scope (us/chronicle_feed_scope.json). The national tool lists its alias under REVIEWED_EXCLUDED_ALIASES A scope change, a selection in the local tool, and a rule that ties the district rows to the state age rows
ACS district households (S2201, 2024, 119th plan) 436 districts × 3 rows: all households, with SNAP, without SNAP The same. source_coverage.py marks it as validation only (#240) The same for the household total. The SNAP rows stay a check
District tax_filer_individual_count 436 Kept off state_cd: no state parent A state parent
District rows of states with one district 459 and 360 specs Kept off state_cd: they are copies of the state total Nothing. They carry no district information

One more condition for the premium tax credit rows: ACA take-up is true on every ACS tax unit (#1720). The rows cannot enter the loss before a take-up draw exists.

District facts that do not exist yet

PolicyEngine/chronicle#447 requests them:

Limits in the local tool

Work, in order

  1. ACS district age and households.
    • This needs no Chronicle work and no re-pin: add the two packages to the feed scope.
    • Select the rows in the local tool.
    • Bind each district row as a share of its state row, so that the state level stays with the state source (Census age groups, PR Calibrate ACS local state slices to Census Vintage 2025 age groups #1531).
    • ACS records can meet these targets without donor rows.
  2. District SOI rows (state_cd), after Choose the capital-gains rebase control by concept and period, not feed order #1036.
    • Measure memory, time, ESS and held-out error first.
    • Use the holdout that exists (--cd-holdout-fraction).
  3. District SOI rows and county rows in one run. This belongs with the declared target set of US local build: one declared target set, aligned with the national build, and more district targets #1728 (work item 1).
  4. SALT and premium tax credit district rows, after US district facts for Microcosm's local-area fit: SOI district AGI classes and more columns, ACS district tables, county SNAP chronicle#447 item 1.1.
  5. New families as Chronicle delivers them. Income brackets are first.

Rules for every step:

Decisions needed

  1. Which district families enter the loss, and which stay as checks.
  2. Whether district age rows bind as shares of the state row or as levels. The district source is a survey (ACS), and the state source is the Census estimates.
  3. Whether district SOI rows enter the loss before the starting weights change (US local build: choose the starting weights of donor and ACS rows, and give counties enough records #1727). They are tax targets, and ACS rows carry tax detail only as a transfer from donor rows.

Done when

  • The local build fits the district age and household rows and reports their fit. The state slices stay within tolerance.
  • A measured run of state_cd exists, and a ruling follows it.
  • The kept-off register has no entry for a column that the feed reads correctly.

Related

#1730, #1728, #1038, #1036, #1040, #1224, #1528, #240, #292, #625, #1526, #1673, PolicyEngine/chronicle#447.

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