gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] New and revised tests


From: Gunnar Farnebäck
Subject: [gnugo-devel] New and revised tests
Date: Wed, 29 Sep 2004 06:20:42 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI)

This patch adds another 11 testcases from the olympiad games and
revises some other tests.

/Gunnar

Index: regression/century2002.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/century2002.tst,v
retrieving revision 1.31
diff -u -r1.31 century2002.tst
--- regression/century2002.tst  28 May 2004 03:09:14 -0000      1.31
+++ regression/century2002.tst  29 Sep 2004 03:51:15 -0000
@@ -46,8 +46,14 @@
 80 owl_attack D17
 #? [1 C17]
 
+# White can make seki in the upper left corner and preventing that is
+# the largest move on the board. B17 is the most natural move and the
+# one leaving the least aji. Except for the upper left corner, N9 is
+# the biggest move.
 loadsgf games/century21-2002/goint-gnugo.sgf 209
 85 reg_genmove black 
+#? [B17]
+86 restricted_genmove black N9 T15 A13 Q7 Q6 N10 N8 L13 G19 G15
 #? [N9]
 
 # A17 and A18 produce 10,000 year ko. But A17 is better
Index: regression/gunnar.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/gunnar.tst,v
retrieving revision 1.40
diff -u -r1.40 gunnar.tst
--- regression/gunnar.tst       11 Sep 2004 18:55:12 -0000      1.40
+++ regression/gunnar.tst       29 Sep 2004 03:51:15 -0000
@@ -298,6 +298,12 @@
 53 reg_genmove white
 #? [S17]
 
+# Playing J4 or F6 inside own territory clearly loses points. In 3.5.9
+# this is caused by some break-in confusion.
+loadsgf games/gunnar/gunnar13.sgf
+54 restricted_genmove white J4 F6 D9
+#? [D9]
+
 ############ End of Tests #################
 
 # Report number of nodes visited by the tactical reading
Index: regression/olympiad2004.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/olympiad2004.tst,v
retrieving revision 1.2
diff -u -r1.2 olympiad2004.tst
--- regression/olympiad2004.tst 11 Sep 2004 18:55:12 -0000      1.2
+++ regression/olympiad2004.tst 29 Sep 2004 03:51:15 -0000
@@ -218,3 +218,58 @@
 loadsgf games/olympiad2004/19x19/int-gnu.sgf 242
 123 reg_genmove white
 #? [K3|L3|L1]*
+
+# More important to build towards center than closing off edge.
+loadsgf games/olympiad2004/19x19/gnu-int.sgf 67
+201 restricted_genmove black C11 E11 E12
+#? [E11]
+
+# Really bad shape at G7.
+loadsgf games/olympiad2004/19x19/gnu-int.sgf 113
+202 restricted_genmove black G7 G8
+#? [G8]
+
+# O10 protects against both cuts!
+loadsgf games/olympiad2004/19x19/gnu-int.sgf 205
+203 restricted_genmove black M13 O10
+#? [O10]
+
+# Black will break through somewhere after D4.
+loadsgf games/olympiad2004/9x9/gnu-int.sgf 9
+301 reg_genmove black
+#? [D4]
+
+# H6 is bigger than J7.
+loadsgf games/olympiad2004/9x9/int-gnu.sgf 42
+401 reg_genmove white
+#? [H6]
+
+# Better to allow G7 to get cut off than E3.
+loadsgf games/olympiad2004/9x9/gnu-mag.sgf 9
+501 reg_genmove black
+#? [F3]
+
+# Hane at A6 leads nowhere. The clamp at B5
+loadsgf games/olympiad2004/9x9/gnu-mag.sgf 25
+502 restricted_genmove black A6 B5
+#? [B5]
+
+# Wrong atari. F6 is better than E7.
+loadsgf games/olympiad2004/9x9/gnu-mag.sgf 35
+503 restricted_genmove black E7 F6
+#? [F6]
+
+# F6 really bad shape.
+loadsgf games/olympiad2004/9x9/gnu-mag.sgf 11
+601 restricted_genmove black F7 F6 H4 G3
+#? [!F6]
+
+# G6 about as bad shape as one can get. E6 has more promise.
+loadsgf games/olympiad2004/9x9/gnu-mag.sgf 23
+602 reg_genmove black
+#? [E6]
+
+# Always connect from the secure end. A1 goes before A4.
+loadsgf games/olympiad2004/9x9/gnu-mag.sgf 63
+603 reg_genmove black
+#? [A1]
Index: regression/owl.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl.tst,v
retrieving revision 1.88
diff -u -r1.88 owl.tst
--- regression/owl.tst  8 Sep 2004 16:04:58 -0000       1.88
+++ regression/owl.tst  29 Sep 2004 03:51:15 -0000
@@ -710,7 +710,7 @@
 
 loadsgf games/nicklas/nicklas10.sgf 18
 191 owl_defend D8
