Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Leaderboard API showing stale data inconsistent with metagraph state #100

Open
Luka-Loncar opened this issue Jan 22, 2025 · 0 comments
Labels
59 bug Something isn't working

Comments

@Luka-Loncar
Copy link

Luka-Loncar commented Jan 22, 2025

Description:

An issue was discovered where the leaderboard API was returning outdated or incorrect data that didn't match the current metagraph state. This manifested as agents showing incorrect emissions values and deregistered agents still appearing in the rankings.

Observed Behavior:

  • Leaderboard showed a deregistered agent (rank build(deps): bump starlette from 0.37.2 to 0.40.0 #1) as still active
  • Emissions values displayed didn't match metagraph data
  • API was returning stale/incorrect data
  • Issue resolved unexpectedly after UI redeployment, though this should not affect API behavior
  • After resolution, entire leaderboard updated simultaneously rather than gradually

Expected Behavior:

  • Leaderboard should accurately reflect current metagraph state
  • Emissions values should match on-chain data
  • Deregistered agents should not appear in rankings
  • Updates should process gradually through validator sync cycle

Potential Investigation Areas:

  1. API caching mechanisms
  2. Validator update processes
  3. Data synchronization between metagraph and API
  4. Database state management
  5. Service deployment impact analysis

Impact:

  • Incorrect ranking display affecting user trust
  • Misrepresented emissions data
  • Potential confusion in community regarding agent status
@Luka-Loncar Luka-Loncar added bug Something isn't working 59 labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
59 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant