Hi, I'm having difficulty finding where Polyglot 1.3W, in its source, puts the function where it evaluates (gives the score for) a board position. I've searched through, and found adapter.cpp and uci.cpp, and each has functions that deal with the score, and for sorting the move list based on best score, and I see that Polyglot will communicate the score, but I cannot find where the function that actually evaluates a position and gives a score for it.
Does anyone know?