Skip to content

feat(dynamic-grouping): extract cluster sorting, refine ranking signals#106919

Merged
scttcper merged 1 commit intomasterfrom
scttcper/dynamic-grouping-ordering-2
Jan 26, 2026
Merged

feat(dynamic-grouping): extract cluster sorting, refine ranking signals#106919
scttcper merged 1 commit intomasterfrom
scttcper/dynamic-grouping-ordering-2

Conversation

@scttcper
Copy link
Member

@scttcper scttcper commented Jan 23, 2026

  • 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.

  - 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.
@scttcper scttcper requested review from cvxluo and yuvmen January 23, 2026 21:29
@scttcper scttcper requested a review from a team as a code owner January 23, 2026 21:29
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 23, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Copy link
Member Author

@scttcper scttcper Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THE PR DESCRIPTION DOESN'T KNOW

Copy link
Contributor

@cvxluo cvxluo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@scttcper scttcper merged commit 53abc65 into master Jan 26, 2026
55 checks passed
@scttcper scttcper deleted the scttcper/dynamic-grouping-ordering-2 branch January 26, 2026 21:48
JonasBa pushed a commit that referenced this pull request Jan 27, 2026
…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.
priscilawebdev pushed a commit that referenced this pull request Feb 2, 2026
…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.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants