[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] Another tuning patch
From: |
Gunnar Farneback |
Subject: |
[gnugo-devel] Another tuning patch |
Date: |
Tue, 14 Jan 2003 21:20:29 +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) |
Some more tuning, regression delta:
atari_atari:19 PASS P9 [P9|Q7]
blunder:20 PASS P11 [P11]
nngs1:31 PASS N17 [N17]
nngs1:40 PASS R6 [R6]
golife:4 FAIL B4 [H5]
trevorb:620 PASS K9 [!J10]
nicklas1:1207 PASS C17 [C17]
trevorc:580 PASS J5 [J5]
strategy3:123 FAIL N3 [P4]
13x13:10 PASS C2 [C2]
trevord:340 PASS H10 [H10]
nngs4:90 PASS C11 [D12|C11|E14]
century2002:60 FAIL R18 [Q14]
- atari_atari tuning
- influence tuning
- tuning
- test revisions
/Gunnar
Index: patterns/aa_attackpats.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/aa_attackpats.db,v
retrieving revision 1.10
diff -u -r1.10 aa_attackpats.db
--- patterns/aa_attackpats.db 2 Jan 2003 00:23:29 -0000 1.10
+++ patterns/aa_attackpats.db 14 Jan 2003 20:12:00 -0000
@@ -240,7 +240,7 @@
Pattern A15
-#evand new pattern 3.3.13
+#evand new pattern (3.3.13)
?X?
X*.
@@ -271,5 +271,26 @@
--
;lib(A) == 3
+
+
+Pattern A17
+# gf New pattern. (3.3.16)
+
+?O??
+o*XX
+..xX
+...X
+----
+
+:8,-
+
+?O??
+o*AA
+..xA
+...A
+----
+
+;lib(A)==3 && olib(*)>=2
+
# END OF FILE
Index: patterns/barriers.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/barriers.db,v
retrieving revision 1.46
diff -u -r1.46 barriers.db
--- patterns/barriers.db 12 Jan 2003 15:26:53 -0000 1.46
+++ patterns/barriers.db 14 Jan 2003 20:12:02 -0000
@@ -1956,7 +1956,7 @@
?O?
aQc
-.b.
+!b!
;(oplay_break_through(a,b,c)==WIN)
@@ -2009,6 +2009,64 @@
;&& (o_somewhere(a) || oplay_attack(d,a,a)) && oplay_attack(e,f,G)
+Pattern Intrusion55
+# gf New pattern (3.3.16)
+
+????
+xxx?
+.!.o
+.!.Q
+----
+
+:8,B,value(30)
+
+efg?
+bcd?
+...o
+.a.Q
+----
+
+;x_somewhere(b,c,d,e,f,g) && safe_omove(a)
+
+
+Pattern Intrusion56
+# gf New pattern (3.3.16)
+
+????
+xxx?
+!..o
+!..Q
+----
+
+:8,B,value(30)
+
+fgh?
+cde?
+a..o
+...b
+----
+
+;x_somewhere(c,d,e,f,g,h) && !oplay_disconnect(a,a,b)
+
+
+Pattern Intrusion57
+# gf New pattern (3.3.16)
+
+xX
+!Q
+X?
+
+:8,BF,value(30)
+
+xX
+ab
+X?
+
+;safe_omove(a)
+
+>return !xplay_attack(a,b);
+
+
Pattern Nonterritory1
# gf Revised constraint. (3.3.10)
@@ -2923,6 +2981,22 @@
;oplay_attack(a,b,c) && !oplay_attack(b,d,d)
>non_oterritory(e);
+
+
+Pattern Nonterritory45
+# gf New pattern. (3.3.16)
+
+O.X
+?X.
+
+:8,t
+
+OaX
+?Cb
+
+;lib(C)==2 && safe_omove(a) && oplay_attack(a,C) && !oplay_attack(a,b,a)
+
+>non_xterritory(b);
# END OF FILE
Index: patterns/endgame.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/endgame.db,v
retrieving revision 1.43
diff -u -r1.43 endgame.db
--- patterns/endgame.db 12 Jan 2003 15:26:53 -0000 1.43
+++ patterns/endgame.db 14 Jan 2003 20:12:04 -0000
@@ -1093,6 +1093,7 @@
Pattern CE4a
# gf Split and revised pattern. (3.3.10)
+# gf Revised constraint. (3.3.16)
??X endgame move
O*. about 1 point reverse sente
@@ -1104,7 +1105,7 @@
O*.
?aO
-;marginal_eye(*) && proper_eye(a)
+;marginal_eye(*) && proper_eye(a) && (!halfeye(a) || false_eye_territory(a))
Pattern CE4b
Index: patterns/patterns.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/patterns.db,v
retrieving revision 1.98
diff -u -r1.98 patterns.db
--- patterns/patterns.db 12 Jan 2003 15:26:53 -0000 1.98
+++ patterns/patterns.db 14 Jan 2003 20:12:18 -0000
@@ -274,12 +274,13 @@
Pattern CC13
# tm modified (3.1.10)
# (compare Conn315)
+# gf Added n classification. (3.3.16)
O? cut!
*X
XO
-:8,B,shape(2)
+:8,Bn,shape(2)
O?
*A
@@ -485,42 +486,35 @@
Pattern CC30
+# gf Revised pattern. (3.3.16)
?O* double connection
X.O
?O.
-:8,n
-
-?c*
-Xad
-?eb
+:8,nC
-;xplay_defend_both(a,*,b,a,b) && xplay_defend_both(a,b,*,a,*)
+?b*
+XaO
+?c.
->add_connect_move(c,d);
->add_connect_move(c,e);
->add_connect_move(d,e);
+;!xplay_connect(a,b,c)
Pattern CC31
-# This is used when connecting is necessary but CC30 doesn't apply.
+# gf Revised pattern. (3.3.16)
?O. double connection
X*O
?O.
-:-,-
-
-?ca
-X*d
-?eb
+:-,C
-;xplay_defend_both(*,a,b,*,b) && xplay_defend_both(*,b,a,*,a)
+?a.
+X*O
+?b.
->add_connect_move(c,d);
->add_connect_move(c,e);
->add_connect_move(d,e);
+;!xplay_connect(*,a,b)
Pattern CC32
@@ -910,6 +904,7 @@
Pattern CC57
+# gf Removed obsolete add_connect_move actions. (3.3.16)
??XO? connect three stones
..*.o
@@ -924,9 +919,6 @@
?..??
;lib(a)>2 && lib(b)>2 && lib(c)>3
->add_connect_move(a,b);
->add_connect_move(a,c);
->add_connect_move(b,c);
Pattern CC58
@@ -1354,6 +1346,7 @@
Pattern EC1
+# gf Removed obsolete add_connect_move actions. (3.3.16)
O.XO? connect under
..*.O
@@ -1371,11 +1364,9 @@
;&& !oplay_defend_both(*,a,b,a,E)
;&& oplay_attack_either(*,b,a,c,b,c)
->add_connect_move(f,h);
->add_connect_move(g,h);
-
Pattern EC2
+# gf Removed obsolete add_connect_move actions. (3.3.16)
OXXO? connect under
O.*.O
@@ -1391,9 +1382,6 @@
;odefend_against(*,d) && !oplay_attack(*,a,b,e)
->add_connect_move(f,e);
->add_connect_move(g,e);
-
Pattern EC4
@@ -1780,6 +1768,7 @@
Pattern EC27
+# gf Removed obsolete add_connect_move action. (3.3.16)
?X*O Use edge to stay connected.
?XOX
@@ -1797,10 +1786,9 @@
; !attack(D) && oplay_attack(*,a,a)
->add_connect_move(b,c);
-
Pattern EC28
+# gf Removed obsolete add_connect_move action. (3.3.16)
O.XO? capture to connect
OXOXO
@@ -1816,8 +1804,6 @@
;!oplay_attack(*,a,b,c) && !oplay_attack(*,b,a,c)
->add_connect_move(c,d);
-
Pattern EC29
@@ -2523,6 +2509,19 @@
;xplay_attack(*,a,a)
+Pattern EC81
+# gf New Pattern (3.3.16)
+# See nngs1:31
+
+XXX.Ox connect all stones
+OO..*X
+....O?
+......
+------
+
+:8,XC
+
+
##############################################
# First line, one space, cuts and connections.
##############################################
@@ -3139,14 +3138,32 @@
:8,OXad
-Pattern CS20
+Pattern CS20a
# gf Corrected symmetry. (3.1.23)
+# gf Split pattern. (3.3.16)
X..
O*.
?xX
-:8,OXad
+:8,OXa
+
+
+Pattern CS20b
+# gf Corrected symmetry. (3.1.23)
+# gf Split pattern. (3.3.16)
+
+X..
+O*.
+?xX
+
+:8,OXd
+
+A..
+O*.
+?xB
+
+;!oplay_connect(*,A,B)
Pattern CS21
@@ -4176,6 +4193,7 @@
Pattern EB507
# tm Reduced shape value from 4 to 3 (3.1.20)
+# gf Removed shape value. (3.3.16)
?o??
?O.. block
@@ -4184,7 +4202,7 @@
....
----
-:8,Oe,shape(3)
+:8,Oe
Pattern EB507a
@@ -8033,7 +8051,7 @@
Pattern CB228
-# gf Sometimes it's better shape to jump. See nngs:1180. (3.3.7)
+# gf Sometimes it's better shape to jump. See nngs:1180. (3.3.7 )
?XX. prevent bend
OO*.
@@ -9041,6 +9059,26 @@
;&& !oplay_disconnect(*,b,*,a) && !oplay_disconnect(*,c,*,a)
+Pattern CB338b
+# gf New pattern. (3.3.16)
+# Another safe variation of the diagonal move. See comment for CB338.
+
+?xxx diagonal push
+?.*x
+OO.x
+?oO?
+
+:8,OXe
+
+?def
+?.*g
+aach
+?ib?
+
+;(x_somewhere(d,e,f,g,h) || xarea(f))
+;&& (same_string(a,b) || oplay_attack(*,c,?,i,i))
+
+
Pattern CB340
# db added (3.3.14)
# compare CB242
@@ -10015,16 +10053,18 @@
> antisuji(e);
-Pattern ED60
-
-??.?? attack one stone
-?.O.O
-.OX*X
-.....
-.....
------
-
-:8,J
+# Pattern ED60
+# # gf This is too often worth much less than the 35 points of a joseki move.
+# # Removed. (3.3.16)
+#
+# ??.?? attack one stone
+# ?.O.O
+# .OX*X
+# .....
+# .....
+# -----
+#
+# :8,J
Pattern ED61
@@ -12096,14 +12136,15 @@
Pattern EJ43
+# gf Revised. (3.3.16)
-?... connect after peep
-x.O.
-x.*X
-x.O.
-?...
-?...
-----
+?...? connect after peep
+x.O.x
+x.*Xx
+x.O.x
+?...?
+?...?
+-----
:8,OJ
Index: patterns/patterns2.db
===================================================================
RCS file: /cvsroot/gnugo/gnugo/patterns/patterns2.db,v
retrieving revision 1.52
diff -u -r1.52 patterns2.db
--- patterns/patterns2.db 12 Jan 2003 15:26:54 -0000 1.52
+++ patterns/patterns2.db 14 Jan 2003 20:12:21 -0000
@@ -2084,14 +2084,17 @@
Pattern Shape48
# gf Added constraint. (3.3.15)
+# gf Revised pattern. (3.3.16)
.X. makes it harder for X to make eyes
*.X
+?xx
:8,s,shape(1)
.A.
*.X
+?xx
;weak(A)
@@ -2651,6 +2654,7 @@
Pattern Shape86
# gf New pattern. (3.3.15)
# Prefer cut to peep as ko threat.
+# gf Revised constraint. (3.3.16)
XO ko threat
*X
@@ -2660,7 +2664,7 @@
AO
*B
-;oplay_attack_either(*,A,B)
+;oplay_attack_either(*,A,B) && !safe_omove(*)
###########################
@@ -2919,6 +2923,7 @@
Pattern Sente13b
# gf Revised constraint. (3.1.10)
+# gf Revised constraint. (3.3.16)
.O
*?
@@ -2929,11 +2934,31 @@
*?
;lib(a) == 2 && !attack(a) && olib(b) > 2 && safe_omove(*)
+;&& (safe_xmove(*) || safe_xmove(b))
;&& oplay_attack(*,b,b)==WIN
# Action adds a reverse followup value.
>defend_against_atari(a)
+Pattern Sente13c
+# gf New pattern. (3.3.16)
+
+O.O
+*.O
+
+:8,sO
+
+Oba
+*ca
+
+;lib(a) == 2 && !attack(a) && safe_omove(*)
+;&& (safe_xmove(b) || safe_xmove(c))
+;&& oplay_attack(*,b,b)==WIN
+;&& oplay_attack(*,c,c)==WIN
+# Action adds a reverse followup value.
+>defend_against_atari(a)
+
+
Pattern Sente14
OXx
@@ -3018,6 +3043,60 @@
;omoyo_opposite(a) && alive(b) && alive(C)
+Pattern Sente19
+# gf New pattern. (3.3.16)
+# Usually underestimating the reverse followup, but better than nothing.
+
+?oO
+o.*
+?OX
+
+:8,OX,reverse_followup(1)
+
+?cO
+ba*
+?OX
+
+
+;((!o_somewhere(b) && oterri(b))
+; || (!o_somewhere(c) && oterri(c)))
+;&& safe_xmove(*) && !xplay_attack(*,a,*)
+
+
+Pattern Sente20
+# gf New pattern. (3.3.16)
+# Usually underestimating the reverse followup, but better than nothing.
+
+?.O
+..*
+?OX
+
+:8,OX,reverse_followup(2)
+
+?cO
+ba*
+?OX
+
+;oterri(b) && oterri(c) && safe_xmove(*) && !xplay_attack(*,a,*)
+
+
+Pattern Sente21
+# gf New pattern. (3.3.16)
+# Usually underestimating the reverse followup, but better than nothing.
+
+..O
+..*
+?OX
+
+:8,OX,reverse_followup(3)
+
+dcO
+ba*
+?OX
+
+;oterri(b) && oterri(c) && oterri(d) && safe_xmove(*) && !xplay_attack(*,a,*)
+
+
########################################################
#
# Double threat moves and defense against double threats
@@ -3303,61 +3382,65 @@
:8,-,maxvalue(25)
-Pattern Temp2
-# Connection of half point kos are severely overvalued.
-# existed since at least 3.0.0
-
-OOXX
-O*OX
-----
-
-:8,X,maxvalue(1)
-
-
-Pattern Temp3a
-# Connection of half point kos are severely overvalued.
-# existed since at least 3.0.0
-
-oOXx
-O*OX
-----
-
-:8,X,maxvalue(1)
-
-obCx
-a*OD
-----
-
-;lib(a)>=3 && lib(b)>=4 && lib(C)>=3 && lib(D)>=3
-
-
-Pattern Temp3b
-# Connection of half point kos are severely overvalued.
-# existed since at least 3.0.0
-
-OOXX
-O*OX
-OOXX
-
-:8,X,maxvalue(1)
-
-
-Pattern Temp4
-# Connection of half point kos are severely overvalued.
-# existed since at least 3.0.0
-
-oOXx
-O*OX
-oOXx
-
-:8,X,maxvalue(1)
-
-obEx
-a*OD
-ocFx
-
-;lib(a)>=3 && lib(b)>=4 && lib(c)>=4
-;&& lib(D)>=3 && lib(E)>=3 && lib(F)>=3
+# Pattern Temp2
+# # Connection of half point kos are severely overvalued.
+# # existed since at least 3.0.0
+# # gf Removed. (3.3.16)
+#
+# OOXX
+# O*OX
+# ----
+#
+# :8,X,maxvalue(1)
+#
+#
+# Pattern Temp3a
+# # Connection of half point kos are severely overvalued.
+# # existed since at least 3.0.0
+# # gf Removed. (3.3.16)
+#
+# oOXx
+# O*OX
+# ----
+#
+# :8,X,maxvalue(1)
+#
+# obCx
+# a*OD
+# ----
+#
+# ;lib(a)>=3 && lib(b)>=4 && lib(C)>=3 && lib(D)>=3
+#
+#
+# Pattern Temp3b
+# # Connection of half point kos are severely overvalued.
+# # existed since at least 3.0.0
+# # gf Removed. (3.3.16)
+#
+# OOXX
+# O*OX
+# OOXX
+#
+# :8,X,maxvalue(1)
+#
+#
+# Pattern Temp4
+# # Connection of half point kos are severely overvalued.
+# # existed since at least 3.0.0
+# # gf Removed. (3.3.16)
+#
+# oOXx
+# O*OX
+# oOXx
+#
+# :8,X,maxvalue(1)
+#
+# obEx
+# a*OD
+# ocFx
+#
+# ;lib(a)>=3 && lib(b)>=4 && lib(c)>=4
+# ;&& lib(D)>=3 && lib(E)>=3 && lib(F)>=3
Pattern Temp5
Index: regression/nicklas1.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/nicklas1.tst,v
retrieving revision 1.42
diff -u -r1.42 nicklas1.tst
--- regression/nicklas1.tst 2 Jan 2003 00:23:30 -0000 1.42
+++ regression/nicklas1.tst 14 Jan 2003 20:12:21 -0000
@@ -171,7 +171,7 @@
#DESCRIPTION=Needless 2 point loss for B.
#SEVERITY=7
loadsgf games/nicklas/nicklas12.sgf 113
-1207 gg_genmove black
+1207 restricted_genmove black B18 C18 B17 C17
#? [C17]*
loadsgf games/nicklas/nicklas12.sgf 117
Index: regression/trevor.tst
===================================================================
RCS file: /cvsroot/gnugo/gnugo/regression/trevor.tst,v
retrieving revision 1.71
diff -u -r1.71 trevor.tst
--- regression/trevor.tst 12 Jan 2003 03:54:46 -0000 1.71
+++ regression/trevor.tst 14 Jan 2003 20:12:22 -0000
@@ -448,9 +448,10 @@
# handicaps. Gnugo played quite well. And in the end it almost
# killed a corner of FunGo, but it played a big blunder:-(.
# Attachment is the SGF file.
+# gf Added A18 and A16 as acceptable moves. (3.3.16)
loadsgf games/trevor/trevor_42.sgf 211
420 gg_genmove black
-#? [G16]
+#? [G16|A18|A16]
#CATEGORY=TACTICAL_READING
#DESCRIPTION=Minus 1 point, attacking very dead stone.
- [gnugo-devel] Another tuning patch,
Gunnar Farneback <=