-#? [0]*
+#? [1 B7]*
 
 # See also test case golife:7
 loadsgf games/golife.sgf 46
Index: regression/owl1.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl1.tst,v
retrieving revision 1.96
diff -u -r1.96 owl1.tst
--- regression/owl1.tst 11 Sep 2004 18:55:12 -0000      1.96
+++ regression/owl1.tst 29 Sep 2004 03:51:15 -0000
@@ -349,6 +349,22 @@
 346 owl_defend Q13
 #? [1 N13]*
 
+loadsgf games/owl51.sgf
+347 owl_defend G16
+#? [1 D10]
+
+loadsgf games/owl51.sgf
+348 owl_defend M11
+#? [0]
+
+# Eye space with a cutting point. 
+loadsgf games/olympiad2004/19x19/int-gnu.sgf 115
+349 owl_attack T19
+#? [1 R19]
+
+loadsgf games/olympiad2004/19x19/gnu-int.sgf 175
+350 owl_defend F11
+#? [0]
 
 ########### end of tests #####################
 
Index: regression/reading.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/reading.tst,v
retrieving revision 1.76
diff -u -r1.76 reading.tst
--- regression/reading.tst      11 Sep 2004 18:55:12 -0000      1.76
+++ regression/reading.tst      29 Sep 2004 03:51:16 -0000
@@ -840,6 +840,7 @@
 #? [0]*
 
 # Ladder reading problem. See also kgs:290 and kgs:300
+# This is more or less a duplicate of reading:156.
 loadsgf games/kgs/yagr-czarny.sgf 17
 200 attack B4
 #? [1 B2]*
@@ -851,6 +852,12 @@
 #? [1 G17]*
 popgo
 
+# See also trevorc:880,890
+loadsgf games/trevor/auto/c51.sgf 82
+trymove W E12
+202 attack E13
+#? [2 F13]
+popgo
 
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
Index: regression/seki.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/seki.tst,v
retrieving revision 1.14
diff -u -r1.14 seki.tst
--- regression/seki.tst 8 Jun 2004 13:27:23 -0000       1.14
+++ regression/seki.tst 29 Sep 2004 03:51:17 -0000
@@ -244,7 +244,7 @@
 402 reg_genmove black
 #? [C1|C2|B1]
 
-# C1 and C2 both secure seki, but C1 is one prisoner better.
+# C1 and C2 both secure seki in sente, but C1 is one prisoner better.
 # B2 leaves white the option to make ko.
 play white B1
 403 reg_genmove black
@@ -285,13 +285,18 @@
 undo
 undo
 undo
+
+# D1 and A2 also give seki but are one point worse.
 play black C2
 411 reg_genmove white
 #? [C1]
 
+# D1 and A2 are miai to get seki. Black can also opt for a difficult
+# ko by playing B2, but this is usually not a good idea. Tenuki
+# suffices for seki and leaves a big mutual ko threat.
 play white C1
 412 reg_genmove black
-#? [D1]
+#? [D1|A2|C9]
 
 play black D1
 413 reg_genmove white
Index: regression/trevor.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/trevor.tst,v
retrieving revision 1.84
diff -u -r1.84 trevor.tst
--- regression/trevor.tst       11 Sep 2004 18:55:12 -0000      1.84
+++ regression/trevor.tst       29 Sep 2004 03:51:20 -0000
@@ -146,12 +146,12 @@
 15 reg_genmove white
 #? [E7]
 
-# C1 looks best here.  A7 very unorthodox, and at least
-# worse for ko threats.
+# C1 looks best here. A7 very unorthodox, and at least worse for ko
+# threats. Since the lower left is the focus of the next test, this
+# test is restricted to the upper left corner.
 loadsgf games/trevor/trevor_16.sgf 53
-160 reg_genmove black
-#? [!A7]
-
+160 restricted_genmove black A7 A8 A9 B8 B9 C7 C8 C9 D8
+#? [B8|C8]
 
 # Protecting lower left group better.
 loadsgf games/trevor/trevor_16.sgf 54
Index: regression/trevorc.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/trevorc.tst,v
retrieving revision 1.66
diff -u -r1.66 trevorc.tst
--- regression/trevorc.tst      8 Jun 2004 13:27:24 -0000       1.66
+++ regression/trevorc.tst      29 Sep 2004 03:51:20 -0000
@@ -489,12 +489,12 @@
 870 reg_genmove white
 #? [E4|F5]
 
-
+# See also reading:202.
 loadsgf games/trevor/auto/c51.sgf 82
 880 reg_genmove white
 #? [J10]
 
-
+# See also reading:202.
 loadsgf games/trevor/auto/c51.sgf 84
 890 reg_genmove white
 #? [J10]
Index: regression/games/owl51.sgf
===================================================================
RCS file: regression/games/owl51.sgf
diff -N regression/games/owl51.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/owl51.sgf  29 Sep 2004 03:51:27 -0000
@@ -0,0 +1,25 @@
+(;GM[1]FF[4]
+SZ[19]
+GN[GNU Go 3.5.8 load and print]
+DT[2004-08-04]
+KM[4.5]RU[Japanese]AP[GNU Go:3.5.8]AW[aa][ba][da][ea][fa][ia]
+[ka][la][ma][na][cb][db][fb][gb][jb][lb][mb][ac][bc][lc][mc][nc]
+[gd][hd][id][jd][ld][md][fe][ge][ke][le][se][af][df][ef][hf][jf]
+[kf][sf][bg][dg][eg][fg][gg][hg][kg][og][pg][qg][rg][sg][ah][ch]
+[eh][kh][nh][ph][sh][bi][ci][fi][ki][ni][pi][qi][si][aj][bj][ej]
+[fj][hj][jj][lj][nj][oj][pj][bk][dk][hk][ik][lk][nk][pk][bl][dl]
+[el][il][jl][ml][nl][pl][cm][dm][im][km][lm][mm][fn][gn][hn][in]
+[nn][on][sn][co][do][fo][ho][lo][mo][oo][po][qo][ro][so][dp][ep]
+[fp][hp][ip][lp][pp][rp][sp][cq][gq][hq][iq][jq][mq][sq][cr][er]
+[fr][hr][ir][mr][sr][ds][is][js]
+AB[ha][oa][eb][hb][kb][nb][ob][dc][ec][fc][gc][hc][ic][jc][kc]
+[oc][ad][bd][cd][ed][fd][kd][nd][pd][qd][sd][be][de][ee][he][ie]
+[je][me][ne][oe][re][bf][cf][if][lf][mf][of][pf][qf][cg][ig][lg]
+[ng][dh][fh][gh][hh][lh][mh][qh][rh][di][ei][gi][ii][ji][li][mi]
+[ri][cj][gj][ij][mj][qj][rj][sj][ak][fk][gk][mk][ok][qk][al][cl]
+[fl][hl][ol][ql][sl][am][bm][em][fm][gm][hm][jm][nm][om][pm][qm]
+[sm][an][bn][cn][dn][en][jn][kn][qn][rn][bo][eo][io][jo][ko][no]
+[bp][cp][jp][kp][mp][np][op][qp][bq][eq][fq][kq][lq][oq][pq][qq]
+[rq][br][gr][jr][kr][pr][rr][bs][cs][ks][ls][ms][os][qs][rs][ss]
+PL[W]
+)
Index: regression/games/gunnar/gunnar13.sgf
===================================================================
RCS file: regression/games/gunnar/gunnar13.sgf
diff -N regression/games/gunnar/gunnar13.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/gunnar/gunnar13.sgf        29 Sep 2004 03:51:27 -0000
@@ -0,0 +1,23 @@
+(;GM[1]FF[4]
+SZ[19]
+GN[GNU Go 3.5.8 load and print]
+DT[2004-08-02]
+KM[3.5]RU[Japanese]AP[GNU Go:3.5.8]AW[ga][na][oa][pa][qa][ra]
+[ab][fb][gb][lb][mb][rb][gc][hc][mc][cd][dd][ed][fd][hd][id][jd]
+[kd][ld][qd][be][ce][ee][je][ke][oe][pe][qe][cf][ef][hf][if][kf]
+[lf][pf][dg][eg][fg][pg][qg][rg][dh][fh][kh][lh][mh][oh][ph][sh]
+[di][ei][fi][gi][hi][ii][ji][ki][mi][qi][ri][fj][hj][lj][mj][nj]
+[qj][sj][ak][ck][fk][gk][jk][mk][pk][qk][rk][al][bl][cl][fl][hl]
+[il][jl][cm][dm][fm][im][mm][en][hn][jn][ln][mn][do][io][jo][ko]
+[dp][fp][kp][cq][fq][gq][jq][kq][mq][cr][dr][er][fr][gr][hr][ir]
+[es]
+AB[ca][ea][fa][bb][db][eb][nb][ob][qb][sb][ac][cc][dc][ec][fc]
+[lc][nc][pc][qc][rc][bd][gd][md][nd][od][pd][rd][ae][fe][ge][he]
+[ie][le][ne][re][bf][df][ff][gf][jf][mf][nf][of][qf][rf][sf][cg]
+[gg][hg][jg][kg][lg][mg][og][sg][bh][ch][gh][hh][ih][jh][nh][ci]
+[ni][oi][pi][aj][bj][cj][dj][ej][ij][jj][kj][oj][bk][hk][ik][kk]
+[lk][nk][ok][sk][dl][el][gl][kl][ll][ml][ol][pl][ql][rl][sl][em]
+[jm][km][kn][fo][lo][ep][gp][hp][jp][lp][qp][dq][eq][hq][iq][lq]
+[nq][oq][jr][kr][mr][fs][gs][hs][is][js][ks]
+PL[W]
+)




reply via email to

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