[ "Games", TYPE_INTEGER ],
[ "%", TYPE_RATIO ],
[ "CGames", TYPE_INTEGER ],
- [ "Comp%", TYPE_RATIO ],
+ [ "Hum", TYPE_RATIO ],
[ "Win%", TYPE_RATIO ],
[ "WWin", TYPE_INTEGER ],
[ "%WW", TYPE_RATIO ],
line.push(num); // N.
line.push(num / total_num); // %.
line.push(computer); // CGames.
- line.push(computer / num); // Comp%.
+
+ // Adjust so that the human index is 50% overall.
+ var exp = Math.log(0.5) / Math.log(data['computer_games'] / data['total_games']);
+ line.push(1.0 - Math.pow(computer / num, exp)); // Hum.
// Win%.
var white_win_ratio = (white + 0.5 * draw) / num;