-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time function #90
Comments
Hi, thank you for the feedback! Patricia's time management works as such: if she completes an iteration and time is above some number A, she stops searching. If she hasn't completed an iteration, and time gets above A, she keeps searching to try and finish the iteration, but if it reaches some number B, she immediately stops searching so as to not run out of time. This is a standard time management method that many engines use, and it gains a lot of Elo. Here it seems that she searched for a little bit less than A time, then the next iteration took a very long time and it reached B time before it completed. This does happen occasionally, but there's no good way to predict if it is likely to happen, and it doesn't happen often enough to offset the benefits of the time management scheme. If she doesn't print out the iteration while other engines do, it's because other engines print when they hit B, while Patricia only prints the best move and returns. |
Hi, thank you for feedback!
Well, it happens in almost all games, and also several times in same game. Here another examples, please note my annotations: [Event "Engine matches"] {Time control = 5 0 Book(s): Cerebellum 3Merge 2020-09-16.bk ICCF GM 2500+ [Event "Engine matches"] {Time control = 5 0 Book(s): Cerebellum 3Merge 2020-09-16.bk ICCF GM 2500+ Maybe another look on your boundaries "A" and "B"? Thank you. |
I've watched quite a few games now, and I now know that iterations are aborted in almost every game, and several times in a single game. So these are not occasional situations! Just another suggestion... |
Adam, a new run - I did some statistics...
Patricia has played so far: 213 games Fischer clocks 5 1 To me this is not "occasionally". It means in every game almost 2 unfinished iterations, which means
See HGM's statement above based on a very large knowledge and experience... |
Are you sure? I watched many debates regarding time function on talkchess.com over the last about 15 years and I learnt: no, there is no standard. Rather, there are many different solutions, and people only agree on very basic things, such as: do not start a new iteration x+1 if it is unlikely that it can be completed regularly. Patricia games - unfinished iterations #02 - 28...Ra2.txt |
Hello Adam,
thank you for such an original engine - I love this idea!
Patricia was running on a chess server for me and I noticed a time management issue?!
A basic idea is: do not start a new iteration without first checking whether there is still enough time available to complete the new iteration.
And from my observation, Patricia doesn't do that?! Example game:
[Event "Engine matches"]
[Site "?"]
[Date "2024.9.13"]
[Time "16:21:20"]
[White "?"]
[Black "Patricia 3.1"]
[Result "0-1"]
[WhiteElo "2213"]
[BlackElo "2214"]
[Opening "A09 Reti Opening: Advance Variation, 3.g3"]
{Time control = 5 1 Book(s): Cerebellum 3Merge 2020-09-16.bk ICCF GM 2500+ 2019+_20240909.bk playchess + infinitechess games 2500+_2020+.bk}
for move 11:
16:23:15.491<-info multipv 2 depth 15 seldepth 31 score cp 150 nodes 4351853 nps 545003 time 7985 pv e8g8 d1d2 d8d6 h2h4 a7a5 a2a4 e7e5 f4e5 d6e7 e1f1 a8a7 e5e6 c8e6 h4h5
16:23:15.491<-bestmove e8g8
move statistics in game notation: 0,00/1 8.2 (PV is missing because of unfinished iteration)
Thank you!
The text was updated successfully, but these errors were encountered: