File: REGRESSION

package info (click to toggle)
gnugo 2.4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,816 kB
  • ctags: 1,828
  • sloc: ansic: 22,091; tcl: 401; sh: 376; makefile: 202
file content (30 lines) | stat: -rw-r--r-- 950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
------------------------------------------------------------------------
-- REGRESSION TESTING
------------------------------------------------------------------------

the --mode test option of gnugo allows for testing of moves.

generated moves are tested against annotations and actual moves

/* ANNOTATION PROPERTIES:
* Circle:   Good Move
* Triangle: OK move
* Square:   Bad move   (Mark too... cgoban writes MA instead of SQ)
* Move that was made:  considered good unless annotated (BM, TE)
*/


EXAMPLES

The regression directory contains an example test-tree.sgf which shows how
the testing works.  Look at it with your favorite editor, then run it
through the test to see how it performs.

A sample test run:
gnugo --mode test --testmode annotation --infile test-tree.sgf --quiet


PROBLEMS
  There is no easy way to figure out which moves were good and bad... still
  need to come up with a convention for this.  Comments could be used...