You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/16 02:16:18 UTC
[Spamassassin Wiki] Update of "RoundingIssues" by TedHeise
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The following page has been changed by TedHeise:
http://wiki.apache.org/spamassassin/RoundingIssues
------------------------------------------------------------------------------
This rounding down of the spam hits (to the nearest 0.1) and of the stars (to the nearest integer) will hopefully be a more intuitive result.
+
+
+ == Why do the points of individual rules in the content analysis not add up to the same point total? ==
+
+ The actual scores of the rules have three digits after the decimal, but in the Content analysis report they are rounded off to the nearest tenth.
+
+ The points shown for individual rules in the following example total 8.5, not the 8.6 indicated.
+
+ {{{
+ Content analysis details: (8.6 points, 5.0 required)
+
+ pts rule name description
+ ---- ---------------------- --------------------------------------------------
+ 1.7 MSGID_FROM_MTA_ID Message-Id for external message added locally
+ 0.0 HTML_MESSAGE BODY: HTML included in message
+ 5.0 BAYES_99 BODY: Bayesian spam probability is 99 to 100%
+ [score: 0.9985]
+ 0.2 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
+ 1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of words
+ 0.6 FORGED_OUTLOOK_HTML Outlook can't send HTML message only
+ }}}
+
+ The actual scores for each of these rules are shown below. They total 8.577, which clearly rounds to 8.6
+
+ {{{
+ 1.723 MSGID_FROM_MTA_ID
+ 0.001 HTML_MESSAGE
+ 5.000 BAYES_99
+ 0.177 MIME_HTML_ONLY
+ 1.047 HTML_IMAGE_ONLY_16
+ 0.629 FORGED_OUTLOOK_HTML
+ }}}
+