Generalize banned-words exclusion zones (drop wiki-specific markup refs)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Louis Rossmann
2026-05-24 19:28:54 -05:00
parent ce03e044f3
commit 820b0a1f77
@@ -354,9 +354,8 @@ Different AI model families produce distinct stylistic fingerprints based on the
### Exclusion Zones ### Exclusion Zones
Lexical scans must NOT flag text inside: Lexical scans must NOT flag text inside:
- Direct quotes (`"..."`) from cited sources - Direct quotes (`"..."`) from cited sources
- `<ref>` tag contents (citation text, template fields) - Titles, names, and other verbatim values taken from a source
- `{{Cite web}}` `|title=` and `|author=` values - Code, configuration, or markup that is being shown as an example
- Wikitext comments (`<!-- -->`)
### Context-Aware Severity ### Context-Aware Severity
If a banned word appears immediately adjacent to specific named entities (proper nouns, statute numbers, dates, dollar amounts), it is more likely being used with technical meaning than as AI filler. Reduce flag severity. If a banned word appears immediately adjacent to specific named entities (proper nouns, statute numbers, dates, dollar amounts), it is more likely being used with technical meaning than as AI filler. Reduce flag severity.