Page MenuHomePhabricator

Add scoring featuresystem to the AbuseFilter
Open, LowestPublic

Description

Author: dy_yol

Description:
This is a suggestion to add a scoring system to the Abusefilter. Some filters would have scores, and when a user's edit exceed a certain threshold, say 20, the edit is blocked. For ex. say a shouting filter score is 10 and obscenity filter score is 8, and a removal of categories filter score is 5; when a user's edit trip these 3 filters, the total score would be 23, i.e. more than 20, so the edit get blocked.


See Also:
T20067: Decision tree for AbuseFilters

Details

Reference
bz23345

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:03 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz23345.
bzimport added a subscriber: Unknown Object (MLST).

Maybe someday, but honestly this is not a priority.

I know this is a really really old task, but by now there's a partial solution to this. You can define multiple variables using ternary operator like this:

obscenity := added_lines irlike obscene_stuff ? 8 : 0;
...
foo := summary irlike bar ? 10 : 0;

and so on, and at the end of the filter do:

obscenity +... + foo >= 20

This isn't hard to do and doesn't need a patch (which would probably take several lines of code) to be implemented.

Daimona lowered the priority of this task from Low to Lowest.Apr 3 2018, 12:16 PM
Daimona moved this task from Backlog to Filtering features on the AbuseFilter board.

I assume the idea here was to have a reputation score that is carried over to subsequent edits (so after a number of questionable edits it gets too low and you get barred from editing more for a while). I think that would be very useful; not sure if AbuseFilter is the right place for it (I'd want such a feature to interact with all kinds of things - captchas, ORES, the patrolling interface and so on.)