perlquestion
Sixtease
<p>Dear Monks,</p>
<p>I run <a href="http://creativecontest.cc">a site</a> 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.</p>
<p>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.</p>
<p>
Firstly, do you think this is a good way to go?
<br />
Secondly, do you know of any such system already programmed, so I wouldn't need to reinvent the wheel?
</p>
<p>This is exactly how I plan to do it:</p>
<readmore>
<p><strong>Input</strong></p>
<ol>
<li>An admin can hard-set the status of a submission to porn / clean.</li>
<li>The author can flag the submission as porn / clean.</li>
<li>The owner of the contest can flag a submission as porn / clean.</li>
<li>A regular user can flag a submission as porn / clean.</li>
</ol>
<p><strong>Submission states</strong><br />
A submission can be:</p>
<ol>
<li>Clean</li>
<li>Undecided</li>
<li>Porn</li>
</ol>
<p><strong>Resolution</strong></p>
<ul>
<li>By default (with no flags), a submission is clean.</li>
<li>Flag from an admin overrides everything.</li>
<li>Porn flag from submission author or contest owner sets the status to porn.</li>
<li>Porn flags from regular users only set the status to undecided.</li>
<li>Clean flags from regular users together with porn flags from contest owner or submission author set the status to undecided.</li>
</ul>
<p>
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.
</p>
</readmore>
<p>...so, what do you think?</p>
<div class="pmsig"><div class="pmsig-587543">
<small>use strict; use warnings; print "Just Another Perl Hacker\n";</small>
</div></div>