Anchor the claim-language pattern on a person (active voice) - #115
Merged
Conversation
The attribution family only fired on the literal "the user" followed by one of a fixed verb list, so "the Flipboard user follows", "a user tracked" and "the account holder selected" passed. The active family now mirrors the passive one: any of the person nouns, an optional descriptor, and the same determiners, plus the conduct verbs that recur in these fields. Landing it green meant rewording one description the anchored pattern now flags, to state the record rather than attribute the act to a person. The pattern and its pinned test are byte-identical across the five cores; the sibling PRs carry the same change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Anchors the claim-language checker's active-voice attribution on a person, the way the passive family already is.
It fired only on the literal "the user" plus a fixed verb list, so "the Flipboard user follows", "a user tracked" and "the account holder selected" passed. The active family now takes any of the person nouns, an optional descriptor and the same determiners, plus the conduct verbs that recur in these fields.
1 examiner-facing description(s) or note(s) that the anchored pattern now flags are reworded to state the record rather than attribute the act to a person. The pattern and its pinned test are identical across the five cores, so this same change lands in each.
🤖 Generated with Claude Code