Draftsmith
A League of Legends draft recommender that ranks champion picks and builds five-stack team comps.In champ select, you enter your role and any ally and enemy picks and get a ranked list of champions for your slot, weighted toward champions you actually play well.
Every recommendation is broken into lane matchup, counters to the enemy comp, synergy with allies and personal comfort, so you can see why it ranks where it does.
For Clash or flex, a captain enters five Riot IDs and roles, picks a style like engage, poke or scaling, and gets the best full comps built from each player's real champion pool.
A crawler pulls ranked matches from the Riot API across regions, throttled by a Redis sliding-window rate limiter that follows Riot's rate-limit headers, and it resumes after a crash without fetching the same match twice. Matches are aggregated per patch into champion, matchup and synergy tables.
Scores are computed as log-odds relative to each champion's base win rate, and every pairwise stat is shrunk with empirical Bayes so small samples fall back toward zero instead of looking like hard counters.
FastAPI, PostgreSQL, Redis and an arq job queue on the backend; React, Vite, TypeScript, Tailwind, React Query and Zustand on the frontend, all in Docker Compose.