Skip to content

Optimize community leaderboard ranking#701

Merged
JoaquinBN merged 2 commits into
devfrom
JoaquinBN/analyze-leaderboard-demand
May 27, 2026
Merged

Optimize community leaderboard ranking#701
JoaquinBN merged 2 commits into
devfrom
JoaquinBN/analyze-leaderboard-demand

Conversation

@JoaquinBN
Copy link
Copy Markdown
Collaborator

Summary

  • move effective community ranking to database annotations instead of rebuilding all scores in Python per request
  • add a profile-specific community context response for top entry, user rank, and nearby rows
  • fix community profile rank cache isolation by address
  • include Community Link X/Discord points in community scoring while excluding link-only activity from community member metrics
  • improve leaderboard pagination with first/previous/next/last controls and real page counts

Verification

  • backend/env/bin/python backend/manage.py check
  • npm run build

Notes

  • npm run check still reports existing repo-wide typing/a11y issues unrelated to this change.
  • package-lock.json has an unrelated local workspace name change and was intentionally left out of this PR.

@JoaquinBN JoaquinBN merged commit ef6163d into dev May 27, 2026
@JoaquinBN JoaquinBN deleted the JoaquinBN/analyze-leaderboard-demand branch May 27, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant