refactor(embeddings): PROGRAMME-Literal entfernt, Re-Export aus programme.py

Folge-Schritt zu #222 (Commit bd591b9): Das große Datenliteral in
``embeddings.py`` (~280 Einträge, 712 Zeilen) wird durch einen
Re-Export aus ``programme.PROGRAMME`` ersetzt. Damit existieren die
Programm-Stammdaten endgültig nur noch an einer Stelle.

Schema-Brücke: Die ``chunks``-Tabelle führt ``typ`` als alte Sammel-
Bezeichnung (``wahlprogramm`` oder ``parteiprogramm``).
``programme.PROGRAMME`` differenziert ``grundsatzprogramm-bund`` vs.
``grundsatzprogramm-land``. Beim Re-Export werden beide auf
``parteiprogramm`` gemappt — alte Chunks und neue Indexierungen
tragen denselben typ-String, der Filter in
``get_relevant_quotes_for_antrag`` (typ="parteiprogramm") deckt
beide Grundsatzprogramm-Varianten weiter ab.

embeddings.py schrumpft von 1574 auf 926 Zeilen (−648). Tests
unverändert grün (1217 passed).
This commit is contained in:
Dotty Dotter 2026-05-09 00:46:34 +02:00
parent bd591b9246
commit d5c96e6888

View File

@ -29,719 +29,30 @@ EMBEDDING_DIMENSIONS = settings.embedding_dimensions
EMBEDDINGS_DB = settings.data_dir / "embeddings.db"
# Programme definitions
PROGRAMME = {
# Wahlprogramme NRW 2022
"spd-nrw-2022": {
"name": "SPD NRW Wahlprogramm 2022",
"typ": "wahlprogramm",
"partei": "SPD",
"bundesland": "NRW",
"pdf": "spd-nrw-2022.pdf",
},
"cdu-nrw-2022": {
"name": "CDU NRW Wahlprogramm 2022",
"typ": "wahlprogramm",
"partei": "CDU",
"bundesland": "NRW",
"pdf": "cdu-nrw-2022.pdf",
},
"gruene-nrw-2022": {
"name": "Grüne NRW Wahlprogramm 2022",
"typ": "wahlprogramm",
"partei": "GRÜNE",
"bundesland": "NRW",
"pdf": "gruene-nrw-2022.pdf",
},
"fdp-nrw-2022": {
"name": "FDP NRW Wahlprogramm 2022",
"typ": "wahlprogramm",
"partei": "FDP",
"bundesland": "NRW",
"pdf": "fdp-nrw-2022.pdf",
},
"afd-nrw-2022": {
"name": "AfD NRW Wahlprogramm 2022",
"typ": "wahlprogramm",
"partei": "AfD",
"bundesland": "NRW",
"pdf": "afd-nrw-2022.pdf",
},
# NRW WP17 — historisch (LTW 14.05.2017, Geltung bis Wahl WP18 am
# 15.05.2022). Programme deckten Kabinette Laschet I (CDU+FDP) +
# Wüst I (CDU+FDP, ab 2021-10-27).
"cdu-nrw-2017": {
"name": "CDU NRW Regierungsprogramm 2017",
"typ": "wahlprogramm",
"partei": "CDU",
"bundesland": "NRW",
"pdf": "cdu-nrw-2017.pdf",
"gueltig_ab": "2017-05-14",
"gueltig_bis": "2022-05-15",
"wp": 17,
},
"spd-nrw-2017": {
"name": "SPD NRW Regierungsprogramm 2017",
"typ": "wahlprogramm",
"partei": "SPD",
"bundesland": "NRW",
"pdf": "spd-nrw-2017.pdf",
"gueltig_ab": "2017-05-14",
"gueltig_bis": "2022-05-15",
"wp": 17,
},
"gruene-nrw-2017": {
"name": "Grüne NRW Wahlprogramm 2017",
"typ": "wahlprogramm",
"partei": "GRÜNE",
"bundesland": "NRW",
"pdf": "gruene-nrw-2017.pdf",
"gueltig_ab": "2017-05-14",
"gueltig_bis": "2022-05-15",
"wp": 17,
},
"fdp-nrw-2017": {
"name": "FDP NRW Wahlprogramm 2017",
"typ": "wahlprogramm",
"partei": "FDP",
"bundesland": "NRW",
"pdf": "fdp-nrw-2017.pdf",
"gueltig_ab": "2017-05-14",
"gueltig_bis": "2022-05-15",
"wp": 17,
},
"afd-nrw-2017": {
"name": "AfD NRW Wahlprogramm 2017",
"typ": "wahlprogramm",
"partei": "AfD",
"bundesland": "NRW",
"pdf": "afd-nrw-2017.pdf",
"gueltig_ab": "2017-05-14",
"gueltig_bis": "2022-05-15",
"wp": 17,
},
# Sachsen-Anhalt (LTW 2021)
"cdu-lsa-2021": {
"name": "CDU Sachsen-Anhalt Regierungsprogramm 2021",
"typ": "wahlprogramm",
"partei": "CDU",
"bundesland": "LSA",
"pdf": "cdu-lsa-2021.pdf",
},
"spd-lsa-2021": {
"name": "SPD Sachsen-Anhalt Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "SPD",
"bundesland": "LSA",
"pdf": "spd-lsa-2021.pdf",
},
"gruene-lsa-2021": {
"name": "Grüne Sachsen-Anhalt Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "GRÜNE",
"bundesland": "LSA",
"pdf": "gruene-lsa-2021.pdf",
},
"fdp-lsa-2021": {
"name": "FDP Sachsen-Anhalt Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "FDP",
"bundesland": "LSA",
"pdf": "fdp-lsa-2021.pdf",
},
"afd-lsa-2021": {
"name": "AfD Sachsen-Anhalt Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "AfD",
"bundesland": "LSA",
"pdf": "afd-lsa-2021.pdf",
},
"linke-lsa-2021": {
"name": "DIE LINKE Sachsen-Anhalt Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "LINKE",
"bundesland": "LSA",
"pdf": "linke-lsa-2021.pdf",
},
# Mecklenburg-Vorpommern (LTW 26.09.2021, WP 8) — Issue #4
"cdu-mv-2021": {
"name": "CDU Mecklenburg-Vorpommern Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "CDU",
"bundesland": "MV",
"pdf": "cdu-mv-2021.pdf",
},
"spd-mv-2021": {
"name": "SPD Mecklenburg-Vorpommern Regierungsprogramm 2021",
"typ": "wahlprogramm",
"partei": "SPD",
"bundesland": "MV",
"pdf": "spd-mv-2021.pdf",
},
"gruene-mv-2021": {
"name": "Grüne Mecklenburg-Vorpommern Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "GRÜNE",
"bundesland": "MV",
"pdf": "gruene-mv-2021.pdf",
},
"fdp-mv-2021": {
"name": "FDP Mecklenburg-Vorpommern Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "FDP",
"bundesland": "MV",
"pdf": "fdp-mv-2021.pdf",
},
"afd-mv-2021": {
"name": "AfD Mecklenburg-Vorpommern Landeswahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "AfD",
"bundesland": "MV",
"pdf": "afd-mv-2021.pdf",
},
"linke-mv-2021": {
"name": "DIE LINKE Mecklenburg-Vorpommern Zukunftsprogramm 2021",
"typ": "wahlprogramm",
"partei": "LINKE",
"bundesland": "MV",
"pdf": "linke-mv-2021.pdf",
},
# Berlin (AGH-Wahl 26.09.2021, Wiederholung 12.02.2023, WP 19) —
# Issue #10. Programme stammen aus dem Wahlkampf 2021 — die
# Wiederholungswahl 2023 nutzte dieselben Programme.
"cdu-be-2023": {
"name": "CDU Berlin Berlin-Plan 2021",
"typ": "wahlprogramm",
"partei": "CDU",
"bundesland": "BE",
"pdf": "cdu-be-2023.pdf",
},
"spd-be-2023": {
"name": "SPD Berlin Wahlprogramm AGH 2021",
"typ": "wahlprogramm",
"partei": "SPD",
"bundesland": "BE",
"pdf": "spd-be-2023.pdf",
},
"gruene-be-2023": {
"name": "Grüne Berlin Landeswahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "GRÜNE",
"bundesland": "BE",
"pdf": "gruene-be-2023.pdf",
},
"linke-be-2023": {
"name": "DIE LINKE Berlin Wahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "LINKE",
"bundesland": "BE",
"pdf": "linke-be-2023.pdf",
},
"afd-be-2023": {
"name": "AfD Berlin Wahlprogramm AGH 2021",
"typ": "wahlprogramm",
"partei": "AfD",
"bundesland": "BE",
"pdf": "afd-be-2023.pdf",
},
# Thüringen — LTW 01.09.2024, WP 8 (Issue #37)
"cdu-th-2024": {"name": "CDU Thüringen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "TH", "pdf": "cdu-th-2024.pdf"},
"afd-th-2024": {"name": "AfD Thüringen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "TH", "pdf": "afd-th-2024.pdf"},
"linke-th-2024": {"name": "DIE LINKE Thüringen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "TH", "pdf": "linke-th-2024.pdf"},
"bsw-th-2024": {"name": "BSW Thüringen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "BSW", "bundesland": "TH", "pdf": "bsw-th-2024.pdf"},
"spd-th-2024": {"name": "SPD Thüringen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "TH", "pdf": "spd-th-2024.pdf"},
# Brandenburg — LTW 22.09.2024, WP 8 (Issue #39)
"spd-bb-2024": {"name": "SPD Brandenburg Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BB", "pdf": "spd-bb-2024.pdf"},
"afd-bb-2024": {"name": "AfD Brandenburg Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BB", "pdf": "afd-bb-2024.pdf"},
"cdu-bb-2024": {"name": "CDU Brandenburg Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BB", "pdf": "cdu-bb-2024.pdf"},
"bsw-bb-2024": {"name": "BSW Brandenburg Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "BSW", "bundesland": "BB", "pdf": "bsw-bb-2024.pdf"},
# Hamburg — Bürgerschaftswahl 02.03.2025, WP 23 (Issue #40)
"spd-hh-2025": {"name": "SPD Hamburg Wahlprogramm 2025", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HH", "pdf": "spd-hh-2025.pdf"},
"cdu-hh-2025": {"name": "CDU Hamburg Wahlprogramm 2025", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HH", "pdf": "cdu-hh-2025.pdf"},
"gruene-hh-2025": {"name": "Grüne Hamburg Regierungsprogramm 2025", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HH", "pdf": "gruene-hh-2025.pdf"},
"linke-hh-2025": {"name": "DIE LINKE Hamburg Wahlprogramm 2025", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HH", "pdf": "linke-hh-2025.pdf"},
"afd-hh-2025": {"name": "AfD Hamburg Wahlprogramm 2025", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HH", "pdf": "afd-hh-2025.pdf"},
# Schleswig-Holstein — LTW 08.05.2022, WP 20 (Issue #32)
"cdu-sh-2022": {"name": "CDU Schleswig-Holstein Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SH", "pdf": "cdu-sh-2022.pdf"},
"spd-sh-2022": {"name": "SPD Schleswig-Holstein Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SH", "pdf": "spd-sh-2022.pdf"},
"gruene-sh-2022": {"name": "Grüne Schleswig-Holstein Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SH", "pdf": "gruene-sh-2022.pdf"},
"fdp-sh-2022": {"name": "FDP Schleswig-Holstein Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "SH", "pdf": "fdp-sh-2022.pdf"},
"ssw-sh-2022": {"name": "SSW Schleswig-Holstein Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "SSW", "bundesland": "SH", "pdf": "ssw-sh-2022.pdf"},
# Baden-Württemberg — LTW 14.03.2021, WP 17 (Issue #41)
"gruene-bw-2021": {"name": "Grüne Baden-Württemberg Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BW", "pdf": "gruene-bw-2021.pdf"},
"cdu-bw-2021": {"name": "CDU Baden-Württemberg Regierungsprogramm 2021", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BW", "pdf": "cdu-bw-2021.pdf"},
"afd-bw-2021": {"name": "AfD Baden-Württemberg Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BW", "pdf": "afd-bw-2021.pdf"},
"spd-bw-2021": {"name": "SPD Baden-Württemberg Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BW", "pdf": "spd-bw-2021.pdf"},
"fdp-bw-2021": {"name": "FDP Baden-Württemberg Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BW", "pdf": "fdp-bw-2021.pdf"},
# Rheinland-Pfalz — LTW 14.03.2021, WP 18 (Issue #42)
"spd-rp-2021": {"name": "SPD Rheinland-Pfalz Regierungsprogramm 2021", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "RP", "pdf": "spd-rp-2021.pdf"},
"cdu-rp-2021": {"name": "CDU Rheinland-Pfalz Regierungsprogramm 2021", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "RP", "pdf": "cdu-rp-2021.pdf"},
"afd-rp-2021": {"name": "AfD Rheinland-Pfalz Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "RP", "pdf": "afd-rp-2021.pdf"},
"gruene-rp-2021": {"name": "Grüne Rheinland-Pfalz Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "RP", "pdf": "gruene-rp-2021.pdf"},
"fw-rp-2021": {"name": "FREIE WÄHLER Rheinland-Pfalz Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "FREIE WÄHLER", "bundesland": "RP", "pdf": "fw-rp-2021.pdf"},
"fdp-rp-2021": {"name": "FDP Rheinland-Pfalz Wahlprogramm 2021", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "RP", "pdf": "fdp-rp-2021.pdf"},
# Grundsatzprogramme (Bund) — Gültigkeit ab Beschluss-Datum durch den
# jeweils höchsten Parteitag. ``gueltig_bis=None`` solange das Programm
# nicht durch ein neueres ersetzt wurde.
"spd-grundsatz": {
"name": "SPD Hamburger Programm 2007",
"typ": "parteiprogramm",
"partei": "SPD",
"pdf": "spd-grundsatzprogramm.pdf",
"gueltig_ab": "2007-10-28", # Hamburger Parteitag
"gueltig_bis": None,
},
"cdu-grundsatz": {
"name": "CDU Grundsatzprogramm 2024",
"typ": "parteiprogramm",
"partei": "CDU",
"pdf": "cdu-grundsatzprogramm.pdf",
"gueltig_ab": "2024-05-07", # Bundesparteitag Berlin, löst das
"gueltig_bis": None, # Hannoveraner Programm 2007 ab
},
"gruene-grundsatz": {
"name": "Grüne Grundsatzprogramm 2020",
"typ": "parteiprogramm",
"partei": "GRÜNE",
"pdf": "gruene-grundsatzprogramm.pdf",
"gueltig_ab": "2020-11-22", # 46. Bundesversammlung (digital)
"gueltig_bis": None,
},
"fdp-grundsatz": {
"name": "FDP Karlsruher Freiheitsthesen 2012",
"typ": "parteiprogramm",
"partei": "FDP",
"pdf": "fdp-grundsatzprogramm.pdf",
"gueltig_ab": "2012-04-22", # Bundesparteitag Karlsruhe
"gueltig_bis": None,
},
"afd-grundsatz": {
"name": "AfD Grundsatzprogramm 2016",
"typ": "parteiprogramm",
"partei": "AfD",
"pdf": "afd-grundsatzprogramm.pdf",
"gueltig_ab": "2016-05-01", # Bundesparteitag Stuttgart
"gueltig_bis": None,
},
"linke-grundsatz": {
"name": "DIE LINKE Erfurter Programm 2011",
"typ": "parteiprogramm",
"partei": "LINKE",
"pdf": "linke-grundsatzprogramm.pdf",
"gueltig_ab": "2011-10-23", # Bundesparteitag Erfurt
"gueltig_bis": None,
},
# CSU Grundsatzprogramm 2023 — beschlossen 2023-05-06 in Nürnberg.
# CSU als reine Landespartei: bundesland=BY, das Programm ersetzt zugleich
# ein Bundes-Grundsatz für die Partei (CSU sitzt im Bundestag).
"csu-grundsatz": {
"name": "CSU Grundsatzprogramm 2023",
"typ": "parteiprogramm",
"partei": "CSU",
"bundesland": "BY",
"pdf": "csu-grundsatz-2023.pdf",
"gueltig_ab": "2023-05-06",
"gueltig_bis": None,
},
# Landesgrundsatzprogramme — typ=parteiprogramm mit bundesland-Feld.
"cdu-grundsatz-nrw": {
"name": "CDU NRW Grundsatzprogramm 2015",
"typ": "parteiprogramm",
"partei": "CDU",
"bundesland": "NRW",
"pdf": "cdu-grundsatz-nrw-2015.pdf",
"gueltig_ab": "2015-06-13", # 37. Landesparteitag Essen
"gueltig_bis": None,
},
"cdu-grundsatz-sn": {
"name": "CDU Sachsen Grundsatzprogramm 2023",
"typ": "parteiprogramm",
"partei": "CDU",
"bundesland": "SN",
"pdf": "cdu-grundsatz-sn-2023.pdf",
"gueltig_ab": "2023-11-20", # 38. Landesparteitag Chemnitz
"gueltig_bis": None,
},
"cdu-grundsatz-lsa": {
"name": "CDU Sachsen-Anhalt Grundsatzprogramm 2023",
"typ": "parteiprogramm",
"partei": "CDU",
"bundesland": "LSA",
"pdf": "cdu-grundsatz-lsa-2023.pdf",
"gueltig_ab": "2023-09-30", # 32. Landesparteitag Magdeburg
"gueltig_bis": None,
},
"ssw-grundsatz": {
"name": "SSW Rahmenprogramm 2016",
"typ": "parteiprogramm",
"partei": "SSW",
"bundesland": "SH",
"pdf": "ssw-grundsatz-sh-2016.pdf",
"gueltig_ab": "2016-04-16", # außerordentlicher Parteitag Harrislee
"gueltig_bis": None,
},
# FREIE WÄHLER Bundesgrundsatzprogramm — die Partei ist nicht im
# Bundestag, das Programm gilt aber bundesweit für FW-Landesverbände
# (BY in Regierung, RP in Opposition).
"fw-grundsatz": {
"name": "FREIE WÄHLER Bundesgrundsatzprogramm",
"typ": "parteiprogramm",
"partei": "FREIE WÄHLER",
"pdf": "fw-grundsatz.pdf",
"gueltig_ab": "2012-02-25", # Bundesvereinigungs-Gründung als Partei; mehrfach fortgeschrieben (Stand 09/2025)
"gueltig_bis": None,
},
# Bayern — LTW 08.10.2023, WP 19
"csu-by-2023": {"name": "CSU Bayernplan 2023", "typ": "wahlprogramm", "partei": "CSU", "bundesland": "BY", "pdf": "csu-by-2023.pdf"},
"gruene-by-2023": {"name": "Grüne Bayern Regierungsprogramm 2023", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BY", "pdf": "gruene-by-2023.pdf"},
"fw-by-2023": {"name": "FREIE WÄHLER Bayern Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "FREIE WÄHLER", "bundesland": "BY", "pdf": "fw-by-2023.pdf"},
"afd-by-2023": {"name": "AfD Bayern Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BY", "pdf": "afd-by-2023.pdf"},
"spd-by-2023": {"name": "SPD Bayern Zukunftsprogramm 2023", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BY", "pdf": "spd-by-2023.pdf"},
# Niedersachsen — LTW 09.10.2022, WP 19
"spd-ni-2022": {"name": "SPD Niedersachsen Regierungsprogramm 2022", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "NI", "pdf": "spd-ni-2022.pdf"},
"cdu-ni-2022": {"name": "CDU Niedersachsen Regierungsprogramm 2022", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "NI", "pdf": "cdu-ni-2022.pdf"},
"gruene-ni-2022": {"name": "Grüne Niedersachsen Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "NI", "pdf": "gruene-ni-2022.pdf"},
"afd-ni-2022": {"name": "AfD Niedersachsen Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "NI", "pdf": "afd-ni-2022.pdf"},
# Saarland — LTW 27.03.2022, WP 17
"spd-sl-2022": {"name": "SPD Saarland Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SL", "pdf": "spd-sl-2022.pdf"},
"cdu-sl-2022": {"name": "CDU Saarland Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SL", "pdf": "cdu-sl-2022.pdf"},
"afd-sl-2022": {"name": "AfD Saarland Wahlprogramm 2022", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "SL", "pdf": "afd-sl-2022.pdf"},
# Bremen — Bürgerschaftswahl 14.05.2023, WP 21
"spd-hb-2023": {"name": "SPD Bremen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HB", "pdf": "spd-hb-2023.pdf"},
"cdu-hb-2023": {"name": "CDU Bremen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HB", "pdf": "cdu-hb-2023.pdf"},
"gruene-hb-2023": {"name": "Grüne Bremen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HB", "pdf": "gruene-hb-2023.pdf"},
"linke-hb-2023": {"name": "DIE LINKE Bremen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HB", "pdf": "linke-hb-2023.pdf"},
# AfD Bremen 2023: von der Bürgerschaftswahl ausgeschlossen (Listenstreit)
# Hessen — LTW 08.10.2023, WP 21
"cdu-he-2023": {"name": "CDU Hessen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HE", "pdf": "cdu-he-2023.pdf"},
"afd-he-2023": {"name": "AfD Hessen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HE", "pdf": "afd-he-2023.pdf"},
"spd-he-2023": {"name": "SPD Hessen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HE", "pdf": "spd-he-2023.pdf"},
"gruene-he-2023": {"name": "Grüne Hessen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HE", "pdf": "gruene-he-2023.pdf"},
"fdp-he-2023": {"name": "FDP Hessen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HE", "pdf": "fdp-he-2023.pdf"},
# Sachsen — LTW 01.09.2024, WP 8
"cdu-sn-2024": {"name": "CDU Sachsen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SN", "pdf": "cdu-sn-2024.pdf"},
"afd-sn-2024": {"name": "AfD Sachsen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "SN", "pdf": "afd-sn-2024.pdf"},
"bsw-sn-2024": {"name": "BSW Sachsen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "BSW", "bundesland": "SN", "pdf": "bsw-sn-2024.pdf"},
"spd-sn-2024": {"name": "SPD Sachsen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SN", "pdf": "spd-sn-2024.pdf"},
"linke-sn-2024": {"name": "DIE LINKE Sachsen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "SN", "pdf": "linke-sn-2024.pdf"},
"gruene-sn-2024": {"name": "Grüne Sachsen Wahlprogramm 2024", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SN", "pdf": "gruene-sn-2024.pdf"},
# Bundestagswahl 23.02.2025 — Kabinett Merz I, vereidigt 06.05.2025.
# Acht im 21. Bundestag relevante Parteien. Die Grundsatzprogramme
# oben bleiben als zweite Referenz erhalten.
"cdu-bund-2025": {"name": "CDU Wahlprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BUND", "pdf": "cdu-bund-2025.pdf"},
"csu-bund-2025": {"name": "CSU Wahlprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "CSU", "bundesland": "BUND", "pdf": "csu-bund-2025.pdf"},
"spd-bund-2025": {"name": "SPD Regierungsprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BUND", "pdf": "spd-bund-2025.pdf"},
"gruene-bund-2025": {"name": "Grüne Regierungsprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BUND", "pdf": "gruene-bund-2025.pdf"},
"fdp-bund-2025": {"name": "FDP Wahlprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BUND", "pdf": "fdp-bund-2025.pdf"},
"afd-bund-2025": {"name": "AfD Bundestagswahlprogramm 2025", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BUND", "pdf": "afd-bund-2025.pdf"},
"linke-bund-2025": {"name": "DIE LINKE Wahlprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BUND", "pdf": "linke-bund-2025.pdf"},
"bsw-bund-2025": {"name": "BSW Wahlprogramm Bundestagswahl 2025", "typ": "wahlprogramm", "partei": "BSW", "bundesland": "BUND", "pdf": "bsw-bund-2025.pdf"},
# Bundestag WP20 — historisch (BTW 26.09.2021, Kabinett Scholz I Ampel
# SPD+GRÜNE+FDP). Geltung ab Wahltag 2021-09-26 bis Wahltag BTW 2025
# (2025-02-23, exklusiv). 7 Parteien (CDU+CSU als getrennte Eintraege —
# CSU hat eigenstaendige Bayern-Fokus-Version zusaetzlich zum
# gemeinsamen CDU/CSU-Programm).
"cdu-bund-2021": {
"name": "CDU/CSU Programm fuer Stabilitaet und Erneuerung 2021",
"typ": "wahlprogramm",
"partei": "CDU",
"bundesland": "BUND",
"pdf": "cdu-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
"csu-bund-2021": {
"name": "CSU-Programm Bundestagswahl 2021",
"typ": "wahlprogramm",
"partei": "CSU",
"bundesland": "BUND",
"pdf": "csu-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
"spd-bund-2021": {
"name": "SPD Zukunftsprogramm Bundestagswahl 2021",
"typ": "wahlprogramm",
"partei": "SPD",
"bundesland": "BUND",
"pdf": "spd-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
"gruene-bund-2021": {
"name": "Gruene Bundestagswahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "GRÜNE",
"bundesland": "BUND",
"pdf": "gruene-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
"fdp-bund-2021": {
"name": "FDP Wahlprogramm Bundestagswahl 2021",
"typ": "wahlprogramm",
"partei": "FDP",
"bundesland": "BUND",
"pdf": "fdp-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
"afd-bund-2021": {
"name": "AfD Bundestagswahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "AfD",
"bundesland": "BUND",
"pdf": "afd-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
"linke-bund-2021": {
"name": "DIE LINKE Bundestagswahlprogramm 2021",
"typ": "wahlprogramm",
"partei": "LINKE",
"bundesland": "BUND",
"pdf": "linke-bund-2021.pdf",
"gueltig_ab": "2021-09-26",
"gueltig_bis": "2025-02-23",
"wp": 20,
},
# Generated embeddings.PROGRAMME entries — historische Wahlprogramme Block 2.3
# Programme-Daten — Re-Export aus programme.PROGRAMME (Single Source of
# Truth seit #222). Das alte embeddings.PROGRAMME-Literal mit ~280
# Einträgen ist hier weg; statt dessen wird die programme-Registry
# beim Modul-Import einmal in das Embeddings-Schema übersetzt.
#
# Schema-Unterschied: Die ``chunks``-Tabelle führt ``typ`` als
# Sammel-Bezeichnung (``wahlprogramm`` oder ``parteiprogramm``).
# programme.PROGRAMME differenziert zusätzlich ``grundsatzprogramm-bund``
# vs. ``grundsatzprogramm-land`` — beim Re-Export werden beide auf
# ``parteiprogramm`` gemappt, damit alte Chunks (vor #222) und neue
# Indexierungen denselben typ-String tragen und der Filter
# ``typ="parteiprogramm"`` weiter beide Varianten abdeckt.
def _to_embeddings_format(prog: dict) -> dict:
info = dict(prog)
typ = info.get("typ", "")
if typ.startswith("grundsatzprogramm"):
info["typ"] = "parteiprogramm"
return info
# BB WP7 — historisch (Wahl 2019-09-01, gueltig bis 2024-09-22)
"spd-bb-2019": {"name": "SPD BB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BB", "pdf": "spd-bb-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-22", "wp": 7},
"cdu-bb-2019": {"name": "CDU BB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BB", "pdf": "cdu-bb-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-22", "wp": 7},
"gruene-bb-2019": {"name": "Grüne BB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BB", "pdf": "gruene-bb-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-22", "wp": 7},
"afd-bb-2019": {"name": "AfD BB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BB", "pdf": "afd-bb-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-22", "wp": 7},
"linke-bb-2019": {"name": "DIE LINKE BB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BB", "pdf": "linke-bb-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-22", "wp": 7},
"bvb-fw-bb-2019": {"name": "BVB/FREIE WÄHLER BB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "BVB/FREIE WÄHLER", "bundesland": "BB", "pdf": "bvb-fw-bb-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-22", "wp": 7},
# BE WP18 — historisch (Wahl 2016-09-18, gueltig bis 2021-09-26)
"spd-be-2016": {"name": "SPD BE Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BE", "pdf": "spd-be-2016.pdf", "gueltig_ab": "2016-09-18", "gueltig_bis": "2021-09-26", "wp": 18},
"linke-be-2016": {"name": "DIE LINKE BE Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BE", "pdf": "linke-be-2016.pdf", "gueltig_ab": "2016-09-18", "gueltig_bis": "2021-09-26", "wp": 18},
"gruene-be-2016": {"name": "Grüne BE Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BE", "pdf": "gruene-be-2016.pdf", "gueltig_ab": "2016-09-18", "gueltig_bis": "2021-09-26", "wp": 18},
"cdu-be-2016": {"name": "CDU BE Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BE", "pdf": "cdu-be-2016.pdf", "gueltig_ab": "2016-09-18", "gueltig_bis": "2021-09-26", "wp": 18},
"afd-be-2016": {"name": "AfD BE Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BE", "pdf": "afd-be-2016.pdf", "gueltig_ab": "2016-09-18", "gueltig_bis": "2021-09-26", "wp": 18},
"fdp-be-2016": {"name": "FDP BE Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BE", "pdf": "fdp-be-2016.pdf", "gueltig_ab": "2016-09-18", "gueltig_bis": "2021-09-26", "wp": 18},
from .programme import PROGRAMME as _PROGRAMME_SOURCE
PROGRAMME = {pid: _to_embeddings_format(p) for pid, p in _PROGRAMME_SOURCE.items()}
# BW WP16 — historisch (Wahl 2016-03-13, gueltig bis 2021-03-14)
"gruene-bw-2016": {"name": "Grüne BW Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BW", "pdf": "gruene-bw-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 16},
"cdu-bw-2016": {"name": "CDU BW Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BW", "pdf": "cdu-bw-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 16},
"afd-bw-2016": {"name": "AfD BW Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BW", "pdf": "afd-bw-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 16},
"spd-bw-2016": {"name": "SPD BW Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BW", "pdf": "spd-bw-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 16},
"fdp-bw-2016": {"name": "FDP BW Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BW", "pdf": "fdp-bw-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 16},
# BY WP18 — historisch (Wahl 2018-10-14, gueltig bis 2023-10-08)
"csu-by-2018": {"name": "CSU BY Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "CSU", "bundesland": "BY", "pdf": "csu-by-2018.pdf", "gueltig_ab": "2018-10-14", "gueltig_bis": "2023-10-08", "wp": 18},
"gruene-by-2018": {"name": "Grüne BY Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BY", "pdf": "gruene-by-2018.pdf", "gueltig_ab": "2018-10-14", "gueltig_bis": "2023-10-08", "wp": 18},
"fw-by-2018": {"name": "FREIE WÄHLER BY Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "FREIE WÄHLER", "bundesland": "BY", "pdf": "fw-by-2018.pdf", "gueltig_ab": "2018-10-14", "gueltig_bis": "2023-10-08", "wp": 18},
"afd-by-2018": {"name": "AfD BY Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BY", "pdf": "afd-by-2018.pdf", "gueltig_ab": "2018-10-14", "gueltig_bis": "2023-10-08", "wp": 18},
"spd-by-2018": {"name": "SPD BY Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BY", "pdf": "spd-by-2018.pdf", "gueltig_ab": "2018-10-14", "gueltig_bis": "2023-10-08", "wp": 18},
"fdp-by-2018": {"name": "FDP BY Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BY", "pdf": "fdp-by-2018.pdf", "gueltig_ab": "2018-10-14", "gueltig_bis": "2023-10-08", "wp": 18},
# HB WP20 — historisch (Wahl 2019-05-26, gueltig bis 2023-05-14)
"spd-hb-2019": {"name": "SPD HB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HB", "pdf": "spd-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
"gruene-hb-2019": {"name": "Grüne HB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HB", "pdf": "gruene-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
"linke-hb-2019": {"name": "DIE LINKE HB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HB", "pdf": "linke-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
"cdu-hb-2019": {"name": "CDU HB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HB", "pdf": "cdu-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
"fdp-hb-2019": {"name": "FDP HB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HB", "pdf": "fdp-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
"afd-hb-2019": {"name": "AfD HB Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HB", "pdf": "afd-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
# HE WP20 — historisch (Wahl 2018-10-28, gueltig bis 2023-10-08)
"cdu-he-2018": {"name": "CDU HE Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HE", "pdf": "cdu-he-2018.pdf", "gueltig_ab": "2018-10-28", "gueltig_bis": "2023-10-08", "wp": 20},
"gruene-he-2018": {"name": "Grüne HE Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HE", "pdf": "gruene-he-2018.pdf", "gueltig_ab": "2018-10-28", "gueltig_bis": "2023-10-08", "wp": 20},
"spd-he-2018": {"name": "SPD HE Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HE", "pdf": "spd-he-2018.pdf", "gueltig_ab": "2018-10-28", "gueltig_bis": "2023-10-08", "wp": 20},
"afd-he-2018": {"name": "AfD HE Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HE", "pdf": "afd-he-2018.pdf", "gueltig_ab": "2018-10-28", "gueltig_bis": "2023-10-08", "wp": 20},
"fdp-he-2018": {"name": "FDP HE Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HE", "pdf": "fdp-he-2018.pdf", "gueltig_ab": "2018-10-28", "gueltig_bis": "2023-10-08", "wp": 20},
"linke-he-2018": {"name": "DIE LINKE HE Wahlprogramm 2018", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HE", "pdf": "linke-he-2018.pdf", "gueltig_ab": "2018-10-28", "gueltig_bis": "2023-10-08", "wp": 20},
# HH WP22 — historisch (Wahl 2020-02-23, gueltig bis 2025-03-02)
"spd-hh-2020": {"name": "SPD HH Wahlprogramm 2020", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HH", "pdf": "spd-hh-2020.pdf", "gueltig_ab": "2020-02-23", "gueltig_bis": "2025-03-02", "wp": 22},
"gruene-hh-2020": {"name": "Grüne HH Wahlprogramm 2020", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HH", "pdf": "gruene-hh-2020.pdf", "gueltig_ab": "2020-02-23", "gueltig_bis": "2025-03-02", "wp": 22},
"cdu-hh-2020": {"name": "CDU HH Wahlprogramm 2020", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HH", "pdf": "cdu-hh-2020.pdf", "gueltig_ab": "2020-02-23", "gueltig_bis": "2025-03-02", "wp": 22},
"linke-hh-2020": {"name": "DIE LINKE HH Wahlprogramm 2020", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HH", "pdf": "linke-hh-2020.pdf", "gueltig_ab": "2020-02-23", "gueltig_bis": "2025-03-02", "wp": 22},
"afd-hh-2020": {"name": "AfD HH Wahlprogramm 2020", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HH", "pdf": "afd-hh-2020.pdf", "gueltig_ab": "2020-02-23", "gueltig_bis": "2025-03-02", "wp": 22},
"fdp-hh-2020": {"name": "FDP HH Wahlprogramm 2020", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HH", "pdf": "fdp-hh-2020.pdf", "gueltig_ab": "2020-02-23", "gueltig_bis": "2025-03-02", "wp": 22},
# LSA WP7 — historisch (Wahl 2016-03-13, gueltig bis 2021-06-06)
"cdu-lsa-2016": {"name": "CDU LSA Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "LSA", "pdf": "cdu-lsa-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-06-06", "wp": 7},
"spd-lsa-2016": {"name": "SPD LSA Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "LSA", "pdf": "spd-lsa-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-06-06", "wp": 7},
"gruene-lsa-2016": {"name": "Grüne LSA Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "LSA", "pdf": "gruene-lsa-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-06-06", "wp": 7},
"afd-lsa-2016": {"name": "AfD LSA Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "LSA", "pdf": "afd-lsa-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-06-06", "wp": 7},
"linke-lsa-2016": {"name": "DIE LINKE LSA Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "LSA", "pdf": "linke-lsa-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-06-06", "wp": 7},
"fdp-lsa-2016": {"name": "FDP LSA Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "LSA", "pdf": "fdp-lsa-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-06-06", "wp": 7},
# MV WP7 — historisch (Wahl 2016-09-04, gueltig bis 2021-09-26)
"spd-mv-2016": {"name": "SPD MV Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "MV", "pdf": "spd-mv-2016.pdf", "gueltig_ab": "2016-09-04", "gueltig_bis": "2021-09-26", "wp": 7},
"cdu-mv-2016": {"name": "CDU MV Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "MV", "pdf": "cdu-mv-2016.pdf", "gueltig_ab": "2016-09-04", "gueltig_bis": "2021-09-26", "wp": 7},
"afd-mv-2016": {"name": "AfD MV Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "MV", "pdf": "afd-mv-2016.pdf", "gueltig_ab": "2016-09-04", "gueltig_bis": "2021-09-26", "wp": 7},
"linke-mv-2016": {"name": "DIE LINKE MV Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "MV", "pdf": "linke-mv-2016.pdf", "gueltig_ab": "2016-09-04", "gueltig_bis": "2021-09-26", "wp": 7},
"gruene-mv-2016": {"name": "Grüne MV Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "MV", "pdf": "gruene-mv-2016.pdf", "gueltig_ab": "2016-09-04", "gueltig_bis": "2021-09-26", "wp": 7},
# NI WP18 — historisch (Wahl 2017-10-15, gueltig bis 2022-10-09)
"spd-ni-2017": {"name": "SPD NI Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "NI", "pdf": "spd-ni-2017.pdf", "gueltig_ab": "2017-10-15", "gueltig_bis": "2022-10-09", "wp": 18},
"cdu-ni-2017": {"name": "CDU NI Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "NI", "pdf": "cdu-ni-2017.pdf", "gueltig_ab": "2017-10-15", "gueltig_bis": "2022-10-09", "wp": 18},
"gruene-ni-2017": {"name": "Grüne NI Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "NI", "pdf": "gruene-ni-2017.pdf", "gueltig_ab": "2017-10-15", "gueltig_bis": "2022-10-09", "wp": 18},
"afd-ni-2017": {"name": "AfD NI Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "NI", "pdf": "afd-ni-2017.pdf", "gueltig_ab": "2017-10-15", "gueltig_bis": "2022-10-09", "wp": 18},
"fdp-ni-2017": {"name": "FDP NI Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "NI", "pdf": "fdp-ni-2017.pdf", "gueltig_ab": "2017-10-15", "gueltig_bis": "2022-10-09", "wp": 18},
# RP WP17 — historisch (Wahl 2016-03-13, gueltig bis 2021-03-14)
"spd-rp-2016": {"name": "SPD RP Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "RP", "pdf": "spd-rp-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 17},
"gruene-rp-2016": {"name": "Grüne RP Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "RP", "pdf": "gruene-rp-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 17},
"fdp-rp-2016": {"name": "FDP RP Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "RP", "pdf": "fdp-rp-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 17},
"afd-rp-2016": {"name": "AfD RP Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "RP", "pdf": "afd-rp-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 17},
"cdu-rp-2016": {"name": "CDU RP Wahlprogramm 2016", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "RP", "pdf": "cdu-rp-2016.pdf", "gueltig_ab": "2016-03-13", "gueltig_bis": "2021-03-14", "wp": 17},
# SH WP19 — historisch (Wahl 2017-05-07, gueltig bis 2022-05-08)
"cdu-sh-2017": {"name": "CDU SH Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SH", "pdf": "cdu-sh-2017.pdf", "gueltig_ab": "2017-05-07", "gueltig_bis": "2022-05-08", "wp": 19},
"spd-sh-2017": {"name": "SPD SH Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SH", "pdf": "spd-sh-2017.pdf", "gueltig_ab": "2017-05-07", "gueltig_bis": "2022-05-08", "wp": 19},
"gruene-sh-2017": {"name": "Grüne SH Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SH", "pdf": "gruene-sh-2017.pdf", "gueltig_ab": "2017-05-07", "gueltig_bis": "2022-05-08", "wp": 19},
"fdp-sh-2017": {"name": "FDP SH Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "SH", "pdf": "fdp-sh-2017.pdf", "gueltig_ab": "2017-05-07", "gueltig_bis": "2022-05-08", "wp": 19},
"afd-sh-2017": {"name": "AfD SH Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "SH", "pdf": "afd-sh-2017.pdf", "gueltig_ab": "2017-05-07", "gueltig_bis": "2022-05-08", "wp": 19},
"ssw-sh-2017": {"name": "SSW SH Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "SSW", "bundesland": "SH", "pdf": "ssw-sh-2017.pdf", "gueltig_ab": "2017-05-07", "gueltig_bis": "2022-05-08", "wp": 19},
# SL WP16 — historisch (Wahl 2017-03-26, gueltig bis 2022-03-27)
"cdu-sl-2017": {"name": "CDU SL Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SL", "pdf": "cdu-sl-2017.pdf", "gueltig_ab": "2017-03-26", "gueltig_bis": "2022-03-27", "wp": 16},
"spd-sl-2017": {"name": "SPD SL Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SL", "pdf": "spd-sl-2017.pdf", "gueltig_ab": "2017-03-26", "gueltig_bis": "2022-03-27", "wp": 16},
"linke-sl-2017": {"name": "DIE LINKE SL Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "SL", "pdf": "linke-sl-2017.pdf", "gueltig_ab": "2017-03-26", "gueltig_bis": "2022-03-27", "wp": 16},
"afd-sl-2017": {"name": "AfD SL Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "SL", "pdf": "afd-sl-2017.pdf", "gueltig_ab": "2017-03-26", "gueltig_bis": "2022-03-27", "wp": 16},
"gruene-sl-2017": {"name": "Grüne SL Wahlprogramm 2017", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SL", "pdf": "gruene-sl-2017.pdf", "gueltig_ab": "2017-03-26", "gueltig_bis": "2022-03-27", "wp": 16},
# SN WP7 — historisch (Wahl 2019-09-01, gueltig bis 2024-09-01)
"cdu-sn-2019": {"name": "CDU SN Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SN", "pdf": "cdu-sn-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-01", "wp": 7},
"gruene-sn-2019": {"name": "Grüne SN Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SN", "pdf": "gruene-sn-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-01", "wp": 7},
"spd-sn-2019": {"name": "SPD SN Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SN", "pdf": "spd-sn-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-01", "wp": 7},
"afd-sn-2019": {"name": "AfD SN Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "SN", "pdf": "afd-sn-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-01", "wp": 7},
"linke-sn-2019": {"name": "DIE LINKE SN Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "SN", "pdf": "linke-sn-2019.pdf", "gueltig_ab": "2019-09-01", "gueltig_bis": "2024-09-01", "wp": 7},
# TH WP7 — historisch (Wahl 2019-10-27, gueltig bis 2024-09-01)
"linke-th-2019": {"name": "DIE LINKE TH Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "TH", "pdf": "linke-th-2019.pdf", "gueltig_ab": "2019-10-27", "gueltig_bis": "2024-09-01", "wp": 7},
"spd-th-2019": {"name": "SPD TH Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "TH", "pdf": "spd-th-2019.pdf", "gueltig_ab": "2019-10-27", "gueltig_bis": "2024-09-01", "wp": 7},
"gruene-th-2019": {"name": "Grüne TH Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "TH", "pdf": "gruene-th-2019.pdf", "gueltig_ab": "2019-10-27", "gueltig_bis": "2024-09-01", "wp": 7},
"cdu-th-2019": {"name": "CDU TH Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "TH", "pdf": "cdu-th-2019.pdf", "gueltig_ab": "2019-10-27", "gueltig_bis": "2024-09-01", "wp": 7},
"afd-th-2019": {"name": "AfD TH Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "TH", "pdf": "afd-th-2019.pdf", "gueltig_ab": "2019-10-27", "gueltig_bis": "2024-09-01", "wp": 7},
"fdp-th-2019": {"name": "FDP TH Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "TH", "pdf": "fdp-th-2019.pdf", "gueltig_ab": "2019-10-27", "gueltig_bis": "2024-09-01", "wp": 7},
# Total: 83 historische Einträge
# Block 2.4 — direkte 2019-Lücken
"biw-hb-2019": {"name": "BIW Bremen Wahlprogramm 2019", "typ": "wahlprogramm", "partei": "BiW", "bundesland": "HB", "pdf": "biw-hb-2019.pdf", "gueltig_ab": "2019-05-26", "gueltig_bis": "2023-05-14", "wp": 20},
"biw-hb-2023": {"name": "BIW Bremen Wahlprogramm 2023", "typ": "wahlprogramm", "partei": "BiW", "bundesland": "HB", "pdf": "biw-hb-2023.pdf", "gueltig_ab": "2023-05-14", "gueltig_bis": None, "wp": 21},
"cdu-bund-2017": {"name": "CDU/CSU Wahlprogramm BTW 2017", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BUND", "pdf": "cdu-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"csu-bund-2017": {"name": "CSU Bayernplan 2017", "typ": "wahlprogramm", "partei": "CSU", "bundesland": "BUND", "pdf": "csu-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"spd-bund-2017": {"name": "SPD Zukunftsprogramm BTW 2017", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BUND", "pdf": "spd-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"gruene-bund-2017": {"name": "Grüne Bundestagswahlprogramm 2017", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BUND", "pdf": "gruene-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"fdp-bund-2017": {"name": "FDP Wahlprogramm BTW 2017", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BUND", "pdf": "fdp-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"afd-bund-2017": {"name": "AfD Bundestagswahlprogramm 2017", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BUND", "pdf": "afd-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"linke-bund-2017": {"name": "DIE LINKE Bundestagswahlprogramm 2017", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BUND", "pdf": "linke-bund-2017.pdf", "gueltig_ab": "2017-09-24", "gueltig_bis": "2021-09-26", "wp": 19},
"spd-hh-2015": {"name": "SPD HH Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HH", "pdf": "spd-hh-2015.pdf", "gueltig_ab": "2015-02-15", "gueltig_bis": "2020-02-23", "wp": 21},
"gruene-hh-2015": {"name": "Grüne HH Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HH", "pdf": "gruene-hh-2015.pdf", "gueltig_ab": "2015-02-15", "gueltig_bis": "2020-02-23", "wp": 21},
"cdu-hh-2015": {"name": "CDU HH Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HH", "pdf": "cdu-hh-2015.pdf", "gueltig_ab": "2015-02-15", "gueltig_bis": "2020-02-23", "wp": 21},
"linke-hh-2015": {"name": "DIE LINKE HH Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HH", "pdf": "linke-hh-2015.pdf", "gueltig_ab": "2015-02-15", "gueltig_bis": "2020-02-23", "wp": 21},
"afd-hh-2015": {"name": "AfD HH Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HH", "pdf": "afd-hh-2015.pdf", "gueltig_ab": "2015-02-15", "gueltig_bis": "2020-02-23", "wp": 21},
"fdp-hh-2015": {"name": "FDP HH Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HH", "pdf": "fdp-hh-2015.pdf", "gueltig_ab": "2015-02-15", "gueltig_bis": "2020-02-23", "wp": 21},
"linke-th-2014": {"name": "DIE LINKE TH Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "TH", "pdf": "linke-th-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-10-27", "wp": 6},
"cdu-th-2014": {"name": "CDU TH Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "TH", "pdf": "cdu-th-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-10-27", "wp": 6},
"spd-th-2014": {"name": "SPD TH Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "TH", "pdf": "spd-th-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-10-27", "wp": 6},
"gruene-th-2014": {"name": "Grüne TH Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "TH", "pdf": "gruene-th-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-10-27", "wp": 6},
"afd-th-2014": {"name": "AfD TH Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "TH", "pdf": "afd-th-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-10-27", "wp": 6},
"fdp-th-2014": {"name": "FDP TH Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "TH", "pdf": "fdp-th-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-10-27", "wp": 6},
# Block 2.5 — Vor-Vorperioden 2011-2014
# BB WP6 (Wahl 2014-09-14)
"spd-bb-2014": {"name": "SPD BB Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BB", "pdf": "spd-bb-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-09-01", "wp": 6},
"cdu-bb-2014": {"name": "CDU BB Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BB", "pdf": "cdu-bb-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-09-01", "wp": 6},
"linke-bb-2014": {"name": "DIE LINKE BB Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BB", "pdf": "linke-bb-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-09-01", "wp": 6},
"gruene-bb-2014": {"name": "Grüne BB Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BB", "pdf": "gruene-bb-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-09-01", "wp": 6},
"afd-bb-2014": {"name": "AfD BB Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "BB", "pdf": "afd-bb-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-09-01", "wp": 6},
"bvb-fw-bb-2014": {"name": "BVB/FREIE WÄHLER BB Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "BVB/FREIE WÄHLER", "bundesland": "BB", "pdf": "bvb-fw-bb-2014.pdf", "gueltig_ab": "2014-09-14", "gueltig_bis": "2019-09-01", "wp": 6},
# BE WP17 (Wahl 2011-09-18)
"spd-be-2011": {"name": "SPD BE Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BE", "pdf": "spd-be-2011.pdf", "gueltig_ab": "2011-09-18", "gueltig_bis": "2016-09-18", "wp": 17},
"cdu-be-2011": {"name": "CDU BE Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BE", "pdf": "cdu-be-2011.pdf", "gueltig_ab": "2011-09-18", "gueltig_bis": "2016-09-18", "wp": 17},
"gruene-be-2011": {"name": "Grüne BE Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BE", "pdf": "gruene-be-2011.pdf", "gueltig_ab": "2011-09-18", "gueltig_bis": "2016-09-18", "wp": 17},
"linke-be-2011": {"name": "DIE LINKE BE Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BE", "pdf": "linke-be-2011.pdf", "gueltig_ab": "2011-09-18", "gueltig_bis": "2016-09-18", "wp": 17},
"piraten-be-2011": {"name": "PIRATEN BE Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "PIRATEN", "bundesland": "BE", "pdf": "piraten-be-2011.pdf", "gueltig_ab": "2011-09-18", "gueltig_bis": "2016-09-18", "wp": 17},
# BUND WP18 (Wahl 2013-09-22)
"cdu-bund-2013": {"name": "CDU BUND Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BUND", "pdf": "cdu-bund-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2017-09-24", "wp": 18},
"csu-bund-2013": {"name": "CSU BUND Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "CSU", "bundesland": "BUND", "pdf": "csu-bund-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2017-09-24", "wp": 18},
"spd-bund-2013": {"name": "SPD BUND Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BUND", "pdf": "spd-bund-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2017-09-24", "wp": 18},
"gruene-bund-2013": {"name": "Grüne BUND Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BUND", "pdf": "gruene-bund-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2017-09-24", "wp": 18},
"linke-bund-2013": {"name": "DIE LINKE BUND Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "BUND", "pdf": "linke-bund-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2017-09-24", "wp": 18},
# BW WP15 (Wahl 2011-03-27)
"gruene-bw-2011": {"name": "Grüne BW Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BW", "pdf": "gruene-bw-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-03-13", "wp": 15},
"spd-bw-2011": {"name": "SPD BW Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BW", "pdf": "spd-bw-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-03-13", "wp": 15},
"cdu-bw-2011": {"name": "CDU BW Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "BW", "pdf": "cdu-bw-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-03-13", "wp": 15},
"fdp-bw-2011": {"name": "FDP BW Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "BW", "pdf": "fdp-bw-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-03-13", "wp": 15},
# BY WP17 (Wahl 2013-09-15)
"csu-by-2013": {"name": "CSU BY Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "CSU", "bundesland": "BY", "pdf": "csu-by-2013.pdf", "gueltig_ab": "2013-09-15", "gueltig_bis": "2018-10-14", "wp": 17},
"spd-by-2013": {"name": "SPD BY Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "BY", "pdf": "spd-by-2013.pdf", "gueltig_ab": "2013-09-15", "gueltig_bis": "2018-10-14", "wp": 17},
"gruene-by-2013": {"name": "Grüne BY Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "BY", "pdf": "gruene-by-2013.pdf", "gueltig_ab": "2013-09-15", "gueltig_bis": "2018-10-14", "wp": 17},
"fw-by-2013": {"name": "FREIE WÄHLER BY Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "FREIE WÄHLER", "bundesland": "BY", "pdf": "fw-by-2013.pdf", "gueltig_ab": "2013-09-15", "gueltig_bis": "2018-10-14", "wp": 17},
# HB WP19 (Wahl 2015-05-10)
"spd-hb-2015": {"name": "SPD HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HB", "pdf": "spd-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
"gruene-hb-2015": {"name": "Grüne HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HB", "pdf": "gruene-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
"linke-hb-2015": {"name": "DIE LINKE HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HB", "pdf": "linke-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
"cdu-hb-2015": {"name": "CDU HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HB", "pdf": "cdu-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
"afd-hb-2015": {"name": "AfD HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "HB", "pdf": "afd-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
"fdp-hb-2015": {"name": "FDP HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HB", "pdf": "fdp-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
"biw-hb-2015": {"name": "BIW Bremen HB Wahlprogramm 2015", "typ": "wahlprogramm", "partei": "BiW", "bundesland": "HB", "pdf": "biw-hb-2015.pdf", "gueltig_ab": "2015-05-10", "gueltig_bis": "2019-05-26", "wp": 19},
# HE WP19 (Wahl 2013-09-22)
"cdu-he-2013": {"name": "CDU HE Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "HE", "pdf": "cdu-he-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2019-01-18", "wp": 19},
"gruene-he-2013": {"name": "Grüne HE Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "HE", "pdf": "gruene-he-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2019-01-18", "wp": 19},
"spd-he-2013": {"name": "SPD HE Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "HE", "pdf": "spd-he-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2019-01-18", "wp": 19},
"fdp-he-2013": {"name": "FDP HE Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "HE", "pdf": "fdp-he-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2019-01-18", "wp": 19},
"linke-he-2013": {"name": "DIE LINKE HE Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "HE", "pdf": "linke-he-2013.pdf", "gueltig_ab": "2013-09-22", "gueltig_bis": "2019-01-18", "wp": 19},
# LSA WP6 (Wahl 2011-03-20)
"cdu-lsa-2011": {"name": "CDU LSA Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "LSA", "pdf": "cdu-lsa-2011.pdf", "gueltig_ab": "2011-03-20", "gueltig_bis": "2016-04-13", "wp": 6},
"spd-lsa-2011": {"name": "SPD LSA Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "LSA", "pdf": "spd-lsa-2011.pdf", "gueltig_ab": "2011-03-20", "gueltig_bis": "2016-04-13", "wp": 6},
"linke-lsa-2011": {"name": "DIE LINKE LSA Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "LSA", "pdf": "linke-lsa-2011.pdf", "gueltig_ab": "2011-03-20", "gueltig_bis": "2016-04-13", "wp": 6},
"gruene-lsa-2011": {"name": "Grüne LSA Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "LSA", "pdf": "gruene-lsa-2011.pdf", "gueltig_ab": "2011-03-20", "gueltig_bis": "2016-04-13", "wp": 6},
# MV WP6 (Wahl 2011-09-04)
"spd-mv-2011": {"name": "SPD MV Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "MV", "pdf": "spd-mv-2011.pdf", "gueltig_ab": "2011-09-04", "gueltig_bis": "2016-10-04", "wp": 6},
"cdu-mv-2011": {"name": "CDU MV Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "MV", "pdf": "cdu-mv-2011.pdf", "gueltig_ab": "2011-09-04", "gueltig_bis": "2016-10-04", "wp": 6},
"linke-mv-2011": {"name": "DIE LINKE MV Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "MV", "pdf": "linke-mv-2011.pdf", "gueltig_ab": "2011-09-04", "gueltig_bis": "2016-10-04", "wp": 6},
"gruene-mv-2011": {"name": "Grüne MV Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "MV", "pdf": "gruene-mv-2011.pdf", "gueltig_ab": "2011-09-04", "gueltig_bis": "2016-10-04", "wp": 6},
# NI WP17 (Wahl 2013-01-20)
"spd-ni-2013": {"name": "SPD NI Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "NI", "pdf": "spd-ni-2013.pdf", "gueltig_ab": "2013-01-20", "gueltig_bis": "2017-11-14", "wp": 17},
"cdu-ni-2013": {"name": "CDU NI Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "NI", "pdf": "cdu-ni-2013.pdf", "gueltig_ab": "2013-01-20", "gueltig_bis": "2017-11-14", "wp": 17},
"gruene-ni-2013": {"name": "Grüne NI Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "NI", "pdf": "gruene-ni-2013.pdf", "gueltig_ab": "2013-01-20", "gueltig_bis": "2017-11-14", "wp": 17},
"fdp-ni-2013": {"name": "FDP NI Wahlprogramm 2013", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "NI", "pdf": "fdp-ni-2013.pdf", "gueltig_ab": "2013-01-20", "gueltig_bis": "2017-11-14", "wp": 17},
# NRW WP16 (Wahl 2012-05-13)
"spd-nrw-2012": {"name": "SPD NRW Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "NRW", "pdf": "spd-nrw-2012.pdf", "gueltig_ab": "2012-05-13", "gueltig_bis": "2017-06-01", "wp": 16},
"cdu-nrw-2012": {"name": "CDU NRW Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "NRW", "pdf": "cdu-nrw-2012.pdf", "gueltig_ab": "2012-05-13", "gueltig_bis": "2017-06-01", "wp": 16},
"fdp-nrw-2012": {"name": "FDP NRW Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "NRW", "pdf": "fdp-nrw-2012.pdf", "gueltig_ab": "2012-05-13", "gueltig_bis": "2017-06-01", "wp": 16},
"piraten-nrw-2012": {"name": "PIRATEN NRW Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "PIRATEN", "bundesland": "NRW", "pdf": "piraten-nrw-2012.pdf", "gueltig_ab": "2012-05-13", "gueltig_bis": "2017-06-01", "wp": 16},
"gruene-nrw-2012": {"name": "Grüne NRW Zukunftsplan Update 2012", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "NRW", "pdf": "gruene-nrw-2012.pdf", "gueltig_ab": "2012-05-13", "gueltig_bis": "2017-06-01", "wp": 16},
# RP WP16 (Wahl 2011-03-27)
"spd-rp-2011": {"name": "SPD RP Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "RP", "pdf": "spd-rp-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-05-18", "wp": 16},
"gruene-rp-2011": {"name": "Grüne RP Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "RP", "pdf": "gruene-rp-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-05-18", "wp": 16},
"cdu-rp-2011": {"name": "CDU RP Wahlprogramm 2011", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "RP", "pdf": "cdu-rp-2011.pdf", "gueltig_ab": "2011-03-27", "gueltig_bis": "2016-05-18", "wp": 16},
# SH WP18 (Wahl 2012-05-06)
"spd-sh-2012": {"name": "SPD SH Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SH", "pdf": "spd-sh-2012.pdf", "gueltig_ab": "2012-05-06", "gueltig_bis": "2017-06-06", "wp": 18},
"gruene-sh-2012": {"name": "Grüne SH Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SH", "pdf": "gruene-sh-2012.pdf", "gueltig_ab": "2012-05-06", "gueltig_bis": "2017-06-06", "wp": 18},
"ssw-sh-2012": {"name": "SSW SH Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "SSW", "bundesland": "SH", "pdf": "ssw-sh-2012.pdf", "gueltig_ab": "2012-05-06", "gueltig_bis": "2017-06-06", "wp": 18},
"cdu-sh-2012": {"name": "CDU SH Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SH", "pdf": "cdu-sh-2012.pdf", "gueltig_ab": "2012-05-06", "gueltig_bis": "2017-06-06", "wp": 18},
"fdp-sh-2012": {"name": "FDP SH Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "FDP", "bundesland": "SH", "pdf": "fdp-sh-2012.pdf", "gueltig_ab": "2012-05-06", "gueltig_bis": "2017-06-06", "wp": 18},
"piraten-sh-2012": {"name": "PIRATEN SH Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "PIRATEN", "bundesland": "SH", "pdf": "piraten-sh-2012.pdf", "gueltig_ab": "2012-05-06", "gueltig_bis": "2017-06-06", "wp": 18},
# SL WP15 (Wahl 2012-03-25)
"cdu-sl-2012": {"name": "CDU SL Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SL", "pdf": "cdu-sl-2012.pdf", "gueltig_ab": "2012-03-25", "gueltig_bis": "2017-05-09", "wp": 15},
"spd-sl-2012": {"name": "SPD SL Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SL", "pdf": "spd-sl-2012.pdf", "gueltig_ab": "2012-03-25", "gueltig_bis": "2017-05-09", "wp": 15},
"linke-sl-2012": {"name": "DIE LINKE SL Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "SL", "pdf": "linke-sl-2012.pdf", "gueltig_ab": "2012-03-25", "gueltig_bis": "2017-05-09", "wp": 15},
"piraten-sl-2012": {"name": "PIRATEN SL Wahlprogramm 2012", "typ": "wahlprogramm", "partei": "PIRATEN", "bundesland": "SL", "pdf": "piraten-sl-2012.pdf", "gueltig_ab": "2012-03-25", "gueltig_bis": "2017-05-09", "wp": 15},
# SN WP6 (Wahl 2014-08-31)
"cdu-sn-2014": {"name": "CDU SN Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "CDU", "bundesland": "SN", "pdf": "cdu-sn-2014.pdf", "gueltig_ab": "2014-08-31", "gueltig_bis": "2019-09-01", "wp": 6},
"spd-sn-2014": {"name": "SPD SN Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "SPD", "bundesland": "SN", "pdf": "spd-sn-2014.pdf", "gueltig_ab": "2014-08-31", "gueltig_bis": "2019-09-01", "wp": 6},
"linke-sn-2014": {"name": "DIE LINKE SN Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "LINKE", "bundesland": "SN", "pdf": "linke-sn-2014.pdf", "gueltig_ab": "2014-08-31", "gueltig_bis": "2019-09-01", "wp": 6},
"gruene-sn-2014": {"name": "Grüne SN Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "GRÜNE", "bundesland": "SN", "pdf": "gruene-sn-2014.pdf", "gueltig_ab": "2014-08-31", "gueltig_bis": "2019-09-01", "wp": 6},
"afd-sn-2014": {"name": "AfD SN Wahlprogramm 2014", "typ": "wahlprogramm", "partei": "AfD", "bundesland": "SN", "pdf": "afd-sn-2014.pdf", "gueltig_ab": "2014-08-31", "gueltig_bis": "2019-09-01", "wp": 6},
# Total: 91 neue Einträge
}
def init_embeddings_db():