Adding opponent APS in bot comparison?
← Thread:Talk:LiteRumble/Adding opponent APS in bot comparison?/reply (2)
Can we assume that APS is relatively stable? Since we can click into the detail page to see the history APS even when that opponent is removed, can we simply put that value?
Opps this assumption breaks when comparing ancient bots ;( Then polluting the table must be a bad idea. However, why don't we use NaN or N/A instead of 0?
NaN sounds most appropriate. I don't want to have to fetch each bot object that is not in the rumble anymore to look up its last APS.
Done. I also added a link on the BotDetails page to find the bot on the wiki.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:LiteRumble/Adding opponent APS in bot comparison?/reply (5).
You can do this with the &limit=0
. limit works in both api and html mode, you could also do a sort with a limit=1 to just get a best/worst opponent, etc.
Thanks. It does the trick. Which brings the question: is API published anywhere? I get what I had by looking at the source, but clearly did not look careful enough.
I see that there are dark parts for exchanging with rumble clients too.
No published API, no. That said, with JSON I don't plan to remove any fields. It is possible field might be added though, which is why I wanted to use JSON to begin with.