Skip to content

Commit

Permalink
Merge branch 'master' into r50-adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
Ergodice authored Jul 15, 2023
2 parents 6dd7625 + b819495 commit edaad59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/mcts/params.cc
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ void SearchParams::Populate(OptionsParser* options) {
// The default kContemptId is empty, so the initial contempt value is taken
// from kUCIRatingAdvId. Adding any value (without name) in the comma
// separated kContemptId list will override this.
options->Add<StringOption>(kContemptId) = "";
options->Add<StringOption>(kContemptId) = "0";
options->Add<FloatOption>(kContemptMaxValueId, 0, 10000.0f) = 420.0f;
options->Add<FloatOption>(kWDLCalibrationEloId, 0, 10000.0f) = 0.0f;
options->Add<FloatOption>(kWDLContemptAttenuationId, -10.0f, 10.0f) = 1.0f;
Expand Down
1 change: 0 additions & 1 deletion src/mcts/search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,6 @@ void SearchWorker::ExtendNode(NodeToProcess& picked_node) {
err_total += n * (q - v);
weight_total += n;


}
}
picked_node.comrade_error = err_total / (weight_total + 0.001f);
Expand Down

0 comments on commit edaad59

Please sign in to comment.