gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] new and revised regressions


From: Gunnar Farnebäck
Subject: [gnugo-devel] new and revised regressions
Date: Sat, 27 Nov 2004 05:09:56 +0100
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)

Some new test cases and a few revisions of old ones. I'm open for
suggestions of changes to the nngs3:1090 revision.

/Gunnar

Index: regression/atari_atari.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/atari_atari.tst,v
retrieving revision 1.46
diff -u -r1.46 atari_atari.tst
--- regression/atari_atari.tst  8 Jun 2004 13:27:14 -0000       1.46
+++ regression/atari_atari.tst  27 Nov 2004 03:59:02 -0000
@@ -119,3 +119,8 @@
 play white H5
 27 combination_attack black
 #? [0]*
+
+# See also nngs:1060. Black has no combination attack at R3.
+loadsgf games/nngs/gnugo-3.1.18-goku-200201042350.sgf 52
+28 combination_attack black
+#? [0]
Index: regression/auto_handtalk.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/auto_handtalk.tst,v
retrieving revision 1.11
diff -u -r1.11 auto_handtalk.tst
--- regression/auto_handtalk.tst        20 Nov 2004 13:20:03 -0000      1.11
+++ regression/auto_handtalk.tst        27 Nov 2004 03:59:02 -0000
@@ -4,11 +4,11 @@
 #? [2 T15]
 
 loadsgf games/handtalk/handtalk2.sgf 35
-4 owl_defend r8
+4 owl_defend R8
 #? [1 P10]*
 
 loadsgf games/handtalk/handtalk2.sgf 70
-5 owl_defend p18
+5 owl_defend P18
 #? [2 (S18|O17|N18)]*
 
 # O18 might work, but I don't think so. /ab
@@ -23,13 +23,13 @@
 #? [1 1 (N18|O17|S15)]*
 
 loadsgf games/handtalk/handtalk2.sgf 134
-9 owl_attack r8
+9 owl_attack R8
 #? [1 (T6|T7)]
 
 loadsgf games/handtalk/handtalk2.sgf 136
-10 owl_defend q4
+10 owl_defend Q4
 #? [0]
 
 #loadsgf games/handtalk/handtalk2.sgf 160
-#11 owl_defend g15
+#11 owl_defend G15
 ##? [1 E13]*
Index: regression/connection.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/connection.tst,v
retrieving revision 1.78
diff -u -r1.78 connection.tst
--- regression/connection.tst   11 Sep 2004 18:55:12 -0000      1.78
+++ regression/connection.tst   27 Nov 2004 03:59:02 -0000
@@ -411,6 +411,10 @@
 #? [1 B15]*
 popgo
 
+loadsgf games/gunnar/gunnar9.sgf 4
+115 disconnect D10 J7
+#? [1 H7]
+
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
 #? [0]&
Index: regression/gunnar.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/gunnar.tst,v
retrieving revision 1.43
diff -u -r1.43 gunnar.tst
--- regression/gunnar.tst       20 Nov 2004 13:20:03 -0000      1.43
+++ regression/gunnar.tst       27 Nov 2004 03:59:02 -0000
@@ -157,7 +157,7 @@
 
 # H5 is the only move. H11 can connect to either of two invincible
 # dragons and is therefore not weak at all.
-loadsgf games/gunnar/gunnar9.sgf
+loadsgf games/gunnar/gunnar9.sgf 1
 29 reg_genmove white
 #? [H5]*
 
@@ -322,6 +322,22 @@
 56 reg_genmove white
 #? [P18|E15|O12|N11|T12|T10|S7|T5]*
 
+# No territory to contest around J12. Connect ko at Q19 instead.
+loadsgf games/gunnar/gunnar16.sgf
+57 restricted_genmove black J13 J12 H11 J11 K11 Q19
+#? [Q19]
+
+# No territory to contest around J15. E12 worth one point.
+loadsgf games/gunnar/gunnar17.sgf
+58 reg_genmove black
+#? [E12]
+
+# Do not defend against combination attack inside potential territory
+# unless we have to.
+loadsgf games/gunnar/gunnar18.sgf
+59 reg_genmove black
+#? [P13]
+
 ############ End of Tests #################
 
 # Report number of nodes visited by the tactical reading
