KI-Klassifikation: Substanzpruefung gegen Gruen-Durchrutscher

Gruen setzt jetzt einen erkennbaren Nachrichtenkern voraus; Test-/
Platzhalter-Texte sind explizit K6-Verstoss (rot), sehr duenne Inhalte
mindestens gelb. Behebt Befund, dass inhaltsleere Test-PMs (Score 4)
nach der Prompt-Ueberarbeitung gruen durchliefen.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Kevin Adametz 2026-07-10 17:14:12 +00:00
parent 927523ca63
commit 06d80b255b
2 changed files with 24 additions and 13 deletions

View file

@ -90,7 +90,8 @@ test('openai classification prompt lists the active rejection categories', funct
return str_contains($systemPrompt, 'K1 Rechtswidrige Inhalte')
&& str_contains($systemPrompt, 'K5 Rechte Dritter')
&& ! str_contains($systemPrompt, 'K6 Kein Pressecharakter')
&& str_contains($systemPrompt, 'markiere die Mitteilung dann direkt rot');
&& str_contains($systemPrompt, 'markiere die Mitteilung dann direkt rot')
&& str_contains($systemPrompt, 'Prüfe zuerst die Substanz');
});
});