Skip to content

Conversation

@uriblass
Copy link

This is a simplification that totally remove partial reductions so I ask to commit it.

It also got good results
At short time control with a test of 20000 games
ELO: 4.05 +-3.2 (95%) LOS: 99.4%
Total: 18942 W: 4031 L: 3810 D: 11101 and result is not going to change much.

At long time control passed SPRT(-1,3) convincingly and the result seem to be also good enough to pass SPRT(0,6)

I have problem in rewriting the patch to get rid of ONE_PLY but I can give a new version with the same
bench that use ONE_PLY in clearly less cases if it can help you when I converted part of the formula to keep the same bench and search get int and not depth as a parameter.

LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 7647 W: 1356 L: 1214 D: 5077

@uriblass
Copy link
Author

You can see the new version that I give here that is what I changed from the initial version.

If you do not like it you can start from the version that passed stage 2 that is functionally equivalent.
uriblass/Stockfish@7ed15af...460d93d

@glinscott
Copy link
Contributor

That's a lot of work, thanks Uri! Congrats on another successful patch as well. Maybe the best plan is to apply your patch that passed the framework first, then do the cleanup patch as a followup, since it's a fairly big one, and we want to make sure it's right.

Thoughts?

@lucasart
Copy link

Let's wait and see the cleanup. I think the cleanup is not so simple...

@uriblass
Copy link
Author

I did part of the clean up and you can also see the patch without the
cleanup so if you want to apply the patch without the cleanup first you can
do it.

I stopped the cleanup also because I was not sure if it is right what I did
when I replaced Depth type by int in search.cpp and thought maybe you
prefer it to be still a special type even without ONE_PLY

On Sat, Sep 27, 2014 at 6:05 PM, lucasart notifications@github.com wrote:

Let's wait and see the cleanup. I think the cleanup is not so simple...


Reply to this email directly or view it on GitHub
#55 (comment)
.

@zamar
Copy link

zamar commented Sep 27, 2014

It's fine to commit this I think.

ELO: 3.90 +-3.1 at STC strongly indicates that this even a slight improvement itself.

@gary: If you agree, let's commit this straight away. Then we can start thinking about clean up. Marco already promised to take care of it.

@zamar
Copy link

zamar commented Sep 27, 2014

And I'm talking about Uri's two original patches. Not the third patch!

@uriblass
Copy link
Author

I hope the third patch is going to help marco even if it is not a starting
point because he can see some new formulas that I use to make the code
equivalent and maybe he can use part of them without needing to think about
the right mathematical formula

for example
int d=((depthx-2)*2-(PvNode ? 0 : depthx/2))/2;
instead of a formula to calculate d and later to reduce 1 in case that you
get odd number.

On Sat, Sep 27, 2014 at 10:51 PM, Joona Kiiski notifications@github.com
wrote:

And I'm talking about Uri's two original patches. Not the third patch!


Reply to this email directly or view it on GitHub
#55 (comment)
.

@glinscott glinscott closed this in ea9c424 Sep 27, 2014
@glinscott
Copy link
Contributor

@zamar, agreed, I made some cosmetic tweaks and pushed the original two patches.

@mcostalba, that's a big project!! Thanks for taking a look at it :)

@uriblass, congratulations on another nice patch!

@uriblass
Copy link
Author

Note that it is not only the result at short time control but also the
result at long time control
that I think is enough to pass also SPRT(0,6)

LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 7647 W: 1356 L: 1214 D: 5077

For comparison some earlier test with a similar number of games passed with
a similiar result 137 wins more than losses instead of 142 wins more than
losses in my patch

http://tests.stockfishchess.org/tests/view/526e08900ebc5936609edf7f

LLR: 2.95 (-2.94,2.94) [0.00,6.00]
Total: 7312 W: 1276 L: 1139 D: 4897

On Sat, Sep 27, 2014 at 10:50 PM, Joona Kiiski notifications@github.com
wrote:

It's fine to commit this I think.

ELO: 3.90 +-3.1 at STC strongly indicates that this even a slight
improvement itself.

@gary https://github.com/Gary: If you agree, let's commit this straight
away. Then we can start thinking about clean up. Marco already promised to
take care of it.


Reply to this email directly or view it on GitHub
#55 (comment)
.

pb00068 pushed a commit to pb00068/Stockfish that referenced this pull request Jun 25, 2016
niklasf pushed a commit to niklasf/Stockfish that referenced this pull request Oct 12, 2016
niklasf pushed a commit to niklasf/Stockfish that referenced this pull request Oct 12, 2016
Alayan-stk-2 pushed a commit to Alayan-stk-2/Stockfish that referenced this pull request Feb 3, 2020
No functional change.

BENCH : 8,183,940
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants