Difference between revisions of "RumbleStats"

From Robowiki
Jump to navigation Jump to search
(rumble stats extension for version history pages)
 
m (fixed Glicko-2)
Line 9: Line 9:
 
The output for the above would render like this (with bold added around the above tag):
 
The output for the above would render like this (with bold added around the above tag):
  
'''[http://darkcanuck.net/rumble/RatingsDetails?game=roborumble&name=voidious.Diamond+1.272b RoboRumble] - APS: 84.58% (4th), PL: 720-17 (14th), Glicko-2: 1842.5, Survival: 92.51%'''
+
'''[http://darkcanuck.net/rumble/RatingsDetails?game=roborumble&name=voidious.Diamond+1.272b RoboRumble] - APS: 84.58% (4th), PL: 720-17 (14th), Glicko-2: 2124.1, Survival: 92.51%'''
  
 
For Twin Duel, the Survival and APS are swapped in the output:
 
For Twin Duel, the Survival and APS are swapped in the output:
Line 15: Line 15:
 
{{subst:rumblestats:twinduel|voidious.twin.LuminariousDuo 1.11}}
 
{{subst:rumblestats:twinduel|voidious.twin.LuminariousDuo 1.11}}
 
</pre>
 
</pre>
'''[http://darkcanuck.net/rumble/RatingsDetails?game=twinduel&name=voidious.twin.LuminariousDuo+1.11 TwinDuelRumble] - Survival: 74.48% (3rd), PL: 14-3 (3rd), Glicko-2: 1670.5, APS: 65.5%'''
+
'''[http://darkcanuck.net/rumble/RatingsDetails?game=twinduel&name=voidious.twin.LuminariousDuo+1.11 TwinDuelRumble] - Survival: 74.48% (3rd), PL: 14-3 (3rd), Glicko-2: 1860.8, APS: 65.5%'''
  
 
The ranks are calculated dynamically, based on where the scores would put the bot in the current rankings (ignoring other versions of the same bot).
 
The ranks are calculated dynamically, based on where the scores would put the bot in the current rankings (ignoring other versions of the same bot).

Revision as of 04:58, 19 August 2009

A MediaWiki extension by Voidious that leverages the RoboRumble Query API on Darkcanuck's RR server to make it really easy to include rumble stats in your version history.

Example use and output

To use it for Diamond 1.272b in the General 1v1 RoboRumble, you'd do the following:

{{subst:rumblestats:roborumble|voidious.Diamond 1.272b}}

The output for the above would render like this (with bold added around the above tag):

RoboRumble - APS: 84.58% (4th), PL: 720-17 (14th), Glicko-2: 2124.1, Survival: 92.51%

For Twin Duel, the Survival and APS are swapped in the output:

{{subst:rumblestats:twinduel|voidious.twin.LuminariousDuo 1.11}}

TwinDuelRumble - Survival: 74.48% (3rd), PL: 14-3 (3rd), Glicko-2: 1860.8, APS: 65.5%

The ranks are calculated dynamically, based on where the scores would put the bot in the current rankings (ignoring other versions of the same bot).

Parameters

The first parameter is the rumble category, which can be any of:

  • 1v1 Rumbles: roborumble, minirumble, microrumble, nanorumble
  • Melee Rumbles: meleerumble, minimeleerumble, micromeleerumble, nanomeleerumble
  • Team Rumble: teamrumble
  • Twin Duel Rumble: twinduel

The second parameter is the full bot name and version, such as would be put on the RoboRumble/Participants page.

Important usage note!

Please be sure to add the "subst:" tag when using this, otherwise it will be querying the RR server for the stats every time the page loads. Also, be mindful when doing repeated previews of a page after you insert this tag, as it will query the RR server every time until you submit. This is currently using Voidious' API key, so if this gets too much use and the rate limit is exceeded, the tag will just render an error string and you'll have to try again later.