Skip to content

Commit

Permalink
Detect more inaccuracies
Browse files Browse the repository at this point in the history
Looking at https://lishogi.org/LCGBUrP6/sente#33 where I made a random move because I couldn't find a plan, I hoped to see something other than "0 inaccuracies" this game.
  • Loading branch information
ddugovic authored Mar 17, 2024
1 parent f8cf653 commit 858eb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/analyse/src/main/Advice.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private[analyse] case class CpAdvice(

private[analyse] object CpAdvice {

private def cpWinningChances(cp: Double): Double = 2 / (1 + Math.exp(-0.0007 * cp)) - 1
private def cpWinningChances(cp: Double): Double = 2 / (1 + Math.exp(-0.001 * cp)) - 1

private val winningChanceJudgements = List(
.3 -> Advice.Judgement.Blunder,
Expand Down

0 comments on commit 858eb45

Please sign in to comment.