ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stockfish, info currmove and bad UCI practice
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Uri Blass



Joined: 08 Mar 2006
Posts: 5958
Location: Tel-Aviv Israel

PostPost subject: Re: Stockfish, info currmove and bad UCI practice    Posted: Sat Apr 21, 2012 12:44 pm Reply to topic Reply with quote

mcostalba wrote:
Uri Blass wrote:
It is clear that stockfish has some fail low for e6-e5 at depth 2 because the score for Qg7-g3 is worse but stockfish never show a score that is worse than 1.05 for e6-e5 at depth 2


Depth 2 !?!?!?!

PV info in case of fail/high low is printed after 2 seconds of search because before is useless given that the correct resolved score is given just fractions of seconds later.

This is the actual code

Code:

                // Send full PV info to GUI if we are going to leave the loop or
                // if we have a fail high/low and we are deep in the search.
                if ((bestValue > alpha && bestValue < beta) || SearchTime.elapsed() > 2000)
                    pv_info_to_uci(pos, depth, alpha, beta);


This fail high/low infor could be sueful for analysis, but you don't analyse a position with 2 seconds time. Please avoid me the embarrass to read that _now_ also the first two seconds are important to you.


It is not correct that I do not analyze position with 2 second time or less than it.

I use more time for most of the positions but there are clearly cases that I can decide based on less than 1 second that I am not interested in analyzing the specific line and go to different line

If I want to check some move that seems to me interesting and I see that after the move one side has mate score after 0.5 second of analysis then I prefer to go backward and analyze different lines.
With stockfish I need to wait 2 seconds so using it clearly waste my time relative to other engines.


I think that the suggestion that I read in another post to start sending "currmove", "currmovenumber", "currline" and "refutation" only after one second to avoid too much traffic is clearly a bad suggestion but even this suggestion is better than what stockfish does because with stockfish you need to wait 2 seconds that is worse than one second.

I think that it is clearly better to omit the if from stockfish code and make stockfish code shorter by one line and more user friendly.

I can add that it is not the only problem with stockfish and the main disadvantage of stockfish seems to be that for some reason
stockfish is the only strong engine that gives information only at the end of the iteration and I expect user friendly program to give information every time that it changes its mind.

It clearly does not happen with stockfish.
I think that stockfish need some printing of the pv after line 1025 in search.cpp
Code:
if (isPvMove || value > alpha)


maybe adding the last line to the following code after line 1025 of search.cpp can be productive but I am not sure about it because I am not sure if I understand stockfish code

Code:
if (isPvMove || value > alpha)
          {
              rm.score = value;
              pv_info_to_uci(pos, depth, alpha, beta);
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 8:00 am
      Re: Stockfish, info currmove and bad UCI practice Martin Sedlak Fri Apr 20, 2012 8:12 am
            Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 9:36 am
                  Re: Stockfish, info currmove and bad UCI practice Martin Sedlak Fri Apr 20, 2012 10:25 am
      Re: Stockfish, info currmove and bad UCI practice Uri Blass Fri Apr 20, 2012 10:13 am
            Re: Stockfish, info currmove and bad UCI practice Martin Sedlak Fri Apr 20, 2012 10:38 am
                  Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 10:55 am
                        Re: Stockfish, info currmove and bad UCI practice Martin Sedlak Fri Apr 20, 2012 11:37 am
                              Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 5:32 pm
                                    Re: Stockfish, info currmove and bad UCI practice Ronald de Man Fri Apr 20, 2012 6:49 pm
                                          Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 8:46 pm
                                                Re: Stockfish, info currmove and bad UCI practice Ronald de Man Sat Apr 21, 2012 3:09 am
                                                      Re: Stockfish, info currmove and bad UCI practice H.G.Muller Sat Apr 21, 2012 10:35 am
                                                            Re: Stockfish, info currmove and bad UCI practice Ronald de Man Sat Apr 21, 2012 11:36 am
                                                                  Re: Stockfish, info currmove and bad UCI practice H.G.Muller Sat Apr 21, 2012 6:14 pm
                                                                        Re: Stockfish, info currmove and bad UCI practice Ronald de Man Sun Apr 22, 2012 1:22 am
                                                                              Re: Stockfish, info currmove and bad UCI practice Uri Blass Sun Apr 22, 2012 6:40 am
                                                                                    Re: Stockfish, info currmove and bad UCI practice H.G.Muller Sun Apr 22, 2012 9:03 am
                                                                                          Re: Stockfish, info currmove and bad UCI practice Ed Schroder Sun Apr 22, 2012 10:03 am
                                                                                          Re: Stockfish, info currmove and bad UCI practice H.G.Muller Sun Apr 22, 2012 7:14 pm
                                          Re: Stockfish, info currmove and bad UCI practice Marco Costalba Sat Apr 21, 2012 11:01 am
            Re: Stockfish, info currmove and bad UCI practice Gary Fri Apr 20, 2012 12:00 pm
                  Re: Stockfish, info currmove and bad UCI practice Marco Costalba Fri Apr 20, 2012 2:07 pm
                        Re: Stockfish, info currmove and bad UCI practice Uri Blass Fri Apr 20, 2012 8:25 pm
                              Re: Stockfish, info currmove and bad UCI practice Uri Blass Fri Apr 20, 2012 9:31 pm
                                    Re: Stockfish, info currmove and bad UCI practice Uri Blass Fri Apr 20, 2012 10:04 pm
                                    Re: Stockfish, info currmove and bad UCI practice Marco Costalba Sat Apr 21, 2012 7:55 am
                                          Re: Stockfish, info currmove and bad UCI practice Uri Blass Sat Apr 21, 2012 12:44 pm
                                                Re: Stockfish, info currmove and bad UCI practice Marco Costalba Sat Apr 21, 2012 2:16 pm
                                                      Re: Stockfish, info currmove and bad UCI practice Uri Blass Sat Apr 21, 2012 3:19 pm
      Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 11:29 am
      Re: Stockfish, info currmove and bad UCI practice Don Dailey Fri Apr 20, 2012 4:12 pm
            Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 5:09 pm
                  Re: Stockfish, info currmove and bad UCI practice Don Dailey Fri Apr 20, 2012 5:21 pm
            Re: Stockfish, info currmove and bad UCI practice Miguel A. Ballicora Fri Apr 20, 2012 5:35 pm
                  Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 5:52 pm
      Re: Stockfish, info currmove and bad UCI practice Joona Kiiski Fri Apr 20, 2012 4:30 pm
            Re: Stockfish, info currmove and bad UCI practice Don Dailey Fri Apr 20, 2012 5:11 pm
                  Re: Stockfish, info currmove and bad UCI practice H.G.Muller Fri Apr 20, 2012 5:15 pm
                        Re: Stockfish, info currmove and bad UCI practice Don Dailey Fri Apr 20, 2012 5:22 pm
                  Re: Stockfish, info currmove and bad UCI practice Sam Hamilton Fri Apr 20, 2012 5:22 pm
                        Re: Stockfish, info currmove and bad UCI practice Don Dailey Fri Apr 20, 2012 5:27 pm
      Re: Stockfish, info currmove and bad UCI practice Julien MARCEL Sat Apr 21, 2012 2:35 pm
            Re: Stockfish, info currmove and bad UCI practice Don Dailey Sat Apr 21, 2012 3:17 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads