[spambayes-bugs] [ spambayes-Bugs-782709 ] not match between actual score and what's shown in outlook

SourceForge.net noreply at sourceforge.net
Wed Aug 6 00:09:22 EDT 2003


Bugs item #782709, was opened at 2003-08-04 19:35
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=782709&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: Invalid
Priority: 5
Submitted By: Fredrik Rodland (fmmr)
Assigned to: Mark Hammond (mhammond)
Summary: not match between actual score and what's shown in outlook

Initial Comment:
I noticed this for the first time today - running on the 
latest CVS.  Not sure how long this has been the case.

I've got folders wioth HAMs & SPAMs, and looked at the 
spam-score shown in outlooks Spam-field.  these does 
NOT match the actual score of a message - shown with 
the button 'shown spam clues for current message'.  this 
is the case also after scoring/filtering the messages.

filtering the messages (with 'score, but don't perform 
action') actually modifies the values of the Spam-field (I 
saw it during filtering), but these values are NOT equal 
to the actual values shown using the method above.

I use the spam-field as sort-criteria to track hams with 
high score and spams with low score, but the values are 
of no good anymore.

no traceback in the logs during filtering or viewing of 
manual spam-score.

----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2003-08-06 16:09

Message:
Logged In: YES 
user_id=14198

Seeing as you are running from source, can you add a couple
of print statements to help diagnose?

At the top of filter.py you will find:

def filter_message(msg, mgr, all_actions=True):
    config = mgr.config.filter
    prob = mgr.score(msg)

Add, say, 
    print "Message", msg.subject, "has score", prob

And see if that helps track it down.

Another possibility would be to run "sandbox/dumprops.py"
over one of the messages, and make sure we are actually
saving the value in the correct field (as, eg, the ini file
allows you to change the field name we use)

----------------------------------------------------------------------

Comment By: Fredrik Rodland (fmmr)
Date: 2003-08-05 16:58

Message:
Logged In: YES 
user_id=724871

Backing up my last comment, i just re-iunstalled a CVS-
version lying around (from about 030701) addin beta 1, 
version 0.3 (july 2003), which proves my point.  after a train 
(and selecting "score messages after training" the Spam-field 
in outlook is updated to the correct value.

----------------------------------------------------------------------

Comment By: Fredrik Rodland (fmmr)
Date: 2003-08-05 16:51

Message:
Logged In: YES 
user_id=724871

Tony's comment is just not right.  as I describe in my original 
post, the spam-field actually changes after a retrain now, but 
the value is just not the correct one.

this used to work just like I commented - after a retrain the 
spam-field shows the LAST (not first) score.

Reopened bug.


----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-08-05 08:45

Message:
Logged In: YES 
user_id=552329

The value in Outlook's spam field is the score of the message 
at the time it was first processed.  The score in the "show 
spam clues" is what the message would score if it arrived at 
that point in time.  If you've done any training at all between 
the two events, the scores will be different.

Mark did consider including a "This message scored X when 
first processed.  The following information relates to scoring 
the message with current training" type message in the "show 
clues" info, but has been busy with other things (or maybe 
decided it wasn't worth it).  If this would be helpful, then feel 
free to open a feature request for it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=782709&group_id=61702



More information about the Spambayes-bugs mailing list