Overview
A server-rendered analytics site built on nflverse play-by-play, with an hourly Python ingest into Oracle Autonomous Database and pages that only ever read pre-warmed JSON. Opponent-adjusted EPA, power ratings and a prediction model graded against the betting market drive live scores, playoff odds from 10,000 simulated seasons, player grades and a chart maker.
Case study
The problem
Football analytics sites tend to show raw totals that ignore the strength of the opponent, and prediction sites rarely show how their picks actually did.
The approach
An hourly Python ingest pulls play-by-play, Next Gen Stats and more into Oracle Autonomous Database. Efficiency is adjusted for the opponent and pulled toward the league average early in the season, when samples are small.
A prediction model records its picks before kickoff and grades them against the closing betting market. Playoff odds come from 10,000 simulated seasons with tiebreaker-correct standings. Pages are server-rendered and only read pre-warmed JSON, and every chart is hand-built, animated SVG with no third-party scripts.
The result
NFL Stats is live through the season, with live scores, power ratings, player grades, playoff odds and a chart maker, and the model’s record on the front page for anyone to check.
Highlights
- Iterative opponent adjustment of EPA/play and success rate, shrunk toward the league mean early on
- Pre-kickoff picks recorded and graded against the closing market, with the margin broken into its parts
- Playoff odds from 10,000 simulated seasons, with tiebreaker-correct standings
- Player grades learned from how well each component predicts later EPA, pulled toward average on small samples
- Ingests play-by-play, Next Gen Stats, PFR advanced, QBR, snap counts, injuries and depth charts
- Every chart is generated, animated SVG, with no third-party scripts, fonts or CDNs


