[computer-go] KGS tournament problem

Aloril aloril at iki.fi
Sun Oct 8 23:47:02 PDT 2006


Bug report is at end of mail, WeakBot50k - HBotSVN game.

On Sun, 2006-10-08 at 14:23 +0200, Edward de Grijs wrote:
> Hello,
> 
> In relation to the last played KGS tournament:
> First of all sorry for those programs that played against a non available 
> "firstgo".
> Because others can learn from what happened I post my observation here.
> I could not attend round 2 to 6, and I saw this logging after round 6:
> 
> 8-okt-2006 11:32:37 org.igoweb.kgs.client.gtp.GtpClient d
> FINEST: Got successful response to command "genmove b": = RESIGN
> 8-okt-2006 11:32:37 org.igoweb.kgs.client.gtp.GtpClient d
> SEVERE: Error from GTP Communications layer, closing down.
> org.igoweb.igoweb.client.gtp.ai: Cannot recognize vertex "RESIGN" that came 
> from engine.
> 
> Because of this, which happened after round two, the communication stopped, 
> until
> I restarted the communication at the start of round 7.
> 
> It seems to me that the server is not case sensitive in relation to the 
> "RESIGN" vertex.
> The specification of GTP states that the "vertex" answer is non case 
> sentitive.
> So I even use a "PASS" answer instead of "pass", but this works fine.
> 
> So the following questions came to my mind:
> 1) Should I use "resign" instead of "RESIGN", or is this a bug in the server 
> software
>    which should be corrected?
> 2) Why is the communication closing down? If a command is not recognised, 
> the following
>    round could be continued with a clear_board and such, hereby improving 
> the fault
>    tolerance of the communication protocol?

My program crashed in first game against IdiotBot because there was a
super-ko bug in tactical UCT. It submitted illegal move K12 to server.
However I have wrapped kgsGtp inside loop that will try again so it was
connected OK when second game started.

#!/bin/sh
python rename.py
while true
do
    if [ -e break.flag ]
    then
      break
    fi
    /opt/jdk1.5.0_01/bin/java -jar kgsGtp.jar options.conf
    python rename.py
    sleep 60
done


rename.py just renames kgsGtp.log-0.log so its not overwritten
Added "sleep 60".

-------------

About HouseBot - WeakBot50k game in round 1:
http://files.gokgs.com/games/2006/10/8/HouseBot-WeakBot50k.sgf

Before cleanup:
FINEST: Got successful response to command "final_status_list dead": =
B13
J5
M5
Oct 8, 2006 12:12:03 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = j5, dead = true
Oct 8, 2006 12:12:03 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = m5, dead = true
Oct 8, 2006 12:12:03 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = b13, dead = true
Oct 8, 2006 12:12:03 PM org.igoweb.kgs.client.gtp.GtpClient d
FINE: Dead stones all submitted to server
Oct 8, 2006 12:12:14 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = j5, dead = true
Oct 8, 2006 12:12:14 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = m5, dead = true
Oct 8, 2006 12:12:14 PM org.igoweb.igoweb.client.gtp.P j
INFO: Disagreement over tournament scoring. Switching to cleanup mode.


After cleanup where WeakBot50k did remove dead stones in its area:

FINEST: Got successful response to command "final_status_list dead": =
B13
Oct 8, 2006 12:12:22 PM org.igoweb.igoweb.client.gtp.P a
INFO: Cleanup mode has ended by passes. It will be assumed that all dead
stones have already been removed.



There is 'feature' in kgsKgtp: you can mark opponent dead stones alive
or your live stones dead and opponent bot will accept that ;-)

Either above feature was used or as above message says, all stones are
assumed alive.

About initial disagreement: What does HouseBot say in log file as
response to final_status_list command?

-------------

MoGoBot13 - HouseBot game in Round 2:
http://files.gokgs.com/games/2006/10/8/MoGoBot13-HouseBot.sgf

If both support final_status_list and submitted correct stones to
server, then why are dead white stones marked alive?


Based on WeakBot50k - MoGoBot13 game in round 4 there might be some
problem in MoGoBot13 final_status_list command:

FINEST: Got successful response to command "final_status_list dead": =
M10
Oct 8, 2006 1:55:13 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = m12, dead = true
Oct 8, 2006 1:55:13 PM org.igoweb.kgs.client.gtp.GtpClient d
FINE: Dead stones all submitted to server
Oct 8, 2006 1:55:23 PM org.igoweb.igoweb.client.gtp.P a
FINEST: Submitting stone status to server: Location = m12, dead = true
Oct 8, 2006 1:55:23 PM org.igoweb.igoweb.client.gtp.P j
INFO: Disagreement over tournament scoring. Switching to cleanup mode.

http://files.gokgs.com/games/2006/10/8/WeakBot50k-MoGoBot13.sgf


----------------

WeakBot50k - HBotSVN game in round 6:
http://files.gokgs.com/games/2006/10/8/WeakBot50k-HBotSVN.sgf

Looks like some kind of bug, no cleanup command was sent to WeakBot50k
according to log file:

FINEST: Got successful response to command "final_status_list dead": =
M5
M12
H12
F5
H9
N3
G1
J8
H7
M1
J2
L10
:
INFO: Disagreement over tournament scoring. Switching to cleanup mode.


later (WeakBot50k doesn't support undo):

Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Queued command sent to engine: play b l10
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Got successful response to command "play b l10": =
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Queued command sent to engine: play w pass
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Got successful response to command "play w pass": =
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Queued command sent to engine: time_left w 599 0
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Got successful response to command "time_left w 599 0": =
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Queued command sent to engine: play b pass
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Got successful response to command "play b pass": =
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Queued command sent to engine: final_status_list dead
Oct 8, 2006 2:49:40 PM org.igoweb.kgs.client.gtp.GtpClient d
FINEST: Got successful response to command "final_status_list dead": =
M5
M12
H12
F5
H9
N3
G1
J8
H7
M1
J2
L10

Oct 8, 2006 2:49:40 PM org.igoweb.igoweb.client.gtp.P a
INFO: Cleanup mode has ended by passes. It will be assumed that all dead
stones have already been removed.



> 
> Edward
> 
> _________________________________________________________________
> De nieuwste Messenger is live! Download nu 
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=nl-nl
> 
> _______________________________________________
> computer-go mailing list
> computer-go at computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
-- 
Aloril <aloril at iki.fi>


More information about the computer-go mailing list