On Thu, Feb 23, 2006 at 06:52:36PM +0100, Thomas Geldner wrote: > Is this a bug ? > 4.5 + 0.5 = 5.0 or ? ;)
Not really. It's covered in http://wiki.apache.org/spamassassin/RoundingIssues, but the short version is: > --------- > X-Spam-Status: No, score=4.9 required=5.0 tests=BAYES_99,DATE_IN_PAST_03_06 > autolearn=no version=3.1.0 > X-Spam-Spam-Report: > * 0.5 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before > Received: date > * 4.5 BAYES_99 BODY: Bayesian spam probability is 99 to 100% > * [score: 0.9976] > -------- The default BAYES_99 score in 3.1 is 3.5, but you seem to have changed it to 4.5. The default DATE_IN_PAST_03_06 score for set 3 (which you seem to be using) is 0.478. 4.5+0.478 = 4.978. 4.978 < 5.0. :) To fix the confusion that people used to have in this situation for "No, score=5.0 required=5.0", we round the display value down to the nearest tenth now. That of course leads to the confusion about adding up scores, and here we are. ;) -- Randomly Generated Tagline: "They sell cans of fresh Maine air ... probably vacuum-sealed." - Theo
pgpAPsVgJFCaD.pgp
Description: PGP signature