gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] regression patch


From: Gunnar Farnebäck
Subject: [gnugo-devel] regression patch
Date: Sat, 13 Nov 2004 06:18:28 +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)

New and revised regression tests.

/Gunnar

Index: regression/gunnar.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/gunnar.tst,v
retrieving revision 1.41
diff -u -r1.41 gunnar.tst
--- regression/gunnar.tst       13 Oct 2004 14:42:30 -0000      1.41
+++ regression/gunnar.tst       13 Nov 2004 05:14:05 -0000
@@ -304,6 +304,24 @@
 54 restricted_genmove white J4 F6 D9
 #? [D9]
 
+# White must find a ko threat. In the choice between C13 and D13, the
+# former has absolutely no followup potential and in this case also
+# happens to lose a point right out.
+#
+# Notice that C1 must be included among the considered moves to
+# provoke generation of ko threats in the first place.
+loadsgf games/gunnar/gunnar14.sgf
+play black B1
+55 restricted_genmove white C13 D13 C1
+#? [D13]
+
+# White must find a ko threat. A11 is neither a ko threat, nor worth a
+# point.
+loadsgf games/gunnar/gunnar15.sgf
+play black R1
+56 reg_genmove white
+#? [P18|E15|O12|N11|T12|T10|S7|T5]
+
 ############ End of Tests #################
 
 # Report number of nodes visited by the tactical reading
Index: regression/kgs.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/kgs.tst,v
retrieving revision 1.12
diff -u -r1.12 kgs.tst
--- regression/kgs.tst  10 Nov 2004 00:54:15 -0000      1.12
+++ regression/kgs.tst  13 Nov 2004 05:14:05 -0000
@@ -265,5 +265,5 @@
 # A classic, should be attempted.
 loadsgf games/kgs/20040525-fanfan-GnuGoBot.sgf 126
 560 reg_genmove black
-#? [B2]
+#? [B1]
 
Index: regression/ld_owl.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/ld_owl.tst,v
retrieving revision 1.41
diff -u -r1.41 ld_owl.tst
--- regression/ld_owl.tst       10 Nov 2004 02:52:47 -0000      1.41
+++ regression/ld_owl.tst       13 Nov 2004 05:14:05 -0000
@@ -378,6 +378,15 @@
 316 owl_defend Q17
 #? [1 T16]
 
+loadsgf games/life_and_death/mixed2.sgf
+317 owl_attack C13
+#? [1 E13]
+318 owl_attack L12
+#? [1 L10]
+319 owl_defend C3
+#? [3 D2]
+320 owl_attack L5
+#? [3 M5]
 
 # tough under the stones problem from Sensei's Library
 loadsgf games/owl47.sgf 5
Index: regression/olympiad2004.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/olympiad2004.tst,v
retrieving revision 1.3
diff -u -r1.3 olympiad2004.tst
--- regression/olympiad2004.tst 13 Oct 2004 14:42:30 -0000      1.3
+++ regression/olympiad2004.tst 13 Nov 2004 05:14:05 -0000
@@ -249,9 +249,10 @@
 501 reg_genmove black
 #? [F3]
 
-# Hane at A6 leads nowhere. The clamp at B5
+# Hane at A6 leads nowhere. The clamp at B5 has more potential.
+# The cut at C6 is captured right out in a ladder.
 loadsgf games/olympiad2004/9x9/gnu-mag.sgf 25
-502 restricted_genmove black A6 B5
+502 restricted_genmove black A6 B5 C6
 #? [B5]
 
 # Wrong atari. F6 is better than E7.
@@ -260,16 +261,16 @@
 #? [F6]
 
 # F6 really bad shape.
-loadsgf games/olympiad2004/9x9/gnu-mag.sgf 11
+loadsgf games/olympiad2004/9x9/gnu-dbg.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
+loadsgf games/olympiad2004/9x9/gnu-dbg.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
+loadsgf games/olympiad2004/9x9/gnu-dbg.sgf 63
 603 reg_genmove black
 #? [A1]
