Wahlprogramm Auto-Download: halbautomatische Beschaffung mit SHA-Gate #138
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tobias/gwoe-antragspruefer#138
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Kontext
Folge-Issue zu #128 (Erkennung). Erkennung ist live, Auto-Download war bewusst ausgeklammert wegen früherer PDF-Tausch-Erfahrungen (CDU BE 2023 → 2026-Entwurf, stiller Ersatz unter altem Slug).
Ziel
Halbautomatisches Beschaffungs-Tool: erkannte fehlende Wahlprogramme (#128) + kuratierte Kandidaten-URL + manuelle Freigabe + SHA-Fingerprint-Check. Keine Vollautomatik.
Workflow
check_missing_programmes()listet Lückenwahlprogramm-links.yaml(manuell gepflegt) oder heuristische Suche (abgeordnetenwatch-Pattern{partei}-{bl}-{jahr}.pdf)app/static/referenzen/, Eintrag inWAHLPROGRAMME, automatisches Re-Indexing des EmbeddingsArbeitsschritte
wahlprogramm-links.yamlSchema definieren (BL, Partei, Jahr, URL, erwarteter SHA, Anmerkungen)python -m app.wahlprogramm_fetch --checklistet Lücken + Kandidatenpython -m app.wahlprogramm_fetch --fetch BL PARTEIlädt einen Eintrag (mit interaktiver Freigabe)--fetchgegen PferdetauschNicht-Ziele
Bezug
project_sn_xml_exportals Beispiel für ähnliche manuelle Re-Upload-Flows