gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Patch: removal of value()s from patterns.db


From: Inge Wallin
Subject: [gnugo-devel] Patch: removal of value()s from patterns.db
Date: Sat, 26 Oct 2002 00:39:01 +0200 (MEST)

When I was working on the strategic bonus, I got a FAIL that was due
to an explicit pattern setting a value for a move to 30.  I think it
was ED45.  Removing this value, fixed the FAIL. 

When thinking of it some more, I decided that explicit values of this
size were bad, so I wanted to see what happened if I removed all
explicit values, 10 and above.

Well, the result was much smaller than I expected: 1 PASS and 1 FAIL:

./regress.sh . trevora.tst 
470 unexpected PASS!
./regress.sh . strategy2.tst 
79 unexpected FAIL: Correct 'N3', got 'Q6'

Looking at strategy2:79, I don't think I agree that Q6 is the only
viable move.

I didn't touch the high handicap patterns, nor the reinforcement
patterns, only the ordinary patterns.  I think the reason for the
small regression delta is that these patterns are simply rests from
the old engine, and that we have much better machinery for deciding
values of moves today.

   -Inge


diff -ur gnugo-3.3.9/patterns/patterns.db gnugo-3.3.9.iw2/patterns/patterns.db
--- gnugo-3.3.9/patterns/patterns.db    Mon Oct 14 09:06:12 2002
+++ gnugo-3.3.9.iw2/patterns/patterns.db        Sun Oct 20 11:54:07 2002
@@ -2222,7 +2222,7 @@
 ...
 ---
 
-:|,XC,value(20)
+:|,XC
 
 ?X?
 OXO
@@ -2241,7 +2241,7 @@
 .....
 -----
 
-:8,OXead,value(15)
+:8,OXead
 
 ..xxx
 .O.Xx
@@ -4313,7 +4313,7 @@
 ....
 ----
 
-:8,XEd,value(30)
+:8,XEd
 
 ..O?
 ..OX
@@ -5324,7 +5324,7 @@
 ......
 ------
 
-:8,d,value(10)
+:8,d
 
 ?O??X.
 *AOOa.
@@ -5345,7 +5345,7 @@
 ......
 ------
 
-:8,d,value(10)
+:8,d
 
 ?O??X.
 OAOOa.
@@ -5504,7 +5504,7 @@
 ......
 ------
 
-:8,Ed,shape(3),value(12)
+:8,Ed,shape(3)
 
 XX...x
 A.O*.x
@@ -5809,7 +5809,7 @@
 ....?
 -----
 
-:8,OXeECad,value(25)
+:8,OXeECad
 
 
 Pattern EB1203
@@ -5821,7 +5821,7 @@
 .....
 -----
 
-:8,OXeECad,value(25)
+:8,OXeECad
 
 
 ##################
@@ -5953,7 +5953,7 @@
 ....o
 -----
 
-:8,OXead,value(20)
+:8,OXead
 
 ?.cX?
 .bXOO
@@ -5972,7 +5972,7 @@
 ....o
 -----
 
-:8,OXead,value(20)
+:8,OXead
 
 
 #################
@@ -6059,7 +6059,7 @@
 ?XO*o
 -----
 
-:8,Xe,value(12)
+:8,Xe
 
 ?oB??
 ecBa?
@@ -9604,7 +9604,7 @@
 ?.....
 ------
 
-:8,OXead,value(30)
+:8,OXead
 
 ?XX...
 OOaO*.
@@ -9625,7 +9625,7 @@
 .....
 -----
 
-:8,OXead,value(20)
+:8,OXead
 
 
 Pattern ED47
@@ -9703,7 +9703,7 @@
 .....
 -----
 
-:8,eBad,value(20)
+:8,eBad
 
 
 Pattern ED51
@@ -9730,7 +9730,7 @@
 ......
 ------
 
-:8,OXad,value(20)
+:8,OXad
 
 
 Pattern ED53
@@ -9741,7 +9741,7 @@
 ?.....
 ------
 
-:8,OXead,value(25)
+:8,OXead
 
 ?OO...
 EE*D..
@@ -9760,7 +9760,7 @@
 ?.....
 ------
 
-:8,sOXBad,value(30)
+:8,sOXBad
 
 ?OO...
 AAOB..
@@ -9779,7 +9779,7 @@
 ?.....
 ------
 
-:8,ad,value(30)
+:8,ad
 
 ?OO...
 XXOB..
@@ -9829,7 +9829,7 @@
 .....
 -----
 
-:8,Xad,value(15)
+:8,Xad
 
 ??X??
 ?CXO?
@@ -9961,7 +9961,7 @@
 xxx..
 -----
 
-:8,OXad,value(15)
+:8,OXad
 
 
 Pattern ED66
@@ -10823,7 +10823,7 @@
 OXO.?
 ?O???
 
-:8,O,value(20)
+:8,O
 
 ?xxxx
 ?xxxx
@@ -10977,7 +10977,7 @@
 X.X.
 ...O
 
-:8,XBad,shape(10),value(10)
+:8,XBad,shape(10)
 
 ?OF.
 ?*be
@@ -11792,7 +11792,7 @@
 ........
 --------
 
-:8,-,value(22)
+:8,-
 
 
 Pattern EJ37
@@ -11816,7 +11816,7 @@
 ......
 ------
 
-:8,-,value(30)
+:8,-
 
 ?.XX.O
 .O.O*.
@@ -13379,7 +13379,7 @@
 .*o
 OX?
 
-:8,OX,value(12)
+:8,OX
 
 .a.
 b*o
@@ -13483,7 +13483,7 @@
 ....
 ----
 
-:8,OX,value(10)
+:8,OX
 
 ?O.a
 X*..
@@ -13502,7 +13502,7 @@
 |....
 +----
 
-:8,OX,value(15)
+:8,OX
 
 |??o?
 |..aO




reply via email to

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