Closed dlbbld closed 3 years ago
CHA is correctly classifying all those positions. Please, install the tool and use it to verify your claims.
The observation is from the website.
1) I open the website https://elrubiongamma.ddns.net/chess-unwinnability-analyzer/index.html
2) I paste the below FEN in the input field and click "Analyze (full)" 4k3/8/8/p1p1p1p1/PpPpPpPp/1P1P1P1P/8/4K3 b - a3 0 50
3) The program output is that both sides cannot helpmate (which is incorrect)
Now in the input field for the FEN the value for the en passant target square is "-", not "a3" as input, this is why it looks like the value is not read properly. 4k3/8/8/p1p1p1p1/PpPpPpPp/1P1P1P1P/8/4K3 b - -
I see on the interface one can also specify "En passant". But I don't understand how this is meant. 1) I open https://elrubiongamma.ddns.net/chess-unwinnability-analyzer/index.html
2) Under FEN I enter again the below value 4k3/8/8/p1p1p1p1/PpPpPpPp/1P1P1P1P/8/4K3 b - a3 0 50
3) For "En passant" I select "a", which corresponds to the example. The input field for the FEN changes automatically to 4k3/8/8/p1p1p1p1/PpPpPpPp/1P1P1P1P/8/4K3 b - a
4) I click "Analyze (full)", the output is "invalid FEN"
When I use the command line tool all examples are correct.
I left you a message on Lichess explaining why that happened. It is a parsing error of the javascript library, which was fixed before you posted those images. Try to hard refresh your window (with Ctrl + F5) and it should work.
I highly appreciate your feedback, but please, note that this is not the right channel to report issues related to the webpage. The webpage is an external resource that I provide for anyone to test the tool without installation, but it should not be considered part of the CHA analyzer.
It seems the en passant target square in the FEN is not read.
The below positions are winnable for both sides for the possibility to capture en passant. Without this possibility they would be unwinnable for both sides:
CHA declares them as unwinnable for both sides, It seems it ignores the en passant, so does not read the relevant field from the FEN.
Attention, the below position is unwinnable for both sides, although the en passant target square is set in the FEN, and the en passant capture would unblock the position. The en passant capture however would be illegal, for leaving the own king in check, so not possible: