Skip to content

Import DDNet official stats: points, records, teams, and history - #37

Merged
needs merged 3 commits into
masterfrom
ddnet-stats-data-analysis
Aug 28, 2026
Merged

Import DDNet official stats: points, records, teams, and history#37
needs merged 3 commits into
masterfrom
ddnet-stats-data-analysis

Conversation

@needs

@needs needs commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Ingests the daily ddnet.org dumps through three new BullMQ jobs: a resumable backfill that streams the 69M-finish dump into month-partitioned Parquet on R2 and drains it into curated Postgres tables (bests with checkpoint splits, points/ranks, records, team runs, partner aggregates, per-day finish counts), an hourly incremental import with watermark dedup and self-healing recounts, and a byte-offset tailer for the since-2014 online-player feeds.

The frontend surfaces it with minimal additions: map headers gain mapper/stars/points/thumbnail and a Records tab (WR-progression chart, solo/team/duo leaderboards, checkpoint splits with player comparison), players gain a DDNet points header segment and tab plus proven-teammates with duo ranks, mapper pages are new, activity calendars extend back to 2013 with a distinct finish ramp, and the home chart gets DDNet total/by-country/by-mod sources. The pipeline was verified end-to-end against a fixture slice of the real dump with exact ground-truth parity, and /status reports backfill/import health.

Before deploying: fly volumes extend on teerankio-postgres2 by +20 GB (~14.5 GB of new tables at steady state).

🤖 Generated with Claude Code

needs and others added 3 commits August 28, 2026 18:24
Adds a worker pipeline over the daily ddnet.org dumps (resumable backfill
to R2 Parquet + curated Postgres tables, nightly incremental import,
online-status history since 2014), and surfaces it in the frontend: map
records/checkpoints/thumbnails, player points and best times, mapper
pages, proven teammates with duo ranks, finish-based activity back to
2013, and DDNet breakdowns on the home chart.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…alysis

# Conflicts:
#	apps/frontend/app/page.tsx
@needs
needs merged commit 22f51a3 into master Aug 28, 2026
1 check passed
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