Skip to content

Commit

Permalink
tune classical eval margin
Browse files Browse the repository at this point in the history
bench f111af77
bench (msvc) 3a738cc3

test f20, s15, r15
  • Loading branch information
dhbloo committed Jan 9, 2024
1 parent ad3dc5d commit 6cc0626
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rapfi/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,9 @@ void Config::readEvaluator(const cpptoml::table &t)
}

// Read classical/evaluator switching margin
EvaluatorMarginWinLossScale = t.get_as<double>("margin_winloss_scale").value_or(1.05);
EvaluatorMarginWinLossExponent = t.get_as<double>("margin_winloss_exp").value_or(2.95);
EvaluatorMarginScale = t.get_as<double>("margin_scale").value_or(342);
EvaluatorMarginWinLossScale = t.get_as<double>("margin_winloss_scale").value_or(1.40);
EvaluatorMarginWinLossExponent = t.get_as<double>("margin_winloss_exp").value_or(3.36);
EvaluatorMarginScale = t.get_as<double>("margin_scale").value_or(414);
EvaluatorDrawBlackWinRate = t.get_as<double>("draw_black_winrate").value_or(0.5);
EvaluatorDrawRatio = t.get_as<double>("draw_ratio").value_or(1.0);
EvaluatorDrawBlackWinRate = std::clamp(EvaluatorDrawBlackWinRate, 0.0, 1.0);
Expand Down

0 comments on commit 6cc0626

Please sign in to comment.