gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] new tests


From: Gunnar Farnebäck
Subject: [gnugo-devel] new tests
Date: Wed, 01 Dec 2004 05:46:23 +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)

Three new tests. The two reading tests are fairly similar and almost
certainly have the same solution. This is the position:

   A B C D E F G H J
 9 . . O . O . O . . 9
 8 . . O O O O O X . 8
 7 . . + O X X X O X 7
 6 . . X O X . X O . 6
 5 . O O X + X X O O 5
 4 O . O X . X . X O 4
 3 . O X X X X X X O 3
 2 . X X . . X O O . 2
 1 . X . . . X O . . 1
   A B C D E F G H J

GNU Go thinks that G2 can be captured at J2 and that B3 can be
captured in ko at A3. A likely solution is to revise
superstring_break_chain_moves() to also pick up moves attacking
strings with three liberties. This may be a good exercise for someone
who wants to get familiar with the tactical reading code. Just
remember that solving the testcases is only part of the problem, it
should also be done with minimal slowdown of the engine.

/Gunnar

Index: regression/ld_owl.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/ld_owl.tst,v
retrieving revision 1.44
diff -u -r1.44 ld_owl.tst
--- regression/ld_owl.tst       27 Nov 2004 18:45:11 -0000      1.44
+++ regression/ld_owl.tst       1 Dec 2004 04:27:26 -0000
@@ -395,6 +395,8 @@
 #? [1 (N11|N13|PASS)]
 323 owl_defend K13
 #? [0]
+324 owl_attack L4
+#? [1 N2]
 
 # tough under the stones problem from Sensei's Library
 loadsgf games/owl47.sgf 5
Index: regression/reading.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/reading.tst,v
retrieving revision 1.79
diff -u -r1.79 reading.tst
--- regression/reading.tst      27 Nov 2004 18:45:11 -0000      1.79
+++ regression/reading.tst      1 Dec 2004 04:27:26 -0000
@@ -865,6 +865,14 @@
 204 defend H9
 #? [1 (C6|E9|G9)]
 
+loadsgf games/reading47.sgf
+205 attack G2
+#? [0]
+
+loadsgf games/reading47.sgf
+206 attack B3
+#? [0]
+
 # Report number of nodes visited by the tactical reading
 10000 get_reading_node_counter
 #? [0]&
Index: regression/games/reading47.sgf
===================================================================
RCS file: regression/games/reading47.sgf
diff -N regression/games/reading47.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/reading47.sgf      1 Dec 2004 04:27:26 -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[ca][ea][ga][cb][db][eb][fb][gb][dc][hc][dd][hd][be][ce][he][ie][af][cf][if][bg][ig][gh][hh][gi]
+AB[hb][ec][fc][gc][ic][cd][ed][gd][de][fe][ge][df][ff][hf][cg][dg][eg][fg][gg][hg][bh][ch][fh][bi][fi]
+)
Index: regression/games/life_and_death/mixed3.sgf
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/games/life_and_death/mixed3.sgf,v
retrieving revision 1.1
diff -u -r1.1 mixed3.sgf
--- regression/games/life_and_death/mixed3.sgf  27 Nov 2004 18:45:11 -0000      
1.1
+++ regression/games/life_and_death/mixed3.sgf  1 Dec 2004 04:27:26 -0000
@@ -1,6 +1,7 @@
 (;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]
+AW[ca][ja][cb][jb][lb][dc][jc][kc][lc][ad][bd][cd][dd][ld][me][mf][li][kj][mj][kk][kl][ll][lm]
+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][kh][lh][mh][ji][ki][jj][jk][jl][km]
+;B[il]
 )




reply via email to

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