Skip to content

feat(rules): add is-is rule for the doubled copula - #9

Merged
benjaminjackson merged 3 commits into
mainfrom
is-is-rule
Jul 28, 2026
Merged

feat(rules): add is-is rule for the doubled copula#9
benjaminjackson merged 3 commits into
mainfrom
is-is-rule

Conversation

@benjaminjackson

Copy link
Copy Markdown
Owner

Summary

  • New rule is-is (rhetorical-tic, warning): flags the doubled copula — "what it is is a mistake", "the thing is, is that…" — with no anchor, since the bare pattern scored 0 hits across ~1.9M words of probe text (public-domain prose + modern Wikipedia).
  • README, SPEC, and CHANGELOG updated to match the new 28-rule catalog.

Test plan

  • rspec — 244 examples, 0 failures
  • bin/sloplint check - smoke test on a bad and an ok fixture
  • bin/sloplint explain is-is

https://claude.ai/code/session_01Ky6xJLM9JoHWdL3CSs2GQw

benjaminjackson and others added 3 commits July 28, 2026 15:18
"What it is is..." and "the thing is, is that..." read as unedited no
matter which of the three things produced them -- probed at 0 hits
across ~1.9M words, so the bare pattern needs no anchor.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The "surface is rare enough that the pattern needs no anchor" framing
explained a regex design choice instead of the tell itself; cut, kept
the probe numbers.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Frequency numbers don't belong in the flag's why -- most other rules'
rationale explains the tell, not the probe. This one now matches.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@benjaminjackson
benjaminjackson merged commit b27ea8d into main Jul 28, 2026
2 checks passed
@benjaminjackson
benjaminjackson deleted the is-is-rule branch July 28, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant