diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-29 19:06:19 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-29 19:06:19 +0200 |
| commit | 3d48840bc034c5a57527e89372ed13bc988b788c (patch) | |
| tree | ddc20621b14601a4b359b28370d86048b5d5d3c1 | |
| parent | d4b42a5801dee188def140953e7ac6d9bc0a8c94 (diff) | |
| download | analyzer-3d48840bc034c5a57527e89372ed13bc988b788c.tar.gz analyzer-3d48840bc034c5a57527e89372ed13bc988b788c.zip | |
store TS delta in participant
| -rw-r--r-- | worker.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -159,6 +159,7 @@ def process(): # lower rank is better = winner! for rating, participant in zip(team, roster.participants): player = participant.player[0] + participant.trueskill_delta = (rating.mu + rating.sigma) - (float(player.trueskill_mu) + float(player.trueskill_sigma)) if player.trueskill_mu == participant.trueskill_mu \ and player.trueskill_sigma == participant.trueskill_sigma: # match hasn't been rated before |
