Skip to content

Commit

Permalink
Bump to 9.0 and update WDL model
Browse files Browse the repository at this point in the history
  • Loading branch information
jnlt3 committed Feb 28, 2024
1 parent ee7a3e7 commit 83826c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bm/bm_runner/ab_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ fn to_wld(eval: Evaluation) -> (i16, i16, i16) {
};
}
let raw = eval.raw().clamp(-2000, 2000) as f32 * 0.01;
let mut wdl = [raw * 1.42, raw * -1.42, 2.92];
let mut wdl = [raw * 0.964, raw * -0.964, 2.68];
wdl.iter_mut().for_each(|x| *x = x.exp());
let sum: f32 = wdl.iter().sum();
wdl.iter_mut().for_each(|x| *x *= 1000.0 / sum);
Expand Down
2 changes: 1 addition & 1 deletion src/bm/uci/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mod command;

use command::UciCommand;

const VERSION: &str = "8.0";
const VERSION: &str = "9.0";

enum ThreadReq {
Go(GoReq),
Expand Down

0 comments on commit 83826c1

Please sign in to comment.