Method card · v0.1
How the demo is built
This page exists so that the numbers can be argued with. Every figure on the demo page comes from the pipeline described here, run on public data, with no manual edits between parse and publish.
This is a method demonstration, not a live forecasting product. Nothing here is being run as a public prediction, and no probability on the demo page should be read as a view about November. What is real is the machinery: the inputs are public, the parameters are stated, the snapshot is frozen, and the errors are not hidden.
本页说明的是方法与误差,不是预测结论。
1. Inputs
- Race universe. Wikipedia raw wikitext for the 2026 Senate, House and gubernatorial election pages, retrieved 2026-10-29 (Wikipedia race-rating tables; rating dates 10-15 ~ 10-29). Parsed: 35 Senate races (33 Class 2 seats plus the Florida and Ohio specials), 435 House districts, 36 governor races.
- Expert ratings. The multi-agency prediction tables carried on those pages — up to eleven raters, depending on the chamber (Cook, Inside Elections, Sabato, DDHQ, The Economist, FPO, Fox, NBC, RCP, Silver Bulletin, Split Ticket) — normalized to seven levels and a signed median per race. The House table covers 145 districts; the rest are treated as decided.
- National environment. Five generic-ballot aggregators averaged on 27 October: R 43.0, D 51.5, other 5.5, two-party normalized to -8.99 (negative = Democratic).
2. Race-level expectation
For each race, the structural margin is the district or state's partisan lean plus a damped national environment plus an incumbency term:
structural = PVI + 0.65 * national_margin + incumbency incumbency = +2.0 (R incumbent running) / -2.0 (D incumbent running) / 0 (open) expected = 0.5 * structural + 0.5 * rating_margin [if >= 3 raters] expected = structural [otherwise]
The 0.65 elasticity is the one substantive modelling choice here: congressional results respond less than one-for-one to presidential lean, because state and district partisanship is sticky. Rating margins map seven levels to ±18, ±11, ±5.5 and 0 points. Both are choices rather than estimates, and both are stated here so that a reader who prefers different values can re-run the pipeline and see what moves.
3. Uncertainty
50,000 draws, fixed seed. Errors are additive on the margin, Student-t with five degrees of freedom (fat tails, so a polling miss produces a real miss rather than a shrug):
margin = expected + national_shock + local_shock national_shock ~ t(5) * 3.0 state_shock ~ t(5) * 6.5 (Senate, governors) district_shock ~ t(5) * 8.0 (House)
The national shock is shared, so races co-move: that is why the chamber distributions are wider than the sum of the individual races would suggest.
4. The one calibrated parameter
Applying the structural model directly to the House produced 247 Democratic seats; the 145 rated districts imply 230.7. That gap is not noise — it is the model over-responding in seats. We therefore add a single intercept, solved so that the deterministic seat count equals the rating-implied count at this environment: 2.17 points toward Republicans. The Senate and governor models are uncalibrated.
Stated plainly: the House point estimate is an anchor to the raters, not an independent finding. What is not anchored is the shape of the distribution, and that is what the probability depends on.
5. What the model does not know
- Candidate quality beyond ratings. Ratings summarize it; they do not forecast its late movement. A scandal in the final week is outside the error model.
- Redistricting litigation. Several 2026 maps are contested. If a map changes after 29 October, the district file is stale and the House number is not meaningful.
- Differential turnout and the 2026 electorate's composition. No likely-voter model: the generic ballot is used as-is.
- Polling-error correlation across states. One national shock plus independent local shocks understates the chance that, say, Maine and North Carolina both miss the same way.
- Runoffs and post-election rules (Georgia's runoff, ranked-choice tabulations) are ignored; the model reports first-round probability only.
6. Known biases, in order of size
- Too many competitive districts. 124 districts land inside ±10 points of a tie, against roughly 60–70 in practice. The consequence is a steeper seat-vote slope than history (4.4 seats per point of national margin in our re-runs, against roughly 2.5 since 2018) and intervals that are probably too wide.
- Ratings treated as current. They are dated 15–29 October; a rating revised after retrieval is invisible to this snapshot.
- Seven House districts parsed without an incumbent party and 5 with an unresolved candidacy status. They carry no incumbency term.
- Senate PVI is a crude prior. State-level Senate results have candidate-specific patterns that a presidential lean does not capture; the ratings blend is the only correction.
7. Validation actually performed
- Row counts reconcile with delegation sizes (435 districts, 35 Senate races, 36 governorships).
- Party totals reconcile with the sitting House (220 R, 208 D, 7 unresolved).
- All three probability distributions sum to 1.0; spot checks of parsed lean, incumbency and status against the raw wikitext for PA-1, NY-17, CA-13 and TX-34.
- Parsing failures that would have silently biased the call were found and fixed: districts with an
EVENlean and no magnitude were dropped (Michigan plus seven House districts), Minnesota's DFL shading read as unaffiliated, and the incumbency column was matching candidate lists instead of the party cell — the last alone moved expected House seats by about sixty.
8. Versioning, and what scoring would take
Snapshots are frozen: any change — new polls, a revised rating, a fixed bug — produces v0.2 with its own hash, and this file is never edited. That discipline is the part worth keeping. What a live version would add is grading: a Brier score per chamber against the actual result, published next to the original call, including where it was wrong. We are not claiming that status here — the demo has no result to be scored against yet, and saying otherwise would be the exact overclaim this page is meant to prevent.
Snapshot SHA-256: 12efb04d29ff1741630d82ce08559da726360c0d4e0237e1bcb209c1a0cb7c42
Pipeline: scripts/forecast/parse_model.py · checks: scripts/forecast/verify.py · figures: scripts/forecast/figs.py