ArnieRamesh commited on
Commit
500be2e
·
verified ·
1 Parent(s): 068d839

Add files using upload-large-folder tool

Browse files
schema/events.json ADDED
@@ -0,0 +1,405 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "sample_events_json",
3
+ "schema_version": 3,
4
+ "artifact_suffix": ".events.json",
5
+ "format": "json",
6
+ "row_grain": "one JSON object per WebDataset sample, containing a sparse event list",
7
+ "description": "Sparse anonymized gameplay event log for one POV sample window. Identity and tick-window metadata live in the paired sample metadata JSON and release indices; this sidecar intentionally contains only the approved event list.",
8
+ "privacy_boundary": {
9
+ "contains_steam_ids": false,
10
+ "contains_online_account_ids": false,
11
+ "contains_player_names": false,
12
+ "player_reference": "All participant references are pov_idx values or null."
13
+ },
14
+ "top_level_fields": [
15
+ {
16
+ "name": "events",
17
+ "type": "list<object>",
18
+ "required": true,
19
+ "description": "Events sorted by tick, then type. May be empty."
20
+ }
21
+ ],
22
+ "event_base_fields": [
23
+ {
24
+ "name": "tick",
25
+ "type": "int64",
26
+ "required": true,
27
+ "description": "Absolute demo tick for the event."
28
+ },
29
+ {
30
+ "name": "frame_idx",
31
+ "type": "int32",
32
+ "required": true,
33
+ "description": "Video frame index corresponding to the event tick, floor-aligned to the sample start."
34
+ },
35
+ {
36
+ "name": "type",
37
+ "type": "enum",
38
+ "required": true,
39
+ "valid_values": [
40
+ "round_freeze_end",
41
+ "buytime_ended",
42
+ "round_end",
43
+ "round_officially_ended",
44
+ "player_death",
45
+ "player_blind",
46
+ "bomb_beginplant",
47
+ "bomb_planted",
48
+ "bomb_begindefuse",
49
+ "bomb_defused",
50
+ "bomb_exploded",
51
+ "bomb_dropped",
52
+ "bomb_pickup",
53
+ "item_pickup",
54
+ "item_equip",
55
+ "weapon_zoom"
56
+ ],
57
+ "description": "Public event type."
58
+ }
59
+ ],
60
+ "event_types": {
61
+ "round_freeze_end": {
62
+ "description": "Round freezetime ended; player control becomes live.",
63
+ "additional_fields": []
64
+ },
65
+ "buytime_ended": {
66
+ "description": "Buy period ended.",
67
+ "additional_fields": []
68
+ },
69
+ "round_end": {
70
+ "description": "Round ended with winner/reason when available.",
71
+ "additional_fields": [
72
+ {
73
+ "name": "winner",
74
+ "type": "enum<T,CT>",
75
+ "required": false
76
+ },
77
+ {
78
+ "name": "reason",
79
+ "type": "string_or_int",
80
+ "required": false
81
+ }
82
+ ]
83
+ },
84
+ "round_officially_ended": {
85
+ "description": "Post-round period officially ended.",
86
+ "additional_fields": []
87
+ },
88
+ "player_death": {
89
+ "description": "Player death/kill event.",
90
+ "additional_fields": [
91
+ {
92
+ "name": "attacker_pov",
93
+ "type": "int32_or_null",
94
+ "required": false
95
+ },
96
+ {
97
+ "name": "victim_pov",
98
+ "type": "int32_or_null",
99
+ "required": false
100
+ },
101
+ {
102
+ "name": "assister_pov",
103
+ "type": "int32_or_null",
104
+ "required": false
105
+ },
106
+ {
107
+ "name": "weapon",
108
+ "type": "string_or_null",
109
+ "required": false,
110
+ "description": "Sanitized weapon string; not a player identifier."
111
+ },
112
+ {
113
+ "name": "headshot",
114
+ "type": "bool",
115
+ "required": false
116
+ },
117
+ {
118
+ "name": "pov_involved",
119
+ "type": "bool",
120
+ "required": false,
121
+ "description": "Whether this sample's POV was attacker, victim, or assister."
122
+ },
123
+ {
124
+ "name": "noscope",
125
+ "type": "bool",
126
+ "required": false
127
+ },
128
+ {
129
+ "name": "penetrated",
130
+ "type": "int32",
131
+ "required": false
132
+ }
133
+ ]
134
+ },
135
+ "player_blind": {
136
+ "description": "A player was blinded by a flashbang.",
137
+ "additional_fields": [
138
+ {
139
+ "name": "attacker_pov",
140
+ "type": "int32_or_null",
141
+ "required": false
142
+ },
143
+ {
144
+ "name": "victim_pov",
145
+ "type": "int32_or_null",
146
+ "required": false
147
+ },
148
+ {
149
+ "name": "blind_duration",
150
+ "type": "float32",
151
+ "required": false,
152
+ "unit": "seconds"
153
+ },
154
+ {
155
+ "name": "pov_involved",
156
+ "type": "bool",
157
+ "required": false
158
+ }
159
+ ]
160
+ },
161
+ "bomb_beginplant": {
162
+ "description": "A player began planting the C4.",
163
+ "additional_fields": [
164
+ {
165
+ "name": "by_pov",
166
+ "type": "int32_or_null",
167
+ "required": false
168
+ },
169
+ {
170
+ "name": "site",
171
+ "type": "string_or_int",
172
+ "required": false
173
+ },
174
+ {
175
+ "name": "pov_involved",
176
+ "type": "bool",
177
+ "required": false
178
+ }
179
+ ]
180
+ },
181
+ "bomb_planted": {
182
+ "description": "C4 planted.",
183
+ "additional_fields": [
184
+ {
185
+ "name": "by_pov",
186
+ "type": "int32_or_null",
187
+ "required": false
188
+ },
189
+ {
190
+ "name": "site",
191
+ "type": "string_or_int",
192
+ "required": false
193
+ },
194
+ {
195
+ "name": "pov_involved",
196
+ "type": "bool",
197
+ "required": false
198
+ }
199
+ ]
200
+ },
201
+ "bomb_begindefuse": {
202
+ "description": "A player began defusing the C4.",
203
+ "additional_fields": [
204
+ {
205
+ "name": "by_pov",
206
+ "type": "int32_or_null",
207
+ "required": false
208
+ },
209
+ {
210
+ "name": "haskit",
211
+ "type": "bool",
212
+ "required": false
213
+ },
214
+ {
215
+ "name": "pov_involved",
216
+ "type": "bool",
217
+ "required": false
218
+ }
219
+ ]
220
+ },
221
+ "bomb_defused": {
222
+ "description": "C4 defused.",
223
+ "additional_fields": [
224
+ {
225
+ "name": "by_pov",
226
+ "type": "int32_or_null",
227
+ "required": false
228
+ },
229
+ {
230
+ "name": "site",
231
+ "type": "string_or_int",
232
+ "required": false
233
+ },
234
+ {
235
+ "name": "pov_involved",
236
+ "type": "bool",
237
+ "required": false
238
+ }
239
+ ]
240
+ },
241
+ "bomb_exploded": {
242
+ "description": "C4 exploded.",
243
+ "additional_fields": [
244
+ {
245
+ "name": "by_pov",
246
+ "type": "int32_or_null",
247
+ "required": false
248
+ },
249
+ {
250
+ "name": "site",
251
+ "type": "string_or_int",
252
+ "required": false
253
+ },
254
+ {
255
+ "name": "pov_involved",
256
+ "type": "bool",
257
+ "required": false
258
+ }
259
+ ]
260
+ },
261
+ "bomb_dropped": {
262
+ "description": "C4 dropped.",
263
+ "additional_fields": [
264
+ {
265
+ "name": "by_pov",
266
+ "type": "int32_or_null",
267
+ "required": false
268
+ },
269
+ {
270
+ "name": "pov_involved",
271
+ "type": "bool",
272
+ "required": false
273
+ }
274
+ ]
275
+ },
276
+ "bomb_pickup": {
277
+ "description": "C4 picked up.",
278
+ "additional_fields": [
279
+ {
280
+ "name": "by_pov",
281
+ "type": "int32_or_null",
282
+ "required": false
283
+ },
284
+ {
285
+ "name": "pov_involved",
286
+ "type": "bool",
287
+ "required": false
288
+ }
289
+ ]
290
+ },
291
+ "item_pickup": {
292
+ "description": "Player picked up an item or weapon.",
293
+ "additional_fields": [
294
+ {
295
+ "name": "by_pov",
296
+ "type": "int32_or_null",
297
+ "required": false
298
+ },
299
+ {
300
+ "name": "item",
301
+ "type": "string",
302
+ "required": false
303
+ },
304
+ {
305
+ "name": "defindex",
306
+ "type": "int32",
307
+ "required": false
308
+ },
309
+ {
310
+ "name": "silent",
311
+ "type": "bool",
312
+ "required": false
313
+ },
314
+ {
315
+ "name": "pov_involved",
316
+ "type": "bool",
317
+ "required": false
318
+ }
319
+ ]
320
+ },
321
+ "item_equip": {
322
+ "description": "Player equipped an item or weapon.",
323
+ "additional_fields": [
324
+ {
325
+ "name": "by_pov",
326
+ "type": "int32_or_null",
327
+ "required": false
328
+ },
329
+ {
330
+ "name": "item",
331
+ "type": "string",
332
+ "required": false
333
+ },
334
+ {
335
+ "name": "defindex",
336
+ "type": "int32",
337
+ "required": false
338
+ },
339
+ {
340
+ "name": "weptype",
341
+ "type": "int32",
342
+ "required": false
343
+ },
344
+ {
345
+ "name": "canzoom",
346
+ "type": "bool",
347
+ "required": false
348
+ },
349
+ {
350
+ "name": "issilenced",
351
+ "type": "bool",
352
+ "required": false
353
+ },
354
+ {
355
+ "name": "pov_involved",
356
+ "type": "bool",
357
+ "required": false
358
+ }
359
+ ]
360
+ },
361
+ "weapon_zoom": {
362
+ "description": "Player toggled weapon zoom/scope.",
363
+ "additional_fields": [
364
+ {
365
+ "name": "by_pov",
366
+ "type": "int32_or_null",
367
+ "required": false
368
+ },
369
+ {
370
+ "name": "pov_involved",
371
+ "type": "bool",
372
+ "required": false
373
+ }
374
+ ]
375
+ }
376
+ },
377
+ "excluded_v1_event_types": [
378
+ "player_hurt",
379
+ "weapon_fire",
380
+ "weapon_reload",
381
+ "grenade_thrown",
382
+ "flashbang_detonate",
383
+ "hegrenade_detonate",
384
+ "smokegrenade_detonate",
385
+ "smokegrenade_expired",
386
+ "inferno_startburn",
387
+ "inferno_expire",
388
+ "decoy_started",
389
+ "decoy_detonate",
390
+ "player_sound",
391
+ "player_footstep",
392
+ "fire_bullets",
393
+ "player_chat",
394
+ "chat_message",
395
+ "server_message"
396
+ ],
397
+ "validation": [
398
+ "top-level JSON object has exactly an events list",
399
+ "events are sorted by tick and type",
400
+ "each event has tick, frame_idx, and type",
401
+ "each event type is in event_base_fields.type.valid_values",
402
+ "frame_idx is nonnegative",
403
+ "no serialized field name or value contains steamid, xuid, accountid, profile URL, hltv_match_id, or player name"
404
+ ]
405
+ }
schema/manifest.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "manifest_parquet",
3
+ "schema_version": 5,
4
+ "artifact": "manifest.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one logical POV sample, deduplicated across physical resolutions",
7
+ "description": "Dataset sample inventory for split selection, filtering, and logical sample metadata. Physical shard byte lookup lives in sample_index.parquet.",
8
+ "primary_key": [
9
+ "sample_key"
10
+ ],
11
+ "privacy_boundary": {
12
+ "denied_columns": [
13
+ "clip_id",
14
+ "start_tick",
15
+ "end_tick",
16
+ "map",
17
+ "date",
18
+ "event",
19
+ "teams",
20
+ "player_id",
21
+ "player_name",
22
+ "resolution",
23
+ "video_width",
24
+ "video_height",
25
+ "shard_path",
26
+ "shard_id",
27
+ "member_offset",
28
+ "member_length",
29
+ "steamid",
30
+ "steam_id",
31
+ "xuid",
32
+ "accountid",
33
+ "profile_url",
34
+ "hltv_match_id",
35
+ "hltv_match_url",
36
+ "hltv_url",
37
+ "raw_demo_path",
38
+ "raw_demo_url",
39
+ "actions_bin",
40
+ "state_bin",
41
+ "events_json",
42
+ "run_id",
43
+ "error_msg"
44
+ ],
45
+ "contains_player_names": false,
46
+ "player_reference": "pov_idx is stable only within a match_id and is not stable across matches"
47
+ },
48
+ "columns": [
49
+ {"name": "postprocess_version", "arrow_type": "string", "nullable": false},
50
+ {"name": "metadata_schema_version", "arrow_type": "int32", "nullable": false},
51
+ {"name": "actions_schema_version", "arrow_type": "int32", "nullable": false},
52
+ {"name": "state_schema_version", "arrow_type": "int32", "nullable": false},
53
+ {"name": "events_schema_version", "arrow_type": "int32", "nullable": false},
54
+ {"name": "sample_key", "arrow_type": "string", "nullable": false},
55
+ {"name": "match_id", "arrow_type": "string", "nullable": false},
56
+ {"name": "round_id", "arrow_type": "string", "nullable": false},
57
+ {"name": "round_idx", "arrow_type": "int32", "nullable": false},
58
+ {"name": "pov_idx", "arrow_type": "int32", "nullable": false},
59
+ {"name": "split", "arrow_type": "string", "nullable": false, "valid_values": ["train", "val", "test"]},
60
+ {"name": "map_slug", "arrow_type": "string", "nullable": false, "valid_values": ["anubis", "ancient", "dust2", "inferno", "mirage", "nuke", "overpass"]},
61
+ {"name": "team_side", "arrow_type": "string", "nullable": false, "valid_values": ["T", "CT"]},
62
+ {"name": "pov_round_result", "arrow_type": "string", "nullable": false, "valid_values": ["win", "loss", "unknown", ""]},
63
+ {"name": "round_winner", "arrow_type": "string", "nullable": false, "valid_values": ["T", "CT", ""]},
64
+ {"name": "round_end_reason", "arrow_type": "string", "nullable": false},
65
+ {"name": "clip_start_tick", "arrow_type": "int64", "nullable": false},
66
+ {"name": "clip_end_tick", "arrow_type": "int64", "nullable": false},
67
+ {"name": "round_start_tick", "arrow_type": "int64", "nullable": false},
68
+ {"name": "round_decision_tick", "arrow_type": "int64", "nullable": false},
69
+ {"name": "round_stop_tick", "arrow_type": "int64", "nullable": false},
70
+ {"name": "frame0_tick", "arrow_type": "int64", "nullable": false},
71
+ {"name": "frame_tick_stride", "arrow_type": "int32", "nullable": false},
72
+ {"name": "frames", "arrow_type": "int32", "nullable": false},
73
+ {"name": "fps", "arrow_type": "float32", "nullable": false},
74
+ {"name": "duration_s", "arrow_type": "float32", "nullable": false},
75
+ {"name": "tick_rate", "arrow_type": "int32", "nullable": false},
76
+ {"name": "alive_start_tick", "arrow_type": "int64", "nullable": false},
77
+ {"name": "alive_end_tick", "arrow_type": "int64", "nullable": false},
78
+ {"name": "alive_start_frame", "arrow_type": "int32", "nullable": false},
79
+ {"name": "alive_end_frame", "arrow_type": "int32", "nullable": false},
80
+ {"name": "alive_frames", "arrow_type": "int32", "nullable": false},
81
+ {"name": "alive_duration_s", "arrow_type": "float32", "nullable": false},
82
+ {"name": "survival_fraction", "arrow_type": "float32", "nullable": false},
83
+ {"name": "death_tick", "arrow_type": "int64", "nullable": true},
84
+ {"name": "death_frame", "arrow_type": "int32", "nullable": true},
85
+ {"name": "has_full_round", "arrow_type": "bool", "nullable": false},
86
+ {"name": "ended_by", "arrow_type": "string", "nullable": false, "valid_values": ["death", "round_stop", "clip_end", "unknown"]},
87
+ {"name": "media_truncated", "arrow_type": "bool", "nullable": true},
88
+ {"name": "intended_clip_end_tick", "arrow_type": "int64", "nullable": true},
89
+ {"name": "round_number_in_match", "arrow_type": "int32", "nullable": false},
90
+ {"name": "half_idx", "arrow_type": "int32", "nullable": false},
91
+ {"name": "is_first_round", "arrow_type": "bool", "nullable": false},
92
+ {"name": "is_last_round", "arrow_type": "bool", "nullable": false},
93
+ {"name": "is_pistol_round", "arrow_type": "bool", "nullable": false},
94
+ {"name": "t_score_start", "arrow_type": "int32", "nullable": false},
95
+ {"name": "ct_score_start", "arrow_type": "int32", "nullable": false},
96
+ {"name": "score_diff_start", "arrow_type": "int32", "nullable": false},
97
+ {"name": "primary_weapon_id", "arrow_type": "int32", "nullable": false},
98
+ {"name": "primary_weapon_category", "arrow_type": "string", "nullable": false},
99
+ {"name": "weapon_ids_present", "arrow_type": "list<int32>", "nullable": false},
100
+ {"name": "weapon_categories_present", "arrow_type": "list<string>", "nullable": false},
101
+ {"name": "start_weapon_id", "arrow_type": "int32", "nullable": false},
102
+ {"name": "start_weapon_category", "arrow_type": "string", "nullable": false},
103
+ {"name": "start_health", "arrow_type": "int32", "nullable": false},
104
+ {"name": "start_armor", "arrow_type": "int32", "nullable": false},
105
+ {"name": "start_has_helmet", "arrow_type": "bool", "nullable": false},
106
+ {"name": "start_has_defuser", "arrow_type": "bool", "nullable": false},
107
+ {"name": "start_balance", "arrow_type": "int32", "nullable": false},
108
+ {"name": "start_has_bomb", "arrow_type": "bool", "nullable": false},
109
+ {"name": "has_awp", "arrow_type": "bool", "nullable": false},
110
+ {"name": "has_sniper", "arrow_type": "bool", "nullable": false},
111
+ {"name": "has_rifle", "arrow_type": "bool", "nullable": false},
112
+ {"name": "contains_bomb_plant", "arrow_type": "bool", "nullable": false},
113
+ {"name": "contains_bomb_defuse", "arrow_type": "bool", "nullable": false},
114
+ {"name": "contains_bomb_explosion", "arrow_type": "bool", "nullable": false},
115
+ {"name": "contains_player_death", "arrow_type": "bool", "nullable": false},
116
+ {"name": "sample_kills_total", "arrow_type": "int32", "nullable": false},
117
+ {"name": "sample_headshots_total", "arrow_type": "int32", "nullable": false},
118
+ {"name": "pov_kills", "arrow_type": "int32", "nullable": false},
119
+ {"name": "pov_deaths", "arrow_type": "int32", "nullable": false},
120
+ {"name": "pov_assists", "arrow_type": "int32", "nullable": false},
121
+ {"name": "pov_blinds_caused", "arrow_type": "int32", "nullable": false},
122
+ {"name": "pov_blinded", "arrow_type": "int32", "nullable": false}
123
+ ],
124
+ "validation": [
125
+ "primary key is unique",
126
+ "split is match-map atomic",
127
+ "postprocess_version == v12",
128
+ "metadata_schema_version == 4",
129
+ "actions_schema_version == 9",
130
+ "state_schema_version == 1",
131
+ "events_schema_version == 3",
132
+ "sample_key matches match_{match_id}__r{round_idx:03d}__p{pov_idx:02d}",
133
+ "round_id matches match_{match_id}__r{round_idx:03d}",
134
+ "clip_start_tick < clip_end_tick",
135
+ "round_start_tick <= round_decision_tick <= round_stop_tick",
136
+ "frame_tick_stride == 2 for final release rows",
137
+ "0 <= alive_start_frame <= alive_end_frame <= frames",
138
+ "alive_frames == alive_end_frame - alive_start_frame",
139
+ "clip_start_tick <= alive_start_tick <= alive_end_tick <= clip_end_tick",
140
+ "media_truncated == true implies clip_end_tick < intended_clip_end_tick",
141
+ "survival_fraction == alive_frames / frames within float tolerance",
142
+ "no resolution, shard path, offset, member length, Steam ID, account ID, HLTV URL, raw demo path, player name, or error columns are present"
143
+ ]
144
+ }
schema/maps.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "description": "Public map enum for CounterStrike-1K v1. world_bounds is optional visualizer calibration; null means visualizers should auto-fit from match_states positions until calibration is verified.",
4
+ "coordinate_system": "CS2 world coordinates from pos_x and pos_y. Visualizers treat pos_x as horizontal and pos_y as vertical, with vertical screen coordinates inverted.",
5
+ "maps": {
6
+ "ancient": {
7
+ "display_name": "Ancient",
8
+ "engine_name": "de_ancient",
9
+ "world_bounds": null
10
+ },
11
+ "anubis": {
12
+ "display_name": "Anubis",
13
+ "engine_name": "de_anubis",
14
+ "world_bounds": null
15
+ },
16
+ "dust2": {
17
+ "display_name": "Dust2",
18
+ "engine_name": "de_dust2",
19
+ "world_bounds": null
20
+ },
21
+ "inferno": {
22
+ "display_name": "Inferno",
23
+ "engine_name": "de_inferno",
24
+ "world_bounds": null
25
+ },
26
+ "mirage": {
27
+ "display_name": "Mirage",
28
+ "engine_name": "de_mirage",
29
+ "world_bounds": null
30
+ },
31
+ "nuke": {
32
+ "display_name": "Nuke",
33
+ "engine_name": "de_nuke",
34
+ "world_bounds": null
35
+ },
36
+ "overpass": {
37
+ "display_name": "Overpass",
38
+ "engine_name": "de_overpass",
39
+ "world_bounds": null
40
+ }
41
+ }
42
+ }
43
+
schema/match_events.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "match_events_parquet",
3
+ "schema_version": 2,
4
+ "artifact_pattern": "match_events/match_{match_id}.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one row per sanitized parsed game event",
7
+ "description": "Anonymized full-match event stream derived from approved non-text parser game events. The match_id is encoded in the artifact path. This is broader than per-sample events.json and keeps payloads sanitized. Raw chat/text events are excluded.",
8
+ "sort_order": [
9
+ "tick",
10
+ "event_type"
11
+ ],
12
+ "privacy_boundary": {
13
+ "contains_steam_ids": false,
14
+ "contains_online_account_ids": false,
15
+ "contains_player_names": false,
16
+ "contains_raw_chat_text": false,
17
+ "excluded_event_types": [
18
+ "player_chat",
19
+ "chat_message",
20
+ "server_message"
21
+ ],
22
+ "payload_policy": "SteamID, XUID, accountid, name-like fields, and raw chat/text events are dropped or mapped to pov_idx references before serialization."
23
+ },
24
+ "columns": [
25
+ {
26
+ "name": "tick",
27
+ "arrow_type": "int64",
28
+ "nullable": false,
29
+ "description": "Absolute demo tick. Tick -1 is allowed for parser/global events that are not associated with a gameplay tick."
30
+ },
31
+ {
32
+ "name": "round_idx",
33
+ "arrow_type": "int64",
34
+ "nullable": false,
35
+ "description": "Zero-indexed round number. -1 means the event is outside a release round window."
36
+ },
37
+ {
38
+ "name": "event_type",
39
+ "arrow_type": "string",
40
+ "nullable": false,
41
+ "description": "Parser event name."
42
+ },
43
+ {
44
+ "name": "user_pov",
45
+ "arrow_type": "int16",
46
+ "nullable": true,
47
+ "description": "Primary user POV reference if present."
48
+ },
49
+ {
50
+ "name": "attacker_pov",
51
+ "arrow_type": "int16",
52
+ "nullable": true,
53
+ "description": "Attacker POV reference if present."
54
+ },
55
+ {
56
+ "name": "victim_pov",
57
+ "arrow_type": "int16",
58
+ "nullable": true,
59
+ "description": "Victim POV reference if present."
60
+ },
61
+ {
62
+ "name": "assister_pov",
63
+ "arrow_type": "int16",
64
+ "nullable": true,
65
+ "description": "Assister POV reference if present."
66
+ },
67
+ {
68
+ "name": "payload_json",
69
+ "arrow_type": "string",
70
+ "nullable": false,
71
+ "description": "Canonical JSON object with sanitized event payload fields."
72
+ }
73
+ ],
74
+ "validation": [
75
+ "no denied identity columns are present",
76
+ "payload_json parses as JSON object",
77
+ "payload_json does not contain steamid, xuid, accountid, profile URL, hltv_match_id, or player-name fields",
78
+ "pov reference columns are null or in [0, 9] for complete 10-POV matches"
79
+ ]
80
+ }
schema/match_index.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "match_index_parquet",
3
+ "schema_version": 3,
4
+ "artifact": "match_index.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one row per match-map demo",
7
+ "description": "Semantic match-map-level grouping and aggregate counts. Physical shard paths and byte offsets live only in sample_index.parquet.",
8
+ "primary_key": [
9
+ "match_id"
10
+ ],
11
+ "columns": [
12
+ {
13
+ "name": "match_id",
14
+ "arrow_type": "string",
15
+ "nullable": false
16
+ },
17
+ {
18
+ "name": "split",
19
+ "arrow_type": "string",
20
+ "nullable": false
21
+ },
22
+ {
23
+ "name": "map_slug",
24
+ "arrow_type": "string",
25
+ "nullable": false
26
+ },
27
+ {
28
+ "name": "round_count",
29
+ "arrow_type": "int32",
30
+ "nullable": false
31
+ },
32
+ {
33
+ "name": "complete_10_rounds",
34
+ "arrow_type": "int32",
35
+ "nullable": false,
36
+ "description": "Number of rounds with all 10 POV samples present."
37
+ },
38
+ {
39
+ "name": "sample_count",
40
+ "arrow_type": "int32",
41
+ "nullable": false
42
+ },
43
+ {
44
+ "name": "pov_count",
45
+ "arrow_type": "int32",
46
+ "nullable": false,
47
+ "description": "Distinct anonymized POV ids observed for this match."
48
+ },
49
+ {
50
+ "name": "total_frames",
51
+ "arrow_type": "int64",
52
+ "nullable": false
53
+ },
54
+ {
55
+ "name": "total_duration_s",
56
+ "arrow_type": "float64",
57
+ "nullable": false
58
+ },
59
+ {
60
+ "name": "first_tick",
61
+ "arrow_type": "int64",
62
+ "nullable": false,
63
+ "description": "Earliest released round/sample tick for this match."
64
+ },
65
+ {
66
+ "name": "last_tick",
67
+ "arrow_type": "int64",
68
+ "nullable": false,
69
+ "description": "Latest released round/sample tick for this match."
70
+ },
71
+ {
72
+ "name": "t_rounds_won",
73
+ "arrow_type": "int32",
74
+ "nullable": false
75
+ },
76
+ {
77
+ "name": "ct_rounds_won",
78
+ "arrow_type": "int32",
79
+ "nullable": false
80
+ }
81
+ ],
82
+ "validation": [
83
+ "primary key is unique",
84
+ "round_count > 0",
85
+ "complete_10_rounds == round_count",
86
+ "sample_count > 0",
87
+ "pov_count == 10",
88
+ "total_frames > 0",
89
+ "total_duration_s > 0",
90
+ "first_tick <= last_tick",
91
+ "t_rounds_won + ct_rounds_won <= round_count",
92
+ "no resolution, shard_path, or byte-offset columns are present",
93
+ "no column is named map"
94
+ ]
95
+ }
schema/match_states.json ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "match_states_parquet",
3
+ "schema_version": 2,
4
+ "artifact_pattern": "match_states/match_{match_id}.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one row per POV per parsed demo tick",
7
+ "description": "Anonymized tick-level POV and game-state traces derived from the source demo. The match_id is encoded in the artifact path. This is the redistributable substitute for raw demo state access.",
8
+ "sort_order": [
9
+ "tick",
10
+ "pov_idx"
11
+ ],
12
+ "privacy_boundary": {
13
+ "contains_steam_ids": false,
14
+ "contains_online_account_ids": false,
15
+ "contains_player_names": false,
16
+ "player_reference": "pov_idx is stable within one match-map demo"
17
+ },
18
+ "columns": [
19
+ {
20
+ "name": "tick",
21
+ "arrow_type": "int32",
22
+ "nullable": false,
23
+ "description": "Absolute demo tick."
24
+ },
25
+ {
26
+ "name": "pov_idx",
27
+ "arrow_type": "int16",
28
+ "nullable": false,
29
+ "description": "Anonymized player POV id."
30
+ },
31
+ {
32
+ "name": "team_side",
33
+ "arrow_type": "string",
34
+ "nullable": false,
35
+ "valid_values": [
36
+ "T",
37
+ "CT",
38
+ ""
39
+ ]
40
+ },
41
+ {
42
+ "name": "FORWARD",
43
+ "arrow_type": "bool",
44
+ "nullable": false
45
+ },
46
+ {
47
+ "name": "BACK",
48
+ "arrow_type": "bool",
49
+ "nullable": false
50
+ },
51
+ {
52
+ "name": "LEFT",
53
+ "arrow_type": "bool",
54
+ "nullable": false
55
+ },
56
+ {
57
+ "name": "RIGHT",
58
+ "arrow_type": "bool",
59
+ "nullable": false
60
+ },
61
+ {
62
+ "name": "JUMP",
63
+ "arrow_type": "bool",
64
+ "nullable": false
65
+ },
66
+ {
67
+ "name": "DUCK",
68
+ "arrow_type": "bool",
69
+ "nullable": false
70
+ },
71
+ {
72
+ "name": "WALK",
73
+ "arrow_type": "bool",
74
+ "nullable": false
75
+ },
76
+ {
77
+ "name": "FIRE",
78
+ "arrow_type": "bool",
79
+ "nullable": false
80
+ },
81
+ {
82
+ "name": "RIGHTCLICK",
83
+ "arrow_type": "bool",
84
+ "nullable": false
85
+ },
86
+ {
87
+ "name": "RELOAD",
88
+ "arrow_type": "bool",
89
+ "nullable": false
90
+ },
91
+ {
92
+ "name": "INSPECT",
93
+ "arrow_type": "bool",
94
+ "nullable": false
95
+ },
96
+ {
97
+ "name": "USE",
98
+ "arrow_type": "bool",
99
+ "nullable": false
100
+ },
101
+ {
102
+ "name": "pitch",
103
+ "arrow_type": "float32",
104
+ "nullable": false,
105
+ "unit": "degrees"
106
+ },
107
+ {
108
+ "name": "yaw",
109
+ "arrow_type": "float32",
110
+ "nullable": false,
111
+ "unit": "degrees"
112
+ },
113
+ {
114
+ "name": "delta_pitch",
115
+ "arrow_type": "float32",
116
+ "nullable": false,
117
+ "unit": "degrees"
118
+ },
119
+ {
120
+ "name": "delta_yaw",
121
+ "arrow_type": "float32",
122
+ "nullable": false,
123
+ "unit": "degrees"
124
+ },
125
+ {
126
+ "name": "pos_x",
127
+ "arrow_type": "float32",
128
+ "nullable": false,
129
+ "unit": "CS2 world units"
130
+ },
131
+ {
132
+ "name": "pos_y",
133
+ "arrow_type": "float32",
134
+ "nullable": false,
135
+ "unit": "CS2 world units"
136
+ },
137
+ {
138
+ "name": "pos_z",
139
+ "arrow_type": "float32",
140
+ "nullable": false,
141
+ "unit": "CS2 world units"
142
+ },
143
+ {
144
+ "name": "active_weapon",
145
+ "arrow_type": "int16",
146
+ "nullable": false,
147
+ "description": "Coarse weapon category id; indexes weapons.json."
148
+ },
149
+ {
150
+ "name": "active_weapon_id",
151
+ "arrow_type": "int16",
152
+ "nullable": false,
153
+ "description": "Exact weapon id; indexes weapons.json."
154
+ },
155
+ {
156
+ "name": "health",
157
+ "arrow_type": "int16",
158
+ "nullable": false
159
+ },
160
+ {
161
+ "name": "ammo_clip",
162
+ "arrow_type": "int16",
163
+ "nullable": false
164
+ },
165
+ {
166
+ "name": "ammo_reserve",
167
+ "arrow_type": "int16",
168
+ "nullable": false,
169
+ "description": "255 means unknown or not applicable."
170
+ },
171
+ {
172
+ "name": "armor_value",
173
+ "arrow_type": "int16",
174
+ "nullable": false
175
+ },
176
+ {
177
+ "name": "has_helmet",
178
+ "arrow_type": "bool",
179
+ "nullable": false
180
+ },
181
+ {
182
+ "name": "has_defuser",
183
+ "arrow_type": "bool",
184
+ "nullable": false
185
+ },
186
+ {
187
+ "name": "has_bomb",
188
+ "arrow_type": "bool",
189
+ "nullable": false
190
+ },
191
+ {
192
+ "name": "balance",
193
+ "arrow_type": "int32",
194
+ "nullable": false,
195
+ "description": "Player money balance when available from parser state."
196
+ },
197
+ {
198
+ "name": "t_score",
199
+ "arrow_type": "uint8",
200
+ "nullable": false
201
+ },
202
+ {
203
+ "name": "ct_score",
204
+ "arrow_type": "uint8",
205
+ "nullable": false
206
+ }
207
+ ],
208
+ "validation": [
209
+ "no denied identity columns are present",
210
+ "rows are sorted by tick and pov_idx",
211
+ "pov_idx values are within [0, 9] for complete 10-POV matches",
212
+ "button columns are boolean",
213
+ "health and armor_value are in [0, 100]"
214
+ ]
215
+ }
schema/media.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "media",
3
+ "schema_version": 1,
4
+ "artifact_suffix": ".mp4",
5
+ "format": "mp4",
6
+ "description": "Public video/audio encoding contract for WebDataset MP4 members.",
7
+ "encoder_policy": {
8
+ "compatibility_contract": "The public loader contract is the MP4/H.264/AAC bitstream, not a specific encoder implementation.",
9
+ "render_stage_default_video_encoder": "h264_nvenc",
10
+ "wds_reencode_video_encoder": "libx264 when WebDataset packing is run with reencode_mode=optimized",
11
+ "release_environment_source": "stats/release_environment.json records the exact final encoder, FFmpeg version, and packing mode used for the published release."
12
+ },
13
+ "profiles": {
14
+ "720p": {
15
+ "container": "mp4",
16
+ "video_codec": "h264",
17
+ "width": 1280,
18
+ "height": 720,
19
+ "fps": 32,
20
+ "gop_size": 32,
21
+ "closed_gop": true,
22
+ "b_frames": 0,
23
+ "video_quality": {
24
+ "mode": "crf",
25
+ "value": 20,
26
+ "applies_to": "libx264 WebDataset re-encode path"
27
+ },
28
+ "pixel_format": "yuv420p",
29
+ "faststart": true,
30
+ "audio_codec": "aac",
31
+ "audio_profile": "LC",
32
+ "audio_channels": 2,
33
+ "audio_channel_layout": "stereo",
34
+ "audio_sample_rate_hz": 44100,
35
+ "audio_bitrate_policy": "CSDM render sets audioBitrate=128 kbps; WebDataset packing copies source AAC audio unless audio is explicitly stripped.",
36
+ "audio_nominal_bitrate_bps": 128000,
37
+ "audio_validation_bitrate_bps": {
38
+ "min": 96000,
39
+ "max": 192000
40
+ }
41
+ },
42
+ "360p": {
43
+ "container": "mp4",
44
+ "video_codec": "h264",
45
+ "width": 640,
46
+ "height": 360,
47
+ "fps": 32,
48
+ "gop_size": 32,
49
+ "closed_gop": true,
50
+ "b_frames": 0,
51
+ "video_quality": {
52
+ "mode": "crf",
53
+ "value": 20,
54
+ "applies_to": "libx264 WebDataset re-encode path"
55
+ },
56
+ "pixel_format": "yuv420p",
57
+ "faststart": true,
58
+ "audio_codec": "aac",
59
+ "audio_profile": "LC",
60
+ "audio_channels": 2,
61
+ "audio_channel_layout": "stereo",
62
+ "audio_sample_rate_hz": 44100,
63
+ "audio_bitrate_policy": "CSDM render sets audioBitrate=128 kbps; WebDataset packing copies source AAC audio unless audio is explicitly stripped.",
64
+ "audio_nominal_bitrate_bps": 128000,
65
+ "audio_validation_bitrate_bps": {
66
+ "min": 96000,
67
+ "max": 192000
68
+ }
69
+ }
70
+ },
71
+ "notes": [
72
+ "yuv420p is used for broad decoder, browser, OpenCV, PyAV, FFmpeg, torchcodec, and hardware-decoder compatibility.",
73
+ "faststart places MP4 metadata at the front of the file for browser playback and HTTP range-read friendliness.",
74
+ "The release stores a stereo game-audio mix. It does not expose multichannel audio or positional audio metadata."
75
+ ],
76
+ "validation": [
77
+ "video stream is decodable",
78
+ "video codec is H.264",
79
+ "video resolution matches the release profile",
80
+ "video frame rate is 32 FPS",
81
+ "video pixel format is yuv420p",
82
+ "audio stream exists",
83
+ "audio codec is AAC-LC",
84
+ "audio channel count is 2",
85
+ "audio sample rate is 44100 Hz",
86
+ "audio bit rate is within the profile validation range when ffprobe reports bit_rate"
87
+ ]
88
+ }
schema/round_index.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "round_index_parquet",
3
+ "schema_version": 6,
4
+ "artifact": "round_index.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one released 10-POV round",
7
+ "description": "Round-level grouping for synchronized multi-POV selection and round-shuffled training. Physical sample lookup lives in sample_index.parquet.",
8
+ "window_definitions": {
9
+ "alive_intersection": "Time interval where every released POV player in the round is alive simultaneously. Researchers can use this for all-players-alive synchronized windows.",
10
+ "clip_intersection": "Time interval where every released POV clip in the round has video frames available.",
11
+ "clip_union": "Time interval where at least one released POV clip in the round has video frames available.",
12
+ "round_lifecycle": "Canonical game round window from round_start_tick to round_stop_tick."
13
+ },
14
+ "primary_key": [
15
+ "round_id"
16
+ ],
17
+ "columns": [
18
+ {"name": "match_id", "arrow_type": "string", "nullable": false},
19
+ {"name": "round_id", "arrow_type": "string", "nullable": false},
20
+ {"name": "round_idx", "arrow_type": "int32", "nullable": false},
21
+ {"name": "split", "arrow_type": "string", "nullable": false, "valid_values": ["train", "val", "test"]},
22
+ {"name": "map_slug", "arrow_type": "string", "nullable": false, "valid_values": ["anubis", "ancient", "dust2", "inferno", "mirage", "nuke", "overpass"]},
23
+ {"name": "round_start_tick", "arrow_type": "int64", "nullable": false},
24
+ {"name": "round_decision_tick", "arrow_type": "int64", "nullable": false},
25
+ {"name": "round_stop_tick", "arrow_type": "int64", "nullable": false},
26
+ {"name": "t_score_start", "arrow_type": "int32", "nullable": false, "description": "T-side score before this round's outcome is applied."},
27
+ {"name": "ct_score_start", "arrow_type": "int32", "nullable": false, "description": "CT-side score before this round's outcome is applied."},
28
+ {"name": "round_winner", "arrow_type": "string", "nullable": false, "valid_values": ["T", "CT", ""], "description": "Team side that won the round, from round_end.winner."},
29
+ {"name": "round_end_reason", "arrow_type": "string", "nullable": false, "description": "Sanitized round_end.reason value when available."},
30
+ {"name": "round_duration_s", "arrow_type": "float32", "nullable": false},
31
+ {"name": "half_idx", "arrow_type": "int32", "nullable": false},
32
+ {"name": "is_pistol_round", "arrow_type": "bool", "nullable": false},
33
+ {"name": "score_diff_start", "arrow_type": "int32", "nullable": false},
34
+ {"name": "pov_count", "arrow_type": "int32", "nullable": false},
35
+ {"name": "complete_10_pov", "arrow_type": "bool", "nullable": false},
36
+ {"name": "alive_intersection_start_tick", "arrow_type": "int64", "nullable": false, "description": "Maximum alive_start_tick across POVs in the round."},
37
+ {"name": "alive_intersection_end_tick", "arrow_type": "int64", "nullable": false, "description": "Minimum alive_end_tick across POVs in the round."},
38
+ {"name": "alive_intersection_frames", "arrow_type": "int32", "nullable": false, "description": "Frame count for the interval where all released POV players are alive simultaneously."},
39
+ {"name": "clip_intersection_start_tick", "arrow_type": "int64", "nullable": false, "description": "Maximum clip_start_tick across POVs in the round."},
40
+ {"name": "clip_intersection_end_tick", "arrow_type": "int64", "nullable": false, "description": "Minimum clip_end_tick across POVs in the round."},
41
+ {"name": "clip_intersection_frames", "arrow_type": "int32", "nullable": false, "description": "Frame count for the interval common to all released POV clips."},
42
+ {"name": "clip_union_start_tick", "arrow_type": "int64", "nullable": false, "description": "Minimum clip_start_tick across POVs in the round."},
43
+ {"name": "clip_union_end_tick", "arrow_type": "int64", "nullable": false, "description": "Maximum clip_end_tick across POVs in the round."},
44
+ {"name": "media_truncated_any_pov", "arrow_type": "bool", "nullable": true, "description": "True when at least one POV sidecar was clipped to shorter rendered media than the corrected round/death-tail window."},
45
+ {"name": "media_truncated_pov_count", "arrow_type": "int32", "nullable": true, "description": "Number of POVs in the round with media_truncated=true."},
46
+ {"name": "bomb_planted", "arrow_type": "bool", "nullable": false},
47
+ {"name": "bomb_defused", "arrow_type": "bool", "nullable": false},
48
+ {"name": "bomb_exploded", "arrow_type": "bool", "nullable": false},
49
+ {"name": "round_kills_total", "arrow_type": "int32", "nullable": false},
50
+ {"name": "round_headshots_total", "arrow_type": "int32", "nullable": false},
51
+ {"name": "has_awp_any_pov", "arrow_type": "bool", "nullable": false}
52
+ ],
53
+ "validation": [
54
+ "primary key is unique",
55
+ "pov_count == 10",
56
+ "complete_10_pov is true",
57
+ "round_start_tick <= round_decision_tick <= round_stop_tick",
58
+ "alive_intersection_start_tick <= alive_intersection_end_tick",
59
+ "clip_intersection_start_tick <= clip_intersection_end_tick",
60
+ "clip_union_start_tick <= clip_intersection_start_tick",
61
+ "clip_intersection_start_tick <= alive_intersection_start_tick",
62
+ "alive_intersection_end_tick <= clip_intersection_end_tick",
63
+ "clip_intersection_end_tick <= clip_union_end_tick",
64
+ "t_score_start and ct_score_start are cumulative side scores before the current round",
65
+ "round_winner is T, CT, or empty",
66
+ "round event booleans and kill/headshot counts are aggregated from the ten POV sample event summaries",
67
+ "no resolution, shard path, offset, or per-member columns are present"
68
+ ]
69
+ }
schema/row_index.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "row_index_parquet",
3
+ "schema_version": 1,
4
+ "artifact": "row_index.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one row per sample_key per resolution",
7
+ "description": "Sample-level physical lookup table for WebDataset tar shards. Each row carries all five member byte ranges for one sample and resolution. Use sample_index.parquet when member-level rows are more convenient.",
8
+ "primary_key": [
9
+ "sample_key",
10
+ "resolution"
11
+ ],
12
+ "columns": [
13
+ {"name": "sample_key", "arrow_type": "string", "nullable": false},
14
+ {"name": "match_id", "arrow_type": "string", "nullable": false},
15
+ {"name": "round_id", "arrow_type": "string", "nullable": false},
16
+ {"name": "round_idx", "arrow_type": "int32", "nullable": false},
17
+ {"name": "pov_idx", "arrow_type": "int32", "nullable": false},
18
+ {"name": "resolution", "arrow_type": "string", "nullable": false, "valid_values": ["720p", "360p"]},
19
+ {"name": "video_width", "arrow_type": "int32", "nullable": false},
20
+ {"name": "video_height", "arrow_type": "int32", "nullable": false},
21
+ {"name": "shard_path", "arrow_type": "string", "nullable": false},
22
+ {"name": "shard_id", "arrow_type": "int32", "nullable": false},
23
+ {"name": "shard_size_bytes", "arrow_type": "int64", "nullable": false},
24
+ {"name": "shard_sha256", "arrow_type": "string", "nullable": false},
25
+ {"name": "tar_format", "arrow_type": "string", "nullable": false, "valid_values": ["ustar"]},
26
+ {"name": "compression", "arrow_type": "string", "nullable": false, "valid_values": ["none"]},
27
+ {"name": "json_member_name", "arrow_type": "string", "nullable": false},
28
+ {"name": "json_offset", "arrow_type": "int64", "nullable": false},
29
+ {"name": "json_length", "arrow_type": "int64", "nullable": false},
30
+ {"name": "json_sha256", "arrow_type": "string", "nullable": false},
31
+ {"name": "actions_member_name", "arrow_type": "string", "nullable": false},
32
+ {"name": "actions_offset", "arrow_type": "int64", "nullable": false},
33
+ {"name": "actions_length", "arrow_type": "int64", "nullable": false},
34
+ {"name": "actions_sha256", "arrow_type": "string", "nullable": false},
35
+ {"name": "state_member_name", "arrow_type": "string", "nullable": false},
36
+ {"name": "state_offset", "arrow_type": "int64", "nullable": false},
37
+ {"name": "state_length", "arrow_type": "int64", "nullable": false},
38
+ {"name": "state_sha256", "arrow_type": "string", "nullable": false},
39
+ {"name": "events_member_name", "arrow_type": "string", "nullable": false},
40
+ {"name": "events_offset", "arrow_type": "int64", "nullable": false},
41
+ {"name": "events_length", "arrow_type": "int64", "nullable": false},
42
+ {"name": "events_sha256", "arrow_type": "string", "nullable": false},
43
+ {"name": "mp4_member_name", "arrow_type": "string", "nullable": false},
44
+ {"name": "mp4_offset", "arrow_type": "int64", "nullable": false},
45
+ {"name": "mp4_length", "arrow_type": "int64", "nullable": false},
46
+ {"name": "mp4_sha256", "arrow_type": "string", "nullable": false}
47
+ ],
48
+ "validation": [
49
+ "primary key is unique",
50
+ "all offsets are >= 0",
51
+ "all lengths are > 0",
52
+ "all SHA-256 fields are 64-character lowercase hex strings",
53
+ "each member byte range resolves inside shard_path",
54
+ "no column contains private player identifiers"
55
+ ]
56
+ }
schema/sample_index.json ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "sample_index_parquet",
3
+ "schema_version": 3,
4
+ "artifact": "sample_index.parquet",
5
+ "format": "parquet",
6
+ "row_grain": "one row per WebDataset tar member",
7
+ "description": "Physical lookup table for random access into uncompressed WebDataset tar shards. Semantic filtering lives in manifest.parquet.",
8
+ "primary_key": [
9
+ "sample_key",
10
+ "resolution",
11
+ "member_suffix"
12
+ ],
13
+ "columns": [
14
+ {
15
+ "name": "sample_key",
16
+ "arrow_type": "string",
17
+ "nullable": false
18
+ },
19
+ {
20
+ "name": "match_id",
21
+ "arrow_type": "string",
22
+ "nullable": false
23
+ },
24
+ {
25
+ "name": "round_id",
26
+ "arrow_type": "string",
27
+ "nullable": false
28
+ },
29
+ {
30
+ "name": "round_idx",
31
+ "arrow_type": "int32",
32
+ "nullable": false
33
+ },
34
+ {
35
+ "name": "pov_idx",
36
+ "arrow_type": "int32",
37
+ "nullable": false
38
+ },
39
+ {
40
+ "name": "resolution",
41
+ "arrow_type": "string",
42
+ "nullable": false,
43
+ "valid_values": [
44
+ "720p",
45
+ "360p"
46
+ ]
47
+ },
48
+ {
49
+ "name": "video_width",
50
+ "arrow_type": "int32",
51
+ "nullable": false
52
+ },
53
+ {
54
+ "name": "video_height",
55
+ "arrow_type": "int32",
56
+ "nullable": false
57
+ },
58
+ {
59
+ "name": "member_name",
60
+ "arrow_type": "string",
61
+ "nullable": false,
62
+ "description": "Full tar member name, for example {sample_key}.mp4."
63
+ },
64
+ {
65
+ "name": "member_suffix",
66
+ "arrow_type": "string",
67
+ "nullable": false,
68
+ "valid_values": [
69
+ "mp4",
70
+ "actions.bin",
71
+ "state.bin",
72
+ "events.json",
73
+ "json"
74
+ ]
75
+ },
76
+ {
77
+ "name": "modality",
78
+ "arrow_type": "string",
79
+ "nullable": false,
80
+ "valid_values": [
81
+ "video",
82
+ "actions",
83
+ "state",
84
+ "events",
85
+ "metadata"
86
+ ]
87
+ },
88
+ {
89
+ "name": "content_type",
90
+ "arrow_type": "string",
91
+ "nullable": false,
92
+ "valid_values": [
93
+ "video/mp4",
94
+ "application/octet-stream",
95
+ "application/json"
96
+ ]
97
+ },
98
+ {
99
+ "name": "shard_path",
100
+ "arrow_type": "string",
101
+ "nullable": false,
102
+ "description": "Relative path to the public shard inside the release repo."
103
+ },
104
+ {
105
+ "name": "shard_id",
106
+ "arrow_type": "int32",
107
+ "nullable": false
108
+ },
109
+ {
110
+ "name": "member_index",
111
+ "arrow_type": "int32",
112
+ "nullable": false,
113
+ "description": "Zero-indexed member order within the tar shard."
114
+ },
115
+ {
116
+ "name": "member_offset",
117
+ "arrow_type": "int64",
118
+ "nullable": false,
119
+ "description": "Byte offset of the member payload inside the uncompressed tar."
120
+ },
121
+ {
122
+ "name": "member_length",
123
+ "arrow_type": "int64",
124
+ "nullable": false,
125
+ "description": "Payload length in bytes."
126
+ },
127
+ {
128
+ "name": "member_sha256",
129
+ "arrow_type": "string",
130
+ "nullable": false,
131
+ "description": "Hex SHA-256 of the member payload."
132
+ },
133
+ {
134
+ "name": "shard_size_bytes",
135
+ "arrow_type": "int64",
136
+ "nullable": false
137
+ },
138
+ {
139
+ "name": "shard_sha256",
140
+ "arrow_type": "string",
141
+ "nullable": false,
142
+ "description": "Hex SHA-256 of the full tar shard."
143
+ },
144
+ {
145
+ "name": "tar_format",
146
+ "arrow_type": "string",
147
+ "nullable": false,
148
+ "valid_values": [
149
+ "ustar"
150
+ ]
151
+ },
152
+ {
153
+ "name": "compression",
154
+ "arrow_type": "string",
155
+ "nullable": false,
156
+ "valid_values": [
157
+ "none"
158
+ ],
159
+ "description": "Shard tar compression. Current release shards are uncompressed."
160
+ }
161
+ ],
162
+ "validation": [
163
+ "primary key is unique",
164
+ "member_offset >= 0",
165
+ "member_length > 0",
166
+ "member_sha256 is a 64-character lowercase hex SHA-256",
167
+ "shard_sha256 is a 64-character lowercase hex SHA-256",
168
+ "HTTP range bytes=member_offset-(member_offset+member_length-1) returns exactly the member payload",
169
+ "each sample_key has exactly five member_suffix values per resolution",
170
+ "no column is named clip_id"
171
+ ]
172
+ }