Writing

Elections & public data

How Àgora is made: where the promises of the 2023 manifestos, the votes of the XV legislature and the polls come from, how an AI extracts and assesses the promises under mechanical checks, and why the results are shown on two scales instead of a single percentage.

Also the engineering around an election: how polls become a projection of seats, and how a site with no server goes quiet when the law bans publishing polls. Every article says what the method gets wrong.

Projects: Àgora

Elections & public data Fran

Why Àgora has no live results feed on election night

Àgora publishes the 29 November result once, from a script that validates a CSV or the Interior ministry JSON, checks seats with D'Hondt and refuses to write on errors.

Elections & public data Fran

How a static site goes quiet for a poll blackout

How Àgora, a static site on Cloudflare, stops showing polls and its projection from 24 November: a build flag, a client guard, timed redeploys and the tests.

Elections & public data Fran

How Àgora finds your census section in the browser

How Àgora shows how your census section voted on 23J (2023) and 10N (2019) with static map files and no server: what is sent, what stays put and what it gets wrong.

Elections & public data Fran

From polls to seats: how Àgora projects the Congress

How Àgora turns a weighted poll average into Congress seats: swing per province, D'Hondt in 52 districts, 10,000 simulations and a backtest on 2019 and 2023.

Other lines