http://bugzilla.spamassassin.org/show_bug.cgi?id=3627





------- Additional Comments From [EMAIL PROTECTED]  2004-07-21 20:20 -------
Created an attachment (id=2168)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2168&action=view)
fix several bugs in masses

OK, a few bugs that I threw up when working on this.

- score-ranges-from-freqs: if a rule has a score of 0, it will be forced to 0
  in the next perceptron run.   IMO, this is not correct; it should be allowed
  to use non-0 scores.   I haven't changed this, but I strongly think it
  *should* be changed. thoughts?

- logs-to-c: rules that are immutable with a score of 0 are not recorded
  in the logs; therefore, will not be used for score generation at all.

  Unfortunately, 'score-ranges-from-freqs' will set a rule to 0 and
  immutable if it hits less than 0.01%.  This then means that the rule
  is not recorded, and when "rewrite-cf-with-new-scores" runs, it uses
  the default score (1.0) for those rules. oops!

  Fixed this by assuming that if there's a rule in the "generated scores"
  section, but the GA didn't use it, its score should be set to 0.
  And if the rule exists according to "parse-rules-for-masses", but
  the GA didn't use it and there's no score, the same applies.




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

Reply via email to