Skip to content

Commit f5b1c87

Browse files
🔧 TUNE: Recalibrate WDL Model
Bench: 4091917
1 parent 0aa777c commit f5b1c87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/Engine/Search.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ namespace StockDory
204204
enum Weight : uint8_t { A, B };
205205

206206
constexpr static Array<double, 2, 4> WValue = {{
207-
{ 190.541, -461.949, 185.975, 334.376 },
208-
{ 106.738, -285.539, 297.152, - 9.669 }
207+
{ 60.09285654, -67.89307926, -74.69971460, 320.80620991 },
208+
{ 49.46329816, -80.84815967, 90.55170639, 38.37540637 }
209209
}};
210210

211211
template<Weight W>

‎src/Terminal/BenchHash.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ namespace StockDory
3838
Board board(Positions[i]);
3939
RepetitionStack repetition;
4040

41-
const uint8_t hmc = static_cast<uint8_t>(std::stoi(strutil::split(Positions[i], ' ').back()));
41+
const uint8_t hmc = static_cast<uint8_t>(std::stoi(strutil::split(Positions[i], ' ')[4]));
4242

4343
repetition.Push(board.Zobrist());
4444

45-
SearchTask<> search (BenchLimit, board, repetition, 0);
45+
SearchTask<> search (BenchLimit, board, repetition, hmc);
4646

4747
const auto t0 = std::chrono::high_resolution_clock::now();
4848
search.IterativeDeepening();

0 commit comments

Comments
 (0)