Feature Spotlight: The Leaderboards Powering Competitive Learning

What It Is

A multi-layered leaderboard system designed to transform individual study into social, gamified competition. It ranks students across different dimensions to motivate consistent engagement and foster learning communities.

๐Ÿ“Š The Three-Tiered Ranking Structure

๐Ÿ“š Subject-Based Leaderboards

Purpose: Encourage mastery in specific courses

Ranking Logic: Weighted score = Accuracy% ร— Consistency Bonus
  • Top 15 performers per subject
  • Dedicated subject leaderboard pages
๐ŸŒ Global Leaderboard

Purpose: Track overall platform standing

Ranking Logic: Total XP earned across all activities
  • Paginated results for browsing through thousands of learners
  • Global rankings page and mobile API endpoints
๐Ÿ‘ฅ Friends Leaderboard

Purpose: Foster friendly competition within social circles

Ranking Logic: XP comparison among connected users
  • Real-time updates as friends progress
  • Friends leaderboard views and social features

๐Ÿ† Subject Leaderboard Preview

๐Ÿงฌ Biology - Top 5 Performers

1
Sarah Johnson 92% accuracy 2,450 XP
2
Michael Chen 88% accuracy 2,120 XP
3
Amara Okafor 85% accuracy 1,980 XP
4
David Williams 82% accuracy 1,750 XP
5
Grace Adebayo 79% accuracy 1,620 XP

๐ŸŒ Global Leaderboard Preview

๐Ÿ… Top 5 Overall Learners

1
Alex Rivera Level 12 12,450 XP
2
Zainab Ibrahim Level 11 11,890 XP
3
James Wilson Level 11 11,200 XP
4
Chioma Nwachukwu Level 10 10,450 XP
5
You ๐Ÿ‘ค Level 9 9,200 XP

๐Ÿ‘ฅ Friends Leaderboard Preview

๐Ÿค Your Circle - This Week

1
Sarah Johnson +450 XP this week 2,450 XP
2
Michael Chen +320 XP this week 2,120 XP
3
You ๐Ÿ‘ค +280 XP this week 1,980 XP
4
David Williams +190 XP this week 1,620 XP

โš™๏ธ Technical Implementation

API Endpoints

leaderboard(request) โ€“ Renders subject-based leaderboard pages with weighted scoring
leaderboards_global_paginated(request) โ€“ API endpoint for global XP rankings
leaderboards_friends(request) โ€“ API endpoint for friends-only XP comparisons
๐ŸŽ Referral Integration โ€“ Bonus XP (5 points) for successful friend invites

๐Ÿ“ Where It Appears Across the Platform

๐Ÿ“Š Subject ranking pages
๐ŸŒ Global leaderboard displays
๐Ÿ‘ฅ Friends comparison views
๐Ÿ… Achievement references
๐Ÿ“ฑ Activity feeds
๐ŸŽฏ Social features

๐Ÿ’ญ Design Philosophy

Leaderboards serve multiple psychological needs:

๐Ÿƒ

Competitive Drive

Global rankings for broad comparison

๐Ÿค

Social Connection

Friends leaderboard for meaningful peer competition

๐ŸŽฏ

Skill Development

Subject-specific rankings to encourage focused mastery

๐Ÿ“ˆ

Progress Visibility

Clear metrics show tangible growth over time

โš–๏ธ Balancing Competition with Community

The system intentionally avoids creating purely extrinsic motivation by:

  • โœ… Celebrating multiple types of achievement (accuracy, consistency, persistence)
  • โœ… Balancing competition with community through friends-only views
  • โœ… Integrating with the broader XP and leveling system for holistic progression

"By making progress visible and social, the leaderboard system transforms solitary studying into a shared journey. Students don't just competeโ€”they inspire each other, form study groups around subject rankings, and celebrate collective growth."

๐ŸŽฏ Impact on Learning Culture

๐Ÿ“ˆ
Increased engagement
๐Ÿค
Study groups formed
๐Ÿ†
Healthy competition
๐ŸŽ‰
Celebrated milestones

๐Ÿ’ก Weighted Score Formula

Subject Score = (Accuracy% ร— 100) + (Consistency Bonus ร— 10)

Where Consistency Bonus rewards multiple attempts over time

๐Ÿ’ก The Core Insight

The most effective leaderboards don't just rankโ€”they reveal pathways to improvement. By showing students exactly where they stand and who's ahead, we transform abstract competition into concrete, achievable goals.