Gothmog 0.4.8 en-passant bug

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

Re: Gothmog 0.4.8 en-passant bug

Postby Sune Fischer » 03 Jun 2004, 23:00

Geschrieben von:/Posted by: Sune Fischer at 04 June 2004 00:00:04:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: David Dahlem at 03 June 2004 17:25:59:

How can it be the GUI's fault when it is supporting the FEN standard? If anything, it is the fault of the FEN standard.
Regards
Dave

It's a bug in Winboard 4.2.6, it removes the e.p. information from the FEN.
I don't know if it has been fixed in the new version.
-S.
Sune Fischer
 

Re: WinBoard and en passant

Postby Fabien Letouzey » 04 Jun 2004, 09:54

Geschrieben von:/Posted by: Fabien Letouzey at 04 June 2004 10:54:22:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Sune Fischer at 04 June 2004 00:00:04:

How can it be the GUI's fault when it is supporting the FEN standard? If anything, it is the fault of the FEN standard.
Regards
Dave
It's a bug in Winboard 4.2.6, it removes the e.p. information from the FEN.
I don't know if it has been fixed in the new version.
-S.
As far as I know XBoard/WinBoard do not know about en passant or castling rights (and of course many other rules). That's one of the reasons why the engines have to act as referees during the games.
Tournament directors and engine authors have problems because the interface cannot even (fully) test the legality of moves!
Fabien.
Fabien Letouzey
 

Re: Gothmog 0.4.8 en-passant bug

Postby Sune Fischer » 04 Jun 2004, 11:56

Geschrieben von:/Posted by: Sune Fischer at 04 June 2004 12:56:39:
Als Antwort auf:/In reply to: Re: WinBoard and en passant geschrieben von:/posted by: Fabien Letouzey at 04 June 2004 10:54:22:
How can it be the GUI's fault when it is supporting the FEN standard? If anything, it is the fault of the FEN standard.
Regards
Dave
It's a bug in Winboard 4.2.6, it removes the e.p. information from the FEN.
I don't know if it has been fixed in the new version.
-S.
As far as I know XBoard/WinBoard do not know about en passant or castling rights (and of course many other rules). That's one of the reasons why the engines have to act as referees during the games.
Tournament directors and engine authors have problems because the interface cannot even (fully) test the legality of moves!
Fabien.
Winboard does know a few things and apparently edits the FEN using some internal logic.
You can try a FEN with castle rights and kings on d-file, winboard will remove the castle rights before sending it to the engine.
It does a similar thing to the e.p. information, only in that case it's incorrect.
I guess the validity detector for the e.p. information is broken or something, winboard always thinks it's illegal.
-S.
Sune Fischer
 

Re: Gothmog 0.4.8 en-passant bug

Postby Fabien Letouzey » 04 Jun 2004, 12:19

Geschrieben von:/Posted by: Fabien Letouzey at 04 June 2004 13:19:27:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Sune Fischer at 04 June 2004 12:56:39:

Winboard does know a few things and apparently edits the FEN using some internal logic.
You can try a FEN with castle rights and kings on d-file, winboard will remove the castle rights before sending it to the engine.
It does a similar thing to the e.p. information, only in that case it's incorrect.
I guess the validity detector for the e.p. information is broken or something, winboard always thinks it's illegal.
-S.
I think I remember that XBoard/WinBoard never handled either castling or en-passant rights internally. When in doubt they will always send the potentially-legal move to the engine and expecting it to test for legality.
The doc files will confirm this I think. Alternately you can try "Reset Game", "Edit Game" then you play 1. e4 d5 2. e5 e6 3. exd6 (illegal) and verify that WinBoard sends it to the engine even when "Test Legality" is selected.
WinBoard is a graphical display for chess pieces, it only knows part of the rules.
Fabien.
Fabien Letouzey
 

Re: WinBoard and castling/en passant

Postby Fabien Letouzey » 04 Jun 2004, 13:01

Geschrieben von:/Posted by: Fabien Letouzey at 04 June 2004 14:01:41:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Sune Fischer at 04 June 2004 12:56:39:

Winboard does know a few things and apparently edits the FEN using some internal logic.
Yes I think the logic is the following:
1) en-passant information is always empty (not removed because it was never stored in WinBoard's data in the first place)
2) if a king and rook are on their original squares, emit the corresponding castling right (regardless of whether they have moved before or not).
I have checked for castling rights: 1. e4 e5 2. Ke2! Nf6 3. Ke1!! then output the FEN string, white is allowed to castle.
Fabien.
Fabien Letouzey
 

Re: Gothmog 0.4.8 en-passant bug

Postby Sune Fischer » 04 Jun 2004, 13:05

