ProjectsData engineering

The forecast record: releases, history and reconstruction

The system that makes every COYNTOSS number checkable: immutable release snapshots, an append-only history of every race’s forecast, reconstructions of past days built from frozen inputs, and an automated release gate that blocks a deploy when any check fails.

Model changes and release notes

Status
Infrastructure
Period
2026 cycle onward
Release records
161
Race histories
71
Checks in the release gate
44
Reconstruction exports
124

My role

Designed and built by @achasecoyne: the release staging and validation scripts, the history ledger, the reconstruction runbook and the deployment workflow.

The problem

A forecast that changes every day is easy to revise quietly and hard to hold to account. Spreadsheets get edited, pages get regenerated, and the version a reader saw last Tuesday can disappear. The record exists so that it cannot: every published figure traces to one identified snapshot, and the past is never rewritten.

What was built

  • One identified, validated, immutable snapshot per release, with the snapshot ID, model-run time, data-through time, publication time and site build time kept as separate fields.
  • An append-only forecast-history ledger for every race, from which the per-race margin and probability charts are drawn. A correction is a new linked record, never an edit.
  • Reconstructions of past dates (snapshot IDs of the form YYYY-MM-DD-RNN) produced from frozen inputs under a written runbook, and labeled on the charts so they are never mistaken for forecasts published at the time.
  • A release gate that runs the full validation suite before anything deploys: cross-file agreement, provenance hashes, history integrity, map and route checks, and regression tests for every interactive tool. Pushing to the main branch deploys only after it passes.
  • Static pages that carry each forecast’s core numbers in the HTML before any JavaScript runs, so an optional chart or map failing can never hide the forecast itself.

Why it matters

Anyone can check what COYNTOSS said on a given day, which release it came from and which model version produced it. That is what makes the 2026 grades on the review page meaningful: the forecast being graded is the forecast that was published.

Results

Every figure below is computed from the published data at build time and links to the page it comes from.

MeasureValueSource
Final Senate release preserved2026-11-03-02Source
Final Senate simulation runRETRO-20261103-R02Source
Model version of recordv0.53.1Source

Limitations

  • Reconstructed days can differ from the estimates that were actually published on those days; the charts identify which series they show.
  • Some provenance links in the production chain remain unverified in the project’s own decision log, such as byte-for-byte parity between the source workbook’s web endpoint and the deployed files.