Index: regression/ld_owl.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/ld_owl.tst,v
retrieving revision 1.43
diff -u -r1.43 ld_owl.tst
--- regression/ld_owl.tst       20 Nov 2004 13:20:03 -0000      1.43
+++ regression/ld_owl.tst       27 Nov 2004 03:59:02 -0000
@@ -388,6 +388,14 @@
 320 owl_attack L5
 #? [3 M5]
 
+loadsgf games/life_and_death/mixed3.sgf
+321 owl_attack D11
+#? [2 B12]
+322 owl_attack K13
+#? [1 (N11|N13|PASS)]
+323 owl_defend K13
+#? [0]
+
 # tough under the stones problem from Sensei's Library
 loadsgf games/owl47.sgf 5
 404 owl_attack Q4
Index: regression/nngs.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/nngs.tst,v
retrieving revision 1.75
diff -u -r1.75 nngs.tst
--- regression/nngs.tst 20 Nov 2004 13:20:03 -0000      1.75
+++ regression/nngs.tst 27 Nov 2004 03:59:02 -0000
@@ -485,6 +485,7 @@
 #? [J10|H10|G10|F10]*
 
 
+# See also atari_atari:28.
 loadsgf games/nngs/gnugo-3.1.18-goku-200201042350.sgf 52
 1060 reg_genmove white
 #? [H3|F3]
Index: regression/nngs3.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/nngs3.tst,v
retrieving revision 1.63
diff -u -r1.63 nngs3.tst
--- regression/nngs3.tst        20 Nov 2004 13:20:03 -0000      1.63
+++ regression/nngs3.tst        27 Nov 2004 03:59:02 -0000
@@ -513,9 +513,15 @@
 #? [!H7]
 
 
+# White must defend against a combination attack. M8 works but is only
+# a temporary measure until the M6 liberty is filled. Otherwise there
+# are a number of effective moves which only differ with respect to
+# the number and size of ko threats left behind.
+# R7 looks like the most solid alternative, with N9 as second choice.
+# We may want to add more moves as acceptable.
 loadsgf games/nngs/gnugo-3.2-merlin-200205071828.sgf 224
 1090 reg_genmove white
-#? [!S6]*
+#? [R7|N9|M8]*
 
 
 # Moved to filllib:41.
Index: regression/owl1.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl1.tst,v
retrieving revision 1.99
diff -u -r1.99 owl1.tst
--- regression/owl1.tst 20 Nov 2004 13:20:03 -0000      1.99
+++ regression/owl1.tst 27 Nov 2004 03:59:02 -0000
@@ -380,6 +380,10 @@
 352 owl_attack B19
 #? [0]*
 
+loadsgf games/owl53.sgf
+353 owl_attack G6
+#? [0]
+
 ########### end of tests #####################
 
 # Report number of nodes visited by the tactical reading
Index: regression/reading.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/reading.tst,v
retrieving revision 1.78
diff -u -r1.78 reading.tst
--- regression/reading.tst      20 Nov 2004 13:20:03 -0000      1.78
+++ regression/reading.tst      27 Nov 2004 03:59:02 -0000
@@ -763,8 +763,8 @@
 183 defend C19
 #? [1 (A19|E11)]
 
-# Playing E11 immedidately gives bad ko. A18 obviously is totally
-# ineffective. Necessary to start at A16
+# Playing E11 immediately gives bad ko. A18 obviously is totally
+# ineffective. Necessary to start at A16.
 loadsgf games/reading41.sgf 130
 184 attack C19
 #? [2 A16]
@@ -859,6 +859,12 @@
 #? [2 F13]*
 popgo
 
+loadsgf games/reading46.sgf
+203 attack H9
+#? [1 E9]
+204 defend H9
+#? [1 (C6|E9|G9)]
+
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
 #? [0]&
