gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] two tuning exercises


From: Gunnar Farneback
Subject: [gnugo-devel] two tuning exercises
Date: Tue, 09 Oct 2001 19:56:28 +0200
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)

Appended is a patch which adds and revises some test cases. Two of the
new test cases, from an NNGS game, may serve as good exercises in
tuning.

1. owl:226, an owl reading mistake which should be possible to fix by
adding one or a few owl patterns. Not a trivial exercise but still
limited in scope.

2. strategy4:186, it's urgent to save the dragon in the center, but
instead GNU Go 3.1.9 does something else. Solving this is a question
of identifying and revising a faulty pattern in patterns.db. Trivial
if you're familiar with the engine's workings. If you're not, tracking
this down may be a good way to learn your way around.

To give people some time to try their hands on these I won't fix them
until next week, but I hope someone beats me to it.

I've added the patch to CVS.

/Gunnar

Index: ego.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/ego.tst,v
retrieving revision 1.8
diff -u -r1.8 ego.tst
--- ego.tst     2001/10/05 20:03:59     1.8
+++ ego.tst     2001/10/09 17:34:58
@@ -29,7 +29,7 @@
 # E18 and gives black an endgame sente move at H19.
 loadsgf games/ego.sgf 54
 4 gg_genmove white
-#? [!G19]*
+#? [!(G19|H19|K17)]*
 
 # D7 is a good move.
 loadsgf games/ego.sgf 68
Index: filllib.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/filllib.tst,v
retrieving revision 1.8
diff -u -r1.8 filllib.tst
--- filllib.tst 2001/10/01 03:49:08     1.8
+++ filllib.tst 2001/10/09 17:34:58
@@ -14,7 +14,7 @@
 3 gg_genmove white
 #? [B15|A15|A17]
 4 gg_genmove black
-#? [B19]
+#? [B19|A17]
 
 # incident 216
 loadsgf games/incident211.sgf 64
Index: owl.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/owl.tst,v
retrieving revision 1.11
diff -u -r1.11 owl.tst
--- owl.tst     2001/10/08 02:32:21     1.11
+++ owl.tst     2001/10/09 17:34:58
@@ -816,6 +816,18 @@
 223 owl_defend R17
 #? [3 S16]
 
+loadsgf games/ego.sgf 198
+224 owl_attack T17
+#? [2 T18]*
+
+loadsgf games/ego.sgf 198
+225 owl_defend T17
+#? [3 Q19|S16]*
+
+loadsgf games/owl29.sgf 132
+226 owl_attack J10
+#? [1 O8]*
+
 ########### end of tests #####################
 
 
Index: strategy4.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/strategy4.tst,v
retrieving revision 1.7
diff -u -r1.7 strategy4.tst
--- strategy4.tst       2001/10/08 02:32:21     1.7
+++ strategy4.tst       2001/10/09 17:34:58
@@ -174,6 +174,11 @@
 185 gg_genmove black
 #? [E7]
 
+# O8 only move.
+loadsgf games/owl29.sgf 134
+186 gg_genmove white
+#? [1 O8]*
+
 ############ End of Tests #################
 
 # Report number of nodes visited by the tactical reading
Index: games/owl29.sgf
===================================================================
RCS file: owl29.sgf
diff -N owl29.sgf
--- /dev/null   Sat Apr 14 20:46:23 2001
+++ owl29.sgf   Tue Oct  9 13:34:58 2001
@@ -0,0 +1,46 @@
+(;GM[1]FF[4]
+SZ[19]HA[0]KM[0.5]
+PW[GnuGo (GNU Go 3.1.8)]WR[14k*]
+PB[lauri]BR[20k]
+PC[NNGS]DT[2001-10-08]AP[gnugoclient:2.0]
+RE[B+15.5]
+;B[pp];W[qd];B[cp];W[ep];B[dn];W[cq];B[dd];W[bp];B[co];W[dq];B[bo]
+;W[cf];B[dj];W[qn];B[np];W[od];B[md];W[iq];B[pl];W[lq];B[mr];W[fc]
+;B[cc];W[ic];B[kc];W[qj];B[on];W[qg];B[ef];W[bd];B[ce];W[be];B[cg]
+;W[bg];B[df];W[go];B[fm];W[io];B[ie];W[jd];B[ke];W[kd];B[ld];W[rl]
+;B[ro];W[qo];B[qp];W[mq];B[nq];W[lr];B[ns];W[nc];B[bf];W[lb];B[gd]
+;W[gc];B[ik];W[hl];B[gk];W[lc];B[lf];W[bq];B[hn];W[rn];B[sp];W[gn]
+;B[gm];W[hm];B[in];W[jn];B[im];W[il];B[jm];W[jl];B[kn];W[kk];B[ji]
+;W[hk];B[hj];W[gj];B[fj];W[ij];B[gi];W[lm];B[ln];W[mk];B[ii];W[jj]
+;B[kj];W[jk];B[mi];W[je];B[jf];W[jo];B[km];W[lj];B[li];W[ki];B[kh]
+;W[ll];B[lp];W[nm];B[om];W[mn];B[mo];W[db];B[cb];W[ec];B[kq];W[kr]
+;B[jp];W[ho];B[of];W[og];B[ng];W[pf];B[oh];W[qi];B[id];W[jc];B[oe]
+;W[ko];B[lo];W[kp];B[nn];W[mm];B[mj];W[ca];B[ba];W[da];B[bc];W[oj]
+;B[nk];W[nj];B[nl];W[ph];B[ml];W[nh];B[pg];W[ao];B[an];W[ap];B[bm]
+;W[og];B[eb];W[dc];B[cd];W[mg];B[lg];W[ne];B[pg];W[nf];B[mh];W[og]
+;B[hc];W[hb];B[ib];W[hd];B[he];W[fd];B[fe];W[ge];B[gf];W[me];B[le]
+;W[ee];B[gd];W[ni];B[lh];W[ge];B[ff];W[ed];B[gd];W[ok];B[ol];W[hc]
+;B[fo];W[fp];B[fn];W[mc];B[mf];W[po];B[oo];W[eo];B[ng];W[pe];B[qk]
+;W[rk];B[sn];W[pk];B[rm];W[qm];B[ql];W[sm];B[qc];W[pb];B[qb];W[rc]
+;B[sc];W[rd];B[rb];W[sb];B[sa];W[qa];B[ob];W[pc];B[en];W[ls];B[ms]
+;W[so];B[rp];W[sn];B[mp];W[mg];B[ge];W[ng];B[dp];W[nd];B[do];W[de]
+;B[cf];W[pm];B[pn];W[]
+C[final_score: B+15.5
+T19 removed
+E18 removed
+J18 removed
+P18 removed
+R18 removed
+L17 removed
+T17 removed
+B16 removed
+B13 removed
+P12 removed
+L11 removed
+J10 removed
+M10 removed
+N9 removed
+M8 removed
+K4 removed
+L3 removed]
+)



reply via email to

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