Fix gate: only scientific_paper passes
Browse files- src/pubguard/config.py +3 -3
src/pubguard/config.py
CHANGED
|
@@ -88,9 +88,9 @@ class PubGuardConfig:
|
|
| 88 |
toxicity_threshold: float = 0.50
|
| 89 |
|
| 90 |
# ββ Pipeline gate logic βββββββββββββββββββββββββββββββββββββ
|
| 91 |
-
# The overall `.screen()` returns pass=True when doc_type
|
| 92 |
-
# 'scientific_paper'
|
| 93 |
-
#
|
| 94 |
# AI detection and toxicity are informational by default.
|
| 95 |
require_scientific: bool = True
|
| 96 |
block_ai_generated: bool = False # informational by default
|
|
|
|
| 88 |
toxicity_threshold: float = 0.50
|
| 89 |
|
| 90 |
# ββ Pipeline gate logic βββββββββββββββββββββββββββββββββββββ
|
| 91 |
+
# The overall `.screen()` returns pass=True ONLY when doc_type
|
| 92 |
+
# is 'scientific_paper'. Posters, abstracts, and junk are all
|
| 93 |
+
# blocked β the PubVerse pipeline processes publications only.
|
| 94 |
# AI detection and toxicity are informational by default.
|
| 95 |
require_scientific: bool = True
|
| 96 |
block_ai_generated: bool = False # informational by default
|