Skip to content

feature: only list our own players on the faceit and premier boards - #412

Merged
lukepolo merged 1 commit into
mainfrom
feature/external-rank-active-players
Sep 18, 2026
Merged

lukepolo merged 1 commit into
mainfrom
feature/external-rank-active-players

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

Follow-up to #411. The Faceit and Premier leaderboards listed anyone with a cached rating — and importing a demo creates a player row for everyone in that match, so the boards filled up with people who have never been on the platform.

Both boards now require:

  • a sign-in (last_sign_in_at is set), and
  • at least one finished match played here (source = '5stack'). Imported Valve/FACEIT matches and canceled matches do not count.

Tests: 1394 SQL (+5).

Importing a demo mints a players row for everyone in the match, so the external
boards filled up with ratings for people who have never been on the platform.
Both now require a sign-in and a finished 5stack match.
@lukepolo
lukepolo merged commit 9aa8159 into main Sep 18, 2026
2 checks passed
@lukepolo
lukepolo deleted the feature/external-rank-active-players branch September 18, 2026 04:19
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