Journal Adolf Hitroll's Journal: Slashdot moderation suggestion (nothing to do with Corel)
I have a simple idea regarding slashdot moderation :
It should cost more moderation points to upmod an already highly modded (>=+3) post or to downmod a post that has already been modded to 0.
perl code :
#!/bin/perl
print "From Vote Cost From Vote Cost\n";
for ($i = -1 ; $i < 6 ; $i ++) {
print " $i +1 " . cost($i, 1) . " ";
print " $i -1 " . cost($i, -1) . "\n";
}
exit 0;
sub cost {
$from = shift;
$vote = shift;
$cost = int(abs((3 + $vote * ($from - 1.5)) / 4) +1 );
return $cost;
}
which displays as a result:
From Vote Cost From Vote Cost
-1 +1 1 -1 -1 2
0 +1 1 0 -1 2
1 +1 1 1 -1 1
2 +1 1 2 -1 1
3 +1 2 3 -1 1
4 +1 2 4 -1 1
5 +1 2 5 -1 1
It should cost more moderation points to upmod an already highly modded (>=+3) post or to downmod a post that has already been modded to 0.
perl code
#!/bin/perl
print "From Vote Cost From Vote Cost\n";
for ($i = -1 ; $i < 6 ; $i ++) {
print " $i +1 " . cost($i, 1) . " ";
print " $i -1 " . cost($i, -1) . "\n";
}
exit 0;
sub cost {
$from = shift;
$vote = shift;
$cost = int(abs((3 + $vote * ($from - 1.5)) / 4) +1 );
return $cost;
}
which displays as a result:
From Vote Cost From Vote Cost
-1 +1 1 -1 -1 2
0 +1 1 0 -1 2
1 +1 1 1 -1 1
2 +1 1 2 -1 1
3 +1 2 3 -1 1
4 +1 2 4 -1 1
5 +1 2 5 -1 1
Slashdot moderation suggestion (nothing to do with Corel) More Login
Slashdot moderation suggestion (nothing to do with Corel)
Slashdot Top Deals