Threshold Percentage 100 is useless

Created on 1 March 2023, almost 2 years ago
Updated 26 August 2024, 4 months 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

Postponed: needs info

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.71.5 2024