Index: regression/owl1.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl1.tst,v
retrieving revision 1.97
diff -u -r1.97 owl1.tst
--- regression/owl1.tst 13 Oct 2004 14:42:30 -0000      1.97
+++ regression/owl1.tst 13 Nov 2004 05:14:05 -0000
@@ -366,6 +366,20 @@
 350 owl_defend F11
 #? [0]
 
+# The problem is that the G19 string is not considered as part of an
+# eyespace but as a string that can be tactically defended at F18.
+# Unfortunately white F18 gives black a seki.
+loadsgf games/scoring/score11.sgf
+play white C15
+play white A13
+play white E14
+351 owl_attack E16
+#? [1 (PASS|E11|F19|G18)]
+
+loadsgf games/scoring/score14.sgf
+352 owl_attack B19
+#? [0]
+
 ########### end of tests #####################
 
 # Report number of nodes visited by the tactical reading
Index: regression/score.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/score.tst,v
retrieving revision 1.5
diff -u -r1.5 score.tst
--- regression/score.tst        26 Oct 2004 17:23:07 -0000      1.5
+++ regression/score.tst        13 Nov 2004 05:14:06 -0000
@@ -39,6 +39,7 @@
 10 final_score
 #? [W\+104.5]
 
+# See also owl1:351
 loadsgf games/scoring/score11.sgf
 11 final_score
 #? [W\+132.5]*
@@ -51,6 +52,7 @@
 13 final_score
 #? [W\+223.5]
 
+# See also owl1:352
 loadsgf games/scoring/score14.sgf
 14 final_score
 #? [W\+73.5]*
Index: regression/score2.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/score2.tst,v
retrieving revision 1.8
diff -u -r1.8 score2.tst
--- regression/score2.tst       26 Oct 2004 17:23:07 -0000      1.8
+++ regression/score2.tst       13 Nov 2004 05:14:06 -0000
@@ -26,9 +26,10 @@
 37 final_score
 #? [B\+3.5]
 
-loadsgf games/scoring/score38.sgf
-38 final_score
-#? [B\+8.5]*
+# The lower left corner is unsettled.
+# loadsgf games/scoring/score38.sgf
+# 38 final_score
+# #? [B\+8.5]*
 
 loadsgf games/scoring/score39.sgf
 39 final_score
@@ -50,9 +51,11 @@
 43 final_score
 #? [B\+29.5]*
 
-loadsgf games/scoring/score44.sgf
-44 final_score
-#? [B\+76.5]*
+# This is not a proper scoring problem at all, rather a full board
+# life and death problem.
+# loadsgf games/scoring/score44.sgf
+# 44 final_score
+# #? [B\+76.5]*
 
 loadsgf games/scoring/score45.sgf
 45 final_score
Index: regression/seki.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/seki.tst,v
retrieving revision 1.15
diff -u -r1.15 seki.tst
--- regression/seki.tst 13 Oct 2004 14:42:30 -0000      1.15
+++ regression/seki.tst 13 Nov 2004 05:14:06 -0000
@@ -59,9 +59,9 @@
 #? [C2|C1|B2|B1]
 
 play white C2
-# Only B1 avoids giving white a ko option.
+# Only B1 and A2 (oddly enough) avoids giving white a ko option.
 103 reg_genmove black
-#? [B1]
+#? [B1|A2]
 
 play black B1
 104 reg_genmove white
Index: regression/semeai.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/semeai.tst,v
retrieving revision 1.59
diff -u -r1.59 semeai.tst
--- regression/semeai.tst       11 Sep 2004 18:55:12 -0000      1.59
+++ regression/semeai.tst       13 Nov 2004 05:14:06 -0000
@@ -379,7 +379,7 @@
 
 loadsgf games/nngs/beedee-gnugo-3.5.3-200401140035.sgf 280
 99 analyze_semeai R13 Q13
-#? [1 0 (M12|K9|M6|L7|S17)]
+#? [1 0 (L12|K9|M6|L7|S17)]
 100 analyze_semeai Q13 R13
 #? [1 1 (P10|Q11|S10|T11)]
 
