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
Trick stockfish into outputting longer lines #2423
Comments
Another idea : when the PV is short, get the latest (previous depths) long PV. |
This summary sounds accurate:
I wonder, how difficult would it be to add a
I would want to be able to issue |
There is a branch here: niklasf/Stockfish#1 that will get us a short term solution. I'm working on a longer term solution and will update this issue once I have made progress. |
Work started on the pv moves command in this PR ddugovic/Stockfish#180 |
As discussed on the pv moves command PR, the Transposition Table does not contain a PV. Extracting moves out of it is technically straightforward, but they do not (and probably never did) represent a PV. Fundamentally, it seems that Stockfish does not calculate a PV during it's move search. Sometimes it ends up with one, but not always. When it doesn't we end up with short PVs and there is (probably) no way to extract them from current data structures. The approach captured in ddugovic/Stockfish#179 is probably the best we have without changing stockfish to use a different search pattern that guarantees the production of a PV. I'm happy to keep poking at it if people think there are alternative solutions, but at this point I have no other ideas. |
Sorry for my delay in reviewing & merging that PR; I'm in the middle of:
and hope to have all that plus this merged in the next day. |
No worries. You mentioned something about a compile time guard for this so that you could more easily keep this up to date with the main Stockfish repos more easily. If you'd like me to do any of that work, let me know. I'm happy to do it for you to take work off of your plate. |
Ah, right... I'll code review (using GitHub code review capability). |
w00t. The stockfish patch was merged. \o/ Thanks for your help ddugovic! |
Also released for fishnet, client side eval updated. |
The situation is now better, but not yet fully solved. I just requested an analysis on https://en.lichess.org/bqfZx13X and: |
Related: ddugovic/Stockfish#547 |
There has been no activity on this issue for 2 years. It will be automatically closed in 2 weeks. |
This should be reopened.. SF has fixed the problem now. All GUI talking to SF can get its full PV length now. |
Lichess doesn't cap and we use the latest stockfish |
Thank you for reading that comment. as previous poster kindly mentioned, I did make a new request in case here would not be read. I understand that i need either to revise what capping means, or make screenshots using FENs of 22 or 23+ chrome browser PV displays. And show the same with command line, where the full depth PV main variation would be shown. |
I don't dare asking for that in a stockfish repo, since it's really for lichess.
Since version 8 or even before, SF outputs many very short variations of one or two moves. Regardless of the depth reached.
Exemple: https://en.lichess.org/jNsrRl4a. But really it can be seen on every analysis.
There must be good reason for the short lines. Maybe the missing moves were not considered good enough, I don't know.
But it doesn't look very good in the lichess analysis. Actually I saw many players believe that it was an indication of short search depth. A variation of 2 moves may look, to some, like a search depth of 2 plies.
If there was a simple enough way to make stockfish spit at least 10 moves long variations, it'd be neat.
The text was updated successfully, but these errors were encountered: