bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Missed doubles problem ?


From: Holger
Subject: Re: [Bug-gnubg] Missed doubles problem ?
Date: Mon, 08 Sep 2003 23:23:57 +0200

At 19:21 04.09.2003 +0000, Joern Thyssen wrote:
On Thu, Sep 04, 2003 at 09:15:58PM +0200, Holger wrote
>
> >Alternatively, we can make three dividers:
> >
> >Missed doubles around DP: 0% - 60%
> >Missed doubles around CP: 60% - 80%
> >Missed doubles around TG: 80%-100%
> >
> >Perhaps that makes more sense.
>
> This I like much more. If you don't mind I'll implement this.

I've committed it today.

When coding it I think to have discovered a bug:

What getMatchPoints() returns and what is listed under Market Window differs. Namely, the live values for CP and TG are swapped respective to the players.

(gdb) p aaarPointsMatch
$1 = {{{0.330667853, 0.257251322}, {0.513904393, 0.513904393}, {0.697271645,
0.724131286}, {0.902519166, 0.724131286}}, {{0.302728355, 0.275868714}, {
      ^^^^^^^^^^^                 ^^^^^^^^^^^
      0.486095399, 0.486095399}, {0.669332147, 0.742748678}, {0.880213678,
                                               ^^^^^^^^^^^
      0.742748678}}}
      ^^^^^^^^^^^

The market window reports (I suppose correctly) 74,275% for player0 and 72,413% for player1.

This sometimes leads to strange results in calculating the dividers for the market window.

Also, I'm realizing that "Wrong doubles around CP" doesn't really make sense, does it? Maybe I should remove it again?

Regards,

        Holger

P.S. I'll attach a version of analysis.c with debug output.

Attachment: analysis.c.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]