Giter Site home page Giter Site logo

Comments (4)

Mk-Chan avatar Mk-Chan commented on July 29, 2024

It doesn't seem like you're using that return value anywhere, just printing it as part of the UCI output

from ethereal.

AndyGrant avatar AndyGrant commented on July 29, 2024

I worry that the -Mate scores have an unnoticed affect on the scoring of the root moves.

I noticed an issue while watching Ethereal7.78 play it's gauntlet for CCRL, in which one move, call it A, was clearly worth +4 (or more. Confirmed by StockFish). However, when it came time to print the best move, it instead picked move B, worth +0. Ethereal's opponent immediately jumped from -4.00 evals positive evals.

However, the reason for creating this issue, was simply to remind myself to find a better way to exit the search. It's annoying to see -Mate reported as a score. It also affects DrawThreshholds / ResignThreshholds.

from ethereal.

Mk-Chan avatar Mk-Chan commented on July 29, 2024

You could do it the way I do it in my program in the iterative deepening:
till desired depth

  1.     conduct search
    
  2.     if time is up, break loop
    
  3.     store best move in a local var
    

return locally stored best move.

this way you always return the best move of the most recently completed iteration

from ethereal.

AndyGrant avatar AndyGrant commented on July 29, 2024

Still throwing back the -MATE scores, but no longer printing them. After careful consideration, the -MATE scores do not have any unintended actions.

Resolved with commit e184a1e

from ethereal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.