Skybox-Technologies / csgo-ai-competition

CSGO.ai competition
34 stars 16 forks source link

There are some players without any ''position_history'' #10

Open jgobbic opened 4 years ago

jgobbic commented 4 years ago

In the dataset there are some snapshot where an alive player has no position history (for instance, dftrain example 2214 player 2)

{'health': 100, 'armor': 100, 'has_helmet': True, 'has_defuser': False, 'money': 1050, 'team': 'Terrorist', 'position_history': [], 'inventory': [{'item_type': 'Glock', 'clip_ammo': 20, 'reserve_ammo': 120}, {'item_type': 'Ak47', 'clip_ammo': 30, 'reserve_ammo': 90}, {'item_type': 'Flashbang', 'clip_ammo': 2, 'reserve_ammo': 0}, {'item_type': 'SmokeGrenade', 'clip_ammo': 1, 'reserve_ammo': 0}, {'item_type': 'MolotovGrenade', 'clip_ammo': 1, 'reserve_ammo': 0}]}

it seems like an issue.

Thanks

andrew-son commented 4 years ago

@jgobbic As far as I can see those are just round restarts:

  1. entries only with round_status == FreezeTime
  2. some entries with world kills, meaning player was killed by server
  3. some consecutive entries of the same round with the same round_status_time_left field

Probably just drop those 80 entries