Geschrieben von:/Posted by: Sune Fischer at 04 June 2004 14:05:31:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Fabien Letouzey at 04 June 2004 13:19:27:
Winboard does know a few things and apparently edits the FEN using some internal logic.
You can try a FEN with castle rights and kings on d-file, winboard will remove the castle rights before sending it to the engine.
It does a similar thing to the e.p. information, only in that case it's incorrect.
I guess the validity detector for the e.p. information is broken or something, winboard always thinks it's illegal.
-S.
I think I remember that XBoard/WinBoard never handled either castling or en-passant rights internally. When in doubt they will always send the potentially-legal move to the engine and expecting it to test for legality.
The doc files will confirm this I think.
Alternately you can try "Reset Game", "Edit Game" then you play 1. e4 d5 2. e5 e6 3. exd6 (illegal) and verify that WinBoard sends it to the engine even when "Test Legality" is selected.
WinBoard is a graphical display for chess pieces, it only knows part of the rules.
Fabien.
If the doc says that then there is an error in the doc.
Just take any engine and hook it up, give a FEN to winboard and print out what
the engine recieves, it's clearly an edited FEN.
Move legality testing is not the same as FEN legality testing.
From what I can tell there are no bugs in the move legality part.
That sounds about right.
-S.
Sune Fischer
 

Re: Gothmog 0.4.8 en-passant bug

Postby Fabien Letouzey » 04 Jun 2004, 13:13

Geschrieben von:/Posted by: Fabien Letouzey at 04 June 2004 14:13:19:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Sune Fischer at 04 June 2004 14:05:31:

Just take any engine and hook it up, give a FEN to winboard and print out what
the engine recieves, it's clearly an edited FEN.
Alternately you can try "Reset Game", "Edit Game" then you play 1. e4 d5 2. e5 e6 3. exd6 (illegal) and verify that WinBoard sends it to the engine even when "Test Legality" is selected.
Move legality testing is not the same as FEN legality testing.
From what I can tell there are no bugs in the move legality part.
I explain why in my other post.
My other post explains my reasoning more clearly, I hope.
Do you mean that WinBoard rejects my illegal 3. exd6 by itself?
That would indeed invalidate my explanation, just let me know.
Fabien.
Fabien Letouzey
 

Re: Gothmog 0.4.8 en-passant bug

Postby Sune Fischer » 04 Jun 2004, 13:16

Geschrieben von:/Posted by: Sune Fischer at 04 June 2004 14:16:36:
Als Antwort auf:/In reply to: Re: WinBoard and castling/en passant geschrieben von:/posted by: Fabien Letouzey at 04 June 2004 14:01:41:
Winboard does know a few things and apparently edits the FEN using some internal logic.
Yes I think the logic is the following:
1) en-passant information is always empty (not removed because it was never stored in WinBoard's data in the first place)
2) if a king and rook are on their original squares, emit the corresponding castling right (regardless of whether they have moved before or not).
I have checked for castling rights: 1. e4 e5 2. Ke2! Nf6 3. Ke1!! then output the FEN string, white is allowed to castle.
Fabien.
Okay, so winboard breaks up the FEN and then re-assembles it.
Yes that's another issue :)
Basicly one just have to be careful when copying and pasting FENs to winboard.
-S.
Sune Fischer
 

Re: Gothmog 0.4.8 en-passant bug

Postby Sune Fischer » 04 Jun 2004, 13:33

Geschrieben von:/Posted by: Sune Fischer at 04 June 2004 14:33:45:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Fabien Letouzey at 04 June 2004 14:13:19:
Just take any engine and hook it up, give a FEN to winboard and print out what
the engine recieves, it's clearly an edited FEN.
Alternately you can try "Reset Game", "Edit Game" then you play 1. e4 d5 2. e5 e6 3. exd6 (illegal) and verify that WinBoard sends it to the engine even when "Test Legality" is selected.
Move legality testing is not the same as FEN legality testing.
From what I can tell there are no bugs in the move legality part.
I explain why in my other post.
My other post explains my reasoning more clearly, I hope.
Do you mean that WinBoard rejects my illegal 3. exd6 by itself?
That would indeed invalidate my explanation, just let me know.
Fabien.
Apparently my knowledge of that was not complete, you're right winboard does allow an illegal move even with legality testing on.
-S.
Sune Fischer
 

Re: Gothmog 0.4.8 en-passant bug

Postby Dieter Bürßner » 04 Jun 2004, 21:53

Geschrieben von:/Posted by: Dieter Bürßner at 04 June 2004 22:53:23:
Als Antwort auf:/In reply to: Re: Gothmog 0.4.8 en-passant bug geschrieben von:/posted by: Matthias Gemuh at 03 June 2004 17:51:52:
it was in ordinary engine-engine matches (nothing pasted).
I would have to install at least Shredder6Classic again to find out.
If I do it, I will inform in this forum.
Matthias, I cannot reproduce this with either Shredder 5/6/8 Classic. They all seem to send move lists as expected, here.
Regards,
Dieter
Dieter Bürßner
 

Previous

Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: No registered users and 20 guests