Index: regression/games/gunnar/gunnar14.sgf
===================================================================
RCS file: regression/games/gunnar/gunnar14.sgf
diff -N regression/games/gunnar/gunnar14.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/gunnar/gunnar14.sgf        13 Nov 2004 05:14:06 -0000
@@ -0,0 +1,24 @@
+(;GM[1]FF[4]
+SZ[19]
+GN[GNU Go 3.5.10 load and print]
+DT[2004-10-15]
+KM[-3.5]RU[Japanese]AP[GNU Go:3.5.10]AW[da][ka][pa][qa][bb][eb]
+[ib][jb][kb][ob][pb][ac][cc][dc][ec][fc][kc][lc][nc][oc][bd][cd]
+[fd][gd][hd][ld][nd][od][ce][ge][ie][ke][le][me][oe][pe][gf][hf]
+[if][lf][mf][hg][lg][ng][og][pg][bh][eh][fh][gh][ai][bi][ci][di]
+[ei][fi][ri][fj][kj][lj][sj][fk][gk][ok][rk][sk][el][il][jl][ll]
+[nl][ol][pl][ql][rl][em][fm][gm][hm][im][lm][mm][nm][dn][hn][jn]
+[kn][on][do][eo][go][jo][no][oo][po][qo][ro][so][cp][dp][gp][ip]
+[jp][kp][lp][np][pp][sp][bq][cq][gq][hq][jq][lq][oq][pq][qq][ar]
+[br][nr][as][cs]
+AB[ea][fa][ga][ha][ia][ja][ra][fb][hb][qb][rb][gc][hc][ic][jc]
+[pc][qc][ad][ed][id][jd][kd][pd][ae][be][de][fe][je][ne][qe][re]
+[af][cf][ef][jf][kf][nf][of][pf][qf][rf][sf][ag][bg][eg][fg][gg]
+[ig][jg][mg][qg][rg][ah][ch][dh][hh][jh][kh][lh][mh][rh][sh][gi]
+[hi][ki][mi][si][gj][ij][jj][oj][pj][qj][rj][hk][ik][jk][kk][lk]
+[mk][nk][qk][fl][gl][hl][kl][ml][jm][km][pm][en][fn][gn][mn][nn]
+[fo][ko][lo][mo][ep][fp][mp][qp][rp][dq][eq][fq][kq][mq][nq][rq]
+[sq][cr][dr][er][gr][hr][ir][jr][kr][lr][mr][or][pr][qr][sr][ds]
+[fs][gs][qs][ss]
+PL[B]
+)
Index: regression/games/gunnar/gunnar15.sgf
===================================================================
RCS file: regression/games/gunnar/gunnar15.sgf
diff -N regression/games/gunnar/gunnar15.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/gunnar/gunnar15.sgf        13 Nov 2004 ][cr][or]
+[rr][sr][cs][ds][ss]
+PL[B]IL[fj][gk]
+)
Index: regression/games/life_and_death/mixed2.sgf
===================================================================
RCS file: regression/games/life_and_death/mixed2.sgf
diff -N regression/games/life_and_death/mixed2.sgf
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ regression/games/life_and_death/mixed2.sgf  13 Nov 2004 05:14:06 -0000
@@ -0,0 +1,6 @@
+(;GM[1]FF[3]
+SZ[13]HA[0]KM[5.5]
+DT[2004-10-19]
+AW[ca][cb][db][gb][kb][lb][mb][cc][fc][gc][jc][cd][dd][ed][fd][jd][ld][lg][lh][ki][kj][ck][dk][ek][fk][kk][lk][bl][fl][ll][fm][lm]
+AB[ba][ga][bb][hb][ib][jb][bc][dc][ec][hc][ic][kc][bd][hd][id][be][ge][he][ie][le][bf][cf][df][ef][ff][gf][if][jf][kf][lf][mf][kg][jh][kh][ji][bj][cj][dj][ej][fj][gj][jj][mj][bk][gk][jk][al][gl][jl][kl][gm][km]
+)




reply via email to

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