From 8e19f6cffaf78f51936909638f6f333ff6b0cbc5 Mon Sep 17 00:00:00 2001 From: Dotty Dotter Date: Fri, 10 Apr 2026 23:21:32 +0200 Subject: [PATCH] =?UTF-8?q?Batch:=20search-Multiplier=203x=E2=86=9210x=20?= =?UTF-8?q?=E2=80=94=20genug=20Antr=C3=A4ge=20nach=20Typ-Filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index e326e8a..3cad78b 100644 --- a/app/main.py +++ b/app/main.py @@ -660,8 +660,10 @@ async def batch_analyze( if not adapter: raise HTTPException(status_code=400, detail=f"Bundesland {bundesland} nicht unterstützt") - # Neueste Drucksachen vom Landtag holen (leer = neueste Anträge) - drucksachen = await adapter.search("", limit=limit * 3) # 3× holen wegen Typ-Filter + # Neueste Drucksachen vom Landtag holen. Multiplier 10× weil die + # meisten Adapter Anfragen+Gesetzentwürfe+Anträge gemischt liefern + # und der Antrag-Anteil nur ~10-30% ist. + drucksachen = await adapter.search("", limit=limit * 10) enqueued = [] skipped = 0