Added blum filter

Yes, not "Bloom" filter. Blum.
This commit is contained in:
Casey 2024-07-26 12:38:10 +03:00
parent cd89da6386
commit 07d8259efc
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,10 @@ REGEX_PATTERNS: list[tuple[float, Pattern, str]] = [
(5.0, regexp(r"claim free \$\w+", IGNORECASE), "Claim free shitcoin"),
(5.0, regexp(r"avoid obstacles to gain \$\w+", IGNORECASE), "play to gain"),
(5.0, regexp(r"fetch free crypto rewards", IGNORECASE), "free crypto! yay!"),
(12.0, regexp(r"melondrop.app", IGNORECASE), "Sus developer URL")
(12.0, regexp(r"melondrop.app", IGNORECASE), "Sus developer URL"),
(12.0, regexp(r"airdrop-blum.fun", IGNORECASE), "Blum airdrop"),
(8, regexp(r"Claim \w+ and \w+ them all", IGNORECASE), "Claim X and X them all"),
(4, regexp(r"choose \w+. connect wallet", IGNORECASE), "We all can hear you, stop saying it bajilion times")
]
MAX_SCORE = 30 # sum(t[0] for t in REGEX_PATTERNS)