Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,11 @@ for what each mode contains and where the build records it. Its
`--l2-basis chi_square` and `--mass-parametrization softmax` options (defaults:
the historical `record` and `projection`) penalize distance from the design
weights; see [penalized calibration toward the design weights](docs/calibration-l2-basis.md)
for the algebra, the evidence and the measured frontier.
for the algebra, the evidence and the measured frontier. The chain needs a
donor release that carries `employer_sponsored_insurance_premiums`: its
staging build transfers the column onto the ACS spine, and finalize grades it
on the calibrated artifact with both ESI premium gates. See
[ACS local releases](docs/us-esi-employer-premiums.md#acs-local-releases).

National and ACS local-area builds now use the same typed calibration
diagnostics writer, which publishes schema 9: the schema-8 document builders
Expand Down
1 change: 1 addition & 0 deletions changelog.d/454-us-acs-local-esi-premiums.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The US ACS local release lane transfers `employer_sponsored_insurance_premiums` onto its ACS spine (microcosm#454). Before, those rows were null, and the release tool's `fill_reviewed_nulls` refused the staging frame of any donor that carries the column. The staging build now qualifies the donor before the ACS fetch, transfers the column in a lane-only pass fitted on the donor's ASEC observations, which carry measured wages, and runs that pass after the hours and income passes and immediately before the shared transfer; on the test fixture every other value is byte-equal with and without it. A new kernel in `esi_premiums`, `with_us_esi_premium_pool_anchor`, then clears the premium for ACS people without wages and scales the rest so both spines carry the same weighted premium per unit of household mass, which keeps the lane-wide column at the donor release's own. The declared ACS transfer plan does not change. The ESI summary and both ESI gates take a new keyword, `allow_transferred_rows`, so they can grade a frame that mixes CPS rows with transferred rows: with `True`, which only the lane passes, the CPS rows get the MEPS-IC recomputation and the gates compare the transferred rows with them, and a row the CPS record id and raw coverage fields cannot classify fails both gates. The default, `False`, keeps the rule the base build and the fiscal-refresh release tool already applied: every row must carry the raw ASEC coverage fields, and the CPS record id is not read. The lane runs both gates on the staging frame and, in finalize, on the calibrated artifact; the gate report records `esi_premiums_signal` and `esi_premiums_anchor` bound to the artifact bytes, its `input_coverage` entry passes only if both do, and package by default refuses a report without passing verdicts for the bytes it packages. `us/gates.json` also declares the two finalize gates as `us_local_esi_premiums_signal` and `us_local_esi_premiums_anchor`, bound to the lane's own row-kind gates, so the gate battery's shadow compares them like the release's other gates and records `--allow-esi-premium-gaps` as their waiver. `--allow-esi-premium-gaps`, on the staging tool and the release tool, records a refused donor or a red verdict for a diagnostic build instead of failing; with it, package also takes a red verdict bound to the packaged bytes that finalize recorded as waived (`enforced: false`), and no other; the shadow keeps each entry's waiver as finalize had it and shows it only on the gate report bytes that finalize run wrote, or, when that run wrote none, on a package run with no gate report at the selected path, which package refuses; otherwise, or when it cannot read the record, it records the waiver as unknown, with the reason; a Modal plan can pass it to the release tool only. The staging tool refuses a donor with any row that lacks a raw coverage field or a CPS record id, and the ESI gates turn a mixed frame whose CPS rows carry no weighted anchor evidence, or whose household mass, employer premium or MEPS-IC share sums past the largest float, or whose anchor-universe total does, into a red verdict.
15 changes: 15 additions & 0 deletions docs/agent-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,21 @@ A source-enrichment publisher claim widens the range
consumers accept, not what was checked: the bundle's
`compatibility.claim_measurement` names the one version the probe measured.

The ACS local-area chain produces `employer_sponsored_insurance_premiums` on
its ACS spine itself (microcosm#454): the staging build
(`tools/build_us_acs_multispine_base.py`) transfers it from the donor
release's ASEC observations and holds it to the donor rows' premium per unit
of household mass, and both ESI premium gates run on the staging frame and
again in finalize on the calibrated artifact. A donor built before the
`meps_esi_premiums` stage is refused. `--allow-esi-premium-gaps`, on the
staging tool and the release tool, is for diagnostic builds only: it records a
red verdict in the staging summary and the gate report instead of failing.
Modal staging plans cannot pass it. The lane's calls to the ESI gates pass
`allow_transferred_rows=True`; the base build and the fiscal-refresh release
tool keep the default, which refuses any row without the raw ASEC coverage
fields, so do not pass it on those paths. See
[the ESI premium note](us-esi-employer-premiums.md#acs-local-releases).

A US release or release-gate preflight that receives a multispine pool through
`--base-h5` must authenticate its sibling terminal manifest. A current stacked
pool whose terminal battery is red remains fail-closed unless the operator
Expand Down
4 changes: 2 additions & 2 deletions docs/gate-battery-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ local publication work in #146; they are evaluated in their own signed
accounting.

US adoption is in progress (microcosm#1585 item 11), in four steps, and
`us/gates.json` now declares 143 entries, each US build tool's share of
`us/gates.json` now declares 145 entries, each US build tool's share of
them a scope of its own (`us_runtime/gate_scopes.py`): `us_base` (Route
A's base, 37), `us_pool` (the multispine pool's stacked path, 6),
`us_national` (the national release, 76) and `us_local` (ACS local, 24). A
`us_national` (the national release, 76) and `us_local` (ACS local, 26). A
scope owns the entries whose id starts with its name, checked
closed-world. In this step the battery runs **in shadow**: each tool still
gates as it did, and beside each gate it evaluates the declared entry
Expand Down
Loading
Loading