update complexity boundaries - #5529
kohlivrinda wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughComplexity tier thresholds were updated in Go and TypeScript. Analyzer tests now use the revised boundary and validate positive scores for technical-signal cases without requiring specific tiers. ChangesComplexity threshold retuning
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to The PR adjusts complexity classification thresholds and keeps the corresponding tests and UI definitions aligned; no actionable merge-blocking risk remains beyond normal checks and review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
63fef85 to
e163b57
Compare
a1bb138 to
c254159
Compare
e163b57 to
623a770
Compare
623a770 to
2aaeca9
Compare
c254159 to
246c260
Compare
2aaeca9 to
fe6869c
Compare
246c260 to
7dad74e
Compare
7dad74e to
55c20d1
Compare
fe6869c to
26b3222
Compare
55c20d1 to
d3a2f23
Compare
26b3222 to
628b876
Compare
63cbc53 to
0d8f5d9
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
0d8f5d9 to
3a19e06
Compare
4e0ba51 to
04c5099
Compare
04c5099 to
f816639
Compare
3a19e06 to
472dd4f
Compare
472dd4f to
fc98ddb
Compare
f816639 to
987f510
Compare
fc98ddb to
6d9e62c
Compare
987f510 to
213ec30
Compare
6d9e62c to
ac1cbac
Compare
213ec30 to
10b752e
Compare
ac1cbac to
e5a7ac1
Compare
10b752e to
7f7f487
Compare
e5a7ac1 to
d6417aa
Compare
7f7f487 to
0c0eed6
Compare
d6417aa to
8748232
Compare
7676bec to
b6d1992
Compare
8748232 to
6a92f6e
Compare
6a92f6e to
486f0b2
Compare
b6d1992 to
2b1e8d4
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |

Summary
Adjusts the complexity tier classification boundaries from
0.17/0.39to0.20/0.40to better reflect the scoring distribution produced by the current keyword weight scale. The previous thresholds were causing borderline technical questions to land inSIMPLEwhen they should register a meaningful positive score, regardless of tier.Changes
simpleMediumBoundaryraised from0.17→0.20andmediumComplexBoundaryfrom0.39→0.40in the Go config and mirrored in the UI type definitions.TestAnalyze_SimpleKeywordDoesNotSuppressTechnicalSignalsandTestAnalyze_AccessVsRefreshTokenswere updated to reflect that these inputs now correctly score inSIMPLEunder the new boundary — the assertions were relaxed from requiring a non-SIMPLEtier to requiring a positive score and a non-nil result, which is the meaningful invariant.TestAnalyze_CustomTierBoundariesprobe value was updated from0.18to0.25to sit clearly above the new0.20simple/medium boundary, keeping the default vs. custom boundary contrast valid.Type of change
Affected areas
How to test
Breaking changes
Related issues
Security considerations
None.
Checklist
docs/contributing/README.mdand followed the guidelines