copy EvalWinRate.java for code sample