fixes: immunity outcomes without political connection, ORF fee rows, dropped WKStA investigations

- 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>
This commit is contained in:
simonandClaude Opus 5.5 committed 2026-11-20 10:03:11 +01:00
1 parent d2039a9dc3
commit f2d72fe464
8 files changed
+130 -7

No files matched your search

+13 -2
View File
@@ -56,7 +56,7 @@ class ParlamentItems(Adapter):
name = "parlament.items"
description = "Votes (faction + roll call), immunity requests, written questions, U-committee hearings"
schedule = "45 3 * * *"
parser_version = 2
parser_version = 3 # 3: immunity reports finding no political connection, cleaner authority and case number
def start(self, ctx: RunContext) -> Iterator[Request]:
for gp in ctx.params.get("periods") or get_settings().parlament_periods:
@@ -232,12 +232,23 @@ class ParlamentItems(Adapter):
name = re.sub(r"^.*?(Abgeordneten zum Nationalrat|Mitglied(es)? des Bundesrates)\s*(Klubobmann|Klubobfrau)?",
"", title).strip()
decided = str(meta.get("status")) == "5"
recommendation = details["recommendation"] or ""
stage = {"consent": "immunity_waived" if decided else "immunity_waiver_requested",
"no_connection": "immunity_waived" if decided else "immunity_waiver_requested",
"refuse": "immunity_refused" if decided else "immunity_waiver_requested"}.get(
details["recommendation"] or "", "immunity_waiver_requested")
recommendation, "immunity_waiver_requested")
stage_de = {"immunity_waived": "Nationalrat stimmte der behördlichen Verfolgung zu (Immunität aufgehoben)",
"immunity_refused": "Nationalrat verweigerte die Zustimmung zur behördlichen Verfolgung",
"immunity_waiver_requested": "Ersuchen um Aufhebung der Immunität"}[stage]
if recommendation == "no_connection":
# Art. 57 Abs. 3 B-VG: no connection to the political activity -> no immunity, prosecution may proceed.
stage_de = ("Nationalrat stellte fest: kein Zusammenhang mit der politischen Tätigkeit, behördliche "
"Verfolgung zulässig" if decided else
"Ersuchen um Zustimmung zur behördlichen Verfolgung (Ausschuss empfiehlt: kein Zusammenhang "
"mit der politischen Tätigkeit, Verfolgung zulässig)")
elif stage == "immunity_waiver_requested" and recommendation:
stage_de += {"consent": " (Ausschuss empfiehlt Zustimmung)",
"refuse": " (Ausschuss empfiehlt, nicht zuzustimmen)"}[recommendation]
offense = details["offense"]
requested = parse_date(meta.get("date"))
yield Claim(