Bug #336430 “Allow deleting karmas” : Bugs : Ibid

Allow deleting karmas

Bug #336430 reported by Stefano Rivera
2
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Medium
Stefano Rivera

Bug Description

Query: ibid++
Query: ibid--
Query: karmaladder
Response: 0: ibid (0)
Query: karma ibid
Response: ibid has karma of 0

Silly people karma silly things, allow admins to remove useless karmas.

Revision history for this message
Jonathan Hitchcock (vhata) wrote :

The karma plugin also keeps track of 'changes' - i.e. the number of times a karma has gone up and down altogether, so you can see what the most contentious thing is, perhaps. If something went all the way up to 100 and then back down to zero, we'd probably want to keep the entry around, but if it went up one, and then got removed again, we should toss it.

In other words, if the new karma is zero, and the 'changes' value is four or less (?), we should remove the entry from the database, yes?

Another point, from the Get processor in the karma plugin:

        karma = session.query(Karma).filter(func.lower(Karma.subject)==subject.lower()).first()
        if not karma:
            event.addresponse(u"%s has neutral karma" % subject)

Note that a karma of zero in this case is not the same as 'neutral karma'. I could even argue that having a karma of zero (i.e. your 'changes' is more than four, but your 'karma' is zero) is 'neutral karma', but not having any karma entry should be called something else ("nobody cares, dude").

Changed in ibid:
importance: Undecided → Medium
milestone: none → 0.2
status: New → Confirmed
Changed in ibid:
assignee: nobody → stefanor
status: Confirmed → In Progress
Revision history for this message
Michael Gorven (mgorven) wrote : Re: [Bug 336430] Re: Allow deleting karmas

I'm not convinced that we need this. Deleting definitely shouldn't be
automatic -- if anything it must be an explicit 'delete karma' command. I'd
actually prefer to just leave this and let the bot owner mess with the
database if they really want to delete karma entries.

Revision history for this message
Stefano Rivera (stefanor) wrote :

I think there must be some deletion mechanism. Haven't you seen the number of times somebody karmas something silly in #clug, and Vhata / someone will un-karma it because it was a stupid thing to karma (or the syntax was wrong and they were karmaing an entire sentance).

Revision history for this message
Michael Gorven (mgorven) wrote :

Keeping silly karmas may be interesting in itself. I'd be happy with a 'delete
karma' command though -- I just don't like automatically deleting karma
entries.

Changed in ibid:
milestone: 0.2 → 0.1
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Loading subscribers...

Remote bug watches

Bug watches keep track of this bug in other bug trackers.