Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re: Front Page with Negative Rep..

by rinceWind (Monsignor)
on May 17, 2002 at 11:04 UTC ( [id://167269] : note . print w/replies, xml ) Need Help??

in reply to Re: Front Page with Negative Rep..
in thread Front Page with Negative Rep..

There is an option in the Everything software to show the number of ++ votes and -- votes separately, instead of just the aggregate score you currently get on Perlmonks.

Should we go for this? what do people think?

Replies are listed 'Best First'.
Re: Re: Re: Front Page with Negative Rep..
by mojotoad (Monsignor) on May 17, 2002 at 16:44 UTC
    Well the nice thing about "tension" is that it would measure the magnitude of active indecisiveness without revealing the actual vote count; this way you could get feedback prior to voting or considering without revealing the raw votes.


    ++-- Total vote tension

    Another phrase for "tension" would be "high interest, controversial".


    Update: grammar, clarity tweaks

Perlish Tension
by giulienk (Curate) on May 17, 2002 at 23:53 UTC
    Here is a possible implementation of the <tension> parameter.
    #!/usr/bin/perl use strict; my $plus = shift; my $minus = shift; my $sum = $plus + $minus; my $rep = $plus - $minus; my $mean = $rep / $sum; #ALERT: semi-empirical formulae ahead my $tension = (1 - $mean ** 2) * $sum * 2 / (2 - 1 / (1 + abs $rep)); $tension = log (1 + $tension) - 2; my $literal; for ($tension) { $_ <= 0 and $literal = 'no', last; $_ <= 1 and $literal = 'low', last; $_ <= 2 and $literal = 'medium', last; $literal = 'high'; } printf <<"EOF", $plus, $minus, $rep, $tension, $literal; Plus = %3d Minus = %3d Reputation = %3d Tension = %.3f There is %s tension on this post. EOF