fix: reduce output noise and improve behavior summary prioritization#13
Merged
fix: reduce output noise and improve behavior summary prioritization#13
Conversation
- isSyntacticallyIncomplete: reject lines starting with ) or ] (continuation fragments) and treat both open and close unbalanced parens as incomplete - generateSymbolSections: skip modified symbols with no content lines (empty sections) - buildBehaviorSummary: replace flat 8-item cap with priority bucket system Tier 1 (state/API): max 4 — core data flow, always shown first Tier 2 (guard/catch): max 2 — safety/error boundaries Tier 3 (cond): max 2 — branching logic Tier 4 (setState/useEffect/return): max 2 — side effects - Remove generic function call capture (callMatch) — was producing noisy unlabeled entries
Contributor
PR #13 — fix: reduce output noise and improve behavior summary prioritization3rdflr/github-mobile-reader ·
|
3rdflr
added a commit
that referenced
this pull request
Feb 24, 2026
…13) - isSyntacticallyIncomplete: reject lines starting with ) or ] (continuation fragments) and treat both open and close unbalanced parens as incomplete - generateSymbolSections: skip modified symbols with no content lines (empty sections) - buildBehaviorSummary: replace flat 8-item cap with priority bucket system Tier 1 (state/API): max 4 — core data flow, always shown first Tier 2 (guard/catch): max 2 — safety/error boundaries Tier 3 (cond): max 2 — branching logic Tier 4 (setState/useEffect/return): max 2 — side effects - Remove generic function call capture (callMatch) — was producing noisy unlabeled entries
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
)/]로 시작하는 조각 라인 제거, 닫힌 괄호 불균형도 필터링✏️ 변경됨심볼 섹션 숨김(state)/(API): 최대 4개 — 핵심 데이터 흐름(guard)/(catch): 최대 2개 — 안전/에러 경계(cond): 최대 2개 — 분기 로직(setState)/useEffect/(return): 최대 2개 — 부수효과foo()항목 제거Test plan
npx github-mobile-reader --repo owner/repo --pr N실행 후 불완전 라인 미출력 확인✏️ 변경됨섹션 미출력 확인