Where the numbers come from
- Race results and calls: NBC News results feed (Associated Press vote counts, NBC News Decision Desk projections).
- Seat charts and clickable race details: Decision Desk HQ, read from X Elections' public pages. Without an X election ID the charts are built from the NBC data instead.
- State legislative chambers: Wikipedia's state legislative elections page (control before the election, forecaster ratings, results).
- State legislative seats: Decision Desk HQ Votes, collected with a signed-in account every 15 minutes on election night and every 6 hours until the election is final.
How it updates
- On election day the tracker starts on its own at noon, updates every 30 seconds through 3:15 a.m., then checks every 6 hours until every race is called (at most 30 days), and saves the final results to the archive.
- Finished elections stay available here and in History for comparison. The archive is backed up nightly to STORAGE-BAY.
Caveats
- Sources can change between elections. NBC, X and Wikipedia are not official data services. If one changes its format, this site shows a warning and the other sources keep working, but that source needs a fix. Test a few days before every election.
- X seat charts need a new election ID each cycle. X creates a new election page every cycle; its ID has to be added to that election's config. Without it, the seat charts come from NBC data (less detail).
- Seat-level state legislative results need a signed-in Decision Desk HQ session. The collector runs on the server and keeps updating until the election is final, but DDHQ sessions expire; before each election the sign-in has to be refreshed (DDHQ signs in with an emailed link). Without it, legislatures show chamber control from Wikipedia only.
- Some chambers are missing from DDHQ's state pages: the Assembly chambers in California, New York, Nevada and Wisconsin, and Nebraska's single-chamber legislature.
- Wikipedia legislature results are edited by volunteers and lag the news wire.
- "So far" in History means uncalled races are excluded until the election is final.
- Margins are the Democratic minus the Republican percentage for each party's top candidate (D+ / R+). Seat totals include seats not up that year.