-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
A small simplification in 'bool doEasyMove'. #673
Conversation
Given that the tm patch has passed: http://tests.stockfishchess.org/tests/view/573a5cdb0ebc59301a354ea9 with a change on the same line of code I think it is best to close this pull request. |
@ElbertoOne Why? 5/42 is almost as ridiculous as 25/204. Question is, if the test at STC needs to be rerun. |
@joergoster I agree that the changes in the division value for easy move are minimal, but I also think that improvement patches (like the tm patch) have preference over simplifications. So in order to continue with your simplification, I think a new test run needs to be done against the passed tm patch. |
@lp-- |
Yes, this patch. It also has ponder problem fix. Factor 1.25 from ponder went downward to both places including easy move. 0.76 changed to 1.016 because of other changes. Everything was done in one patch because it removed max function, so it became possible to move factor up and down. So everything is correct with rescaling. The only thing is that from that time a lot of time has been saved and it was distributed proportionally to easy and other moves. This is why they don't look easy to you -- they take longer because of saved time elsewhere. After that I remember there was another change and tuning but factor did not to drift much fluctuating between 204 and 210. If you think they take too long you can try to change that. At least in the last tuning run there was constant drift to make easy moves faster. I have this parameter in new tuning, so we can also see where it is going. |
@lp-- |
There was somewhere discussion of the ponder bug which was fixed in that patch. I don't remember where -- maybe in issues, maybe in forum . Actually the problem was with cutechess-cli, as it did not send uci 'ponder off'. But in stockfish default before that patch was set to ponder on. This meant that in fishtest stockfish at the end of timeman.cpp was increasing optimum time by 1.25. Other guis of course sent 'ponder off', so with them stockfish was using less time than it was tuned for. To fix that, ponder was set by default to 'ponder off', so additional factor 1.25 was needed. It was propagated downward to search.spp |
This is code which was active with previous default: |
@lp-- |
It was adjusted in normal case also. Denominator was 800 before that |
@lp-- |
It is in original tuning tests. It was tuned with denominators 800 for normal and 10 for easy move. |
@lp-- |
Just FYI, this |
@mstembera Maybe it is more logical to save what was thinking time on previous move and modify easy move time depending on that? If SF was thinking a lot on previous move then it can make easy move faster. if SF was thinking only little before, than maybe it needs longer easy move time now. |
Thanks for the interesting comments. My intuition tempts me to speculate a lot but I have learned better. Let's see how the test ends. I do predict a yellow result. |
Passed STC non-regression test:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 70238 W: 12855 L: 12819 D: 44564
Bench: 8716243