Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: RFC: Hide Very Bad Answers From Visitors -- suggestions

by QM (Parson)
on Jul 25, 2018 at 10:37 UTC ( #1219244=note: print w/replies, xml ) Need Help??


in reply to Re: RFC: Hide Very Bad Answers From Visitors -- suggestions
in thread RFC: Hide Very Bad Answers From Visitors

There needs to be an absolute and relative filter. If there is only a relative filter, and a node has only 1 vote, negative, the node is filtered.

Instead, set a vote minimum, perhaps 10. If there are less than 10 votes, and the sum is -7, filter the node.

If there are more than 10 votes, then use a formula, like:

if (($count > 10) and ($sum / $count < -0.2)) { filter(node); }

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^3: RFC: Hide Very Bad Answers From Visitors -- suggestions
by jdporter (Canon) on Jul 31, 2018 at 20:18 UTC
    If ... a node has only 1 vote, negative, the node is filtered.

    It's impossible to have a rep of -7 with only one vote. :-)

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2021-02-26 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?