From b317246bcd98a6c51a474b8d153f058930fc2cc7 Mon Sep 17 00:00:00 2001 From: Lars Date: Mon, 23 Mar 2026 22:06:30 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20Quality-Level=20Parameter=20f=C3=BCr=20?= =?UTF-8?q?KI-Analysen=20notiert=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notiert an 3 Stellen: 1. insights.py: TODO-Kommentar im Code 2. ROADMAP.md: Deliverable bei M0.2 (lokal, nicht im Git) 3. Gitea Issue #28: Kommentar mit Spezifikation Zukünftig: - GET /api/insights/run/{slug}?quality_level=quality - 4 Stufen: all, quality, very_good, excellent - Frontend: Dropdown wie in History.jsx - Pipeline-Configs können Standard-Level haben User-Request: Quality-Level-Auswahl für KI-Analysen Co-Authored-By: Claude Opus 4.6 --- backend/routers/insights.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/routers/insights.py b/backend/routers/insights.py index 4866b83..4643418 100644 --- a/backend/routers/insights.py +++ b/backend/routers/insights.py @@ -76,6 +76,8 @@ def _get_profile_data(pid: str): cur.execute("SELECT * FROM nutrition_log WHERE profile_id=%s ORDER BY date DESC LIMIT 90", (pid,)) nutrition = [r2d(r) for r in cur.fetchall()] # Quality-Filter: nur hochwertige Aktivitäten für KI-Analyse (Issue #24) + # TODO (#28): quality_level als Parameter (all, quality, very_good, excellent) + # Zukünftig: GET /api/insights/run/{slug}?quality_level=quality cur.execute(""" SELECT * FROM activity_log WHERE profile_id=%s