I'm writing a forum application and want to automatically moderate offensive posts using a flagging system similar to the one on StackOverflow in which users are given the ability to report problematic posts as falling into one of three categories:
* Abusive speech
* Off topic
* Spam
If a particular post receives a certain number of flags, I would like the system to automatically delete the post.
How should I decide what this threshold should be?