CounterStrike-1K-sample / schema /match_states.json
ArnieRamesh's picture
Upload CounterStrike-1K sample package
eb6bf10 verified
{
"schema_name": "match_states_parquet",
"schema_version": 2,
"artifact_pattern": "match_states/match_{match_id}.parquet",
"format": "parquet",
"row_grain": "one row per POV per parsed demo tick",
"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.",
"sort_order": [
"tick",
"pov_idx"
],
"privacy_boundary": {
"contains_steam_ids": false,
"contains_online_account_ids": false,
"contains_player_names": false,
"player_reference": "pov_idx is stable within one match-map demo"
},
"columns": [
{
"name": "tick",
"arrow_type": "int32",
"nullable": false,
"description": "Absolute demo tick."
},
{
"name": "pov_idx",
"arrow_type": "int16",
"nullable": false,
"description": "Anonymized player POV id."
},
{
"name": "team_side",
"arrow_type": "string",
"nullable": false,
"valid_values": [
"T",
"CT",
""
]
},
{
"name": "FORWARD",
"arrow_type": "bool",
"nullable": false
},
{
"name": "BACK",
"arrow_type": "bool",
"nullable": false
},
{
"name": "LEFT",
"arrow_type": "bool",
"nullable": false
},
{
"name": "RIGHT",
"arrow_type": "bool",
"nullable": false
},
{
"name": "JUMP",
"arrow_type": "bool",
"nullable": false
},
{
"name": "DUCK",
"arrow_type": "bool",
"nullable": false
},
{
"name": "WALK",
"arrow_type": "bool",
"nullable": false
},
{
"name": "FIRE",
"arrow_type": "bool",
"nullable": false
},
{
"name": "RIGHTCLICK",
"arrow_type": "bool",
"nullable": false
},
{
"name": "RELOAD",
"arrow_type": "bool",
"nullable": false
},
{
"name": "INSPECT",
"arrow_type": "bool",
"nullable": false
},
{
"name": "USE",
"arrow_type": "bool",
"nullable": false
},
{
"name": "pitch",
"arrow_type": "float32",
"nullable": false,
"unit": "degrees"
},
{
"name": "yaw",
"arrow_type": "float32",
"nullable": false,
"unit": "degrees"
},
{
"name": "delta_pitch",
"arrow_type": "float32",
"nullable": false,
"unit": "degrees"
},
{
"name": "delta_yaw",
"arrow_type": "float32",
"nullable": false,
"unit": "degrees"
},
{
"name": "pos_x",
"arrow_type": "float32",
"nullable": false,
"unit": "CS2 world units"
},
{
"name": "pos_y",
"arrow_type": "float32",
"nullable": false,
"unit": "CS2 world units"
},
{
"name": "pos_z",
"arrow_type": "float32",
"nullable": false,
"unit": "CS2 world units"
},
{
"name": "active_weapon",
"arrow_type": "int16",
"nullable": false,
"description": "Coarse weapon category id; indexes weapons.json."
},
{
"name": "active_weapon_id",
"arrow_type": "int16",
"nullable": false,
"description": "Exact weapon id; indexes weapons.json."
},
{
"name": "health",
"arrow_type": "int16",
"nullable": false
},
{
"name": "ammo_clip",
"arrow_type": "int16",
"nullable": false
},
{
"name": "ammo_reserve",
"arrow_type": "int16",
"nullable": false,
"description": "255 means unknown or not applicable."
},
{
"name": "armor_value",
"arrow_type": "int16",
"nullable": false
},
{
"name": "has_helmet",
"arrow_type": "bool",
"nullable": false
},
{
"name": "has_defuser",
"arrow_type": "bool",
"nullable": false
},
{
"name": "has_bomb",
"arrow_type": "bool",
"nullable": false
},
{
"name": "balance",
"arrow_type": "int32",
"nullable": false,
"description": "Player money balance when available from parser state."
},
{
"name": "t_score",
"arrow_type": "uint8",
"nullable": false
},
{
"name": "ct_score",
"arrow_type": "uint8",
"nullable": false
}
],
"validation": [
"no denied identity columns are present",
"rows are sorted by tick and pov_idx",
"pov_idx values are within [0, 9] for complete 10-POV matches",
"button columns are boolean",
"health and armor_value are in [0, 100]"
]
}