-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig McLean wrote:
| Theodore Heise wrote:
| |
| | On Sun, 15 May 2005, Craig McLean wrote:
| |
| |
| |>-----BEGIN PGP SIGNED MESSAGE-----
| |>Hash: SHA1
| |>
| |>Loren Wilton wrote:
| |>|>Now correct me if I'm wrong, but 3.5 + 0.2 + 0.1 + 0.1 is not 4.1 ?
| |>|
| |>| Rounding.  See the wiki.
| |>
| |>Can you be more specific? A search of wiki.apache.org/spamassassin shows
| |>2 pages containing "rounding":
| |>StatusRounding - orphaned.
| |>RoundingIssues - this is not the issue I'm talking about, and in any
| |>case was fixed in 3.0.
| |
| |
| | I don't what the wiki says, but here's my guess.  The scores applied
| | are actually three digits after the decimal.  In the header report
| | they are rounded off.  Suppose the exact scores in the example you
| | gave are 3.544 + 0.231 + 0.142 + 0.145.  These add up to 4.062,
| | which rounds to 4.1.
| |
|

Spot on. Have a cigar!

The scores on the doors (using set 4):
NO_REAL_NAME 0.007
INVALID_DATE 0.236
HTML_COMMENT_SAVED_URL 0.146
BAYES_99 3.5
HTML_MESSAGE 0.001
HTML_FONT_BIG 0.142
MIME_QP_LONG_LINE 0.039

The scores for each rule, when added together, are 4.071. Hence a total
score of 4.1 (rounded) even though the individual rules when rounded
before addition only score 3.9.

Perhaps it would be useful to add this little quirk to the wiki? On the
RoundingIssues page?

Thanks again for all the help!

Craig.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCh6LgMDDagS2VwJ4RAqdRAJ9Vr47iEXRiwX5BIwTusOZ+RsrcEwCgjKpM
Nb8XghueAODjyQJ40qV67d4=
=XCuU
-----END PGP SIGNATURE-----

Reply via email to