@classmethod
def get_performance(cls, user):
    'Returns sum of reviewer points.'
    key = cls.get_key(('get_performance:%s' % user.id))
    val = cache.get(key)
    if (val is not None):
        return val
    sql = '\n             SELECT `reviewer_scores`.*,\n                    SUM(`reviewer_scores`.`score`) AS `total`\n             FROM `reviewer_scores`\n             LEFT JOIN `addons` ON (`reviewer_scores`.`addon_id`=`addons`.`id`)\n             WHERE `reviewer_scores`.`user_id` = %s\n             ORDER BY `total` DESC\n        '
    with skip_cache():
        val = list(ReviewerScore.objects.raw(sql, [user.id]))
    cache.set(key, val, None)
    return val
Returns sum of reviewer points.
@classmethod
def get_performance(cls, user):
    
    key = cls.get_key(('get_performance:%s' % user.id))
    val = cache.get(key)
    if (val is not None):
        return val
    sql = '\n             SELECT `reviewer_scores`.*,\n                    SUM(`reviewer_scores`.`score`) AS `total`\n             FROM `reviewer_scores`\n             LEFT JOIN `addons` ON (`reviewer_scores`.`addon_id`=`addons`.`id`)\n             WHERE `reviewer_scores`.`user_id` = %s\n             ORDER BY `total` DESC\n        '
    with skip_cache():
        val = list(ReviewerScore.objects.raw(sql, [user.id]))
    cache.set(key, val, None)
    return val