Programmed Sentencing in China
An anonymous reader writes to mention a unique combination of coding and social justice. A court in China has been using software to mete out sentences in criminal cases. The program has been in use for almost two years, and has passed judgement in some 1,500 cases. From the article: "'The software can avoid abuse of discretionary power of judges as a result of corruption or insufficient training,' the paper quoted Zichuan District Court chief judge, Wang Hongmei, as saying. But some Chinese newspapers criticized the move as a farce that highlighted the 'laziness of the court' and that would not curb judicial corruption as touted."
Would that be the same as a life sentence?
My understanding is this method won out over the Magic 8 ball or picking a fortune cooke out of a hat.
Cloud, silver lining, and all that.
while (thereAreCases()) {
defendant = defendant.getNext();
defendant.innocent = (defendant.powerful || defendant.powerful);
if (!defendant.innocent) firingSquad.add(defendant);
else firingSquad.add(prosecutor);
}
Have you read my journal today?
I just had this visual of this poor Chinese guy surrounded by a bunch of blinking screens, his hand hovering over a big red button, praying, "No whammies, no whammies!!"
a KILLER APP
"It looks like you're trying to sentence someone. Would you like some help?"
the software comments yuo out!
>It would be good to come up with (and make public) an algorithm for determining a sentence.
Here's a prototype:
perl -e "$s = int(rand(99)); print qq(You are hereby sentenced to $s years of imprisonment\n)"
This code is released under the BSD license, feel free to deploy it as-is or modify to fit your needs.