I wound up having to do some anomaly detection for a giveaway campaign that recently completed. By all accounts it was really successful! Sadly, some people didn’t play by the rules and entered many more times than once. One person entered more than 2000 times!
Below is a simple bash script to detect a fairly high percentage of fraudulent entries in just under a second: