Hmmm... I have to think about this a bit more, but I think you are right.Daniel Shawul wrote:Stalemates (a draw = 0.5) with inferior material count should be bad for the tuner. The first 10 areAlvaroBegue wrote:There should be no positions where the king is in check. I'm not sure if the others are a problem: The evaluation function does encounter positions like these, apparently. So I don't know on what grounds they should be removed.Daniel Shawul wrote:[
@Alavaro, it seems about 3% of the positions (about 30000 positions) in your database are <= mate_in_1. There are even some stalemate/mated positions with no moves to make. I think this should be removed since they have nothing to do with the material but just a lucky placement.
1. No moves in Position 26472 Fen: 8/8/8/4bk2/5p1p/7P/1p3q2/7K w - -
2. No moves in Position 27385 Fen: 8/7k/5Q1N/8/5PP1/6K1/6P1/8 b - -
3. No moves in Position 51566 Fen: 8/8/5Q2/7k/8/6K1/8/8 b - -
4. No moves in Position 60333 Fen: 8/1p1b2pk/p6p/P6P/7K/8/6r1/8 w - -
5. No moves in Position 66519 Fen: 8/6p1/6k1/7p/5p1P/3p1P1K/4r3/8 w - -
6. No moves in Position 66578 Fen: 8/8/5q2/7K/8/5k2/8/8 w - -
7. No moves in Position 72318 Fen: 8/p5p1/1p1k4/3P4/7p/7P/r5PK/5q2 w - -
8. No moves in Position 73913 Fen: 8/2P5/P2R3p/7k/5Pp1/P5B1/3K3P/8 b - -
9. No moves in Position 76410 Fen: 6R1/8/8/8/4K3/8/8/6Bk b - -
[board]8/8/8/4bk2/5p1p/7P/1p3q2/7K w - -[/board]
In principle I want the tuner to learn to separate positions by the result of the game, no matter in how many steps. But the nature of stalemate is probably such that under most circumstances the side with more material could have played slightly differently and avoided the stalemate. The exceptions are some well-known endgames (like KQ-vs-KP, with a rook pawn or a knight pawn on 7th rank) where the stalemate rule really makes the position a draw. But those should be covered by special cases or EGTBs.