How YunoPuck picks games

YunoPuck picks every NHL game before it starts, then grades each pick against the final score, in public. It learns from every game since 2005.

Methodology

  1. Collect Every Game

    Every shot, goal and penalty comes from the NHL’s play-by-play feed, stored exactly as received.

    That is 24,893 games and 1,697,232 shots over 21 seasons.

  2. Check the Data

    Data validated through 70 automated checks daily.

  3. Rate Every Shot

    An expected-goals model scores each shot by where it came from, the angle, the shot type and the game situation.

    On a season it never saw, it predicts goals 12.4% better than giving every shot the league-average chance.

  4. Predict at Noon ET

    The win model picks each day’s games using the projected starting goalie and lineup for both teams. Games up to a week ahead get an early pick, updated each morning; the pick that counts is made on game day.

  5. Grade in Public

    Each pick is scored against the final result. If a roster changes before puck drop, the site shows an update, but the noon pick is the one that counts.

Model Inputs

Everything the models see before a game. Nothing from the game itself, and nothing from the future.

Shot location
Distance and angle to the net. Used by the shot model.
Shot type
Wrist shot, slap shot, tip-in and so on. Used by the shot model.
Game situation
Even strength, power play, empty net and rebounds. Used by the shot model.
Team strength
A rating of each team that updates after every game. Used by the win model.
Shot quality created
Expected goals a team has generated over its last 20 games. Used by the win model.
Shot quality allowed
How dangerous the shots a team gives up have been. Used by the win model.
Results so far
Points percentage this season, goal differential and the last 10 games. Used by the win model.
Rest
Days since each team’s last game, and whether it is the second night of a back-to-back. Used by the win model.
Starting goalie
The projected starter’s goals saved above expected. Used by the win model.
Projected lineup
How the projected skaters compare with each team’s usual lineup. Used by the win model.

The model assumes each team’s last starting goalie and skaters play again, and drops anyone no longer on tonight’s roster. The NHL doesn’t confirm starters or healthy scratches before puck drop, so the model can’t see those.

What the Numbers Mean

One hockey game is close to a coin flip. The honest test is whether the model beats simple rules on games it never saw.

The record. 2026-27 so far, the picks were right 60.7% of the time (458 games), against 51.3% for picking the home team every game. Every season.

The test before launch. The 2025-26 season was held out of training. On it the model called 53.8% of 1,312 games right, against 52.2% for the home team and 52.9% for the site’s old record-based formula.

Its probabilities scored better too (log loss 0.688 vs 0.693). The record’s number for that season differs slightly: it replays the picks with the live forecast’s inputs, such as projected lineups.

Live picks. Live record since 2026-12-03 00:00:00: 8/12.

Pipeline and Results

From the NHL feed to a prediction

  1. IngestNHL API, rate-limited, validated
  2. Lakeraw JSON, never edited
  3. WarehouseDuckDB, idempotent loads
  4. dbtstaging → marts, 64 tests
  5. Quality6 checks
  6. ModelsxG + win probability
  7. Applocked before puck drop

Orchestrated daily by Airflow. Every step can be re-run safely.

Shot model: predicted vs actual

Shots grouped into ten bins by predicted chance of scoring. Points on the line mean the predictions match reality. Across 111,099 test shots it expected 7,904 goals; 7,578 were scored.

Show the numbers
PredictedActualShots
0.4%0.5%11,110
1.2%1.0%11,111
1.9%1.8%11,110
2.9%3.0%11,110
4.3%3.8%11,109
6.0%5.8%11,109
7.8%7.6%11,110
10.1%9.9%11,110
13.6%13.5%11,111
23.0%21.3%11,109

Win model: predicted vs actual

Games grouped by the model’s home-win probability. Hockey is noisy, so the points scatter more than for shots.

Show the numbers
PredictedActualGames
37%39%132
44%56%131
48%47%131
51%50%131
53%48%131
56%51%131
58%54%131
61%54%131
65%58%131
71%65%132

Technical Deep Dive

Data

Source: NHL API play-by-play, 2005-06 to 2026-27 (24,893 games, 1,697,232 unblocked shot attempts), cross-checked against MoneyPuck’s shot files: every MoneyPuck player id resolves to a player in the warehouse.

Flow: a rate-limited, schema-validated client lands raw JSON in a lake (local or S3-compatible) under deterministic keys. DuckDB loads it idempotently by file fingerprint. dbt builds staging, intermediate and mart layers, including an incremental shot-feature mart and player identity resolution.

Quality: checks on every run for freshness, duplicates, empty games, schema drift and missing coordinates (6 checks, plus 64 dbt tests).

Features

Shot model: distance and angle to the net (coordinates normalized to one end), shot type, strength state (5v5, power play…), empty net, and rebounds.

Win model: differences between the two teams before the game, using only earlier games, including the projected starter’s goals saved above expected (diff_goalie_gsax) and how the projected skaters compare with each team’s usual lineup (diff_lineup_delta). Standardized logistic-regression coefficients (positive favors the home team):

FeatureCoefficient
elo_diff+0.325
diff_xg_for+0.103
away_b2b+0.081
diff_lineup_delta+0.059
diff_goalie_gsax+0.036
diff_points_pct+0.014
min_games_played-0.001
away_rest-0.019
home_rest-0.023
diff_last10-0.029
diff_goal_diff-0.058
home_b2b-0.098
diff_xg_against-0.153
Training

Model selection: season-forward cross-validation. Each fold trains on earlier seasons and validates on the next one, so the model never sees the future. The 2025-26 season is held out entirely and never used for tuning.

Shot model: gradient-boosted trees (XGBoost on GPU, xgb_d3_lr0.05_n600), trained on the 3 most recent seasons (338,714 shots); the training window and tree settings were chosen by validation log loss.

Win model: logistic regression on 18,202 games, chosen over XGBoost challengers by validation log loss. Expected-goals features reach it only out-of-fold, so no game's own shots leak into its prediction.

Evaluation

Held-out 2025-26 season. Lower log loss and Brier are better; AUC 0.5 is a coin flip.

ModelLog lossBaselineBrierAUCAccuracy
Shot (xG)0.218 0.2490.059 0.766–
Win probability0.688 0.6930.247 0.56453.8%

Baselines: for shots, the league goal rate for every shot; for games, the home team’s win rate. Every number here is generated by the pipeline (metrics.md in the repo), not typed in.