ggtracker / ggtrackerstack

Project to run the whole ggtracker stack in vagrant
20 stars 10 forks source link

Show Action Latency #31

Open dsjoerg opened 8 years ago

dsjoerg commented 8 years ago

From @dsjoerg on August 20, 2014 19:0

Now that Action Latency is being computed for every player in every replay: https://github.com/dsjoerg/ggpyjobs/blob/master/sc2parse/skillcraft.py

What remains is to show it in the appropriate place(s) in the front end.

Action Latency is the average time from when a player looks in a new place to when they take their first action.

http://www.teamliquid.net/forum/starcraft-2/401425-starcraft-2-science-skillcraft-results#5

Of all the variables studied by the Skillcraft.ca study, it is the single most predictive variable of what league you're in: http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0075129#s5

Probably should add it to the main player profile page, but then the profile would have 4 charts and would need a redesign.

Copied from original issue: dsjoerg/ggtracker#10

dsjoerg commented 8 years ago

Note that Action Latency is now available in the API, for example: http://api.ggtracker.com/api/v1/matches/5346622.json

Search that json for action_latency_real_seconds, you'll see a number like 0.658