feat(dynamic-grouping): extract cluster sorting, refine ranking signals#106919
feat(dynamic-grouping): extract cluster sorting, refine ranking signals#106919
Conversation
- Assignment tier first: assigned to you → assigned to your team → assigned to others → unassigned.
- Priority score next: urgency (regressions/escalations, new issues, recent lastSeen) + volume (events/users) where volume is zeroed if users=0 and otherwise
scaled by percentile rank.
- Fixability is a multiplier on priority (so low fixability dampens urgency/volume, but never to zero).
- Single‑issue clusters get a lighter penalty (weight 0.5).
- Then a small scope tiebreaker (issue count, capped) and stable source order.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| // Prevent low fixability from zeroing urgency; higher = more weight to fixability. | ||
| const FIXABILITY_FLOOR = 0.2; | ||
| // Single-issue clusters are less actionable; penalize their priority. | ||
| const SINGLE_ISSUE_WEIGHT = 0.75; |
There was a problem hiding this comment.
Single-issue weight value mismatches PR description
Medium Severity
The SINGLE_ISSUE_WEIGHT constant is set to 0.75, but the PR description explicitly states the weight should be 0.5. With 0.75, single-issue clusters receive a 25% priority penalty instead of the documented 50% penalty. This means single-issue clusters are ranked higher than intended relative to multi-issue clusters.
There was a problem hiding this comment.
THE PR DESCRIPTION DOESN'T KNOW
cvxluo
left a comment
There was a problem hiding this comment.
i liked this sorting slightly better, i think it showed a better cluster at the top, but still had some of those non-fixable background task stuff in the top 5
…ls (#106919) - Assignment tier first: assigned to you → assigned to your team → assigned to others → unassigned. - Priority score next: urgency (regressions/escalations, new issues, recent lastSeen) + volume (events/users) where volume is zeroed if users=0 and otherwise scaled by percentile rank. - Fixability is a multiplier on priority (so low fixability dampens urgency/volume, but never to zero). - Single‑issue clusters get a lighter penalty (weight 0.75). - Then a small scope tiebreaker (issue count, capped) and stable source order.
…ls (#106919) - Assignment tier first: assigned to you → assigned to your team → assigned to others → unassigned. - Priority score next: urgency (regressions/escalations, new issues, recent lastSeen) + volume (events/users) where volume is zeroed if users=0 and otherwise scaled by percentile rank. - Fixability is a multiplier on priority (so low fixability dampens urgency/volume, but never to zero). - Single‑issue clusters get a lighter penalty (weight 0.75). - Then a small scope tiebreaker (issue count, capped) and stable source order.
Uh oh!
There was an error while loading. Please reload this page.