Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
efa1378
US: store years_since_us_entry from PEINUSYR in the national pool
DTrim99 Oct 2, 2026
15a9369
Merge main (2d41a20c) into store-years-since-us-entry
DTrim99 Nov 3, 2026
35cb1d8
Re-pin the test digests and counts #776 moves on main's newer surfaces
DTrim99 Nov 3, 2026
e233f66
Merge main (31c89390, #1496) into store-years-since-us-entry
DTrim99 Nov 3, 2026
63a03b9
Re-pin the engine ABI digest, H3 fixture and seed-site count; admit t…
DTrim99 Nov 3, 2026
530083a
Re-pin the legacy pool-tool manifest golden for the entry clock
DTrim99 Nov 3, 2026
228e581
Merge main (79a533c7) into store-years-since-us-entry
DTrim99 Nov 3, 2026
27125bb
Merge main (3db65154) into store-years-since-us-entry
DTrim99 Nov 8, 2026
c618eb8
Merge main (1acd884f) into store-years-since-us-entry
DTrim99 Nov 9, 2026
679dd34
Merge main (1d174fc7) into store-years-since-us-entry
DTrim99 Nov 9, 2026
87984b6
Merge main (f023db0b) into store-years-since-us-entry
DTrim99 Nov 9, 2026
5f57d74
Merge main (085672fa) into store-years-since-us-entry
MaxGhenis Nov 14, 2026
5df4bd9
Recompute the spec-engine pins after merging main
MaxGhenis Nov 14, 2026
ca9d9d6
Test that the pool hands the immigration stage each ASEC row's own vi…
MaxGhenis Nov 14, 2026
9fd16c9
Name the entry clock's readers in the engine the build locks
MaxGhenis Nov 15, 2026
571049d
Cap a transferred entry clock at the recipient's age plus one
MaxGhenis Nov 15, 2026
957da13
Recompute the spec-engine pins after the entry-clock cap
MaxGhenis Nov 15, 2026
6dc1e34
Name the clock cap's spec key without the word "entry"
MaxGhenis Nov 15, 2026
2352918
Recompute the spec-engine pins after renaming the clock cap's key
MaxGhenis Nov 15, 2026
1519998
Re-pin the transfer contract digests the clock cap moves
MaxGhenis Nov 15, 2026
3a945c4
Test that the clock cap keeps source clocks and refuses non-finite cl…
MaxGhenis Nov 15, 2026
b612af5
Call Washington TANF's clock test a five-year bar, not a window
MaxGhenis Nov 15, 2026
4bdd8fa
Merge main (e555b4d8) into store-years-since-us-entry
MaxGhenis Nov 15, 2026
8e702c6
Test that the composition gate refuses infinite clocks and reads the …
MaxGhenis Nov 15, 2026
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
1 change: 1 addition & 0 deletions changelog.d/776-years-since-us-entry.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Store `years_since_us_entry` on ASEC person rows from the CPS `PEINUSYR` year-of-entry code, so the engine's five-year bar (8 USC 1613), Washington TANF's five-year bar and the Washington RCA window read a measured clock instead of the default of 5 (#776). The locked PolicyEngine-US 2.2.1 reads the clock only for Medicaid and those two Washington programs; 2.125.1 also reads it for the Missouri SSP waiting period, CHIP and the SNAP waiting period, among others. The immigration stage now owns the column. For the foreign-born it is the time period minus an arrival year drawn uniformly within the person's `PEINUSYR` band, clipped at zero. The band is read in the codebook of the person's own ASEC vintage, because Census re-bins the top codes every year. It is bounded below by birth year, and the draw uses a keyed draw with its own salt, so the status labels are byte-identical. For the US-born the clock is their age. A foreign-born code with no reviewed codebook interval, or a vintage with no reviewed codebook, is refused. In the national pool the column joins the immigration operator's output family, so ACS rows receive it through the same chained transfer as their status labels, on the donors' integer support, and the transfer then caps each clock it drew at the recipient's whole age plus one, so no ACS row has been in the US longer than it has been alive. The composition summary reports the weighted entry-clock distribution by status, including the LPR share under five years, and the composition gate fails a stored clock that is incomplete, negative or at the engine default for every non-citizen. A base labelled before this change passes through without the clock. The catalog gives the clock the duration unit `years`. The ACS local lane's immigration stage (#1052) reuses the stage's column and engine-default constants and keeps a donor's stored clock, so its `PEINUSYR` bin-year fallback applies only to donors labelled before this change.
Loading
Loading