Index: regression/semeai.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/semeai.tst,v
retrieving revision 1.61
diff -u -r1.61 semeai.tst
--- regression/semeai.tst       20 Nov 2004 13:20:03 -0000      1.61
+++ regression/semeai.tst       27 Nov 2004 03:59:03 -0000
@@ -416,9 +416,20 @@
 #? [1 0 PASS]*
 
 loadsgf games/kgs/yagr-nigiri.sgf 214
-117 analyze_semeai F19 F16
+116 analyze_semeai F19 F16
 #? [3 3 E16]*
 
+loadsgf games/semeai/semeai18.sgf
+117 analyze_semeai H3 H5
+#? [0 0 PASS]
+
+play white H2
+118 analyze_semeai H3 H5
+#? [1 0 (H1|G1)]
+
+# Black H1 doesn't work. White plays G1 and gets seki or ko.
+119 analyze_semeai H5 H3
+#? [1 1 G1]
 
 
 ########### semeai gen_move tests #################
Index: regression/strategy4.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/strategy4.tst,v
retrieving revision 1.81
diff -u -r1.81 strategy4.tst
--- regression/strategy4.tst    11 Sep 2004 18:55:12 -0000      1.81
+++ regression/strategy4.tst    27 Nov 2004 03:59:03 -0000
@@ -33,9 +33,14 @@
 156 reg_genmove black
 #? [B14|B16]
 
+# This problem is interesting. First there's a combination attack
+# at B16/B14/C18/B12. Second there's a combination breakin attack
+# G9+E9+F10 together with the cuts at B10,B12,B14.
+# The only moves defending against both combinations are B14, B13,
+# B12, A14, and A12.
 loadsgf games/ssstator.sgf 136
 157 reg_genmove white
-#? [B14|B16|C18]
+#? [B14|B13|B12|A14|A12]
 
 # E16 is completely aimless and ineffective.
 loadsgf games/strategy38.sgf 51
