Repository navigation
feat: section-reflection-ending reports a document where most sections close on a personal reflection - #2982
Merged
Merged
Conversation
…sections close on a personal reflection Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…not back Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…guide-screen gates Adds its not_planted bench entry, the new zero rows in the paired ai-samples expectations, the one more compared sign in the ai-score guide screens, and a reflective section closing in each limit fixture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 30, 2026
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 rule in the ai-tells group,
section-reflection-ending: a document where most sections close on a personal reflection (〜と思います, 〜と感じています, 〜かもしれない, "I think ...", "I feel ..."). One reflective closing is ordinary in a human essay or report, so the signal is the share of sections whose closing sentence (the last sentence of the section's last paragraph) is a reflection, and only documents with enough sections that hold a paragraph are measured (min_sections).lang-ja/lang-ensection-reflection-ending.yaml): ja by sentence end, en by sentence opening ("I think ...") or end ("..., I think."). The detector only knows how to combine them.closing-exhortationandsection-length-uniformityare, rather than a signal insideai-tell, whose weights score phrases wherever they occur.yarn rules:measure --apply: it fires on no pinned human document in any group, so it backs no off_for and the rule has none (it runs in every genre of use_for). Only this rule's entry of the measurement is kept (the run's unrelated rewrites were discarded);human-shares.tsis regenerated from it.ai-ja-essay-morning-walk(lines 13, 21, 27), the sentences the corpus entry names.Refs #2010
Refs #2036
Items to Confirm / Review
rules:measuredoes not place limits.ai-ja-report-trade-show) is not caught: there the reflection is mostly mid-paragraph, and only one section's closing sentence is one; the share of sections whose closing paragraph contains a reflection overlaps with human blog posts in the judged corpus, so that variant was not taken. That case stays for reading (the lead's call).ai-tell, so the runner lists the morning-walk lines as new findings of this rule rather than as missed-found; the corpus entries may want to name this rule.ai-generated-composite'sfromlist, so the composite does not move; whether it should count there is left for a later measurement.かもしれない/思っている(without と) are counted as reflections; check that reading.yarn corpusshows changes on cached (fetched) documents that do not involve this rule; not accepted.🤖 Generated with Claude Code
work in lab