fix(snapshot): Cookie-Dedup + schneller Impressum-Tab + Tabellen-Zahl

- Cookies werden je Vendor nach Name dedupliziert (Consent-Phasen-Dubletten;
  BMW 2196 → ~772) — in cookie-check + get_snapshot, behebt aufgeblähte
  Kachel-/Finding-Zahlen.
- Impressum-Snapshot-Check überspringt den ~40s-LLM-Schritt (context skip_llm)
  → Tab lädt sofort statt leer zu bleiben.
- Vendor-Tabelle zeigt nur die Cookie-Zahl (kein 'Cookies'-Wort je Zeile).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-06-11 19:54:15 +02:00
parent b0ceae4350
commit 0f6cdc93fd
7 changed files with 51 additions and 4 deletions
@@ -75,7 +75,9 @@ def doc_input_from_snapshot(snap: dict, doc_type: str) -> dict | None:
"business_scope": scope,
"company_name": (profile.get("company_name") or snap.get("site_label") or ""),
"origin_domain": snap.get("site_domain", ""),
"context": {"scan_context": snap.get("scan_context") or {}},
# skip_llm: Snapshot-Ansicht ist interaktiv → kein ~40s-LLM-Schritt.
"context": {"scan_context": snap.get("scan_context") or {},
"skip_llm": True},
}