Repository navigation
Report a Vetted Suppressed Summary Its Reader Misses in pr_review.py - #3202
Conversation
unrecognized_in compared vetted summaries against what a reader read only for the previously-missed section. A layout that suppressed_blocks misses therefore reported shapes=ok while suppressed= came out short. The comparison now runs over both readers, and a test stubs the suppressed reader to drop a block. Fixes #3193
A block that ran on into the next section held that section's summary, so the section read as found and the over-run form of the alternating-sections defect reported shapes=ok. Only the summary opening a block now counts.
The test holds two suppressed sections with nothing between them, so it is a same-kind over-run rather than the alternating-sections layout.
|
A recorded local strict-review pass covers head |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
🟢 Approval recommended
Only a minor documentation nit remains, with no blocking issues.
1 open issue
What changed in this PR
Updates unrecognized_in to detect suppressed summaries missed by their reader, including overrun sections.
Changes:
- Centralizes suppressed summary spellings.
- Validates both readers using each block’s opening summary.
- Adds regression tests for missed and overrun sections.
Review note: One P3 documentation nit remains regarding subject-verb agreement.
| File | Description |
|---|---|
tests/test_pr_review.py |
Adds regression coverage for missed and overrun sections. |
scripts/pr_review.py |
Extends vetted-summary validation for suppressed blocks. |
Review effort: Lite
Read in the past tense parsed as a present-tense agreement error.
|
A recorded local strict-review pass covers head |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3202 +/- ##
==========================================
Coverage ? 65.48%
==========================================
Files ? 17
Lines ? 9754
Branches ? 0
==========================================
Hits ? 6387
Misses ? 3367
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
…ck to Main (#3203) - #3198 states the fleet standard for script and utility file names in `CODESTYLE.md`'s General section, with a pointer from `GOVERNANCE.md`. The `python-codestyle` skill carries the changed text as a generated include, so the installed Skills change at release. - #3202 extends `pr_review.py`'s vetted-but-unread check to the suppressed summaries. A layout that `suppressed_blocks` misses now reports an unread shape instead of `shapes=ok` with `suppressed=` short. The check now counts only the summary opening each block, so a block that runs into the next section no longer stands in for it. The cross-kind over-run the local review found outside that diff is #3201. Closes #3140 Closes #3193 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Summary
unrecognized_incompared vetted summaries against what a block reader actually read only for the previously-missed section. The vetted suppressed spellings,Suppressed comments (N)andComments suppressed due to low confidence (N), got no such check againstsuppressed_blocks. A layout that reader misses therefore reportedshapes=okwhilesuppressed=came out short.SUPPRESSED_SUMMARIESset, and the one existing comparison runs over both readers, rather than a copy being added beside it.Tests
test_a_vetted_suppressed_summary_its_reader_misses_is_reportedstubssuppressed_blocksto drop its last block over three constructed bodies. It fails on the base in all three cases.test_a_block_running_into_the_next_section_does_not_stand_in_for_itpatchessibling_headingto never bound. It fails with the first-line counting reverted.spec/validate.py, andbuild_dist.py --checkare clean.Local review
Three recorded passes at the
frontiertier. The first two raised findings that were fixed in this branch, and the third raised none. One finding outside this diff, which predates the branch, is filed as #3201.Refs #3193
🤖 Generated with Claude Code
Summary by CodeRabbit