jimnoneill commited on
Commit
a731017
Β·
verified Β·
1 Parent(s): 048e5c2

Fix gate: only scientific_paper passes

Browse files
Files changed (1) hide show
  1. 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 is
92
- # 'scientific_paper' OR 'poster' (both are valid scientific
93
- # content). Only 'abstract_only' and 'junk' are blocked.
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