More notes on the possible min/max method.
[pachi/pachi-r6144.git] / t-play / autotest / rc
blobdc78d1b871fc030903b98cf1da4d936efeb60425
1 # This is rc file for the autotest framework. It is interpreted as a shell
2 # snippet, so sh/bash evaluation rules apply.
4 # Here, we define some general execution environment configuration for
5 # autotest, the players that will get paired, and then actual pairings
6 # to perform. autotest clients will repeatedly pick a random pairing
7 # from the defined ones, play a game and record the result.
9 ### General parameters:
11 # twogtp path - we need the gogui twogtp variant (the one that takes -black,
12 # not --black as parameter)
13 twogtp_path="/nfs/drahokam/pasky/gogui-1.1.10/bin/gogui-twogtp"
14 # If you want handicap support, you will need a custom patch from:
15 # https://sourceforge.net/tracker/?func=detail&atid=489966&aid=2878719&group_id=59117
18 ### Players:
19 # The player specification is later eval'd during the payring. You can use
20 # $1, $2, ... placeholders within the specification to substitute various
21 # parameters at the pairing time. The number parameter after player command
22 # specification specifies how many parameters the specification takes.
24 # Warning! If you change player definition, you WILL NOT be able to determine
25 # what definition your historical results used. Once you define a player of
26 # some id, it's bad idea to tweak the definition in any way.
28 # This is the reference player we use for our tests.
29 player gnugo10 'gnugo --mode gtp --chinese-rules --capture-all-dead --level 10' 0
31 # This is generic Pachi player that is being tested, we substitute particular
32 # revision and specific parameters in the pairings.
33 # ${2:+,$2} means that if second parameter is passed, it will be inserted here,
34 # comma-prepended, otherwise nothing will be inserted.
35 player zamafmoggy5k './pachi-$1 games=5000,pass_all_alive,policy=ucb1amaf,playout=moggy${2:+,$2}' 2
38 ### Pairings:
39 # The pairing call looks somewhat elaborate:
41 # pairing BOARDSIZE KOMI BLACK PLAYER1 PLAYER1ARGS PLAYER2 PLAYER2ARGS
42 # BOARDSIZE: 9, 19, or whatever flavor you fancy...
43 # KOMI: 7.5, 0.5, ... OR h2, h6, ... (handicap amount, komi is forced to 0.5)
44 # BLACK: 'a' - black is chosen randomly, useful only if komi is 7.5
45 #        '1' - black is PLAYER1,  '2' - black is PLAYER2
46 # PLAYER: Name of the player as defined above.
47 # PLAYERARGS: Parameters for the player, substituted for $1, $2, ...
48 #             Parameters must not contain whitespace.
50 # Win rates are always stored from PLAYER2 perspective, no matter
51 # what the player colors are - we assume that PLAYER1 is your reference
52 # player while PLAYER2 varies based on the particular configuration you
53 # want to test.
55 # You will be editing this all the time. :)
57 pairing 9 0.5 1 gnugo10 zamafmoggy5k 77d2d
58 pairing 9 0.5 1 gnugo10 zamafmoggy5k 77d2d amaf_prior=0