Booting · 00:00:00

Tom LEFRERE · Data Scientist

Raw data. A signal.

0%
EN FR

← Portfolio

· css · data · html · java · javascript · ml

Programme Maire, a compatibility quiz for municipal elections

Web app to measure your compatibility with municipal candidates via a lightweight Q&A based on their programs.

Programme Maire, a compatibility quiz for municipal elections

The project

Something I’ve always wanted: know my compatibility rate with different candidates. Tools like that exist for presidentials and legislatives, but never for municipal elections. So I built mine: I collect the candidates’ programs, extract key questions, and the user answers to discover their compatibility with each candidate. There’s obviously a share of interpretation, because municipal positions are rarely very precise, but it’s interesting enough to form an opinion, especially when you don’t know all the candidates in detail.

My contributions

Full design and build: collecting and analyzing programs, Q&A system, compatibility scoring algorithm, and results presentation. The idea was to keep it very direct, especially not to lose the user along the way.

Takeaways

Extracting clear political positions from municipal programs is a real challenge, because many topics stay vague. The scoring system has to be transparent to be credible, which means making the weightings and interpretation choices explicit. And it’s a project that touches civic engagement, which makes it particularly motivating, even if obviously we have to stay humble about the real reach of such a tool.

Context

Personal and civic project, kicked off a bit late for the election (I didn’t have time to ship it publicly on time), but the concept stays relevant and reusable for future deadlines.

Screens

Quiz home
Home
Series of questions
Questions
Compatibility results
Results
Per-candidate detail
Candidate detail

Tech stack

  • Vanilla JavaScript

  • HTML / CSS

  • Local JSON data