Skip to the main content
Research · operator view · build 2026.11.22

Model health &
deployment traceability.

This page tracks what computed today's served rating, the machine-learning challenger that trains beside it, source freshness, and public coverage. Shorelife publishes a daily forecast. It does not detect intra-day spills.

Served estimate
Logistic model on the per-beach lookup
logit-lookup-offset-v2 · computes the rating users see
Served estimate · AUROC / AUCPR / Brier
0.812 / 0.515 / 0.092
live: 4823 forecasts it served, the same ones as the challenger tile · scored on the first lab result 1–3 days after each forecast
Coverage
232 / 341
68% of California beaches
ML challenger
xgb-undersample-ensemble-curated-v0
registry winner; trains daily, does not set the served number
ML challenger · AUROC / AUCPR / Brier
0.801 / 0.480 / 0.092
live: scored on the same 4823 forecasts as the served estimate · first lab result 1–3 days after each forecast
Public release
Eligible
ML release gate
Served estimate · 2026-11-22

Today's fit

logit(p) = logit(lookup) + b0 + b1·R + b2·R·F + b3·W + b4·S + b5·ddpcr + b6·R·ddpcr, refit every morning on four years of lab results. R is how far the last result was above or below its own limit on a log scale. F is how recent it is. W is rain in the 72 hours before 5 AM. S is the season. ddpcr is 1 when the beach's last test was a ddPCR test (San Diego rapid DNA, judged at 1413 copies) and 0 for culture methods. If the fit fails a guard, the plain lookup serves instead and the pipeline raises an alert.

b0
-0.228
b1 · R
0.336
b2 · R·F
0.481
b3 · W
0.716
b4 · S
0.333
b5 · ddpcr
0.099
b6 · R·ddpcr
0.651

Live scoreboard

Within-beach AUROC measures how well a model tells a beach's dirty days from its clean days; 0.50 is a coin flip. It is the deciding metric, so it comes first. Every row uses the same forecasts. The last two columns show each row versus the served logistic as a 95% interval (resampled by beach). An interval that includes zero is not a real difference.

Live, 1–3 days outWithin-beach AUROCAUROCAUCPRBrierWithin-beach AUROC vs served (95% CI)Brier vs served (95% CI)
Served logistic0.5780.8120.5150.0921——
Per-beach lookup0.3620.8080.4980.0893−0.276 to −0.154−0.0062 to +0.0017
Persistence0.3980.6010.2930.1302−0.230 to −0.125+0.0307 to +0.0454
ML challenger0.5940.8010.4800.0917−0.014 to +0.042−0.0039 to +0.0038
4,823 forecast–result pairs · 56 served days · versions pooled: logit-lookup-offset-v1, logit-lookup-offset-v2 · decision rule
Forward outcomes 1–3 days outAUROCAUCPRBrierWithin-beach AUROC
Logistic (served) · Apr–Sep0.8540.5560.05310.512
Lookup · Apr–Sep, same forecasts0.8530.5290.05690.382
ML challenger · Apr–Sep, same forecasts0.7900.3070.07060.513
Logistic · year-long backtest0.8530.5920.07290.646
Lookup · year-long backtest0.8280.5420.07730.450
Rows marked "same forecasts" use identical forecast-days (Apr–Sep: 2026-04-23 – 2026-09-29, n = 22,741). Year-long backtest: 2025-09-01 – 2026-09-29, refit monthly, n = 76,889. Live rows are in the scoreboard above.
114,341 training rows · rain data for 100% of beaches · mean 0.224 vs lookup 0.113 · 152 of 492 beaches in a different band than the lookup
ML challenger · spatial backtests

Performance on unobserved counties

These scores describe the machine-learning challenger, not the served estimate above.

spatial beach persistence
AUCPR
0.787
Brier
0.169
15 folds · 12227 samples
spatial county persistence
AUCPR
0.476
Brier
0.137
6 folds · 68071 samples
spatial beach xgb undersample ensemble
AUCPR
0.947
Brier
0.100
15 folds · 12227 samples
spatial county xgb undersample ensemble
AUCPR
0.689
Brier
0.103
6 folds · 68071 samples
spatial beach hist gbm
AUCPR
0.945
Brier
0.102
15 folds · 12227 samples
spatial county hist gbm
AUCPR
0.671
Brier
0.108
6 folds · 68071 samples
spatial beach hist gbm positive persistence guard
AUCPR
0.825
Brier
0.144
15 folds · 12227 samples
spatial county hist gbm positive persistence guard
AUCPR
0.584
Brier
0.125
6 folds · 68071 samples
spatial beach hist gbm persistence blend
AUCPR
0.942
Brier
0.114
15 folds · 12227 samples
spatial county hist gbm persistence blend
AUCPR
0.697
Brier
0.096
6 folds · 68071 samples
spatial beach xgb undersample offset
AUCPR
0.908
Brier
0.196
15 folds · 12227 samples
spatial county xgb undersample offset
AUCPR
0.513
Brier
0.130
6 folds · 68071 samples
Deep dives

Transparency documentation

Labels · Thresholds

Risk Labels

How exceedance probability maps to the four public bands, legal basis, and what the model can and cannot predict.

READ →
Provenance · Cadence

Data Sources

Eight feeds: county advisories, county samples, BeachWatch, NDBC, CDIP, Open-Meteo, USGS NWIS, and CEDEN. Freshness status comes from the daily pipeline.

READ →
AUCPR · Brier · Spatial CV

Calibration

The ML challenger's metrics, spatial backtest results, and candidate model registry from the latest CI run.

READ →
Within-beach AUROC

Weather-Only Experiment

2026-10-15 backtest: six days of coastal weather with no lab history, compared to the served logistic v2 model.

READ →
Scientific artifacts

Open data & methodology

Technical Methodology

Model design, coverage limits, risk-band calibration, spatial holdout protocol, and known limitations.

Shorelife Team
READ →

Source Code & Data

Full pipeline, training scripts, and curated datasets available on GitHub under an open-source license.

Automated Pipeline
GITHUB →