fix: increase line proximity for finding grouping and dedup (#234)#403
fix: increase line proximity for finding grouping and dedup (#234)#403justn-hyeok merged 1 commit intomainfrom
Conversation
LINE_PROXIMITY of 5 was too tight — findings on the same function but 10+ lines apart created separate discussions. Increased to 15 to cover typical function bodies. Also relaxed deduplication overlap check to match the same proximity threshold. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 28 minutes and 38 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
LINE_PROXIMITYfrom 5 to 15 inthreshold.tsso that findings on the same function but 10+ lines apart are grouped into a single discussion instead of creating duplicates.deduplication.tsto also consider proximity (within 15 lines), matching the threshold grouping logic.Closes #234
Test plan
pnpm --filter @codeagora/core test— all 219 tests pass🤖 Generated with Claude Code