# Free sample — Premier League derived indicators

`FREE SAMPLE · 509 rows · 461 distinct fixtures · 32 columns`

509 rows of Premier League data (461 distinct fixtures) and 32 columns, 2025-08-15 to 2026-10-25. Derived indicators only, SHA-256 published.

This is a raw extract, not a cleaned file. 48 rows duplicate a fixture that
is already in the file, so the row count overstates the number of distinct fixtures. The duplicate rows
are left in place and disclosed here rather than silently dropped.

## Quick start

```python
import pandas as pd

# The first header cell carries a byte-order mark, so read as utf-8-sig.
df = pd.read_csv("free-sample-epl.csv", encoding="utf-8-sig")

y = df["y"]                      # 0 = home win, 1 = draw, 2 = away win
P_market = df[["odds_implied_prob_home", "odds_implied_prob_draw", "odds_implied_prob_away"]].values
P_elo = df[["elo_prob_home", "elo_prob_draw", "elo_prob_away"]].values
```

The two probability blocks are the baselines: de-vigged market consensus and a walk-forward Elo
control group that uses team strength only. If a model cannot beat both, what it learned is more
likely leakage or noise than signal.

## Duplicates, disclosed

- Rows in the file: 509
- Distinct fixtures: 461
- Duplicate groups: 48
- Extra rows added by those groups: 48
- Seasons: 2025-26, 2026-27

Because the rolling Elo and form columns are computed per row, duplicated rows do reach those
features. Deduplication is scheduled; until it lands this file is not called clean.

## Identifier and result columns

| Column |
|---|
| `match_id` |
| `league_id` |
| `season` |
| `kickoff` |
| `home_team` |
| `away_team` |
| `ft_home_goals` |
| `ft_away_goals` |
| `ft_result` |
| `ht_home_goals` |
| `ht_away_goals` |
| `ht_result` |
| `y` |

## Market-implied probabilities (3 columns, de-vigged and normalised)

| Column |
|---|
| `odds_implied_prob_home` |
| `odds_implied_prob_draw` |
| `odds_implied_prob_away` |

## Elo (7 columns, walk-forward, no leakage)

| Column |
|---|
| `elo_prob_home` |
| `elo_prob_draw` |
| `elo_prob_away` |
| `elo_home` |
| `elo_away` |
| `elo_diff` |
| `elo_diff_abs` |

## Form and rest (9 columns, computed from earlier matches only)

| Column |
|---|
| `form5_home` |
| `form5_away` |
| `gf_avg5_home` |
| `gf_avg5_away` |
| `ga_avg5_home` |
| `ga_avg5_away` |
| `gf_balance` |
| `days_since_home` |
| `days_since_away` |

## What is not in it

- No raw bookmaker prices. Market information appears only as de-vigged, normalised consensus
  probabilities, which cannot be inverted back to any single bookmaker's quote.
- No post-match features: every rolling statistic uses matches strictly before the row's kickoff.
- No synthetic rows and no padding.

## Licence and scope

Results and the derived indicators computed here (Elo, form, calibration probabilities, the
walk-forward control group) may be redistributed. Raw odds columns are not included, so there is
nothing to sublicense. GoalTeller does not sell odds data.

## Reproducibility

`scripts/site/gen_sample.py` writes `logs/site_sample.json` from the database; every number in this
file is read from that contract at build time. SHA-256 of the CSV: `962e36142c9cbc7272c1524804732fda5b818fa514b392a492002bc87b71a5d3` (165,465 bytes).
Verify a download with:

```bash
sha256sum free-sample-epl.csv
```
