Threshold Percentage 100 is useless

Created on 1 March 2023, over 1 year ago
Updated 24 March 2023, over 1 year ago

Problem/Motivation

We also noticed that some clients are using Threshold Percentage 100 as a setting, expecting that 100% similar values are marked as spam. But that couldn't happen, even with a 100% similarity percentage 100 is not larger than 100:

https://git.drupalcode.org/project/spamaway/-/blob/2.0.0/src/Plugin/Webf...

Proposed resolution

Replace Greater Than (>) with Greater than or equal to (>=).
Or improve the description text, so it's clear that Threshold 100 cannot be used as a setting.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024