Skip to content

feat: badges, XP/levels, character classes, and agent leaderboard#2

Open
Dexploarer wants to merge 6 commits intomainfrom
feat/leaderboard-v2
Open

feat: badges, XP/levels, character classes, and agent leaderboard#2
Dexploarer wants to merge 6 commits intomainfrom
feat/leaderboard-v2

Conversation

@Dexploarer
Copy link
Member

Summary

  • Badge system: 5 types (Schizo Shipper, Bug Priestess, Oracle, Streak Demon, Ascended) x 3 milady-themed tiers (Acolyte, Priestess, Remilia) with progress tracking
  • XP/Level system: RuneScape formula, per-tag XP tracking mapped to actual milaidy repo labels (10 area tags + 7 category tags)
  • Character classes: 8 classes (Core Dev, Connector, Designer, Scribe, Guardian, Infra, Machine, Anon) derived from dominant tag XP
  • Agent leaderboard: Dedicated /agents page with bot detection (username patterns + curated list)
  • Expanded pipeline: generate-scores.ts now fetches issues, PR reviews, and comments from GitHub API; computes badges, levels, and character classes per contributor
  • Modernized UI: Sticky glass header, card hover effects, gradient logo, wider layout, humans-only filter, level/XP sort options
  • Updated pages: Scoring page documents badges/levels/classes; contributor detail shows badges, tags, and activity stats
  • 41 unit tests covering badge computation and level/XP/class logic

Test plan

  • TypeScript strict mode: zero errors
  • ESLint: zero warnings
  • Full static build: 25 pages export cleanly
  • 41 unit tests passing (badges.test.ts, levels.test.ts)
  • Verify /agents page renders correctly
  • Verify contributor detail badges/tags sections display
  • Run generate-scores.ts with GITHUB_TOKEN to populate new fields

🤖 Generated with Claude Code

- Badge system: 5 types (Schizo Shipper, Bug Priestess, Oracle, Streak
  Demon, Ascended) x 3 milady-themed tiers (Acolyte, Priestess, Remilia)
- XP/Level system using RuneScape formula, per-tag tracking mapped to
  actual milaidy repo labels (area + category tags)
- Character classes derived from dominant tag XP (Core Dev, Connector,
  Designer, Scribe, Guardian, Infra, Machine, Anon)
- Agent detection (username patterns + curated list) with dedicated
  /agents leaderboard page
- Expanded pipeline: fetches issues, PR reviews, and comments from
  GitHub API; computes badges, levels, and classes per contributor
- Modernized UI: sticky glass header, card hover effects, gradient
  logo, wider layout, humans-only filter, level/XP sort options
- Updated scoring page with badge/level/class documentation sections
- Updated contributor detail page with badges, tags, and activity stats
- 41 unit tests for badges and levels libraries
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