gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Regression patch


From: Gunnar Farneback
Subject: [gnugo-devel] Regression patch
Date: Sat, 30 Nov 2002 18:10:54 +0100
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode)

Revised and new regression tests.

/Gunnar

Index: regression/connection.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/connection.tst,v
retrieving revision 1.46
diff -u -r1.46 connection.tst
--- regression/connection.tst   27 Nov 2002 21:43:07 -0000      1.46
+++ regression/connection.tst   30 Nov 2002 17:07:47 -0000
@@ -71,8 +71,7 @@
 18 same_dragon N17 P17
 #? [1]
 
-# FIXME: Strange test. Wrong move number?
-loadsgf games/dublin1.sgf 71
+loadsgf games/dublin1.sgf 72
 19 same_dragon B15 E16
 #? [0]*
 
@@ -198,7 +197,7 @@
 59 disconnect D18 E15
 #? [1 D15|F15|B15|D19|E19]
 60 connect D14 B18
-#? [1 D15|F15|B15|D19|E19]
+#? [1 D15|F15|B15|D19|E19|C13]
 61 connect O9 Q9
 #? [1 D15|F15|B15|D19|E19]*
 
@@ -325,6 +324,10 @@
 loadsgf games/nngs/gnugo-3.3.10-rcde05-200210280427.sgf 185
 98 disconnect N4 Q6
 #? [1 O5]
+
+loadsgf games/gunnar/gunnar3.sgf 74
+99 disconnect N3 P3
+#? [0]
 
 
 # Report number of nodes visited by the tactical reading
Index: regression/gunnar.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/gunnar.tst,v
retrieving revision 1.3
diff -u -r1.3 gunnar.tst
--- regression/gunnar.tst       17 Nov 2002 14:07:54 -0000      1.3
+++ regression/gunnar.tst       30 Nov 2002 17:07:47 -0000
@@ -11,8 +11,8 @@
 
 # D19 is locally worse than both E17 and E18.
 loadsgf games/nngs/gnugo-3.3.10-rcde05-200210280427.sgf 83
-2 gg_genmove white
-#? [!D19]
+2 restricted_genmove white D19 E18 E17
+#? [E17|E18]
 
 # Just connect at K17. Don't make it difficult.
 loadsgf games/nngs/gnugo-3.3.10-rcde05-200210280427.sgf 157
@@ -34,8 +34,74 @@
 
 # B17 is unreasonable. Locally E16 only move.
 loadsgf games/nngs/gnugo-3.3.11-ccwills-200211031528.sgf 35
-6 gg_genmove white
-#? [!B17]
+6 restricted_genmove white B17 E16
+#? [E16]
+
+# O14 adds nothing at all to the position.
+loadsgf games/nngs/niko-gnugo-3.3.11-200211201651.sgf 216
+7 gg_genmove black
+#? [!O14]
+
+# O13 is completely wasted.
+loadsgf games/nngs/niko-gnugo-3.3.11-200211201651.sgf 222
+8 gg_genmove black
+#? [!O13]
+
+# Critical to keep black split up.
+loadsgf games/gunnar/gunnar1.sgf 34
+9 gg_genmove white
+#? [F13]
+
+# Q15 was supposed to attack either Q14 and Q16 but obviously doesn't work.
+# R12 is probably better than R14 but both get the point.
+loadsgf games/gunnar/gunnar1.sgf 96
+10 gg_genmove white
+#? [R12|R14]
+
+# L8 doesn't suffice for local life.
+loadsgf games/gunnar/gunnar1.sgf 126
+11 gg_genmove white
+#? [K9]
+
+# C13 is nonsense. Just connect with B13.
+loadsgf games/gunnar/gunnar2.sgf 72
+12 gg_genmove white
+#? [B13]
+
+# Q5 is 3 points reverse sente. Q12 is of similar size. E4 is only one point 
reverse sente.
+loadsgf games/gunnar/gunnar2.sgf 164
+13 gg_genmove white
+#? [Q5|Q12]
+
+# Necessary to block at Q11. O13 is a rather bad idea.
+loadsgf games/gunnar/gunnar2.sgf 168
+14 gg_genmove white
+#? [Q11]
+
+# O6 is clearly locally better than P6.
+loadsgf games/gunnar/gunnar3.sgf 140
+15 restricted_genmove white O6 P6
+#? [O6]
+
+# T5 is huge. See next test case.
+loadsgf games/gunnar/gunnar3.sgf 190
+16 gg_genmove white
+#? [T5]
+
+# T6 allows a combination attack. Necessary to fall back.
+loadsgf games/gunnar/gunnar3.sgf 192
+17 gg_genmove white
+#? [S7]
+
+# Q15 is just swallowed.
+loadsgf games/gunnar/gunnar4.sgf 180
+18 restricted_genmove white P15 Q15
+#? [P15]
+
+# No reason to play ko with L3.
+loadsgf games/gunnar/gunnar4.sgf 198
+19 gg_genmove white
+#? [L4]
 
 ############ End of Tests #################
 
Index: regression/owl1.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl1.tst,v
retrieving revision 1.32
diff -u -r1.32 owl1.tst
--- regression/owl1.tst 16 Nov 2002 15:04:00 -0000      1.32
+++ regression/owl1.tst 30 Nov 2002 17:07:47 -0000
@@ -127,6 +127,10 @@
 291 owl_defend M19
 #? [2 O19]*
 
+loadsgf games/gunnar/gunnar3.sgf 88
+292 owl_defend T2
+#? [1 T4]
+
 ########### end of tests #####################
 
 # Report number of nodes visited by the tactical reading




reply via email to

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