gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] new testcase


From: Paul Pogonyshev
Subject: Re: [gnugo-devel] new testcase
Date: Sat, 19 Oct 2002 22:17:49 +0300

>>From a game last night, gnugo gets into a ko it shouldn't.

> loadsgf games/nngs/gnugo-3.3.9-RikiTiki-200210170706.sgf 230
> owl_defend D4
> #? [1 A1|B1|B3]

> The problem is that the owl code sees a defense at C4, which is actually
> only a defense in ko.

> Paul and I discussed this on nngs, and he is working on an eye pattern.

here is a patch which solves this test and has no impact on the rest
of the test suite (two patterns):

Index: gnugo/patterns/owl_vital_apats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/owl_vital_apats.db,v
retrieving revision 1.30
diff -u -r1.30 owl_vital_apats.db
--- gnugo/patterns/owl_vital_apats.db   11 Aug 2002 12:13:02 -0000      1.30
+++ gnugo/patterns/owl_vital_apats.db   18 Oct 2002 18:58:37 -0000
@@ -830,4 +830,16 @@
 ; lib(B) <= 2 && owl_eyespace(A)
 
 
+Pattern VA50
+# pp New pattern (3.3.10)
+
+|xx??
+|Ox??        try to kill with bent four in the corner
+|OXXx
+|X*.x
++----
+
+:8,s,value(45)
+
+
 # END OF FILE
Index: gnugo/patterns/eyes.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/eyes.db,v
retrieving revision 1.22
diff -u -r1.22 eyes.db
--- gnugo/patterns/eyes.db      16 Sep 2002 07:27:49 -0000      1.22
+++ gnugo/patterns/eyes.db      18 Oct 2002 18:58:46 -0000
@@ -2017,6 +2017,20 @@
 :1122
 
 
+Pattern 6004
+# Bent four in the corner. The attack depends on a ko and sufficiently
+# few outer liberties. Both dots are defense points, but the marked
+# one is clearly better.
+
+ .
+|X
+|X
+|.*X
++---
+
+:1122
+
+
 Pattern 6011
 
 xxxxxx





reply via email to

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