Skip to content

Implement Proper Tied Ranking for Users with Equal Scores #100

@Yashaswini-K-P

Description

@Yashaswini-K-P

Description

Currently, users with equal scores in the leaderboard can be ranked in different ways depending on the ranking logic used. Before implementing, I would like to confirm the expected ranking behavior for consistency across all leaderboard views.

Problem

When multiple users have the same score, different ranking systems produce different outputs.
Option 1: Competition Ranking (1224 system)
-1. A — 500
-1. B — 500
-3. C — 480
-4. D — 470
-4. E — 470
-6. F — 430

Option 2: Dense Ranking (no skipped ranks)
-1. A — 500
-1. B — 500
-2. C — 480
-3. D — 470
-3. E — 470
-4. F — 430

Option 3: Unique Ranking
-1. A — 500
-2. B — 500
-3. C — 480
-4. D — 470
-5. E — 470

Could you please confirm which ranking strategy should be followed? Also, if there is any other ranking approach or custom logic you are considering for this project, I would be happy to align with that and implement it accordingly.

Once confirmed, I will implement it consistently across:

Daily leaderboard
Weekly leaderboard
Monthly leaderboard
Overall leaderboard

Metadata

Metadata

Labels

FrontendTask mainly involving frontendlevel:intermediateIndicates the difficultytype:featureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions