fix: QC-Ratings (AAA/AA/A) aus Qork entfernt + verify CHECK 10 lehnt QC-Zeilen jetzt ab

This commit is contained in:
Hermes Agent
2026-06-23 23:41:17 +02:00
parent 0a1dffa027
commit e73e0e88de
2 changed files with 96 additions and 6 deletions
+4 -6
View File
@@ -99,13 +99,11 @@ else
fail "Meta-Description fehlt oder leer"
fi
# ── CHECK 10: No QC line outside <p class="qc"> ────────────────────
QC_COUNT=$(echo "$BODY" | grep -c 'class="qc"' || true)
QC_RAW=$(echo "$BODY" | grep -cP 'QC:\s*[✓✔]' || true)
if [ "$QC_RAW" -gt "$QC_COUNT" ]; then
fail "QC-Hinweis nicht in <p class=\"qc\"> (wird nicht gestrippt)"
# ── CHECK 10: KEINE QC-Zeile im Artikel (AAA/AA/A-Ratings sind intern!) ──
if echo "$BODY" | grep -qP 'QC:\s*(AAA|AA|A)='; then
fail "QC-Zeile mit Quellen-Ratings (AAA/AA/A) im Artikel — das sind interne Geschäftsgeheimnisse! Muss entfernt werden."
else
ok "QC-Zeile korrekt in <p class=\"qc\">"
ok "Keine QC-Ratings im Artikel"
fi
# ── CHECK 11: Autoren gegen BGG verifizieren ─────────────────────────