i don't know if belongs in math stack exchange or correct forum is, @ least used fitness model evolution of algorithms, or perhaps matchmaking algorithm specific player ranking in team based games. i'm posting here programming subset of mathematics, considering how elo in use. i member of dota 1 community transitioned "elo ranking system" , new ranking system named "tsr"; community , it's website died on year ago , can no longer find information regarding it's calculation. experience tsr system more accurate elo, shame if lost. does know how calculate tsr according "tsr ranking system"? here internet archive of site there literature on subject, cannot find exact page in question. http://web.archive.org/web/20110923152416/http://www.dotacash.com/index.php?p=news
this function st3 = (x, y) -> console.log "#{x?}, #{y?}" if [x?, y?] [true, true] # <- line 'good' 'bad' this output true, true bad i want able tuple comparison in python. in python, if can written as if (x, y) == (true, false): return 'good' the coffescript if loop translated javascript such if ([x != null, y != null] === [true, true]) { 'good'; } that's why not evaluated true. is there alternative way express in coffeescript? if want check see if of arguments not none , this: def check_all(*args): return all(arg not none arg in args) if wanted check if they're true (like literally true) use def check_all(*args): return all(arg true arg in args) if wanted take in list (instead of variable number of parameters, remove asterisk.
Comments
Post a Comment