Index: regression/games/owl53.sgf
===================================================================
RCS file: regression/games/owl53.sgf
diff -N regression/games/owl53.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/owl53.sgf  27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,5 @@
+(;GM[1]FF[3]
+SZ[9]
+AW[ca][ea][fa][cb][db][fb][cc][ec][fc][cd][dd][hd][id][de][he][hf][ag][bg][dg][gg][hg][ah][ch][dh][gh][bi][ci][ei][fi][gi]
+AB[ba][ga][ia][bb][gb][hb][bc][hc][ic][ad][bd][gd][be][ee][fe][ge][af][bf][df][cg][eg][eh]
+)
Index: regression/games/reading46.sgf
===================================================================
RCS file: regression/games/reading46.sgf
diff -N regression/games/reading46.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/reading46.sgf      27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,10 @@
+(;GM[1]FF[3]
+RU[Japanese]SZ[9]HA[0]KM[5.5]
+PW[White]
+PB[Black]
+GN[White (W) vs. Black (B)]
+DT[2004-06-16]
+SY[Cgoban 1.9.14]TM[5:00:00(5x1:00)]
+AW[aa][ca][bb][cb][fb][ac][bc][ec][fc][gc][ic][ed][gd][hd][id][de][ee][df][cg][dg][ah][bh][ch]
+AB[fa][ha][ia][db][eb][gb][hb][cc][dc][ad][bd][dd][ae][ce][bf][cf][ag][bg]
+)
Index: regression/games/gunnar/gunnar16.sgf
===================================================================
RCS file: regression/games/gunnar/gunnar16.sgf
diff -N regression/games/gunnar/gunnar16.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/gunnar/gunnar16.sgf        27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,23 @@
+(;GM[1]FF[4]
+SZ[19]
+GN[GNU Go 3.7.1 load and print]
+DT[2004-11-25]
+KM[10.5]RU[Japanese]AP[GNU Go:3.7.1]AW[ga][na][ab][cb][db][lb]
+[mb][nb][ob][ac][bc][dc][ec][nc][ad][bd][dd][ed][fd][ld][md][nd]
+[od][be][ce][ie][le][oe][pe][se][af][ff][hf][if][kf][pf][rf][sf]
+[bg][dg][fg][hg][kg][pg][qg][ah][ch][dh][eh][fh][gh][hh][jh][kh]
+[lh][mh][nh][qh][rh][bi][fi][ki][ri][bj][dj][ej][kj][pj][qj][sj]
+[ak][ck][gk][ik][pk][rk][bl][cl][fl][gl][hl][il][jl][nl][ql][dm]
+[em][fm][im][jm][km][lm][nm][qm][rm][cn][en][kn][mn][qn][do][eo]
+[mo][ro][dp][kp][lp][mp][pp][qp][rp][cq][dq][eq][mq][qq][br][dr]
+[lr][rr][sr][cs][ds][es][fs]
+AB[aa][ba][ca][da][ea][fa][ka][la][ma][oa][qa][bb][eb][fb][kb]
+[pb][cc][fc][gc][kc][lc][mc][pc][qc][rc][gd][id][jd][kd][pd][sd]
+[ee][fe][he][je][qe][re][bf][cf][df][ef][gf][jf][nf][qf][cg][eg]
+[jg][mg][ng][og][rg][oh][ph][sh][ai][ci][gi][mi][ni][pi][qi][cj]
+[fj][gj][hj][ij][jj][lj][oj][ek][fk][hk][jk][kk][mk][nk][ok][dl]
+[el][kl][ll][ml][ol][pl][rl][gm][hm][om][fn][in][jn][on][fo][io]
+[ko][lo][po][qo][ep][fp][jp][op][fq][jq][kq][lq][oq][pq][rq][er]
+[fr][gr][mr][nr][pr][qr][bs][gs][rs]
+PL[B]
+)
Index: regression/games/gunnar/gunnar17.sgf
===================================================================
RCS file: regression/games/gunnar/gunnar17.sgf
diff -N regression/games/gunnar/gunnar17.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/gunnar/gunnar17.sgf        27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,22 @@
+(;GM[1]FF[4]
+SZ[19]
+GN[GNU Go 3.7.1 load and print]
+DT[2004-11-25]
+KM[5.5]RU[Japanese]AP[GNU Go:3.7.1]AW[pa][qa][ib][jb][pb][cc]
+[hc][kc][nc][oc][pc][qc][cd][ed][gd][hd][kd][ld][pd][ae][be][ce]
+[de][fe][ke][me][oe][af][cf][ff][lf][mf][nf][of][cg][ig][jg][og]
+[pg][ch][fh][gh][hh][jh][qh][ei][fi][ji][ki][qi][fj][lj][nj][bk]
+[ck][fk][jk][lk][mk][nk][ok][sk][al][cl][fl][gl][hl][kl][ml][rl]
+[sl][bm][em][gm][im][jm][mm][nm][pm][qm][bn][cn][dn][en][hn][nn]
+[qn][rn][co][fo][ho][io][jo][no][ro][bp][fp][hp][jp][qp][sp][iq]
+[jq][nq][qq][rq][nr][or][pr][sr][qs][rs]
+AB[ra][qb][rb][sb][ic][jc][rc][jd][md][nd][qd][he][je][pe][qe]
+[bf][df][ef][hf][jf][kf][pf][rf][ag][bg][dg][fg][gg][hg][kg][lg]
+[mg][ng][qg][rg][bh][dh][kh][mh][oh][ph][ai][ci][di][gi][li][mi]
+[ni][aj][bj][cj][ej][mj][oj][pj][qj][sj][ak][ek][qk][rk][dl][el]
+[ll][nl][ol][pl][dm][fm][km][lm][om][an][fn][gn][in][jn][kn][mn]
+[on][pn][ao][do][eo][go][ko][mo][oo][po][qo][ap][cp][dp][gp][kp]
+[mp][np][pp][bq][eq][gq][hq][kq][mq][oq][pq][gr][ir][jr][lr][mr]
+[ns][os]
+PL[W]
+)
Index: regression/games/gunnar/gunnar18.sgf
===================================================================
RCS file: regression/games/gunnar/gunnar18.sgf
diff -N regression/games/gunnar/gunnar18.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/gunnar/gunnar18.sgf        27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,21 @@
+(;GM[1]FF[4]
+SZ[19]
+GN[GNU Go 3.7.1 load and print]
+DT[2004-11-26]
+KM[6.5]RU[Japanese]AP[GNU Go:3.7.1]AW[ea][fa][ka][la][pa][qa]
+[fb][ib][kb][mb][pb][rb][fc][gc][jc][kc][qc][rc][gd][id][rd][fe]
+[he][pe][re][df][gf][if][jf][kf][lf][mf][pf][qf][lg][mg][pg][dh]
+[fh][ih][jh][kh][qh][gi][hi][ii][pi][ij][jj][oj][qj][ak][dk][fk]
+[hk][ik][jk][kk][mk][ok][al][bl][dl][el][fl][il][kl][ml][nl][bm]
+[cm][em][im][km][nm][fn][in][kn][ln][nn][bo][co][do][eo][fo][jo]
+[lo][mo][ro][ap][bp][dp][jp][kp][mp][np][op][pp][qp][rp][sp][bq]
+[dq][eq][lq][mq][oq][rq]
+AB[da][ma][na][oa][cb][eb][lb][ob][dc][ec][lc][mc][nc][pc][ed]
+[fd][jd][kd][pd][qd][ce][ee][le][me][oe][qe][ef][hf][nf][of][cg]
+[dg][fg][gg][hg][ig][jg][kg][ng][ch][eh][lh][mh][oh][ph][ei][ji]
+[ki][li][mi][oi][aj][bj][dj][ej][fj][gj][hj][kj][lj][mj][nj][bk]
+[ck][ek][gk][lk][nk][cl][gl][hl][ll][fm][gm][lm][mm][gn][jn][mn]
+[go][ho][io][cp][ep][fp][ip][aq][cq][fq][gq][jq][kq][nq][pq][qq]
+[sq][ar][br][cr][dr][er][lr][mr][nr][or][rr][sr]
+PL[B]
+)
Index: regression/games/gunnar/gunnar9.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/games/gunnar/gunnar9.sgf,v
retrieving revision 1.2
diff -u -r1.2 gunnar9.sgf
--- regression/games/gunnar/gunnar9.sgf 12 Jun 2003 11:23:46 -0000      1.2
+++ regression/games/gunnar/gunnar9.sgf 27 Nov 2004 03:59:03 -0000
@@ -19,4 +19,4 @@
 [ll][ml][pl][am][en][fn][in][jn][kn][do][fo][lo][oo][dp][fp][gp]
 [hp][ip][jp][kp][lp][rp][aq][cq][eq][gq][jq][oq][qq][rq][sq][ar]
 [br][cr][fr][or][pr][rr][fs][ns][os]
