Comments (3)
I just realized that the line I mentioned has nothing to do with 96.05
value since it's VALUE_MATE_IN_MAX_PLY - 1; (96.814) and not VALUE_TB_WIN_IN_MAX_PLY - 1 (96.05)
Line 1667 in 42d2842
return VALUE_MATE_IN_MAX_PLY - 1; // do not return a potentially false mate score
and the culprit line is the fix I introduced for the null move issue returning values higher than TB by clamping it to lower than TB range this explains why it happens on pretty low depth as vondele reported.
https://github.com/official-stockfish/Stockfish/blob/42d28424bc64246e141e9f06a2a518592272f8fd/src/search.cpp#L803C2-L807C34
I'm thinking about a better solution now.
from stockfish.
OK. I found something else also regarding the 96.05 thing
In qSearch we don't Probe TB's this means that the maximum Best value for new nodes (that are not in TT) is the Static Evaluation and Since a qSearch PV search can update PV and thus root score. Current guard against pruning in such case is only
// Step 6. Pruning.
if (bestValue > VALUE_TB_LOSS_IN_MAX_PLY)
which means that following moves of the moves loop can be pruned (loop breaks and pv updated) if we only had at least one move that gives us maximum static evaluation (96.05).
from stockfish.
Well this assuming that the staticEval returns the max value on a drawn position which we can't do anything about
so 96.05 is indeed safe here
what is not safe is
what we do in null move search
downgrading a mate/a TB score to that maximum static evaluation ignoring zugzwangs
from stockfish.
Related Issues (20)
- Stockfish engine with nn-fab1ed1ddcfb.nnue failed to start with Fritz 18 interface 25-05-2023 HOT 3
- Potential in TB cutoffs for null move searches.
- Blunder-making behavior HOT 1
- Please fix the time management for repeating time controls HOT 1
- build with gcc on mac hits abs error HOT 8
- How does ELO relate to Skill Level? HOT 1
- Erratic eval @CCC HOT 4
- I find out the nps is really low.
- Stockfish 16 (POPCNT) for Linux crashes on positions with too many pieces HOT 2
- 2. Ke2 annotated as blunder HOT 1
- No Stockfish builds on the releases page HOT 1
- Randomicity problem HOT 4
- Wrong evaluation with multiple bishops of the same color HOT 1
- Position crashed Stockfish 16 HOT 6
- Segmentation fault HOT 4
- Default Posted versions on stockfishchess.org HOT 1
- Stockfish for Apple Silicon HOT 3
- Nnue Embedding Off HOT 5
- Adjust strength HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stockfish.