Open tpoppins opened 5 years ago
Yikes! Thanks for this. I'm not entirely sure what this could be; in tests here I haven't seen this behaviour. I have just fixed some small bugs which were leading to some instances of undefined behaviour, so it's possible that may have played a role.
Regardless I'll take a deeper look at the pruning, clearly something has gone massively wrong somewhere.
Right, I've had a look at this, and while I couldn't replicate the exact same behaviour in the sense that SpaceDog didn't actually play 15. Qxe6+, it was popping up in the search (albeit with a -4.31 eval). When I removed LMR, futility pruning and LMP, SpaceDog only ever considers Qg3 as below:
When I give SpaceDog 5 minutes to think on the same position, it switches to Qg5:
This move may also be stupid, but at least it's certainly less stupid than Qxe6+. So clearly something is wrong with my pruning methods here.
Anyway, I'm going to rescind 0.97.6, and replace 0.97.5 with this version (no LMR/LMP/FP, keeping the recent bugfixes) until I can figure this out. MacOS and Windows executables will be uploaded within the next 30 minutes or so.
Thank you so much for bringing this to my attention! As you can see I'm quite new to the chess programming hobby so I'm really pleased that you folks are putting SpaceDog through its paces.
Hi! If you're still at this engine programming thing, I think I may have found a problem with your LMR that may be causing this issue.
In your commented out LMR code, I saw that one of the conditions was that FoundPV has to be FALSE. This, I believe, is a mistake, as the engine musn't reduce or prune in the PV node, and that is what seems to be happening in your LMR code. I would check to make sure, but in my LMR code (I started from a copy of VICE as well!), FoundPV must be TRUE in order to reduce.
Hope this helps! (if you are still on this project)
v0.97.1 has been tested at CCRL at 40/4 and received a 2088 Elo rating. Another tester ran several hundred games with v0.97.4 for a similar performance (the results will be up after the pending update by Sunday).
A 40/40 test for the latest version, 0.97.6, had to be aborted when SpaceDog scored 0/13 vs. the 2100-rated King's Out. In eight games SpaceDog didn't make it even to the first time control. Thinking there was a problem with the UCI mode I switched to the Xboard mode but SpaceDog continued playing wildly, giving away pieces left and right. Here's a sample blitz game vs. Monik (1955 Elo):
Note that on move 15 SpaceDog, already a piece down, gives up the queen for the e6-pawn and a few checks. A 2088-rated engine wouldn't play like that. Clearly, some changes since v0.97.4 cost SpaceDog hundreds Elo points.
Tirsa@CCRL