Sixtease has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I run a site where I would like to add ads from Google AdSense. They require the site to not contain pornography. However, I host contests in creating images and I want to let the contestants send whatever they please.
So I thought I'd just let people flag their and other's creations as porn or clean and based on the flags, I'd determine whether a user-submitted picture is porn or not. If it was, and the viewing user preferred to see such content, Google ads would not be shown.
Firstly, do you think this is a good way to go?
Secondly, do you know of any such system already programmed, so I wouldn't need to reinvent the wheel?
This is exactly how I plan to do it:
Input
- An admin can hard-set the status of a submission to porn / clean.
- The author can flag the submission as porn / clean.
- The owner of the contest can flag a submission as porn / clean.
- A regular user can flag a submission as porn / clean.
Submission states
A submission can be:
- Clean
- Undecided
- Porn
Resolution
- By default (with no flags), a submission is clean.
- Flag from an admin overrides everything.
- Porn flag from submission author or contest owner sets the status to porn.
- Porn flags from regular users only set the status to undecided.
- Clean flags from regular users together with porn flags from contest owner or submission author set the status to undecided.
When enough submissions are flagged and decided by admins, I could train a statistical model to decide porn / clean status based on non-admin flags.
...so, what do you think?