Software for comparing final game position with result?
- John Saunders
- Posts: 2163
- Joined: Thu Apr 19, 2007 3:10 pm
- Location: Kingston-upon-Thames
- Contact:
Software for comparing final game position with result?
The query about the result of the Sivanandan-Wells game (discussed here - now resolved), as to whether it was a resignation or loss on time prompted the thought that we need a quick way to test the final positions of game scores to see if they match the recorded result of the game. Does such software exist, either as part of database software (ChessBase, Hiarcs, SCID, etc) or other chess utilities such as ChessSuite?
What I have in mind is something that would sweep through a database and flag those games with a final position where the recorded result does not tally with (say) a Stockfish assessment. Does such a facility already exist? I'm aware of software with blundercheck facilities but these apply to each move of a game and I'm only interested in the final position.
Such a facility would be very handy for those of us who curate databases. It would allow us to focus on each flagged game in turn and investigate further, to see if the game ended in (a) a time or mobile phone loss; (b) a wrongly-recorded result; (c) a faulty or incomplete score; (d) a misjudged resignation/draw decision by a player; (e) some other incident.
What I have in mind is something that would sweep through a database and flag those games with a final position where the recorded result does not tally with (say) a Stockfish assessment. Does such a facility already exist? I'm aware of software with blundercheck facilities but these apply to each move of a game and I'm only interested in the final position.
Such a facility would be very handy for those of us who curate databases. It would allow us to focus on each flagged game in turn and investigate further, to see if the game ended in (a) a time or mobile phone loss; (b) a wrongly-recorded result; (c) a faulty or incomplete score; (d) a misjudged resignation/draw decision by a player; (e) some other incident.
Personal Twitter @johnchess
Britbase https://www.britbase.info
(I prefer email to PM - contact me via this link - https://www.saund.org.uk/email.html)
Britbase https://www.britbase.info
(I prefer email to PM - contact me via this link - https://www.saund.org.uk/email.html)
-
Ian Thompson
- Posts: 4259
- Joined: Wed Jul 02, 2008 4:31 pm
- Location: Awbridge, Hampshire
Re: Software for comparing final game position with result?
I asked about a specific example of this sort of thing - spurious king moves to the centre of the board at the end of the game - a few years ago but no-one had an answer.
-
Roger de Coverly
- Posts: 22615
- Joined: Tue Apr 15, 2008 2:51 pm
Re: Software for comparing final game position with result?
I think this arose in one of my games in the British Over 65 last week. If one player resigns then the clock is usually stopped which tells the DGT board to cease or pause recording. If the game ends with "draw agreed", then it's possible that the clocks aren't immediately stopped. When a King is moved to the centre of the board to indicate a result, then it might be a legal move and thus gets recorded.Ian Thompson wrote: ↑Tue Aug 12, 2025 12:00 pm- spurious king moves to the centre of the board at the end of the game
- John Saunders
- Posts: 2163
- Joined: Thu Apr 19, 2007 3:10 pm
- Location: Kingston-upon-Thames
- Contact:
Re: Software for comparing final game position with result?
Spurious moves at the end aren't so much of a problem for the database curator as the DGT software usually outputs them as text rather than legitimate moves, which means they are easily identified as games with annotations when you perform a Chessbase (or similar) list of the database. I did this with the British Championship games after downloading them from chess-results.com, went through the various games flagged with annotations (there were a dozen or so of them) and in all cases (I think) simply deleted the spurious text found at game-end.
Please let's not get into a debate about whether DGT should add a result button to their clocks, but try and stick to the point. (yes, I know, a triumph of hope over experience!)
Please let's not get into a debate about whether DGT should add a result button to their clocks, but try and stick to the point. (yes, I know, a triumph of hope over experience!)
Personal Twitter @johnchess
Britbase https://www.britbase.info
(I prefer email to PM - contact me via this link - https://www.saund.org.uk/email.html)
Britbase https://www.britbase.info
(I prefer email to PM - contact me via this link - https://www.saund.org.uk/email.html)
-
Ian Thompson
- Posts: 4259
- Joined: Wed Jul 02, 2008 4:31 pm
- Location: Awbridge, Hampshire
Re: Software for comparing final game position with result?
Yes, if the move would have been illegal and consequently gets recorded as text it's easy to find those games without much effort.John Saunders wrote: ↑Tue Aug 12, 2025 12:29 pmSpurious moves at the end aren't so much of a problem for the database curator as the DGT software usually outputs them as text rather than legitimate moves, which means they are easily identified as games with annotations when you perform a Chessbase (or similar) list of the database. I did this with the British Championship games after downloading them from chess-results.com, went through the various games flagged with annotations (there were a dozen or so of them) and in all cases (I think) simply deleted the spurious text found at game-end.
Do you think a legal king move to the centre of the board really was the last move in any of these games?
- Adams,H-Pert,M, Championship, Rd. 6
- Liu-Berkley, Major Open, Rd. 2
- Peart-Shankar, Major Open, Rd. 6
- Rushbrooke-Wall, Major Open, Rd 6
- Armstrong-Jerome, Over 65, Rd. 5
- John Saunders
- Posts: 2163
- Joined: Thu Apr 19, 2007 3:10 pm
- Location: Kingston-upon-Thames
- Contact:
Re: Software for comparing final game position with result?
Yes, I'm aware it becomes a problem when the spurious move at the end happens to be legal. It is another example of why a software utility to detect questionable game-ends is highly desirable. Presumably you have discovered these examples by going through the games manually - or perhaps searching for Ke4/Ke5/Kd4/Kd5 last moves?Ian Thompson wrote: ↑Tue Aug 12, 2025 1:13 pmDo you think a legal king move to the centre of the board really was the last move in any of these games?
- Adams,H-Pert,M, Championship, Rd. 6
- Liu-Berkley, Major Open, Rd. 2
- Peart-Shankar, Major Open, Rd. 6
- Rushbrooke-Wall, Major Open, Rd 6
- Armstrong-Jerome, Over 65, Rd. 5
This particular problem is one where the database curator's judgment (that an improbable Ke4/Ke5/Kd4/Kd5 move is spurious) can probably be relied upon to be right and the move simply deleted when found. It's the finding that is the problem.
Personal Twitter @johnchess
Britbase https://www.britbase.info
(I prefer email to PM - contact me via this link - https://www.saund.org.uk/email.html)
Britbase https://www.britbase.info
(I prefer email to PM - contact me via this link - https://www.saund.org.uk/email.html)
-
Ian Thompson
- Posts: 4259
- Joined: Wed Jul 02, 2008 4:31 pm
- Location: Awbridge, Hampshire
Re: Software for comparing final game position with result?
I'm not aware of any way of searching for any particular move being the last move of the game. I searched for games where the king went to one of those squares during the game and then manually looked for games where it was the last move of the game. It's not practical to do that on large numbers of games. It's not a foolproof way of finding all such games. I might have missed games where the king went to the centre of the board earlier in the game and then back to the centre at the end of the game (because ChessBase jumps to the first position in the game meeting the search criteria). I was probably wrong to include Rushbrooke-Wall in the list of games because 43...Kd5 is a reasonable move to play in the position, although many other moves also win for Black.John Saunders wrote: ↑Tue Aug 12, 2025 1:51 pmPresumably you have discovered these examples by going through the games manually - or perhaps searching for Ke4/Ke5/Kd4/Kd5 last moves?
-
Alex McFarlane
- Posts: 1861
- Joined: Sat Aug 02, 2008 8:52 pm
Re: Software for comparing final game position with result?
You could try teaching players that if the king move to indicate the result is legal then they should simply remove a piece before positioning the kings.
Good luck with that one, though
Good luck with that one, though
- Christopher Kreuzer
- Posts: 10827
- Joined: Fri Aug 06, 2010 2:34 am
- Location: London
Re: Software for comparing final game position with result?
Do you have to place the kings simultaneously? Can you not move the 'wrong' king (i.e. the king of the player who does not have the move) to the appropriate square first, followed by the other one? I suppose there is also an issue if one of the kings is already on the square it needs to move to, though maybe not, as you just move the other king to the adjacent square (which will automatically be an illegal move).
(I don't actually know the convention anyway, so I don't know why I am commenting! Something about same colour squares = draw, if kings on the central white squares that is a White win, if on the central black squares that is a Black win? Am guessing here...)
(I don't actually know the convention anyway, so I don't know why I am commenting! Something about same colour squares = draw, if kings on the central white squares that is a White win, if on the central black squares that is a Black win? Am guessing here...)
- Christopher Kreuzer
- Posts: 10827
- Joined: Fri Aug 06, 2010 2:34 am
- Location: London
Re: Software for comparing final game position with result?
You would have to decide how widely to set the drawing parameters... It would be a useful tool. I am almost certain some databases will already have "final position" assessments in them. That bit is trivial. Many people agree draws in +1.5 or -1.5 positions though (or even greater values). That would mean you would get a lot of edge cases.John Saunders wrote: ↑Tue Aug 12, 2025 11:20 amWhat I have in mind is something that would sweep through a database and flag those games with a final position where the recorded result does not tally with (say) a Stockfish assessment. Does such a facility already exist? I'm aware of software with blundercheck facilities but these apply to each move of a game and I'm only interested in the final position.
-
GrahamStuart
- Posts: 231
- Joined: Wed Dec 15, 2021 11:04 am
- Location: Blackfield
- Contact:
Re: Software for comparing final game position with result?
The games exported from Lichess seem to have the final evaluation. I copied these into Excel and wrote a quick macro to filter on the game. Additional filters for 1-0, 1/2 and 0-1 added and the eval checked (manually but this could be programmed). The manual check does not take long as the games can then be checked to highlight potential issues. The main ones which came out were probably draws where one player was better, but this would highlight games with low evaluation with a positive result. Although in the championship I did not see any.John Saunders wrote: ↑Tue Aug 12, 2025 11:20 amThe query about the result of the Sivanandan-Wells game (discussed here - now resolved), as to whether it was a resignation or loss on time prompted the thought that we need a quick way to test the final positions of game scores to see if they match the recorded result of the game. Does such software exist, either as part of database software (ChessBase, Hiarcs, SCID, etc) or other chess utilities such as ChessSuite?
What I have in mind is something that would sweep through a database and flag those games with a final position where the recorded result does not tally with (say) a Stockfish assessment. Does such a facility already exist? I'm aware of software with blundercheck facilities but these apply to each move of a game and I'm only interested in the final position.
Such a facility would be very handy for those of us who curate databases. It would allow us to focus on each flagged game in turn and investigate further, to see if the game ended in (a) a time or mobile phone loss; (b) a wrongly-recorded result; (c) a faulty or incomplete score; (d) a misjudged resignation/draw decision by a player; (e) some other incident.
This was from this game where drawn but plus 2.7
https://lichess.org/broadcast/2025-brit ... w/gvqB7OII
If you have any particular results which you think are strange I can check from the British or other events. I was surprised the Lichess had the evaluation included. This is under the Download pgn on the page.
https://lichess.org/broadcast/2025-brit ... 1/Rus7vgww
Not sure if this is that useful, but may help in someway?
- Attachments
-
- Game.jpg (42.56 KiB) Viewed 5959 times
https://www.hampshirechesshistory.co.uk
@HCAChessHistory
@HCAChessHistory
-
Geoff Chandler
- Posts: 3817
- Joined: Mon Jul 06, 2009 1:36 pm
- Location: Under Cover
- Contact:
Re: Software for comparing final game position with result?
Hi John,John Saunders wrote: ↑Tue Aug 12, 2025 11:20 am
What I have in mind is something that would sweep through a database and flag those games with a final position where the recorded result does not tally with (say) a Stockfish assessment.
I know the problem exists and spotted a few in my time. I was wondering how common it was and can we not just let it go as 'just one of those things and ignore it' (which BTW is the Chandler Motto)
So I had a look at all the games from chessgames.com, for the year 2024 that were 1-0, the move Kd5 had been played and the last move was Kd5 (or Kxd5)
Over 700 popped up and I found 52 what I would confirm as bogus KD5 resignations - And that was looking for 1-0 from one year. Half of dozen or so that were probably also a bogus KD5 resignation but there was a slight doubt. Black played Kd5 realised playing on was pointless so resigned. (they were probably all bogus.)
TBH I was looking for any reason not to classify it as a bogus KD5 resignation, because I was getting fed up logging them (it's a Chandler Motto thing)
I am not going to send 50-60 correction slips to chessgames.com (once the Chandler Motto takes a hold you never shake it off) If I do I'll have to do the same for every year since 2000 for both colours. Sod that.
I'll send in one for a Samuel Sevian game because it features a Kxd5.
https://www.chessgames.com/perl/chessgame?gid=2812111
Black played 76...Kxd5 and resigned.
- Matt Mackenzie
- Posts: 6341
- Joined: Tue Mar 31, 2009 11:51 pm
- Location: Millom, Cumbria
Re: Software for comparing final game position with result?
That's a mildly interesting one - it is likely another superfluous move but could also, just possibly, be an oversight.
(which would fit with resigning before the opponent can reply, so that doesn't prove anything either)
(which would fit with resigning before the opponent can reply, so that doesn't prove anything either)
"Set up your attacks so that when the fire is out, it isn't out!" (H N Pillsbury)
-
Phil Makepeace
- Posts: 342
- Joined: Wed Apr 04, 2007 12:46 pm
Re: Software for comparing final game position with result?
I've had one which has been annoying me for 21 years.
I played a horrific game but got away with it, and my opponent offered a draw in the final position as his extra piece is falling. On the database it's recorded as 1-0 but it was at least graded correctly.
I played a horrific game but got away with it, and my opponent offered a draw in the final position as his extra piece is falling. On the database it's recorded as 1-0 but it was at least graded correctly.
-
NickFaulks
- Posts: 9258
- Joined: Sat Jan 02, 2010 1:28 pm
Re: Software for comparing final game position with result?
Possibly unrelated to the current discussion, but do you think this result is correct?
https://lichess.org/broadcast/fujairah- ... 6/zKvBbyW6
It looks like a perfectly good place to offer a draw, even if the computer does like White.
https://lichess.org/broadcast/fujairah- ... 6/zKvBbyW6
It looks like a perfectly good place to offer a draw, even if the computer does like White.
If you want a picture of the future, imagine a QR code stamped on a human face — forever.