Skip to content

[Bug]: User rank position shown on profile doesn't match the actual rank on the leaderboard #579

@Priyanka0205-CSE

Description

@Priyanka0205-CSE

Bug Description

Found something inconsistent that's been confusing me. The rank number shown on my profile page is different from what shows up when I look myself up on the GitRank leaderboard. Like my profile says rank #12 but on the leaderboard I'm actually at #15.
I think it's because the profile calculates rank client-side from a snapshot while the leaderboard pulls a live ordered query from Firestore — so they're never really in sync.
To reproduce:

Go to your profile and note the rank shown
Open GitRank leaderboard and find yourself
The numbers don't match

They should always show the same rank. One source of truth would fix this.

Metadata

Metadata

Labels

NSoC'26NSoC 2026backendBackend/Firebase related changesbugSomething isn't workingfrontendFrontend related changes (HTML/CSS/JS/React)gssocGirlScript Summer of Codegssoc26GirlScript Summer of Code 2026needs-reviewIssue needs reviewneeds-triagensocNSoC

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions