Mailing List Archive

[Bug 3229] New: Roundoff in score summary leads to many newbie complaints
http://bugzilla.spamassassin.org/show_bug.cgi?id=3229

Summary: Roundoff in score summary leads to many newbie
complaints
Product: Spamassassin
Version: 2.63
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: spamassassin
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: lwilton@earthlink.net


Practically every day there is at least one posting on the SA Talk list to the
effect of "it says Required 5.0 Hits 5.0, why didn't it get marked as spam?"
These repeating messages take time to answer.

Suggest deliberately fudging one or the other of the score values sufficiently
in this case to make it obvious that the total points do NOT constiture a hit.
For instance, if both values round to 5.0 and the hit comparison failed,
deliberately print the hits as 4.9999 or some such. Yes, this is lying about
the score, but really no worse than the current rounding, which itself
constitutes a form of a lie. And it will make it REALLY OBVIOUS why the mail
wasn't scored as spam.

Alternately the score values could be carried to sufficient precision to show
the actual difference. I don't personally think this is a good idea. 5.0 is
easy to read, 5.0000000138 is extraneous. Deliberately printing an accumulated
score value that is visibly less than the required value seems more
reasonable. Carrying this deliberate value to several decimal places also
seems like a good idea, to avoid the "it didn't add up to 4.9 for me!"
complaint that would inevitably ensue from only printing one fractional digit.

Admittedly doing this will take a little code that really shouldn't be
necessary. But human nature seems to indicate (from the continuously repeated
questions) that something like this really is quite desirable.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.