Get in touch

All projects

Open tools · 2026 · live

Ekte valgomat

Most election quizzes ask you to agree with a sentence and compare you to a party programme. This one asks a harder question: what did the parties actually do?

Open ektevalgomat.no Open GitHub

Go · YAML · Python

Front page of ektevalgomat.no showing the 60-statement mode, the 12-statement quick mode, and an example Stortinget vote on a public lobby register.
The front page opens with a checkable vote before the quiz starts: the roll call on a public lobby register (Innst. 250 S).

01 / The problem

A party programme is a promise; a roll-call vote is a record. The two disagree more often than voters expect. The easy way to build an election guide is to read the record and write one opinionated verdict per party. That is fast to ship and impossible to audit.

02 / My role

I designed the evidence schema, wrote the harvesting and verification scripts, and built the Go server. Each reading of a source lives in a plain YAML file so anyone can review or challenge it in git.

03 / The constraint

Every party position must trace to a public document a stranger can open. When a statement has no checkable source for a party, that slot stays empty.

04 / Decisions worth arguing about

  1. Store claims as files

    Each file records one claim: which party, what it did, which document, and which verbatim passage. The quiz computes its scores directly from those files, so the statement page and the result page read from the same source.

    COST A single statement can need a dozen files, and the directory grows with every parliamentary session and budget revision.

  2. Check with a script, then read it cold

    A mechanical gate parses each file, confirms the quoted passage exists word for word in the cached source document, and fails the build on a mismatch. A separate review pass checks whether a real quote is being used to back a stretched summary.

    COST A verbatim match only proves the words exist in the document. Whether the passage actually settles the statement still requires a human read.

  3. Show the gap instead of filling it

    Where the parliamentary record is silent, the statement says so and scores no position for that party. Six of the 60 statements have at least one empty party slot rather than a guessed stance.

    COST Coverage is uneven across parties, and the UI shows those gaps in plain sight.

05 / What can be checked

  • 675 evidence files

    Every position in the quiz resolves to a YAML file holding its source, quote and coding. The verification script counts and checks them on every run.

    Go and look
  • Live on ektevalgomat.no

    Statement, party position, and the parliamentary document behind it are all reachable in two clicks from the front page.

    Go and look

06 / What it still cannot do

The quiz only sees what the written record captures. A party that fights in committee remarks rather than plenary votes is harder to pin down, and a multi-year issue forces a choice about which session counts. Both choices are written down per file, and both can be argued with.