[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] minimal matcher_check revision
From: |
Evan Berggren Daniel |
Subject: |
Re: [gnugo-devel] minimal matcher_check revision |
Date: |
Fri, 23 Aug 2002 11:29:43 -0400 (EDT) |
Fine by me. I didn't see a convenient way to count moves, any
suggestions? or is the manual version fine?
BTW, next I think I'm going to add a --stable option that plays program
against itself, and also outputs when the program and the stable version
disagree (ie for testing --experimental-connections and the like).
Thanks
Evan Daniel
On Fri, 23 Aug 2002, Arend Bayer wrote:
>
> This makes matcher_check produce a better error output when used with
> --loadsgf but without --movenum.
> Evan, if this is fine with you, I would add this to CVS.
>
> Arend
>
>
> Index: interface/gtp_examples/matcher_check
> ===================================================================
> RCS file: /cvsroot/gnugo/gnugo/interface/gtp_examples/matcher_check,v
> retrieving revision 1.6
> diff -u -r1.6 matcher_check
> --- interface/gtp_examples/matcher_check 23 Aug 2002 07:13:40 -0000
> 1.6
> +++ interface/gtp_examples/matcher_check 23 Aug 2002 13:50:18 -0000
> @@ -26,10 +26,9 @@
> #
> # matcher_check info:
> #
> -# plays one gtp program against itself, and watches for bad
> -# status transitions.
> +# Plays one gtp program against itself or lets it analzye a saved .sgf-file,
> +# and watches for bad status transitions.
> #
> -# FIXME: allow analysis of sgf files
> # FIXME: if the vertex by which a dragon is named ever changes,
> # the hash table used will consider it new. therefore, if the
> # vertex changes at the same time an illegal state change occurs,
> @@ -134,6 +133,12 @@
> if ($loadfile)
> {
> #we need to analyze an sgf file
> + if (not defined $movecount) {
> + print "Error: When analyzing an sgf file with --loadsgf <filename>, you
> also need to
> +specify the number of moves to check with --movecount <n>.
> +";
> + exit;
> + }
> $pidp = open2($prog_out, $prog_in, $program);
> print "program pid: $pidp\n" if $verbose;
>
>
>
>
> _______________________________________________
> gnugo-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnugo-devel
>