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

Add files using upload-large-folder tool

Browse files
schema/sample_metadata.json ADDED
@@ -0,0 +1,462 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "sample_metadata_json",
3
+ "schema_version": 4,
4
+ "artifact_suffix": ".json",
5
+ "format": "json",
6
+ "row_grain": "one metadata sidecar per WebDataset sample",
7
+ "description": "Minimal public metadata needed to identify, align, mask, and filter one WebDataset sample. Detailed action/state/event field contracts live in schema/actions_bin.json, schema/state_bin.json, and schema/events.json.",
8
+ "privacy_boundary": {
9
+ "contains_steam_ids": false,
10
+ "contains_online_account_ids": false,
11
+ "raw_demo_files_redistributed": false,
12
+ "contains_player_names": false,
13
+ "player_reference": "pov_idx is stable only within a match_id and is not stable across matches"
14
+ },
15
+ "required_fields": [
16
+ "metadata_schema_version",
17
+ "actions_schema_version",
18
+ "state_schema_version",
19
+ "events_schema_version",
20
+ "postprocess_version",
21
+ "sample_key",
22
+ "match_id",
23
+ "round_idx",
24
+ "round_id",
25
+ "pov_idx",
26
+ "team_side",
27
+ "map_slug",
28
+ "resolution",
29
+ "video_width",
30
+ "video_height",
31
+ "clip_start_tick",
32
+ "clip_end_tick",
33
+ "round_start_tick",
34
+ "round_decision_tick",
35
+ "round_stop_tick",
36
+ "round_winner",
37
+ "round_end_reason",
38
+ "pov_round_result",
39
+ "frame0_tick",
40
+ "frame_tick_stride",
41
+ "frames",
42
+ "fps",
43
+ "duration_s",
44
+ "tick_rate",
45
+ "alive_start_tick",
46
+ "alive_end_tick",
47
+ "alive_start_frame",
48
+ "alive_end_frame",
49
+ "alive_frames",
50
+ "alive_duration_s",
51
+ "survival_fraction",
52
+ "has_full_round",
53
+ "ended_by",
54
+ "primary_weapon_id",
55
+ "weapon_ids_present"
56
+ ],
57
+ "fields": [
58
+ {
59
+ "name": "metadata_schema_version",
60
+ "type": "int32",
61
+ "description": "Version of this metadata sidecar contract."
62
+ },
63
+ {
64
+ "name": "actions_schema_version",
65
+ "type": "int32",
66
+ "description": "Expected actions_bin schema version."
67
+ },
68
+ {
69
+ "name": "state_schema_version",
70
+ "type": "int32",
71
+ "description": "Expected state_bin schema version."
72
+ },
73
+ {
74
+ "name": "events_schema_version",
75
+ "type": "int32",
76
+ "description": "Expected sample events JSON schema version."
77
+ },
78
+ {
79
+ "name": "sample_key",
80
+ "type": "string",
81
+ "description": "Shared WebDataset member prefix: match_{match_id}__r{round_idx:03d}__p{pov_idx:02d}."
82
+ },
83
+ {
84
+ "name": "match_id",
85
+ "type": "string",
86
+ "description": "Release match-map id, normally a 12-character hash prefix."
87
+ },
88
+ {
89
+ "name": "round_idx",
90
+ "type": "int32",
91
+ "description": "Zero-indexed round number within match_id."
92
+ },
93
+ {
94
+ "name": "round_id",
95
+ "type": "string",
96
+ "description": "Stable join id for all POV samples belonging to the same round: match_{match_id}__r{round_idx:03d}."
97
+ },
98
+ {
99
+ "name": "pov_idx",
100
+ "type": "int32",
101
+ "description": "Anonymized player POV id, stable within match_id."
102
+ },
103
+ {
104
+ "name": "team_side",
105
+ "type": "enum<T,CT,empty>",
106
+ "description": "Player side at clip_start_tick."
107
+ },
108
+ {
109
+ "name": "map_slug",
110
+ "type": "enum<anubis,ancient,dust2,inferno,mirage,nuke,overpass,empty>",
111
+ "description": "Stable map enum. Human-readable display names live in schema/maps.json."
112
+ },
113
+ {
114
+ "name": "resolution",
115
+ "type": "enum<720p,360p,empty>",
116
+ "description": "Release media profile label. Exact dimensions are video_width/video_height."
117
+ },
118
+ {
119
+ "name": "video_width",
120
+ "type": "int32",
121
+ "description": "Decoded video width in pixels. Must match schema/media.json for resolution."
122
+ },
123
+ {
124
+ "name": "video_height",
125
+ "type": "int32",
126
+ "description": "Decoded video height in pixels. Must match schema/media.json for resolution."
127
+ },
128
+ {
129
+ "name": "clip_start_tick",
130
+ "type": "int64",
131
+ "description": "Inclusive sample start tick."
132
+ },
133
+ {
134
+ "name": "clip_end_tick",
135
+ "type": "int64",
136
+ "description": "Exclusive sample end tick."
137
+ },
138
+ {
139
+ "name": "round_start_tick",
140
+ "type": "int64",
141
+ "description": "Canonical round start tick, normally round_freeze_end."
142
+ },
143
+ {
144
+ "name": "round_decision_tick",
145
+ "type": "int64",
146
+ "description": "Tick at which the round outcome was decided, normally round_end."
147
+ },
148
+ {
149
+ "name": "round_stop_tick",
150
+ "type": "int64",
151
+ "description": "Round window stop tick after post-round buffer, normally round_officially_ended when available."
152
+ },
153
+ {
154
+ "name": "round_winner",
155
+ "type": "enum<T,CT,empty>",
156
+ "description": "Team that won the round, from round_end.winner."
157
+ },
158
+ {
159
+ "name": "round_end_reason",
160
+ "type": "string",
161
+ "description": "Sanitized round_end.reason value when available."
162
+ },
163
+ {
164
+ "name": "pov_round_result",
165
+ "type": "enum<win,loss,unknown,empty>",
166
+ "description": "Result of this POV's team in the round, derived from team_side and round_winner."
167
+ },
168
+ {
169
+ "name": "frame0_tick",
170
+ "type": "int64",
171
+ "description": "Demo tick aligned to decoded video frame 0."
172
+ },
173
+ {
174
+ "name": "frame_tick_stride",
175
+ "type": "int32",
176
+ "description": "Tick stride per video frame. Current release target is 2 for 64 Hz ticks at 32 FPS."
177
+ },
178
+ {
179
+ "name": "frames",
180
+ "type": "int32",
181
+ "description": "Decoded video frame count and expected actions.bin/state.bin record count."
182
+ },
183
+ {
184
+ "name": "fps",
185
+ "type": "float32",
186
+ "description": "Video frame rate. Current release target is 32."
187
+ },
188
+ {
189
+ "name": "duration_s",
190
+ "type": "float32",
191
+ "description": "Sample duration in seconds."
192
+ },
193
+ {
194
+ "name": "tick_rate",
195
+ "type": "int32",
196
+ "description": "Demo tick rate. Current release target is 64."
197
+ },
198
+ {
199
+ "name": "alive_start_tick",
200
+ "type": "int64",
201
+ "description": "First tick in the sample where this POV is considered alive."
202
+ },
203
+ {
204
+ "name": "alive_end_tick",
205
+ "type": "int64",
206
+ "description": "Exclusive alive boundary for this POV. For deaths, this is the death tick; for surviving POVs, this is clip_end_tick or round_stop_tick."
207
+ },
208
+ {
209
+ "name": "alive_start_frame",
210
+ "type": "int32",
211
+ "description": "First frame where player_alive is true."
212
+ },
213
+ {
214
+ "name": "alive_end_frame",
215
+ "type": "int32",
216
+ "description": "Exclusive end frame where player_alive is true."
217
+ },
218
+ {
219
+ "name": "alive_frames",
220
+ "type": "int32",
221
+ "description": "alive_end_frame - alive_start_frame."
222
+ },
223
+ {
224
+ "name": "alive_duration_s",
225
+ "type": "float32",
226
+ "description": "Alive tick window duration in seconds."
227
+ },
228
+ {
229
+ "name": "survival_fraction",
230
+ "type": "float32",
231
+ "description": "alive_frames / frames."
232
+ },
233
+ {
234
+ "name": "has_full_round",
235
+ "type": "bool",
236
+ "description": "Whether this POV sample reaches round_stop_tick."
237
+ },
238
+ {
239
+ "name": "ended_by",
240
+ "type": "enum<death,round_stop,clip_end,unknown,empty>",
241
+ "description": "Reason this POV sample ended. round_stop means the POV survived to the canonical round window stop."
242
+ },
243
+ {
244
+ "name": "media_truncated",
245
+ "type": "bool",
246
+ "description": "True when the corrected round/death-tail window extends beyond the rendered MP4 and v12 sidecars were clipped to the available media. Filter this out for strict full-round training."
247
+ },
248
+ {
249
+ "name": "intended_clip_end_tick",
250
+ "type": "int64|null",
251
+ "description": "Corrected exclusive clip end tick before clipping to rendered media. Present only when media_truncated is true."
252
+ },
253
+ {
254
+ "name": "primary_weapon_id",
255
+ "type": "int32",
256
+ "description": "Most frequent non-unknown active_weapon_id in the sample."
257
+ },
258
+ {
259
+ "name": "weapon_ids_present",
260
+ "type": "list<int32>",
261
+ "description": "Sorted unique non-unknown active_weapon_id values present in the sample."
262
+ },
263
+ {
264
+ "name": "postprocess_version",
265
+ "type": "string",
266
+ "description": "Post-processor version that produced this sidecar and paired binary artifacts. v12 splits controls into actions.bin and state into state.bin."
267
+ },
268
+ {
269
+ "name": "death_tick",
270
+ "type": "int64|null",
271
+ "description": "POV death tick when ended_by is death; absent/null for surviving POVs."
272
+ },
273
+ {
274
+ "name": "death_frame",
275
+ "type": "int32|null",
276
+ "description": "Video frame aligned to death_tick when death_tick is inside the sample frame window."
277
+ },
278
+ {
279
+ "name": "round_number_in_match",
280
+ "type": "int32",
281
+ "description": "One-indexed round number within match_id."
282
+ },
283
+ {
284
+ "name": "half_idx",
285
+ "type": "int32",
286
+ "description": "0 for first half, 1 for second half, and higher values for overtime blocks."
287
+ },
288
+ {
289
+ "name": "is_first_round",
290
+ "type": "bool",
291
+ "description": "True for round_idx == 0."
292
+ },
293
+ {
294
+ "name": "is_pistol_round",
295
+ "type": "bool",
296
+ "description": "True for regulation pistol rounds and overtime pistol-reset rounds."
297
+ },
298
+ {
299
+ "name": "t_score_start",
300
+ "type": "int32",
301
+ "description": "T-side score at the start of the sample/round."
302
+ },
303
+ {
304
+ "name": "ct_score_start",
305
+ "type": "int32",
306
+ "description": "CT-side score at the start of the sample/round."
307
+ },
308
+ {
309
+ "name": "score_diff_start",
310
+ "type": "int32",
311
+ "description": "t_score_start - ct_score_start."
312
+ },
313
+ {
314
+ "name": "primary_weapon_category",
315
+ "type": "string",
316
+ "description": "Most frequent coarse active weapon category in the sample."
317
+ },
318
+ {
319
+ "name": "weapon_categories_present",
320
+ "type": "list<string>",
321
+ "description": "Sorted unique coarse weapon categories present in the sample."
322
+ },
323
+ {
324
+ "name": "start_weapon_id",
325
+ "type": "int32",
326
+ "description": "active_weapon_id on the first frame."
327
+ },
328
+ {
329
+ "name": "start_weapon_category",
330
+ "type": "string",
331
+ "description": "Coarse active weapon category on the first frame."
332
+ },
333
+ {
334
+ "name": "start_health",
335
+ "type": "int32",
336
+ "description": "Health on the first frame."
337
+ },
338
+ {
339
+ "name": "start_armor",
340
+ "type": "int32",
341
+ "description": "Armor value on the first frame."
342
+ },
343
+ {
344
+ "name": "start_has_helmet",
345
+ "type": "bool",
346
+ "description": "Whether the POV has helmet armor on the first frame."
347
+ },
348
+ {
349
+ "name": "start_has_defuser",
350
+ "type": "bool",
351
+ "description": "Whether the POV has a defuse kit on the first frame."
352
+ },
353
+ {
354
+ "name": "start_balance",
355
+ "type": "int32",
356
+ "description": "Player money on the first frame when available."
357
+ },
358
+ {
359
+ "name": "start_has_bomb",
360
+ "type": "bool",
361
+ "description": "Whether the POV is carrying C4 on the first frame."
362
+ },
363
+ {
364
+ "name": "has_awp",
365
+ "type": "bool",
366
+ "description": "True if the AWP appears as active_weapon_id at any frame in the sample."
367
+ },
368
+ {
369
+ "name": "has_sniper",
370
+ "type": "bool",
371
+ "description": "True if any sniper-category weapon appears in the sample."
372
+ },
373
+ {
374
+ "name": "has_rifle",
375
+ "type": "bool",
376
+ "description": "True if any rifle-category weapon appears in the sample."
377
+ },
378
+ {
379
+ "name": "contains_bomb_plant",
380
+ "type": "bool",
381
+ "description": "True if the sample event sidecar contains a bomb_planted event."
382
+ },
383
+ {
384
+ "name": "contains_bomb_defuse",
385
+ "type": "bool",
386
+ "description": "True if the sample event sidecar contains a bomb_defused event."
387
+ },
388
+ {
389
+ "name": "contains_bomb_explosion",
390
+ "type": "bool",
391
+ "description": "True if the sample event sidecar contains a bomb_exploded event."
392
+ },
393
+ {
394
+ "name": "contains_player_death",
395
+ "type": "bool",
396
+ "description": "True if the sample event sidecar contains at least one player_death event."
397
+ },
398
+ {
399
+ "name": "sample_kills_total",
400
+ "type": "int32",
401
+ "description": "Number of player_death events in this sample."
402
+ },
403
+ {
404
+ "name": "sample_headshots_total",
405
+ "type": "int32",
406
+ "description": "Number of headshot player_death events in this sample."
407
+ },
408
+ {
409
+ "name": "pov_kills",
410
+ "type": "int32",
411
+ "description": "Kills credited to this POV within the sample event window."
412
+ },
413
+ {
414
+ "name": "pov_deaths",
415
+ "type": "int32",
416
+ "description": "Deaths of this POV within the sample event window."
417
+ },
418
+ {
419
+ "name": "pov_assists",
420
+ "type": "int32",
421
+ "description": "Assists credited to this POV within the sample event window."
422
+ },
423
+ {
424
+ "name": "pov_blinds_caused",
425
+ "type": "int32",
426
+ "description": "Blind events caused by this POV within the sample event window."
427
+ },
428
+ {
429
+ "name": "pov_blinded",
430
+ "type": "int32",
431
+ "description": "Blind events affecting this POV within the sample event window."
432
+ }
433
+ ],
434
+ "validation": [
435
+ "metadata_schema_version == 4",
436
+ "actions_schema_version == 9",
437
+ "state_schema_version == 1",
438
+ "events_schema_version == 3",
439
+ "sample_key matches match_{match_id}__r{round_idx:03d}__p{pov_idx:02d}",
440
+ "round_id matches match_{match_id}__r{round_idx:03d}",
441
+ "resolution is 720p or 360p for final release shards",
442
+ "video_width/video_height match schema/media.json for resolution",
443
+ "clip_start_tick < clip_end_tick",
444
+ "round_start_tick <= round_decision_tick <= round_stop_tick",
445
+ "frame0_tick == clip_start_tick for the v1 release",
446
+ "frame_tick_stride == 2 for final release shards",
447
+ "frames > 0",
448
+ "duration_s > 0",
449
+ "fps == 32 for final release shards",
450
+ "tick_rate == 64 for final release shards",
451
+ "clip_start_tick <= alive_start_tick <= alive_end_tick <= clip_end_tick",
452
+ "media_truncated == false implies intended_clip_end_tick is absent/null",
453
+ "media_truncated == true implies clip_end_tick < intended_clip_end_tick",
454
+ "0 <= alive_start_frame <= alive_end_frame <= frames",
455
+ "alive_frames == alive_end_frame - alive_start_frame",
456
+ "has_full_round == (clip_end_tick >= round_stop_tick)",
457
+ "pov_round_result is win/loss when team_side and round_winner are known",
458
+ "ended_by is one of death, round_stop, clip_end, unknown, or empty",
459
+ "no top-level field is named clip_id, start_tick, end_tick, map, player_id, player_name, actions_bin, state_bin, or events_json",
460
+ "no serialized field value contains steamid, xuid, accountid, profile URL, hltv_match_id, raw demo path, raw demo URL, event name, or team names"
461
+ ]
462
+ }
schema/state_bin.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "state_bin",
3
+ "schema_version": 1,
4
+ "artifact_suffix": ".state.bin",
5
+ "format": "packed_fixed_width_binary",
6
+ "row_grain": "one record per decoded video frame",
7
+ "record_size_bytes": 37,
8
+ "byte_order": "little_endian",
9
+ "alignment": "packed_no_padding",
10
+ "description": "Per-frame POV-local player/game state labels for one sample. Controls live in actions.bin.",
11
+ "fields": [
12
+ {"name": "tick", "dtype": "uint32", "offset": 0, "bytes": 4},
13
+ {"name": "pitch", "dtype": "float32", "offset": 4, "bytes": 4, "unit": "degrees"},
14
+ {"name": "yaw", "dtype": "float32", "offset": 8, "bytes": 4, "unit": "degrees"},
15
+ {"name": "pos_x", "dtype": "float32", "offset": 12, "bytes": 4, "unit": "CS2 world units"},
16
+ {"name": "pos_y", "dtype": "float32", "offset": 16, "bytes": 4, "unit": "CS2 world units"},
17
+ {"name": "pos_z", "dtype": "float32", "offset": 20, "bytes": 4, "unit": "CS2 world units"},
18
+ {"name": "active_weapon", "dtype": "uint8", "offset": 24, "bytes": 1, "description": "Coarse weapon category id; see weapons.json."},
19
+ {"name": "active_weapon_id", "dtype": "uint8", "offset": 25, "bytes": 1, "description": "Exact weapon id; see weapons.json. 0 means unknown."},
20
+ {"name": "ammo_clip", "dtype": "uint8", "offset": 26, "bytes": 1},
21
+ {"name": "ammo_reserve", "dtype": "uint8", "offset": 27, "bytes": 1, "sentinel": 255},
22
+ {"name": "health", "dtype": "uint8", "offset": 28, "bytes": 1, "valid_range": [0, 100]},
23
+ {"name": "armor_value", "dtype": "uint8", "offset": 29, "bytes": 1, "valid_range": [0, 100]},
24
+ {"name": "balance", "dtype": "uint16", "offset": 30, "bytes": 2, "sentinel": 65535},
25
+ {"name": "t_score", "dtype": "uint8", "offset": 32, "bytes": 1, "sentinel": 255},
26
+ {"name": "ct_score", "dtype": "uint8", "offset": 33, "bytes": 1, "sentinel": 255},
27
+ {"name": "has_helmet", "dtype": "uint8", "offset": 34, "bytes": 1, "valid_values": [0, 1]},
28
+ {"name": "has_defuser", "dtype": "uint8", "offset": 35, "bytes": 1, "valid_values": [0, 1]},
29
+ {"name": "has_bomb", "dtype": "uint8", "offset": 36, "bytes": 1, "valid_values": [0, 1]}
30
+ ],
31
+ "numpy_dtype": [
32
+ ["tick", "<u4"],
33
+ ["pitch", "<f4"],
34
+ ["yaw", "<f4"],
35
+ ["pos_x", "<f4"],
36
+ ["pos_y", "<f4"],
37
+ ["pos_z", "<f4"],
38
+ ["active_weapon", "u1"],
39
+ ["active_weapon_id", "u1"],
40
+ ["ammo_clip", "u1"],
41
+ ["ammo_reserve", "u1"],
42
+ ["health", "u1"],
43
+ ["armor_value", "u1"],
44
+ ["balance", "<u2"],
45
+ ["t_score", "u1"],
46
+ ["ct_score", "u1"],
47
+ ["has_helmet", "u1"],
48
+ ["has_defuser", "u1"],
49
+ ["has_bomb", "u1"]
50
+ ],
51
+ "validation": [
52
+ "file_size == frames * 37",
53
+ "one record per decoded video frame",
54
+ "no Steam IDs, account IDs, player names, or online identifiers"
55
+ ]
56
+ }
schema/stats_events.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_events_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/events.json",
5
+ "format": "json",
6
+ "description": "Gameplay event distribution summary for per-sample events.json members and full-match match_events parquet traces.",
7
+ "source_artifacts": [
8
+ "manifest.parquet",
9
+ "sample_index.parquet",
10
+ "row_index.parquet",
11
+ "match_events/*.parquet",
12
+ "{sample_key}.events.json"
13
+ ],
14
+ "fields": [
15
+ {
16
+ "name": "schema_version",
17
+ "json_type": "integer",
18
+ "value": 1
19
+ },
20
+ {
21
+ "name": "generated_at_utc",
22
+ "json_type": "string"
23
+ },
24
+ {
25
+ "name": "sample_events",
26
+ "json_type": "object",
27
+ "description": "Stats over curated per-sample events.json payloads stored inside WebDataset shards."
28
+ },
29
+ {
30
+ "name": "match_events",
31
+ "json_type": "object",
32
+ "description": "Stats over broader sanitized match_events/match_{match_id}.parquet traces."
33
+ },
34
+ {
35
+ "name": "privacy_checks",
36
+ "json_type": "object",
37
+ "description": "Release-time checks proving chat/text events and denied identity fields were not published."
38
+ }
39
+ ],
40
+ "sample_events": {
41
+ "required_fields": [
42
+ "total_events",
43
+ "events_per_sample",
44
+ "event_type_counts"
45
+ ],
46
+ "event_type_counts": [
47
+ "round_freeze_end",
48
+ "buytime_ended",
49
+ "round_end",
50
+ "round_officially_ended",
51
+ "player_death",
52
+ "player_blind",
53
+ "bomb_beginplant",
54
+ "bomb_planted",
55
+ "bomb_begindefuse",
56
+ "bomb_defused",
57
+ "bomb_exploded",
58
+ "bomb_dropped",
59
+ "bomb_pickup",
60
+ "item_pickup",
61
+ "item_equip",
62
+ "weapon_zoom"
63
+ ]
64
+ },
65
+ "match_events": {
66
+ "required_fields": [
67
+ "total_events",
68
+ "events_per_match",
69
+ "event_type_counts",
70
+ "files"
71
+ ],
72
+ "event_type_counts_policy": "Object keys are sanitized demoparser2 event names observed in match_events parquet files, excluding raw chat/text events."
73
+ },
74
+ "distribution_fields": [
75
+ "count",
76
+ "mean",
77
+ "std",
78
+ "min",
79
+ "p05",
80
+ "p25",
81
+ "median",
82
+ "p75",
83
+ "p95",
84
+ "max"
85
+ ],
86
+ "validation": [
87
+ "sample_events.total_events == sum(sample_events.event_type_counts values)",
88
+ "match_events.total_events == sum(match_events.event_type_counts values)",
89
+ "events_per_sample is computed over every sample in manifest.parquet, including samples with zero events",
90
+ "events_per_match is computed over every match_id in match_index.parquet, including matches with zero events",
91
+ "privacy_checks.raw_chat_events_included is false",
92
+ "privacy_checks.denied_identity_fields_found == 0",
93
+ "no Steam IDs, XUIDs, account IDs, player names, profile URLs, raw HLTV IDs, raw demo paths, or raw chat text are present"
94
+ ]
95
+ }
schema/stats_maps.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_maps_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/maps.json",
5
+ "format": "json",
6
+ "description": "Per-map dataset composition and round behavior summary.",
7
+ "source_artifacts": [
8
+ "manifest.parquet",
9
+ "round_index.parquet",
10
+ "match_index.parquet"
11
+ ],
12
+ "fields": [
13
+ {
14
+ "name": "schema_version",
15
+ "json_type": "integer",
16
+ "value": 1
17
+ },
18
+ {
19
+ "name": "generated_at_utc",
20
+ "json_type": "string"
21
+ },
22
+ {
23
+ "name": "maps",
24
+ "json_type": "array",
25
+ "description": "One entry per released map_slug."
26
+ }
27
+ ],
28
+ "map_entry": {
29
+ "required_fields": [
30
+ "map_slug",
31
+ "dataset_scale",
32
+ "splits",
33
+ "round_duration_s",
34
+ "round_frames",
35
+ "round_winner_counts",
36
+ "round_end_reason_counts"
37
+ ]
38
+ },
39
+ "dataset_scale_fields": [
40
+ "samples",
41
+ "matches",
42
+ "rounds",
43
+ "hours",
44
+ "frames",
45
+ "percent_hours"
46
+ ],
47
+ "split_entry_fields": [
48
+ "samples",
49
+ "matches",
50
+ "rounds",
51
+ "hours",
52
+ "frames"
53
+ ],
54
+ "round_duration_s_fields": [
55
+ "round_lifecycle",
56
+ "alive_intersection",
57
+ "clip_intersection",
58
+ "clip_union"
59
+ ],
60
+ "round_frames_fields": [
61
+ "alive_intersection",
62
+ "clip_intersection",
63
+ "clip_union"
64
+ ],
65
+ "distribution_fields": [
66
+ "count",
67
+ "mean",
68
+ "std",
69
+ "min",
70
+ "p05",
71
+ "p25",
72
+ "median",
73
+ "p75",
74
+ "p95",
75
+ "max"
76
+ ],
77
+ "validation": [
78
+ "one maps entry exists for each released map_slug",
79
+ "sum(map.dataset_scale.samples) == row count of manifest.parquet",
80
+ "sum(map.dataset_scale.matches) == row count of match_index.parquet",
81
+ "sum(map.dataset_scale.rounds) == row count of round_index.parquet",
82
+ "sum(map.dataset_scale.frames) == sum(manifest.frames)",
83
+ "sum(map.dataset_scale.percent_hours) is approximately 100",
84
+ "each maps entry has train, val, and test split entries",
85
+ "round_duration_s.round_lifecycle is derived from round_stop_tick - round_start_tick",
86
+ "round_duration_s.alive_intersection is derived from alive_intersection frames/ticks",
87
+ "round_duration_s.clip_intersection is derived from clip_intersection frames/ticks",
88
+ "round_duration_s.clip_union is derived from released sample frames grouped by round/map",
89
+ "round_winner_counts keys include T, CT, and unknown"
90
+ ]
91
+ }
schema/stats_media.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_media_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/media.json",
5
+ "format": "json",
6
+ "description": "Physical media/storage summary and validation for released MP4 variants. Dataset scale is counted once in stats/summary.json.",
7
+ "source_artifacts": [
8
+ "sample_index.parquet",
9
+ "row_index.parquet",
10
+ "manifest.parquet",
11
+ "shards_manifest_720p.json",
12
+ "shards_manifest_360p.json",
13
+ "schema/media.json"
14
+ ],
15
+ "fields": [
16
+ {
17
+ "name": "schema_version",
18
+ "json_type": "integer",
19
+ "value": 1
20
+ },
21
+ {
22
+ "name": "generated_at_utc",
23
+ "json_type": "string"
24
+ },
25
+ {
26
+ "name": "dataset_media",
27
+ "json_type": "object",
28
+ "description": "Resolution-agnostic media constants for the released dataset."
29
+ },
30
+ {
31
+ "name": "by_resolution",
32
+ "json_type": "object",
33
+ "description": "Physical storage and MP4 validation summary keyed by media variant, e.g. 720p and 360p."
34
+ },
35
+ {
36
+ "name": "validation",
37
+ "json_type": "object",
38
+ "description": "Aggregate media validation checks across all released MP4 members."
39
+ }
40
+ ],
41
+ "dataset_media": {
42
+ "required_fields": [
43
+ "fps",
44
+ "tick_rate",
45
+ "audio_channels",
46
+ "available_resolutions",
47
+ "canonical_resolution",
48
+ "training_resolution"
49
+ ]
50
+ },
51
+ "by_resolution_entry": {
52
+ "required_fields": [
53
+ "role",
54
+ "video_width",
55
+ "video_height",
56
+ "video_codec",
57
+ "pixel_format",
58
+ "audio_codec",
59
+ "audio_profile",
60
+ "audio_channels",
61
+ "sample_count",
62
+ "video_member_count",
63
+ "shard_count",
64
+ "shard_bytes",
65
+ "mp4_bytes",
66
+ "mean_mp4_bytes",
67
+ "median_mp4_bytes"
68
+ ],
69
+ "optional_fields": [
70
+ "derived_from"
71
+ ]
72
+ },
73
+ "validation_fields": [
74
+ "all_videos_decode",
75
+ "all_videos_have_stereo_audio",
76
+ "all_videos_faststart",
77
+ "all_videos_yuv420p",
78
+ "missing_video_members",
79
+ "missing_audio_streams",
80
+ "duration_mismatch_count"
81
+ ],
82
+ "validation": [
83
+ "dataset_media.available_resolutions includes 720p and 360p",
84
+ "dataset_media.canonical_resolution == 720p",
85
+ "dataset_media.training_resolution == 360p",
86
+ "by_resolution.720p.role == canonical_render",
87
+ "by_resolution.360p.role == training_convenience_derivative",
88
+ "by_resolution.360p.derived_from == 720p",
89
+ "sample_count is identical across released resolutions",
90
+ "video_member_count == sample_count for each released resolution",
91
+ "validation.all_videos_decode is true",
92
+ "validation.all_videos_have_stereo_audio is true",
93
+ "validation.missing_video_members == 0",
94
+ "validation.missing_audio_streams == 0"
95
+ ]
96
+ }
schema/stats_quality.json ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_quality_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/quality.json",
5
+ "format": "json",
6
+ "description": "Release QA and privacy validation summary. This audit file records schema, completeness, source filtering, integrity, privacy, and media validation counts.",
7
+ "source_artifacts": [
8
+ "manifest.parquet",
9
+ "round_index.parquet",
10
+ "match_index.parquet",
11
+ "sample_index.parquet",
12
+ "row_index.parquet",
13
+ "shards_manifest_720p.json",
14
+ "shards_manifest_360p.json",
15
+ "match_states/*.parquet",
16
+ "match_events/*.parquet",
17
+ "stats/media.json",
18
+ "release/manifest_locks/counterstrike-1k_v12_final_qa_merge_log.json"
19
+ ],
20
+ "fields": [
21
+ {
22
+ "name": "schema_version",
23
+ "json_type": "integer",
24
+ "value": 1
25
+ },
26
+ {
27
+ "name": "generated_at_utc",
28
+ "json_type": "string"
29
+ },
30
+ {
31
+ "name": "schema_validation",
32
+ "json_type": "object"
33
+ },
34
+ {
35
+ "name": "completeness",
36
+ "json_type": "object"
37
+ },
38
+ {
39
+ "name": "source_filtering",
40
+ "json_type": "object",
41
+ "description": "Pre-release render/curation accounting for excluded or remapped source rows, including partial renders and non-player POV streams."
42
+ },
43
+ {
44
+ "name": "integrity",
45
+ "json_type": "object"
46
+ },
47
+ {
48
+ "name": "privacy",
49
+ "json_type": "object"
50
+ },
51
+ {
52
+ "name": "media",
53
+ "json_type": "object"
54
+ },
55
+ {
56
+ "name": "status",
57
+ "json_type": "string",
58
+ "valid_values": [
59
+ "pass",
60
+ "fail"
61
+ ]
62
+ }
63
+ ],
64
+ "schema_validation_fields": [
65
+ "manifest_rows",
66
+ "round_index_rows",
67
+ "match_index_rows",
68
+ "sample_index_rows",
69
+ "row_index_rows",
70
+ "schema_errors",
71
+ "missing_required_fields",
72
+ "invalid_enum_values"
73
+ ],
74
+ "completeness_fields": [
75
+ "missing_sample_members",
76
+ "missing_video_members",
77
+ "missing_actions_members",
78
+ "missing_events_members",
79
+ "missing_metadata_members",
80
+ "incomplete_rounds",
81
+ "matches_with_less_than_10_povs",
82
+ "matches_with_any_incomplete_round",
83
+ "round_pov_count_histogram",
84
+ "per_match_mean_povs_per_round"
85
+ ],
86
+ "source_filtering_fields": [
87
+ "source",
88
+ "active_exclusion_entries",
89
+ "entry_scope_counts",
90
+ "complete_10pov",
91
+ "full_demo_10pov",
92
+ "source_render_rows_scanned",
93
+ "source_demos_scanned",
94
+ "source_render_state_counts",
95
+ "source_demo_succeeded_pov_count_histogram",
96
+ "source_round_succeeded_pov_count_histogram",
97
+ "demos_with_partial_render_success",
98
+ "demos_pending_rerender_or_requeue",
99
+ "demos_unsupported_by_renderer_or_parser",
100
+ "demos_with_extra_non_player_povs",
101
+ "rounds_with_extra_non_player_povs",
102
+ "extra_non_player_povs_filtered",
103
+ "render_rows_excluded_non_player_pov"
104
+ ],
105
+ "source_filtering_definitions": {
106
+ "source_demo_succeeded_pov_count_histogram": "Histogram of distinct succeeded POV ids per source demo before release filtering.",
107
+ "source_round_succeeded_pov_count_histogram": "Histogram of distinct succeeded POV ids per source round before release filtering.",
108
+ "demos_with_extra_non_player_povs": "Demos whose source rows expose more than 10 POV streams, typically coach/spectator/non-player streams.",
109
+ "extra_non_player_povs_filtered": "Non-player POV ids excluded before public sample keys and indices are built."
110
+ },
111
+ "integrity_fields": [
112
+ "member_sha256_checked",
113
+ "member_sha256_failed",
114
+ "shard_sha256_checked",
115
+ "shard_sha256_failed",
116
+ "tar_offsets_checked",
117
+ "tar_offsets_failed"
118
+ ],
119
+ "privacy_fields": [
120
+ "denied_identity_fields_found",
121
+ "steam_id_fields_found",
122
+ "xuid_fields_found",
123
+ "account_id_fields_found",
124
+ "profile_url_fields_found",
125
+ "player_name_fields_found",
126
+ "raw_hltv_fields_found",
127
+ "raw_demo_path_fields_found",
128
+ "raw_chat_text_fields_found"
129
+ ],
130
+ "media_fields": [
131
+ "videos_checked",
132
+ "videos_decode_failed",
133
+ "audio_missing",
134
+ "audio_non_stereo",
135
+ "pixel_format_mismatch",
136
+ "duration_mismatch"
137
+ ],
138
+ "validation": [
139
+ "schema_validation.schema_errors == 0",
140
+ "schema_validation.missing_required_fields == 0",
141
+ "schema_validation.invalid_enum_values == 0",
142
+ "completeness.missing_sample_members == 0",
143
+ "completeness.incomplete_rounds == 0",
144
+ "completeness.matches_with_less_than_10_povs == 0",
145
+ "completeness.matches_with_any_incomplete_round == 0",
146
+ "completeness.round_pov_count_histogram has only key 10 after release filtering",
147
+ "source_filtering records active human-QA exclusions and, when available, partial, unsupported, or extra-POV source rows excluded from release",
148
+ "integrity.member_sha256_failed == 0",
149
+ "integrity.shard_sha256_failed == 0",
150
+ "integrity.tar_offsets_failed == 0",
151
+ "privacy.denied_identity_fields_found == 0",
152
+ "privacy.raw_chat_text_fields_found == 0",
153
+ "media.videos_decode_failed == 0",
154
+ "media.audio_missing == 0",
155
+ "media.audio_non_stereo == 0",
156
+ "status == pass"
157
+ ]
158
+ }
schema/stats_release_environment.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_release_environment_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/release_environment.json",
5
+ "format": "json",
6
+ "description": "Release provenance and reproducibility metadata populated during the final render/pack/validation pass.",
7
+ "fields": [
8
+ {
9
+ "name": "schema_version",
10
+ "json_type": "integer",
11
+ "value": 1
12
+ },
13
+ {
14
+ "name": "generated_at_utc",
15
+ "json_type": "string"
16
+ },
17
+ {
18
+ "name": "release",
19
+ "json_type": "object"
20
+ },
21
+ {
22
+ "name": "game",
23
+ "json_type": "object"
24
+ },
25
+ {
26
+ "name": "rendering",
27
+ "json_type": "object"
28
+ },
29
+ {
30
+ "name": "audio",
31
+ "json_type": "object"
32
+ },
33
+ {
34
+ "name": "parsing",
35
+ "json_type": "object"
36
+ },
37
+ {
38
+ "name": "packing",
39
+ "json_type": "object"
40
+ },
41
+ {
42
+ "name": "schemas",
43
+ "json_type": "object"
44
+ }
45
+ ],
46
+ "release": {
47
+ "required_fields": [
48
+ "dataset_name",
49
+ "release_version",
50
+ "created_at_utc",
51
+ "git_commit",
52
+ "git_dirty"
53
+ ]
54
+ },
55
+ "game": {
56
+ "required_fields": [
57
+ "game",
58
+ "cs2_build",
59
+ "render_resolution",
60
+ "render_fps",
61
+ "tick_rate",
62
+ "maps"
63
+ ]
64
+ },
65
+ "rendering": {
66
+ "required_fields": [
67
+ "tool",
68
+ "csdm_version",
69
+ "render_config_sha256",
70
+ "video_encoder",
71
+ "canonical_resolution",
72
+ "training_resolution",
73
+ "downscale_method",
74
+ "gop",
75
+ "crf_or_cq",
76
+ "pixel_format",
77
+ "faststart"
78
+ ]
79
+ },
80
+ "audio": {
81
+ "required_fields": [
82
+ "codec",
83
+ "profile",
84
+ "channels",
85
+ "sample_rate_hz",
86
+ "bitrate_policy"
87
+ ]
88
+ },
89
+ "parsing": {
90
+ "required_fields": [
91
+ "demoparser2_version",
92
+ "python_version",
93
+ "tick_props_version",
94
+ "event_selection_version",
95
+ "actions_schema_version"
96
+ ]
97
+ },
98
+ "packing": {
99
+ "required_fields": [
100
+ "packer",
101
+ "packer_git_commit",
102
+ "tar_format",
103
+ "compression",
104
+ "shard_size_target",
105
+ "reencode_policy"
106
+ ]
107
+ },
108
+ "schemas": {
109
+ "required_fields": [
110
+ "sample_metadata",
111
+ "actions_bin",
112
+ "state_bin",
113
+ "events",
114
+ "manifest",
115
+ "round_index",
116
+ "sample_index",
117
+ "match_index"
118
+ ]
119
+ },
120
+ "validation": [
121
+ "release.dataset_name == CounterStrike-1K",
122
+ "release.created_at_utc is an ISO-8601 UTC timestamp",
123
+ "release.git_commit is non-empty",
124
+ "game.game == Counter-Strike 2",
125
+ "game.render_fps == 32",
126
+ "game.tick_rate == 64",
127
+ "rendering.canonical_resolution == 720p",
128
+ "rendering.training_resolution == 360p",
129
+ "rendering.pixel_format == yuv420p",
130
+ "rendering.faststart is true",
131
+ "audio.codec == aac",
132
+ "audio.profile == LC",
133
+ "audio.channels == 2",
134
+ "packing.tar_format == ustar",
135
+ "packing.compression == none",
136
+ "schema versions match schema/*.json"
137
+ ]
138
+ }
schema/stats_rounds.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_rounds_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/rounds.json",
5
+ "format": "json",
6
+ "description": "Global round structure, duration, frame, and outcome statistics. Per-map round statistics live in stats/maps.json.",
7
+ "source_artifacts": [
8
+ "round_index.parquet",
9
+ "manifest.parquet",
10
+ "match_index.parquet"
11
+ ],
12
+ "fields": [
13
+ {
14
+ "name": "schema_version",
15
+ "json_type": "integer",
16
+ "value": 1
17
+ },
18
+ {
19
+ "name": "generated_at_utc",
20
+ "json_type": "string"
21
+ },
22
+ {
23
+ "name": "rounds",
24
+ "json_type": "object"
25
+ },
26
+ {
27
+ "name": "rounds_per_match",
28
+ "json_type": "object"
29
+ },
30
+ {
31
+ "name": "pov_completeness",
32
+ "json_type": "object",
33
+ "description": "Round and match-level POV-count completeness. The key release invariant is exactly 10 player POVs per released round."
34
+ },
35
+ {
36
+ "name": "duration_s",
37
+ "json_type": "object"
38
+ },
39
+ {
40
+ "name": "frames",
41
+ "json_type": "object"
42
+ },
43
+ {
44
+ "name": "total_frames",
45
+ "json_type": "object"
46
+ },
47
+ {
48
+ "name": "round_winner_counts",
49
+ "json_type": "object"
50
+ },
51
+ {
52
+ "name": "round_end_reason_counts",
53
+ "json_type": "object"
54
+ }
55
+ ],
56
+ "window_definitions": {
57
+ "round_lifecycle": "Canonical game round window from round_start_tick to round_stop_tick.",
58
+ "alive_intersection": "Time interval where every released POV player in the round is alive simultaneously.",
59
+ "clip_intersection": "Time interval where every released POV clip in the round has video frames available.",
60
+ "clip_union": "Released POV sample frames for the round; exact all-POV total comes from manifest.frames."
61
+ },
62
+ "rounds_fields": [
63
+ "total_rounds",
64
+ "complete_10_pov_rounds",
65
+ "incomplete_rounds",
66
+ "complete_10_pov_rate"
67
+ ],
68
+ "duration_s_fields": [
69
+ "round_lifecycle",
70
+ "alive_intersection",
71
+ "clip_intersection",
72
+ "clip_union"
73
+ ],
74
+ "frames_fields": [
75
+ "alive_intersection",
76
+ "clip_intersection",
77
+ "clip_union"
78
+ ],
79
+ "total_frames_fields": [
80
+ "alive_intersection_frames_all_povs",
81
+ "clip_intersection_frames_all_povs",
82
+ "clip_union_frames_all_povs"
83
+ ],
84
+ "distribution_fields": [
85
+ "count",
86
+ "mean",
87
+ "std",
88
+ "min",
89
+ "p05",
90
+ "p25",
91
+ "median",
92
+ "p75",
93
+ "p95",
94
+ "max"
95
+ ],
96
+ "rounds_per_match_fields": [
97
+ "count",
98
+ "mean",
99
+ "std",
100
+ "min",
101
+ "p05",
102
+ "p25",
103
+ "median",
104
+ "p75",
105
+ "p95",
106
+ "max"
107
+ ],
108
+ "pov_completeness_fields": [
109
+ "expected_povs_per_round",
110
+ "round_pov_count_histogram",
111
+ "povs_per_round",
112
+ "per_match_mean_povs_per_round",
113
+ "per_match_min_povs_per_round",
114
+ "matches_all_rounds_complete_10_pov",
115
+ "matches_with_any_incomplete_round"
116
+ ],
117
+ "pov_completeness_definitions": {
118
+ "round_pov_count_histogram": "Histogram of round_index.pov_count over released rounds; keys are stringified integer POV counts.",
119
+ "povs_per_round": "Distribution of round_index.pov_count over released rounds.",
120
+ "per_match_mean_povs_per_round": "For each match-map demo, average round_index.pov_count over its released rounds, then report the distribution over demos.",
121
+ "per_match_min_povs_per_round": "For each match-map demo, minimum round_index.pov_count over its released rounds, then report the distribution over demos."
122
+ },
123
+ "validation": [
124
+ "rounds.total_rounds == row count of round_index.parquet",
125
+ "rounds.complete_10_pov_rounds == rounds.total_rounds",
126
+ "rounds.incomplete_rounds == 0",
127
+ "rounds.complete_10_pov_rate == 1.0",
128
+ "pov_completeness.expected_povs_per_round == 10",
129
+ "pov_completeness.round_pov_count_histogram has only key 10 after release filtering",
130
+ "pov_completeness.povs_per_round.min == 10",
131
+ "pov_completeness.povs_per_round.max == 10",
132
+ "pov_completeness.per_match_mean_povs_per_round.min == 10",
133
+ "pov_completeness.per_match_mean_povs_per_round.max == 10",
134
+ "pov_completeness.per_match_min_povs_per_round.min == 10",
135
+ "pov_completeness.per_match_min_povs_per_round.max == 10",
136
+ "pov_completeness.matches_all_rounds_complete_10_pov == row count of match_index.parquet",
137
+ "pov_completeness.matches_with_any_incomplete_round == 0",
138
+ "total_frames.alive_intersection_frames_all_povs == sum(round_index.alive_intersection_frames * round_index.pov_count)",
139
+ "total_frames.clip_intersection_frames_all_povs == sum(round_index.clip_intersection_frames * round_index.pov_count)",
140
+ "total_frames.clip_union_frames_all_povs == sum(manifest.frames)",
141
+ "round_winner_counts keys include T, CT, and unknown",
142
+ "duration_s.round_lifecycle is derived from round_stop_tick - round_start_tick",
143
+ "duration_s.alive_intersection is derived from alive_intersection frames/ticks",
144
+ "duration_s.clip_intersection is derived from clip_intersection frames/ticks",
145
+ "duration_s.clip_union is derived from released sample frames grouped by round"
146
+ ]
147
+ }
schema/stats_summary.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_summary_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/summary.json",
5
+ "format": "json",
6
+ "description": "Top-level dataset statistics used by the dataset card. Dataset scale counts the released sample set once; storage is reported separately by media resolution.",
7
+ "source_artifacts": [
8
+ "manifest.parquet",
9
+ "round_index.parquet",
10
+ "match_index.parquet",
11
+ "sample_index.parquet",
12
+ "shards_manifest_720p.json",
13
+ "shards_manifest_360p.json",
14
+ "stats/media.json",
15
+ "stats/rounds.json",
16
+ "stats/quality.json"
17
+ ],
18
+ "fields": [
19
+ {
20
+ "name": "schema_version",
21
+ "json_type": "integer",
22
+ "value": 1
23
+ },
24
+ {
25
+ "name": "generated_at_utc",
26
+ "json_type": "string"
27
+ },
28
+ {
29
+ "name": "dataset_name",
30
+ "json_type": "string"
31
+ },
32
+ {
33
+ "name": "release_version",
34
+ "json_type": "string"
35
+ },
36
+ {
37
+ "name": "postprocess_version",
38
+ "json_type": "string"
39
+ },
40
+ {
41
+ "name": "dataset_scale",
42
+ "json_type": "object",
43
+ "description": "Dataset-level counts over released POV samples, counted once and not duplicated by 720p/360p media variants."
44
+ },
45
+ {
46
+ "name": "completeness",
47
+ "json_type": "object"
48
+ },
49
+ {
50
+ "name": "media_variants",
51
+ "json_type": "object"
52
+ },
53
+ {
54
+ "name": "storage_by_resolution",
55
+ "json_type": "object"
56
+ },
57
+ {
58
+ "name": "splits",
59
+ "json_type": "object"
60
+ },
61
+ {
62
+ "name": "schema_versions",
63
+ "json_type": "object"
64
+ },
65
+ {
66
+ "name": "details",
67
+ "json_type": "object",
68
+ "description": "Relative paths to deeper stats files."
69
+ }
70
+ ],
71
+ "dataset_scale": {
72
+ "required_fields": [
73
+ "total_hours",
74
+ "total_samples",
75
+ "total_matches",
76
+ "total_rounds",
77
+ "total_frames",
78
+ "fps",
79
+ "tick_rate"
80
+ ],
81
+ "definitions": {
82
+ "total_frames": "sum(manifest.frames)",
83
+ "total_hours": "sum(manifest.duration_s) / 3600",
84
+ "total_samples": "row count of manifest.parquet",
85
+ "total_matches": "row count of match_index.parquet",
86
+ "total_rounds": "row count of round_index.parquet"
87
+ }
88
+ },
89
+ "completeness": {
90
+ "required_fields": [
91
+ "expected_povs_per_round",
92
+ "complete_10_pov_rounds",
93
+ "incomplete_rounds",
94
+ "matches_with_10_povs",
95
+ "matches_with_less_than_10_povs",
96
+ "matches_with_any_incomplete_round",
97
+ "round_pov_count_histogram",
98
+ "per_match_mean_povs_per_round"
99
+ ],
100
+ "definitions": {
101
+ "expected_povs_per_round": "10 for CounterStrike-1K v1 public release.",
102
+ "round_pov_count_histogram": "Histogram of round_index.pov_count after release filtering; keys are stringified POV counts.",
103
+ "per_match_mean_povs_per_round": "Distribution over matches of mean(round_index.pov_count) within each match-map demo."
104
+ }
105
+ },
106
+ "media_variants": {
107
+ "required_keys": [
108
+ "720p",
109
+ "360p"
110
+ ],
111
+ "required_fields_per_variant": [
112
+ "role",
113
+ "video_width",
114
+ "video_height"
115
+ ]
116
+ },
117
+ "storage_by_resolution_entry": {
118
+ "required_fields": [
119
+ "shards",
120
+ "shard_bytes"
121
+ ]
122
+ },
123
+ "split_entry": {
124
+ "required_fields": [
125
+ "samples",
126
+ "matches",
127
+ "rounds",
128
+ "hours",
129
+ "frames"
130
+ ]
131
+ },
132
+ "schema_versions": {
133
+ "required_fields": [
134
+ "sample_metadata",
135
+ "actions_bin",
136
+ "state_bin",
137
+ "events",
138
+ "manifest",
139
+ "round_index",
140
+ "sample_index",
141
+ "match_index"
142
+ ]
143
+ },
144
+ "details": {
145
+ "required_fields": [
146
+ "maps",
147
+ "rounds",
148
+ "weapons",
149
+ "events",
150
+ "media",
151
+ "quality",
152
+ "release_environment"
153
+ ]
154
+ },
155
+ "validation": [
156
+ "dataset_name == CounterStrike-1K",
157
+ "dataset_scale.total_frames == sum(manifest.frames)",
158
+ "dataset_scale.total_hours == sum(manifest.duration_s) / 3600",
159
+ "dataset_scale.fps == 32",
160
+ "dataset_scale.tick_rate == 64",
161
+ "completeness.incomplete_rounds == 0",
162
+ "completeness.matches_with_less_than_10_povs == 0",
163
+ "completeness.matches_with_any_incomplete_round == 0",
164
+ "completeness.expected_povs_per_round == 10",
165
+ "completeness.round_pov_count_histogram has only key 10 after release filtering",
166
+ "completeness.per_match_mean_povs_per_round.min == 10",
167
+ "completeness.per_match_mean_povs_per_round.max == 10",
168
+ "media_variants.720p.role == canonical_render",
169
+ "media_variants.360p.role == training_convenience_derivative",
170
+ "media_variants.360p.derived_from == 720p",
171
+ "storage_by_resolution has one entry for each released media variant",
172
+ "splits contain train, val, and test",
173
+ "schema_versions match schema/*.json"
174
+ ]
175
+ }
schema/stats_weapons.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_name": "stats_weapons_json",
3
+ "schema_version": 1,
4
+ "artifact": "stats/weapons.json",
5
+ "format": "json",
6
+ "description": "Manifest-derived weapon exposure summary. Counts are sample-level and use active weapons observed in each released POV sample, not full inventory ownership.",
7
+ "source_artifacts": [
8
+ "manifest.parquet",
9
+ "schema/weapons.json"
10
+ ],
11
+ "fields": [
12
+ {
13
+ "name": "schema_version",
14
+ "json_type": "integer",
15
+ "value": 1
16
+ },
17
+ {
18
+ "name": "generated_at_utc",
19
+ "json_type": "string"
20
+ },
21
+ {
22
+ "name": "weapon_id_names",
23
+ "json_type": "string",
24
+ "description": "Relative path to the authoritative active_weapon_id enum."
25
+ },
26
+ {
27
+ "name": "sample_count",
28
+ "json_type": "integer",
29
+ "description": "Number of released POV samples counted from manifest.parquet."
30
+ },
31
+ {
32
+ "name": "primary_weapon_counts",
33
+ "json_type": "object",
34
+ "description": "Map from active_weapon_id string to number of samples where that id is the primary_weapon_id."
35
+ },
36
+ {
37
+ "name": "weapon_present_counts",
38
+ "json_type": "object",
39
+ "description": "Map from active_weapon_id string to number of samples where that id appears in weapon_ids_present."
40
+ },
41
+ {
42
+ "name": "top_weapon_cooccurrences",
43
+ "json_type": "array",
44
+ "description": "Most frequent unordered weapon-id pairs that co-occur within a sample's weapon_ids_present list.",
45
+ "items": {
46
+ "json_type": "object",
47
+ "required_fields": [
48
+ "weapon_id_a",
49
+ "weapon_id_b",
50
+ "count"
51
+ ]
52
+ }
53
+ },
54
+ {
55
+ "name": "notes",
56
+ "json_type": "array",
57
+ "description": "Human-readable caveats. Must mention that counts are active-weapon/sample-level, not inventory-level."
58
+ }
59
+ ],
60
+ "validation": [
61
+ "sample_count == row count of manifest.parquet",
62
+ "all weapon ids are valid indices into schema/weapons.json active_weapon_id.names",
63
+ "primary_weapon_counts excludes id 0 unless unknown samples are explicitly reported",
64
+ "weapon_present_counts excludes id 0",
65
+ "top_weapon_cooccurrences are unordered pairs with weapon_id_a < weapon_id_b",
66
+ "no Steam IDs, player names, match IDs, sample keys, or raw demo identifiers are present"
67
+ ]
68
+ }