Skip to content

Commit ac9c5b9

Browse files
committed
update to trueskill calculations with draw prob at 1%
1 parent 5c9810b commit ac9c5b9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

manager/jskills/TSUpdate.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ else if (words[0].equals("P")) {
4242
ranks.add(rank);
4343
}
4444
else if (words[0].equals("C")) {
45-
GameInfo gameinfo = GameInfo.getDefaultGameInfo();
45+
//GameInfo gameinfo = GameInfo.getDefaultGameInfo();
46+
GameInfo gameinfo = new GameInfo(50.0, // mu
47+
50.0/3.0, // sigma
48+
50.0/6.0, // beta
49+
50.0/300.0, // tau
50+
0.01); // draw probability
4651
Map<IPlayer, Rating> results;
4752
results = TrueSkillCalculator.calculateNewRatings(gameinfo,
4853
teams, listToArray(ranks));

0 commit comments

Comments
 (0)