# Tullage: forecast and backtest

forecast_runout answers one question: will this quota still be open on the day the goods are declared.

## Method

- Analog periods: every fully observed past period of the same order number and the same length replays its own draw-down from the same point in its period on top of today's balance. The share of those replays still open on the shipment date is the raw probability.
- Calibration: the raw share is mapped, per horizon bucket, to how often such shares were right in past periods. Three to eight past periods give the analog class, one or two the analog_thin class, with their own calibration.
- Open means a balance above 0.1 % of the volume on the shipment date.
- No forecast is made when no comparable past period recorded an allocation. The answer then says unknown and states the history it has: how many comparable periods there were, and that none was drawn or ran out.
- A straight-line pace fallback was tried and dropped: it lost to the naive rule that an open quota stays open.

## Backtest, out of sample

Calibrated on 5,754 periods that ended before 2022-01-01; scored on 5,667 periods that started from then on and recorded at least one allocation, 151,213 cases at forecast origins from 7 days before opening to day 90, shipments 7 to 90 days ahead. Data version 2026-11-06.617393.

| On cases with a forecast (87 %) | Tullage | Open now, open then | Straight line |
|---|---|---|---|
| Brier score, lower is better | 0.0395 | 0.0627 | 0.1221 |
| Best-guess accuracy | 95.0 % | 93.7 % | 87.8 % |
| Said open, then ran out | 2.1 % | 6.3 % | 4.8 % |
| Run-outs it warned of | 70 % | 0 % | 31 % |

By horizon, analog class (3 or more past periods):

| Horizon | Brier, Tullage | Brier, open now open then | Brier, straight line | Best guess, Tullage | Best guess, open now open then |
|---|---|---|---|---|---|
| 7 days | 0.0156 | 0.0174 | 0.0523 | 98.0 % | 98.3 % |
| 14 days | 0.0276 | 0.0349 | 0.1003 | 96.4 % | 96.5 % |
| 30 days | 0.0405 | 0.0604 | 0.1553 | 95.1 % | 94.0 % |
| 60 days | 0.0591 | 0.1004 | 0.2024 | 92.8 % | 90.0 % |
| 90 days | 0.0614 | 0.1232 | 0.1204 | 91.8 % | 87.7 % |

Where the yes or no guess does not beat the naive rule, answers at that horizon say so and point to the probability instead.

## How the scored set was chosen

The scored set leaves out 1,992 periods that never recorded an allocation. Whether a period will be drawn is not known when a forecast is made, so the same forecasts are also scored with those periods put back in: 7,659 periods and 219,308 cases, of which 69 % get a forecast. On those, Brier 0.0345 against 0.0545 for open now, open then and 0.1061 for a straight line; best guess 95.7 % against 94.5 %. The ranking does not change. Undrawn periods stay open, which lowers every score and raises the share of answers that say unknown.

## What it cannot know

Demand that has not been filed yet, policy changes, new or transferred volumes, and the pro rata split on the day a quota runs out. It is a probability, not a guarantee.
