Repository navigation
Conversation
…no and, again and again Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A new English rule,
inline-triad(group ai-tells): three short phrases strung on commas with no "and" / "or" ("the table, the conversation, the feeling of being cared for"; "I was chopping, stirring, paying attention"; "simple things: scrambled eggs, roasted vegetables, a basic tomato soup"), counted per 1000 words, reported only when a document of at least the density floor holds three or more of them.Why a new rule id rather than a signal in
rule-of-three:rule-of-threemeasures the share of bullet lists with three items; this is a per-sentence shape measured as a density, with its own detector and word list.rule-of-three's own not_flagged already says inline three-word lists are left out because human documents write them more often.What is counted and why: a prototype over the judged corpus showed that triads joined by "and" (fast, simple, and reliable) do not separate generated from human prose (government and press writing is full of them), so they are left out. The asyndetic shape (no conjunction, parallel items or a list opened by a colon) is what the generated essay repeats. Left out as well: items holding a figure, capitalised names/titles/places (Jane Roe, Director, GDS), one word said again (old, old, old), runs of four or more, runs inside list items and quotation marks. The words that open a clause rather than an item, the conjunctions, the determiners and the suffix that make two items parallel are in
packages/lang-en/lexicons/inline-triad.yaml(read throughextra_word_lists, so they are not "flagged phrases").Placement: started experimental and placed by
yarn rules:measure --apply, which made it stable (normal): it reports on none of the pinned human English documents in any group. Only the inline-triad entries of that measurement are committed (rules-measure.json, human-shares.ts); the run's unrelated rewrites (other rules, fetched-cache drift) were discarded.Judged corpus (isamu/chaff-corpus, run with this checkout): the rule fires on one document only,
ai-en-essay-learning-to-cook, at lines 11, 15, 21 and 23 — the four asyndetic triads of the essay, each read and judged right (they are the miss filed there under rule-of-three). No other document gets an inline-triad finding; correct lost is zero for every rule.Japanese: not built. The judged Japanese AI documents do not show the shape (one parallel run in the whole set), and 、 in Japanese is too ambiguous to read it without a measured signal, so the rule is
languages: [en]. Messages and names are in both languages.Refs #1961
Refs #1951
Items to Confirm / Review
ai-en-email-intro-two-people, "messy, slow, and ended up working really well") is not caught and should be marked needs reading: the document is below the density floor, has one triad, and that triad is joined with "and", which the measurement does not back as a signal.test/test_rule_rewrite.tslistsinline-triadamong word lists that are not flagged phrases;test/fixtures/limits/en.mdgets three runs so the limit-agreement test exercises the rule.ai-sounding-examples.mdnow names the rule under "not compared (no human baseline)" for blog: the measured blog group has fewer documents than ai-score needs.🤖 Generated with Claude Code
work in lab