New adapter wikimedia.images: Wikidata P18 for people without an official photo, P154 logos for parties and
organisations matched by Wikidata id, Firmenbuch (P5285) or ZVR number (P6279). Licence data from the Commons
file page goes into image_credit (keyed by image URL); official Parliament/EP photos are never replaced.
Web: logos on party cards, party, organisation and organisation-list pages, credit lines under portraits and
logos, image proxy allows upload.wikimedia.org.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When an alias matched more than one organisation, the lookup gave up and the loader created a new record,
which made the name match three next time. A reparse of rtr.medientransparenz (2026-11-20) turned this into
41 duplicate organisations and 3,600 duplicate money flows. pick_org now chooses the exact name, then the same
kind, then the oldest record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- parlament.items (parser 3): a committee finding of no connection to the political activity
(Art. 57 Abs. 3 B-VG) means prosecution may proceed; it was left at 'requested'. Authority and
case number no longer run into the following sentence on older reports.
- rtr.medientransparenz (parser 2): notice type 31 is the ORF's licence-fee income under section 31
ORF-G, not a payment to an organisation named after the paragraph.
- enrich.legal: 'Einstellung der Ermittlungen' is proceedings_dropped, not an investigation.
- reparse -p kinds=a,b replays only responses of these request kinds (no stale sweep then).
- migration 0010 removes the wrong ORF rows and organisations and re-queues the affected headlines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- firmenbuch.search: register number for companies linked to people/parties, only for
one current register entry with the same name
- firmenbuch.extracts: current extracts; officers/shareholders who are politicians in
the database (exact birth date + name, new person hint birth_date) become company_role
claims; nobody else is stored, raw responses are not archived, addresses never read;
the register's daily change list triggers re-extracts
- enrich.firmenbuch closes roles a newer extract no longer lists
- Request.data (raw body, part of the fingerprint); SOAP faults are not retried
- firmenbuch_number drops leading zeros; migration 0009 adds company_role and aligns
stored numbers; internal politrack_org ids are no longer stored as identifiers
- company_role in API types, MCP docs, person money tab, connections, labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- person_by_name rules out homonyms born on another day and prefers the one who sat in
that Landtag; failing an exact name, accepts a unique variant among that Landtag's
members (Rudi/Rudolf, Chiara-Sophia/Chiara, new double surnames)
- normalize() maps ß to ss like SQL unaccent(); migration 0008 aligns stored aliases
- clean_name drops image captions, parenthesised suffixes, LTP, other abbreviations
and zero-width characters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- enrich.events: take the date a sentence names (gestern, am Montag,
am 12. November, 12.11.2026) within 60 days of publication; otherwise the
publication date as before. -p redo=true rebuilds all extracted events.
- enrich.embed: claim cursor instead of rescanning every claim per batch;
a full sweep once a day
- worker-enrich: two concurrent jobs, so one slow enricher can't block the rest
- Loader: empty date strings are stored as no date (a news sitemap with an
empty publication date failed every 20 minutes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every daily and weekly source missed two days in November 2026: Procrastinate
skips a periodic slot that is more than ten minutes overdue, and jobs of
killed workers stayed "doing" forever. Every ten minutes the watchdog fails
jobs of dead workers, closes abandoned run records and defers any scheduled
task whose last slot passed without a run.
Also: EP vote references of joint motions and Council documents, and the
loader now refreshes a vote's reference and stage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
National Council 2024 and 2019 and EU 2024: party results for Austria and
the states, and preference votes of candidates who resolve to a known
politician (exact name plus birth year where published). New claim type
election_result, new resolver hint birth_year.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
They come from the same responses as final votes. A sitting has over a
hundred, so they are flagged part_vote and only appear on request: the vote
lists have an option for them, feeds, counts and search chunks leave them out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
social.x_deletions checks stored posts through the official API. A post X
reports as not found keeps a marked record (author, link, dates, Internet
Archive link if a copy exists) while every copy of its text is removed, as
the Developer Agreement requires. A post that shows up in the timeline again
is restored by the normal upsert.
mcp 2.x removed FastMCP, which crash-looped the MCP server on first deploy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Initial import of Politrack, a self-hosted service that tracks Austrian
politicians from federal to municipal level - roles, votes, money flows,
statements, meetings, social media and legal proceedings - with every claim
linked to its sources.
- backend: FastAPI + Postgres/pgvector; adapter framework (fetch -> parse ->
load -> enrich) with robots.txt/TDM-aware fetching, a raw-response archive
for reparsing, and a claim/evidence model with corroboration
- sources: Parliament, Wikidata, EU Parliament/Commission, Council of
Ministers, Rechnungshof party reports and donations, procurement, RTR media
transparency, political ad libraries, WKStA, news feeds, Wikipedia edits,
Bluesky, Mastodon, public Telegram channels, YouTube and X (official API)
- web: Next.js frontend in German and English with typed API client
- mcp: MCP server for AI agents and RAG
- docs: architecture, data model, sources, legal notes, Unraid deployment and
contributor guides; Docker Compose setup for Unraid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>