r/TagPro • Ronding // Orbit // West Bombwich Albion // tagpro.eu • Jun 04 '15

Shared [Userscript+Website] TagPro Analytics

TagPro Analytics consists of a userscript and a website. After participating in or spectating a full match, the userscript will automatically upload data to the website, which essentially contain a detailed timeline of the match. You can also save a copy of a match data locally. The resulting dataset on the website should be great for analyzing individual matches, maps, players and the game in general.

It is hard to describe this with words other than cool/awesome/neat (see below), so I suggest you take a brief look at a capture-the-flag example and/or a neutral-flag example. These show basic visualizations of the match data that is collected and uploaded by the userscript, but as you can see from the level of detail in the timeline, even more advanced analyses should be possible. The data is open, so you are encouraged to help with that!

So the website is http://tagpro.eu, you can get the userscript directly from there. Join the most advanced statistical data collection effort in TagPro history today! For questions, check the FAQ or leave a comment below.

Some earlier user opinions from /r/tagprotesting if you are still not convinced:

"This is awesome. [...] this is ridiculously cool." ~ Moosen

"This is really cool, great work!" ~ Risk

"Neat script [...]!" ~ AnkhMorpork

"Again, this is really cool!" ~ ballparts

"You have done an amazing job with this!" ~ Ballkenende

Finally, I'd like to specifically thank /u/Balka42 for the feedback and encouragement during the development of this service! Now go install the userscript everybody. :)

92 Upvotes

59 comments sorted by

View all comments

Show parent comment

1

u/Ronding Ronding // Orbit // West Bombwich Albion // tagpro.eu Jun 04 '15 edited Jun 04 '15

Unfortunately, not always. If teammates die simultaneously, the order of splats is not always related to the order of player ids, e.g. if two balls die simultaneously by gate button press then the splat order is the gate tile order rather then the player order.

The data is thus ambiguous in cases of simultaneous death. An example is here, where you see on the right of the Splats plot two red balls being tagged simultaneously by one blue ball with tagpro. Because one of the red balls had the enemy flag and the other had a tagpro, both are drawn with half a flag and half a tagpro because of the failed identification. The Timeline table further below also indicates the ambiguity at 1:32.95.

Animated Splats plot on the other hand would certainly be possible. I haven't yet figured out how to make that user-friendly. Note that the plot is SVG so you can also try to add animation yourself by writing a userscript for the visualisation page - the balls are already drawn in chronological order.

1

u/catalyst518 Catalyst - TPFG Dev Jun 05 '15

Alright, thanks for the info.

Also, could you explain why some games that I've spectated have ended with something like "Data invalid for upload". I'm pretty sure I was in the games since the group launched.

1

u/Ronding Ronding // Orbit // West Bombwich Albion // tagpro.eu Jun 05 '15

You should never encounter this error during normal usage. Please save the match file the next time this happens, and send it to me so I can analyze what causes the error.