GOBLIN HOUSE
[ Enter Database → ]
Structural assertions against elected_officials. Run after any reconcile, seed, or import to confirm we're not silently drifting from the real Congress.
| Status | Check | Detail |
|---|---|---|
| ✗ | Senate total | Expected 100, found 34 (drift = -66). Run scripts/reconcile-congress-roster.ts. |
| ✗ | House total (voting members) | Expected ~435 voting reps, found 398 (drift = -37). Run scripts/reconcile-congress-roster.ts. |
| ✗ | Per-state senator counts (50 states) | 47 states off: AK=0, AL=1, AR=0, AZ=1, CA=1, CT=1, DE=1, FL=1, GA=1, HI=1, IA=0, ID=1, IL=1, IN=0, KS=0, KY=0, LA=0, MA=0, MD=1, MI=1, MN=0, MO=0, MS=1, MT=0, NC=1, ND=0, NE=0, NH=1, NJ=1, NM=1, NV=0, NY=4, OH=1, OK=1, OR=0, RI=0, SC=0, SD=0, TN=0, TX=0, UT=1, VA=1, VT=1, WA=0, WI=0, WV=1, WY=1 |
| ✓ | Canonical chamber labels | Only U.S. Senate / U.S. House in use. |
| ✓ | Canonical state labels (USPS 2-letter) | All states use 2-letter USPS codes. |
| ✓ | Bioguide-slug entities with eo row | Every congress-* entity has an elected_officials row. |
| ✓ | No stray chambers in totals | Total 438 = 34 senate + 404 house. |
| ✓ | Non-voting delegates | 6 delegate rows (DC, PR, VI, GU, MP, AS — non-voting; expected 6). |
Also available as JSON: /congress/roster-health?format=json