Have you found a reason for the difference in the average karma that you calculated and the one on your actual profile?
(def update-avg (user)
(= (uvar user avg) (comment-score user))
(save-prof user))
; Ignore the most recent 5 comments since they may still be gaining votes.
; Also ignore the highest-scoring comment, since possibly a fluff outlier.
(def comment-score (user)
(aif (check (nthcdr 5 (comments user 50)) [len> _ 10])
(avg (cdr (sort > (map !score (rem !deleted it)))))
nil))Personally I don't much like this: average karma is a fairly good proxy for what I want to be optimizing in my HN participation, but the way HN reports it more or less pessimizes it as a feedback tool for me. (I'm a fairly infrequent and "bursty" commenter; HN's reporting of average karma isn't up-to-date enough to tell me what HN thinks of what I've been doing recently, nor is it long-term enough to tell me what HN thinks of me overall.)
The right answer, of course, is not to care much about karma. This is made easier by the fact that the correlation between HN karma and my own judgement of comment quality is weak, and I'm arrogant enough to think the latter is more accurate.