Files
theclaymethod__unslop/scripts/structure_scan.py
Clayton Kim 0f630c11be Owner-contributed patterns: slogan fragments and Every-template openers
Three AI-ism patterns wild-caught by the owner on his own marketing page,
added eval-first (rows appended red, then made green):

- slogan_fragment (banned_phrase_scan STRUCTURAL_PATTERNS, soft): standalone
  "N X, one Y." slogan-cadence line/header ("Four presets, one input.").
- spec_fragment (banned_phrase_scan STRUCTURAL_PATTERNS, soft): standalone
  "N noun-phrase, past-participle ..." spec fragment ("Eight criteria,
  scored 1 to 5.").
- every_template_openers (structure_scan, soft, min 2 paragraphs): repeated
  paragraph-initial "Every <noun> <verb>" template opener; a lone
  "Every child deserves a good school." stays clean.

Both banned-phrase patterns fire only on whole-line/header contexts, so
prose-embedded counts ("The unit has two bedrooms, one bath, and a den.",
"We rated eight criteria, scored 1 to 5, before deciding.") stay clean.
Regexes are linear (bounded interior runs, no adjacent unbounded overlaps).

Rows OWNER-01/02/03 (FN specimens) went red first, then green after the
scanner changes; OWNER-04 + FP-86/FP-87 guard the false-positive twins.
New categories mapped into pack-voice and documented in taboo-phrases.md.

Suite: 462 pass / 1 xfail / 0 fail. Coverage, schema, taboo parity, packs,
kata, seeded-docs, pairs, silhouette, voice, benchmark, model-parity green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K6CYksdLbXbTAxcAQjvHz5
2026-07-07 07:56:05 -07:00

13 KiB