-
Notifications
You must be signed in to change notification settings - Fork 3
Add score-based spam detection besides blacklist #3
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
-
I'm submitting a ...
[ ] spammer report
[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project -
Summary
It seems that this tool is only a simple blacklist - but I think some kind of negative scoring system may be introduced.
- Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I believe we can score PRs negatively (and positively) and mark as spam if a defined threshold is met. For example some things deducting score may be:
- Changes only in text files (.md, .html).
- Changes only in one file (or removal a single file),
- Changes only in one line,
- Changes consisting of words "awesome" or "amazing" ;) (aka: blacklisting words in commits messages and diffs themselves),
- Empty descriptions,
- "patch-1" as a name of remote branch.
Of course, it's not the best solution, as it won't be 100% bulletproof, but what do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request