File size: 17,114 Bytes
c52e50a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
---
license: cc-by-4.0
task_categories:
  - tabular-classification
  - tabular-regression
  - feature-extraction
  - other
language:
  - en
tags:
  - cs2
  - counter-strike
  - esports
  - sports-analytics
  - competitive-gaming
  - machine-learning
  - elo
  - feature-engineering
  - win-prediction
  - sports-betting
  - tabular-data
size_categories:
  - 10K<n<100K
pretty_name: CounterQuant CS2 GoldLite
---

# CounterQuant CS2 GoldLite

**ML-ready feature tables for professional CS2 match outcome modelling — Elo ratings, team form, head-to-head records, and event context. No black boxes, no proprietary signals.**

> ⭐ If you use this dataset in research, a product, or any publication,
> please **cite the author** (see [Citation](#citation) below).

GoldLite is the open, reproducible subset of CounterQuant's internal feature pipeline. It provides pre-computed, match-level features derived entirely from public match results and event metadata — no demo parsing required, no market data, no model outputs. Train your own win-prediction model on a decade of professional CS2.

Curated and maintained by **[Eimantas Kulbe (KEDevO)](https://counterquant.com)** as part of the **CounterQuant** esports intelligence platform.

---

## The CounterQuant Data Stack

GoldLite is the top public-facing tier of a four-layer architecture:

| Tier | Dataset | Contents | Status |
|------|---------|----------|--------|
| **Raw demos** | [CounterQuant CS2 Demos](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos) | Raw `.dem` files | Live |
| **Bronze** | [CounterQuant CS2 Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze) | Tick-level events: kills, damages, flashes, utility | Live, growing |
| **Silver** | [CounterQuant CS2 Silver](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Silver) | Match results, map scores, player stats, rosters | Staging for export |
| **Gold Lite***this dataset* | — | Elo, form, H2H, event context — ML features | Staging for export |

The full internal Gold layer (demo-derived features, market signals, 509-feature ML vectors) is proprietary and powers the CounterQuant prediction API. GoldLite is the public, reproducible subset of that pipeline.

---

## Dataset at a Glance

| Metric | Value |
|--------|-------|
| **Team Elo records in DB** | 45,502 (per team, per map pool) |
| **Matches with features** | Growing — 2024 first public batch |
| **Year range (planned)** | 2012 – 2024 (first release) |
| **Feature count (GoldLite)** | ~50 pre-match features |
| **Full pipeline feature count** | 509 (internal, not released) |
| **Format** | Parquet (Snappy compression) |
| **License** | CC BY 4.0 |

---

## Current State & Release Schedule

> **GoldLite is not yet published to HuggingFace as Parquet files.**
> Elo ratings are computed and live in CounterQuant's database.
> The pre-match feature export is in progress, with 2024 as the first public batch.

| Release | Coverage | Target Date | Notes |
|---------|----------|-------------|-------|
| **v1 — 2024** | Jan 2024 – Dec 2024 | Q3 2026 | First public release, alongside Silver |
| **Backfill — 2012–2023** | 2012 – 2023 | Q4 2026 | Historical Elo + features |
| **v2 — 2025** | 2025 | 2027 | 2-year delay policy |
| **2026+** | 2026+ | 2028+ | 2-year delay minimum |

---

## What's in GoldLite

GoldLite contains **pre-match features computed from historical match results** — the information that would be available to a predictor at kick-off. All features are constructed from public sources only.

### Feature categories

| Category | Features | Source |
|----------|----------|--------|
| **Elo ratings** | Global team Elo, per-map Elo, Elo uncertainty, Elo differential | Computed from Silver match results |
| **Recent form** | Win rate last 5/10/20 matches, map differential last 10, days since last match | Silver matches |
| **Head-to-head** | All-time H2H record, last 12 months H2H, H2H on specific map | Silver matches |
| **Map pool** | Team win rate per map (last 30 games), map familiarity score, most/least played maps | Silver maps |
| **Event context** | Prize pool tier, LAN vs online, event stage (groups/playoffs/final), days to event end | Silver events |
| **Roster stability** | Avg days together, roster change flag (last 30 days) | Silver rosters |
| **Player aggregate** | Avg team rating last 20 maps, avg ADR last 20 maps, avg KAST last 20 maps | Silver player_stats |

### What GoldLite does NOT include

| Excluded | Where it lives |
|----------|---------------|
| Demo-derived features (eco win rates, KAST, trade kills, utility efficiency) | Internal Gold (CounterQuant API) |
| Polymarket / betting market odds | Private, never released |
| XGBoost/LightGBM model output probabilities | Private (CounterQuant predictions) |
| 509-feature full ML vectors | Private (CounterQuant API) |
| Live round-by-round probability updates | Private (CounterQuant live feed) |
| Proprietary tactical embeddings | Private, never released |

If you need demo-derived features, use [Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze) and compute them yourself — that's exactly what CounterQuant does internally.

---

## Planned File Structure

```
data/
├── team_elo/
│   ├── team_elo_2024.parquet           # Elo snapshot at each match played in 2024
│   ├── team_elo_2012_2023.parquet      # Historical backfill
│   └── team_elo_current.parquet        # Latest Elo per team per map (updated)
├── match_features/
│   ├── match_features_2024.parquet     # Pre-match feature vector per 2024 match
│   └── match_features_2012_2023.parquet
├── player_rolling_stats/
│   ├── player_rolling_2024.parquet     # Rolling 5/10/20-match averages per player
│   └── ...
└── map_pool/
    ├── map_pool_stats_2024.parquet     # Team win rates per map, as of each match
    └── ...
```

---

## Schema Reference

### `team_elo_YYYY.parquet`

Elo rating for each team at the point of each match. One row per team per match.

| Column | Type | Description |
|--------|------|-------------|
| `match_id` | int64 | Match ID |
| `team_id` | int64 | Team ID |
| `team_name` | string | Team name (denormalized) |
| `map_name` | string | `all` for global Elo; CS2 map name for map-specific Elo |
| `elo_before` | float32 | Elo rating entering this match |
| `elo_after` | float32 | Elo rating after this match |
| `elo_change` | float32 | Delta (positive = won, negative = lost) |
| `uncertainty` | float32 | Elo uncertainty / confidence interval |
| `matches_played` | int32 | Total matches used to compute this rating |
| `date` | date | Match date |

---

### `match_features_YYYY.parquet`

Pre-match feature snapshot. One row per match, all features computed from data available **before** kick-off. Safe for train/test split — no data leakage.

| Column | Type | Description |
|--------|------|-------------|
| `match_id` | int64 | HLTV match ID |
| `date` | date | Match date |
| `tier` | int16 | Match tier (1/2/3) |
| `is_lan` | bool | LAN event |
| `prize_pool_usd` | int32 | Event prize pool in USD |
| `team1_id` | int64 | Team 1 ID |
| `team2_id` | int64 | Team 2 ID |
| `team1_elo` | float32 | Global Elo entering this match |
| `team2_elo` | float32 | Global Elo entering this match |
| `elo_diff` | float32 | team1_elo − team2_elo |
| `team1_form_5` | float32 | Win rate last 5 matches |
| `team2_form_5` | float32 | Win rate last 5 matches |
| `team1_form_10` | float32 | Win rate last 10 matches |
| `team2_form_10` | float32 | Win rate last 10 matches |
| `team1_map_diff_10` | float32 | Map differential (maps won − lost) last 10 |
| `team2_map_diff_10` | float32 | Map differential last 10 |
| `h2h_team1_wins` | int16 | All-time H2H wins for team 1 |
| `h2h_team2_wins` | int16 | All-time H2H wins for team 2 |
| `h2h_team1_wins_12m` | int16 | H2H wins last 12 months |
| `h2h_team2_wins_12m` | int16 | H2H wins last 12 months |
| `team1_days_since_match` | int16 | Days since team 1's last match |
| `team2_days_since_match` | int16 | Days since team 2's last match |
| `team1_avg_rating_20` | float32 | Avg team player rating last 20 maps |
| `team2_avg_rating_20` | float32 | Avg team player rating last 20 maps |
| `team1_avg_adr_20` | float32 | Avg team ADR last 20 maps |
| `team2_avg_adr_20` | float32 | Avg team ADR last 20 maps |
| `roster_change_team1_30d` | bool | Team 1 had a roster change in last 30 days |
| `roster_change_team2_30d` | bool | Team 2 had a roster change in last 30 days |
| `team1_won` | bool | **Label** — did team 1 win? (null = match not completed) |

---

### `player_rolling_YYYY.parquet`

Rolling player performance windows, computed at each match. Useful for player-level predictions and ranking models.

| Column | Type | Description |
|--------|------|-------------|
| `match_id` | int64 | Match ID |
| `player_id` | int64 | Player ID |
| `player_ign` | string | IGN |
| `team_id` | int64 | Team ID at this match |
| `maps_played_total` | int16 | Career maps played at this point |
| `rolling_kills_5` | float32 | Avg kills per map last 5 maps |
| `rolling_kills_10` | float32 | Avg kills per map last 10 maps |
| `rolling_adr_10` | float32 | Avg ADR last 10 maps |
| `rolling_adr_20` | float32 | Avg ADR last 20 maps |
| `rolling_kast_10` | float32 | Avg KAST last 10 maps |
| `rolling_rating_20` | float32 | Avg HLTV Rating 2.0 last 20 maps |
| `rating_trend_10` | float32 | Linear slope of rating over last 10 maps (form direction) |
| `days_since_last_match` | int16 | Days since player's last match |

---

### `map_pool_stats_YYYY.parquet`

Team win rates per map, computed at each match date (so you can join to match_features for map-specific models).

| Column | Type | Description |
|--------|------|-------------|
| `as_of_match_id` | int64 | The match this snapshot was computed for |
| `as_of_date` | date | Date of the snapshot |
| `team_id` | int64 | Team ID |
| `map_name` | string | CS2 map name |
| `maps_played` | int16 | Maps played on this map (last 2 years) |
| `maps_won` | int16 | Maps won |
| `win_rate` | float32 | Win rate (0–1) |
| `maps_played_tier1` | int16 | Maps played at Tier 1 only |
| `win_rate_tier1` | float32 | Win rate at Tier 1 |

---

## Quick Start (Preview)

Once 2024 data is published:

```python
import polars as pl
from huggingface_hub import hf_hub_download

# Download pre-match features for 2024
path = hf_hub_download(
    repo_id="KEDevO/CounterQuant-CS2-GoldLite",
    repo_type="dataset",
    filename="data/match_features/match_features_2024.parquet",
)
df = pl.read_parquet(path)

# Drop rows with incomplete data (ongoing / no-result matches)
df = df.filter(pl.col("team1_won").is_not_null())

X = df.drop(["match_id", "date", "team1_id", "team2_id", "team1_won"])
y = df["team1_won"].cast(pl.Int8)
print(f"Training samples: {len(X)}, Features: {X.width}")
```

```python
from sklearn.model_selection import train_test_split
from xgboost import XGBClassifier
from sklearn.metrics import brier_score_loss, roc_auc_score

X_train, X_test, y_train, y_test = train_test_split(
    X.to_pandas(), y.to_pandas(),
    test_size=0.2, shuffle=False  # time-ordered split
)

model = XGBClassifier(
    n_estimators=300,
    max_depth=5,
    learning_rate=0.05,
    subsample=0.8,
    colsample_bytree=0.8,
    use_label_encoder=False,
    eval_metric="logloss",
)
model.fit(X_train, y_train)

probs = model.predict_proba(X_test)[:, 1]
print(f"Brier score: {brier_score_loss(y_test, probs):.4f}")  # target ≤ 0.21
print(f"AUC-ROC:     {roc_auc_score(y_test, probs):.4f}")    # target ≥ 0.67
```

```python
# Plot team Elo history
import polars as pl
import matplotlib.pyplot as plt

elo = pl.read_parquet("data/team_elo/team_elo_2024.parquet")
team = elo.filter((pl.col("team_name") == "NAVI") & (pl.col("map_name") == "all"))

plt.plot(team["date"].to_list(), team["elo_before"].to_list())
plt.title("NAVI Global Elo — 2024")
plt.xlabel("Date")
plt.ylabel("Elo")
plt.show()
```

---

## Methodology Notes

### Elo model
The Elo ratings in GoldLite are computed using a custom variant of the standard Elo formula:

- **K-factor**: Variable by tier (T1 = 32, T2 = 24, T3 = 20) and match format (bo5 weighted higher)
- **Map-specific Elo**: Separate rating maintained per CS2 map (de_mirage, de_dust2, etc.)
- **Initial Elo**: All teams start at 1500. Teams with fewer than 10 matches have higher uncertainty.
- **Update frequency**: Recomputed from all historical results on demand.

The full GoldLite Elo model is a **baseline** — it does not incorporate demo-derived features, player-level signals, or market information. It is calibrated to be reproducible and interpretable, not to maximize prediction accuracy.

CounterQuant's production model (internal, not released) additionally incorporates 509 features including economy statistics, KAST, utility efficiency, and market-implied probabilities.

### No data leakage guarantee
All features in `match_features_YYYY.parquet` are constructed from data available strictly **before** the match date. The `team1_won` column is the label — it is derived from the match result after the fact. There are no post-match statistics in the feature columns.

---

## Prediction Targets & Baselines

| Model | Target | GoldLite Baseline | Production Target |
|-------|--------|------------------|-------------------|
| Match outcome | team1_won (binary) | Brier ≤ 0.22 | Brier ≤ 0.21 |
| — | — | AUC-ROC ≥ 0.65 | AUC-ROC ≥ 0.67 |
| Map outcome | map winner (binary) | Brier ≤ 0.24 | TBD |

A random classifier scores Brier = 0.25. An Elo-only model should reach approximately 0.228. The GoldLite feature set adds form, H2H, and event context on top of Elo and should reach around 0.22.

---

## Related Datasets

| Dataset | Contents | Relationship |
|---------|----------|--------------|
| [CounterQuant CS2 Demos](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Demos) | Raw `.dem` files | Source layer |
| [CounterQuant CS2 Bronze](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Bronze) | Tick-level events: kills, damages, flashes, utility | Compute demo-derived features to extend GoldLite |
| [CounterQuant CS2 Silver](https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-Silver) | Match results, map scores, player stats | GoldLite is derived from Silver — join on `match_id` |
| [CounterQuant Platform](https://counterquant.com) | Live analytics, predictions, API | Production system built on the full 509-feature pipeline |
| [CounterQuant API](https://counterquant.com/api/docs/) | REST API access | Access to live predictions and extended features |

---

## Data Release Policy

| Layer | Public? | Timeline |
|-------|---------|----------|
| **GoldLite 2024** (Elo + form + H2H + event) | ✅ CC BY 4.0 | Q3 2026 |
| **GoldLite 2012–2023** (backfill) | ✅ CC BY 4.0 | Q4 2026 |
| **GoldLite 2025** | ✅ CC BY 4.0 | 2027 (2-year delay) |
| Demo-derived features (eco, KAST, utility) | ❌ Private | CounterQuant API only |
| Full 509-feature vectors | ❌ Private | CounterQuant API only |
| Polymarket / market odds | ❌ Private | Never released |
| Model output probabilities | ❌ Private | CounterQuant API only |

---

## Citation

If you use this dataset in research, analytics products, or publications, please cite:

### BibTeX

```bibtex
@dataset{kulbe2026counterquantgoldlite,
  author       = {Eimantas Kulbe},
  title        = {CounterQuant CS2 GoldLite: ML-Ready Match Features for Professional CS2},
  year         = {2026},
  publisher    = {Hugging Face},
  url          = {https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-GoldLite},
  note         = {Pre-match Elo ratings, team form, head-to-head records, and event
                  context features for professional CS2 match outcome modelling.
                  Covers 2012--2024 (first release). 2-year delay for recent data.}
}
```

### APA

Kulbe, E. (2026). *CounterQuant CS2 GoldLite: ML-Ready Match Features for Professional CS2* [Dataset]. Hugging Face. https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-GoldLite

### Acknowledgement (for papers/articles)

> Pre-match features and Elo ratings sourced from *CounterQuant CS2 GoldLite* (Kulbe, 2026), available at https://huggingface.co/datasets/KEDevO/CounterQuant-CS2-GoldLite under CC BY 4.0.

---

## License

**Creative Commons Attribution 4.0 International (CC BY 4.0)**

You are free to:
- **Share** — copy and redistribute the material in any medium or format
- **Adapt** — remix, transform, and build upon the material for any purpose, including commercial

Under the condition that you **give appropriate credit** to **Eimantas Kulbe** and link back to this dataset.

Full license text: https://creativecommons.org/licenses/by/4.0/

---

*Dataset maintained by [Eimantas Kulbe](https://counterquant.com). For questions, issues, or collaboration: open a discussion on this dataset page or reach out via [CounterQuant](https://counterquant.com).*