← Statpro dev log

Route volume is the gap to the close

#sports#data#product

Four curved routes fanning out from a single line, one glowing amber and ending in an arrowhead, one drawn as a faint dashed path

My NFL receiving projections trail the closing line, and for weeks I couldn't say which link in the chain was responsible. Guessing is expensive when every guess means building another model.

The closing line is the last price before kickoff. It has absorbed every injury report and every informed opinion, which makes it the hardest benchmark I can grade against. So I stopped guessing and ran oracle rounds on my projection chain. That chain is the series of steps behind Statpro, my sports stats and betting-research site, that projects a player's stat line for a game. Bettors wager on those lines, such as a receiver's catches or yards, and call them props.

Oracle rounds: hand the model one truth

An oracle round is cheating on purpose. Nobody knows a real value before kickoff, but in a backtest I can inject it, re-score against the close, and read off the ceiling. If I forecast this one input perfectly, how much of the gap disappears? An input whose oracle barely moves the score doesn't deserve a forecasting project. The round answers a narrower question than a new model would, and it answers it in one backtest.

I tested two inputs for NFL receiving markets, the bets on a receiver's catches and yards. The first was which receivers were active, meaning on the team's game-day roster. The second was each receiver's actual route share, the fraction of passing plays on which he ran a route.

Everything ran on a walk-forward split, where each week is predicted by a model trained only on the weeks before it:

for week in range(first_week, last_week + 1):
    train = rows[rows.week < week]     # everything before the week
    test  = rows[rows.week == week]    # the week being predicted
    model.fit(train.features, train.route_rate)
    preds[week] = model.predict(test.features)

# 2025 stays untouched until the final read

The 2025 season stayed out of every round. A holdout only counts if nothing was tuned against it, so it gets read once, at the end.

Route volume is the gap

Knowing exactly who was active closed none of the gap. Knowing each receiver's true route rate closed about nine tenths of the raw gap, which is how far my projections trailed the close, on receptions and receiving yards. Markets on points scored moved very little either way. One input accounts for nearly all of the distance on two markets, so the next project picks itself.

SHARE OF THE GAP TO THE CLOSE THAT DISAPPEARS Told who was active none Told each receiver's true route rate about nine tenths receptions and receiving yards Points markets moved very little either way.
Two oracle rounds on NFL receiving markets. The active list was never the problem.

In hindsight the arithmetic says the same thing. Receptions are routes run times the share of those routes that end in a catch. My chain handles the catch-rate half and guesses route volume from league-average priors, meaning a starting guess based on what the average receiver in the league does. Route volume is the half that swings from week to week, with a shadow corner (a cornerback who follows one receiver), the game script (a team that's trailing throws more, one that's leading runs more) or a run of three-wide sets (plays with three receivers on the field instead of two).

The active list is the loudest news of any NFL week, and on its own it was worth nothing here. Who suits up isn't where the chain loses. How often each of them runs a route is.

None of this shipped

The switches that inject the true value stayed out of the default path, and the patch is archived. An oracle is a measuring tool. In production it would be a leak of the answer into the question.

The follow-up is a real route-rate forecast. It beats my existing chain on receptions and receiving yards across 2023-24 and on the untouched 2025 holdout. It is off by default and isn't wired into the weekly update.

The quiet bug the week caught

Game pages took the newest projection rows. That sounds right until a finished week gets re-projected. Players in games that had already started then showed post-game rows, for up to seven days.

The fix is a cutoff. Once kickoff has passed, readers stop at game start, both for projections and for the news freshness check. A projection is a statement made before the game, and the page should show the last one that was.

Steal this if you're graded against a market

Before building a better forecast of any input, hand the pipeline the truth for that one input and re-score. If the gap stays open, a perfect forecast wouldn't have helped, and you've saved yourself the project. If it closes, you know how much there is to win and where to dig.

Three habits made the result trustworthy: keep the oracle out of the default path, hold out a season you never touch until the end, and make every reader stop at kickoff.

This is the build log for Statpro (statpro.io) · All entries · Weekly essays