gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] gnugo 3.4 problems


From: bump
Subject: Re: [gnugo-devel] gnugo 3.4 problems
Date: Sun, 28 Nov 2004 10:53:36 -0800

On November 20, Gunnar wrote:

> > Move 59 is W's move but this is also a good test. W's
> > move is wrong, and W should throw in at C19 to get seki.
> > 
> > At move 60 B can get seki at A14 or a favorable ko at
> > C19.
> 
> Also agreed. Please add to semeai.tst. These should be possible to
> solve.

Here are some new tests based on that game and verybad.sgf.

Dan

Index: semeai.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/semeai.tst,v
retrieving revision 1.62
diff -u -r1.62 semeai.tst
--- semeai.tst  27 Nov 2004 18:45:11 -0000      1.62
+++ semeai.tst  28 Nov 2004 18:47:39 -0000
@@ -84,6 +84,12 @@
 #
 # These tests do not call genmove. Genmove tests and status tests come
 # at the bottom of the test suite.
+#
+# after analyze_semeai [dragon1] [dragon2]
+# the results are returned in the form (result1) (result2).
+# These are the results of the defense of dragon1 and the attack
+# of dragon2 assuming that the dragon1 player moves first. Thus
+# a result 1 0 typically means seki, while a 1 1 result means a kill.
 
 loadsgf games/semeai/semeai6.sgf
 1 analyze_semeai C1 E1
@@ -431,6 +437,41 @@
 119 analyze_semeai H5 H3
 #? [1 1 G1]
 
+# A14 is strictly correct since C19 allows W an unfavorable ko.
+loadsgf games/semeai/semeai19.sgf
+120 analyze_semeai C18 C19
+#? [1 1 (A14|C19)]
+
+# There is a complication that B18 and C17 are not amalgamated.
+# If B plays first C19 gives a favorable ko; A15 allows seki.
+# The ko is very unfavorable for W so in 119 a 1 1 result is 
+# arguably correct.
+loadsgf games/semeai/semeai20.sgf
+118 analyze_semeai C17 C18
+#? [1 0]
+119 analyze_semeai C18 C17
+#? [2 2 C19]
+
+# There is also an amalgamation problem here.
+loadsgf games/semeai/semeai19.sgf 80
+120 analyze_semeai K18 N18
+#? [1 1 M18]
+
+loadsgf games/verybad.sgf 104
+121 analyze_semeai Q16 Q17
+#? [1 1 P19]
+122 analyze_semeai Q17 Q16
+#? [3 3 T17]
+
+loadsgf games/verybad.sgf 114
+123 analyze_semeai Q16 Q17
+#? [2 2 (P19|S17|T17)]
+124 analyze_semeai Q17 Q16
+#? [2 2 (O15|O14|R13)]
+
+loadsgf games/verybad.sgf 118
+126 analyze_semeai Q16 Q17
+#? [3 3 (Q19|S17|T17)]
 
 ########### semeai gen_move tests #################
 
@@ -458,6 +499,11 @@
 107 reg_genmove black
 #? [D6|C7]*
 
+# Take the ko last.
+loadsgf games/verybad.sgf 114
+125 restricted_genmove black T15 T17 S17 P19
+[!T15]
+
 ########### semeai status tests #################
 
 loadsgf games/semeai/semeai15.sgf
Index: strategy5.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/strategy5.tst,v
retrieving revision 1.44
diff -u -r1.44 strategy5.tst
--- strategy5.tst       28 May 2004 03:09:14 -0000      1.44
+++ strategy5.tst       28 Nov 2004 18:47:41 -0000
@@ -168,6 +168,13 @@
 291 restricted_genmove black P7 L9
 #? [L9]*
 
+loadsgf games/semeai/semeai19.tst 42
+292 restricted_genmove black A15 F16 F17 S4 Q3
+#? [F16|F17]
+
+293 reg_genmove white
+#? [F17]
+
 
 ############ End of Tests #################
 
Index: games/semeai/semeai19.sgf
===================================================================
RCS file: games/semeai/semeai19.sgf
diff -N games/semeai/semeai19.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ games/semeai/semeai19.sgf   28 Nov 2004 18:48:03 -0000
@@ -0,0 +1,14 @@
+(;GM[1]FF[4]DT[2004-11-20]RU[Japanese]SZ[19]
+KM[0.0]
+PW[Daniel Bump]
+PB[GNU Go 3.7.1 prerelease]
+HA[9]AB[dd]AB[jd]AB[pd]AB[dj]AB[jj]AB[pj]AB[dp]AB[jp]AB[pp];
+W[qf];B[nd];W[ld];B[gd];W[oc];B[od];W[pc];B[qd];W[mb];B[qc];
+W[qb];B[rb];W[pb];B[cg];W[ph];B[pm];W[mg];B[mq];W[qq];B[qp];
+W[pr];B[rq];W[rr];B[jh];W[cc];B[dc];W[cd];B[cb];W[bb];B[db];
+W[ce];B[ba];W[ab];B[bf];W[be];B[ef];W[cf];B[bg];W[ee];B[ff];
+W[de];B[rp];W[fc];B[fb];W[gc];B[gb];W[hc];B[hb];W[ec];B[eb];
+W[ic];B[ed];W[fd];B[fe];W[ib];B[bc];W[ad];B[kb];W[ha];B[kd];
+W[lc];B[jb];W[he];B[le];W[me];B[md];W[ke];B[lf];W[kf];B[lg];
+W[ie];B[nc];W[nb];B[ge];W[je];B[pq];W[ca];B[df];W[ga];B[mh]
+)
Index: games/semeai/semeai20.sgf
===================================================================
RCS file: games/semeai/semeai20.sgf
diff -N games/semeai/semeai20.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ games/semeai/semeai20.sgf   28 Nov 2004 18:48:03 -0000
@@ -0,0 +1,8 @@
+(;GM[1]FF[3]
+SZ[19]
+GN[GNU Go 3.5.10 load and print]
+DT[2004-11-20]
+KM[0]RU[Japanese]AP[GNU Go:3.5.10]PL[B]
+AW[ha][ab][bb][ib][mb][pb][qb][cc][ec][fc][gc][hc][ic][oc][pc][ad][cd][fd][jd][ld][be][ce][de][ee][cf][qf][mg][ph][qq][pr][rr]
+AB[ba][cb][db][eb][fb][gb][hb][kb][rb][bc][dc][qc][dd][ed][gd][nd][od][pd][qd][fe][bf][ef][ff][bg][cg][jh][dj][jj][pj][pm][dp][jp][pp][qp][rp][mq][rq]
+)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]