First time here? Check out the FAQ!

Revision history  [back]

live settings about downvoting karma loss

On live settings there are two values that affect downvoting:

image description

From what I see there, I would expect that when I downvote a user, this user loses -1 and I lose -2. However this is not true (hopefully - it's not reasonable to lose more than the bad post). In fact, when I downvote a user, he loses -2 and I lose -1 (which now make more sense).

So at the beggining I though the bug was that the captions in live settings have been put the other way round. They are not. I noticed in FAQ page, there is a reference on {{REP_LOSS_FOR_RECEIVING_DOWNVOTE}} that returns -1, like the setting Loss for owner of post that was downvoted.

So, in my opinion there are 2 bugs (maybe minor):

  1. The default values are not reasonable. User that downvotes shouldn't lose more that user that has a bad post. The default values should be the other way round.
  2. The functionality of downvoting uses the two settings the opposite way.

To see what I mean, check this: In file /auth.py, lines 341,354-356:

author.receive_reputation(askbot_settings.REP_LOSS_FOR_DOWNVOTING)
user.receive_reputation(askbot_settings.REP_LOSS_FOR_RECEIVING_DOWNVOTE)

It is clear that author (of the bad post) loses REP_LOSS_FOR_DOWNVOTING and user (the one that noticed the bad post) loses REP_LOSS_FOR_RECEIVING_DOWNVOTE. It should be the other way round, isn't it?

live settings about downvoting karma loss

On live settings there are two values that affect downvoting:

image description

From what I see there, I would expect that when I downvote a user, this user loses -1 and I lose -2. However this is not true (hopefully - it's not reasonable to lose more than the bad post). In fact, when I downvote a user, he loses -2 and I lose -1 (which now make more sense).

So at the beggining I though the bug was that the captions in live settings have been put the other way round. They are not. I noticed in FAQ page, there is a reference on {{REP_LOSS_FOR_RECEIVING_DOWNVOTE}} that returns -1, like the setting Loss for owner of post that was downvoted.

So, in my opinion there are 2 bugs (maybe minor):

  1. The default values are not reasonable. User that downvotes shouldn't lose more that user that has a bad post. The default values should be the other way round.
  2. The functionality of downvoting uses the two settings the opposite way.

To see what I mean, check this: In file /auth.py, lines 341,354-356:

author.receive_reputation(askbot_settings.REP_LOSS_FOR_DOWNVOTING)
user.receive_reputation(askbot_settings.REP_LOSS_FOR_RECEIVING_DOWNVOTE)

It is clear that author (of the bad post) loses REP_LOSS_FOR_DOWNVOTING and user (the one that noticed the bad post) loses REP_LOSS_FOR_RECEIVING_DOWNVOTE. It should be the other way round, isn't it?