If the only legal move in a position is an en passant capture, and this capture leads to a loss, the gaviota probing code incorrectly returns a draw score. This happens for example in the following positions:
8 | |||||||||
7 | |||||||||
6 | |||||||||
5 | |||||||||
4 | |||||||||
3 | |||||||||
2 | |||||||||
1 | |||||||||
a | b | c | d | e | f | g | h |
k1K5/8/8/8/4pP2/4Q3/8/8 b - f3 0 1
8 | |||||||||
7 | |||||||||
6 | |||||||||
5 | |||||||||
4 | |||||||||
3 | |||||||||
2 | |||||||||
1 | |||||||||
a | b | c | d | e | f | g | h |
8/8/8/8/Pp6/1K6/3N4/k7 b - a3 0 1
In total I found about 400 such positions, but some of them are not reachable from the initial chess position, for example:
8 | |||||||||
7 | |||||||||
6 | |||||||||
5 | |||||||||
4 | |||||||||
3 | |||||||||
2 | |||||||||
1 | |||||||||
a | b | c | d | e | f | g | h |
8/8/8/8/pP6/k7/8/KQ6 b - b3 0 1