Extend pattern 11 to cover repeated sentence openings (v2.9.2) - #209
Open
somtri wants to merge 1 commit into
Open
Extend pattern 11 to cover repeated sentence openings (v2.9.2)#209somtri wants to merge 1 commit into
somtri wants to merge 1 commit into
Conversation
Consecutive sentences that all open on the same subject are the repetition-penalty machinery failing to fire, the inverse of the synonym cycling that section 11 already covers. This extends section 11 with the inverse tell and its fixes rather than adding a numbered pattern, adds a deliberate-anaphora false-positive guard to the detection guidance, and syncs the README table, version history, and package version. Fixes blader#206
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.
Fixes #206.
The issue reports narrative prose where consecutive sentences all open on the same word, usually "she" or "he". The reporter counted 147 sentence-initial "she" in one audiobook transcript, 34 doubled and 11 tripled.
I extended §11 instead of adding a numbered pattern. §11 already describes repetition-penalty machinery over-firing and cycling through synonyms for a single referent, and a repeated sentence opening is that machinery failing to fire instead. Same defect, opposite direction, so the count stays at 33. #171 was closed with the note that a new numbered pattern carries permanent prompt and maintenance cost and that a narrow idea might still fit as an extension to an existing rule. This looked like that case.
What changed:
I left out the fourth remedy in the issue, the threshold flagging a starting token used more than twice in a row. It needs somewhere to execute, and what ships here is a prompt.
The "After" example still opens on "She," which looks like an oversight and is not. The tell is the run of three, not the word. An example that dodged the pronoun would teach pronoun-avoidance instead of consolidation.
python scripts/validate-package.pypasses at v2.9.2. SKILL.md is 419 lines against the 500-line budget.