http://bugzilla.spamassassin.org/show_bug.cgi?id=3483





------- Additional Comments From [EMAIL PROTECTED]  2004-07-14 13:33 -------
Subject: Re:  [review] bayes _journal not syncing to _toks

On Wed, Jul 14, 2004 at 01:05:41PM -0700, [EMAIL PROTECTED] wrote:
> X-Spam-Bayes-Result: 0.5
> X-Spam-Bayes-Token-Summary: Bayes not run.
> 
> That seem to be conflicting information there.  I'm not sure if that plays 
> into

No, that's fine actually.  The Bayes probability of 0.5 means
"unknown/undeterminable", which you'd get with no tokens in the DB.

> in Bayes.pm or not... seeing $score is defined, it bypasses skip: ?    but 
> that
> is in Bayes::scan(), which I dont even think it makes it that far.

right.  it goes to skip at is_scan_available() at the top of the function.

> maybe an unrelated bug, or is result set to default to 0.5 even if bayes 
> cannot run?

FYI: your output there is actually not from the bayes code but the header
macro code in PerMsgStatus:

            BAYES => sub {
              defined($self->{bayes_score}) ?
                        sprintf("%3.4f", $self->{bayes_score}) : "0.5"
            },

so internally, the bayes score is undefined, then for display that
becomes 0.5. :)





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to