tune: NNUE "quiet" threshold
the results aren't nearly as bonkers as before the bugfix in a47778a
,
so tone down the threshold
This commit is contained in:
parent
a47778ae6c
commit
0ae4c889dc
@ -581,7 +581,7 @@ pub fn best_move(board: &mut Board, engine_state: &mut EngineState) -> Option<Mo
|
|||||||
/// It is the caller's responsibility to get the search evaluation and pass it to this function.
|
/// It is the caller's responsibility to get the search evaluation and pass it to this function.
|
||||||
pub fn is_quiescent_position(board: &Board, eval: SearchEval) -> bool {
|
pub fn is_quiescent_position(board: &Board, eval: SearchEval) -> bool {
|
||||||
// max centipawn value difference to call "similar"
|
// max centipawn value difference to call "similar"
|
||||||
const THRESHOLD: EvalInt = 170;
|
const THRESHOLD: EvalInt = 120;
|
||||||
|
|
||||||
if board.is_check(board.turn) {
|
if board.is_check(board.turn) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user