Skip to content

Commit

Permalink
add test case for nakade
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/fuego/code/trunk@1969 2e953b5c-c64d-0410-be54-f773e93e544c
  • Loading branch information
mmueller65 committed Dec 24, 2014
1 parent 67e6691 commit ef8f5d2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions regression/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ sgf/playout/playout_capture_no_selfatari.2.sgf \
sgf/playout/playout_nakade.1.sgf \
sgf/playout/playout_nakade.2.sgf \
sgf/playout/playout_nakade.3.sgf \
sgf/playout/playout_nakade.4.sgf \
sgf/playout/playout_nakade_approach.sgf \
sgf/playout/playout_two_liberties_semeai.1.sgf \
sgf/playout/playout_two_liberties_semeai.2.sgf \
Expand Down
12 changes: 11 additions & 1 deletion regression/playout_nakade.tst
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,14 @@ loadsgf sgf/playout/playout_nakade.2.sgf
# F1 is much more likely, but E1 would be fatal...

41 uct_policy_moves_simple
#? [GammaPattern F1]*
#? [GammaPattern F1]*

loadsgf sgf/playout/playout_nakade.3.sgf
50 uct_policy_moves_simple
#? [GammaPattern F2]*
# Feature knowledge has a high prior for f2, but gamma patterns don't.

loadsgf sgf/playout/playout_nakade.4.sgf 1
60 uct_policy_moves_simple
#? [GammaPattern F1]*
# should know to play in center of 3 point nakade
5 changes: 5 additions & 0 deletions regression/sgf/playout/playout_nakade.4.sgf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(;FF[4]CA[UTF-8]AP[GoGui:1.4.9]SZ[9]
KM[7.5]DT[2014-12-16]
AB[di][dh][eh][eg][gg][gh][gi][fg][af][bf][cf][ce][cd][cc][dc][ec][fc][gc][hc][ic]
AW[ag][bg][cg][ch][ci][dg][df][de][ee][fe][ge][he][ie][hf][hg][hh][hi]PL[W];
W[fh];B[dd];W[fi])

0 comments on commit ef8f5d2

Please sign in to comment.