-PL[W])
+PL[W];W[ho];B[lm];W[ln])
Index: regression/games/life_and_death/mixed3.sgf
===================================================================
RCS file: regression/games/life_and_death/mixed3.sgf
diff -N regression/games/life_and_death/mixed3.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/life_and_death/mixed3.sgf  27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,6 @@
+(;GM[1]FF[3]
+SZ[13]HA[0]KM[5.5]
+DT[2004-10-19]
+AW[ca][ja][cb][jb][lb][dc][jc][kc][lc][ad][bd][cd][dd][ld][me][mf]
+AB[da][ia][ka][la][db][eb][ib][ec][ic][ed][id][jd][kd][md][ae][be][ce][de][ee][ke][le][kf][kg][lg][lh][mh]
+)
Index: regression/games/semeai/semeai18.sgf
===================================================================
RCS file: regression/games/semeai/semeai18.sgf
diff -N regression/games/semeai/semeai18.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/semeai/semeai18.sgf        27 Nov 2004 03:59:03 -0000
@@ -0,0 +1,4 @@
+(;GM[1]FF[4]SZ[9]
+AW[gd][hd][id][fe][ge][ff][dg][eg][fg][hg][dh][di]
+AB[he][ie][gf][hf][gg][eh][fh][gh][ei]
+)




reply via email to

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