You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: InsightsList incorrectly favors User 1 when metrics are tied #268
When both developers have equal scores (for example, both have 0 PR score or matching repo scores), the >= check automatically assigns user1 as the leader. As a result, user1 is credited with a strength in that category, and user2 is given a recommendation to improve.
Motivation
Displaying asymmetric insights when two scores are identical is incorrect and misleading.
Tasks
Check for score equality (user1.repoScore === user2.repoScore).
Only award category strengths when a developer strictly exceeds the other (>).
If tied, either do not award a strength or display a balanced tied note.
Update or add tests in src/features/comparison/tests/insights-list.test.tsx.
Activity
sarmad-jalil commentedon Oct 25, 2026
Hi! I'd like to work on this issue. Could you please assign it to me? Thanks!
github-actions commentedon Oct 25, 2026
🎉 Issue assigned to @sarmad-jalil! Happy coding!