- (1, 'gain_by_upvoted'),
- (2, 'gain_by_answer_accepted'),
- (3, 'gain_by_accepting_answer'),
- (4, 'gain_by_downvote_canceled'),
- (5, 'gain_by_canceling_downvote'),
- (-1, 'lose_by_canceling_accepted_answer'),
- (-2, 'lose_by_accepted_answer_cancled'),
- (-3, 'lose_by_downvoted'),
- (-4, 'lose_by_flagged'),
- (-5, 'lose_by_downvoting'),
- (-6, 'lose_by_flagged_lastrevision_3_times'),
- (-7, 'lose_by_flagged_lastrevision_5_times'),
- (-8, 'lose_by_upvote_canceled'),
+ (TYPE_REPUTATION_GAIN_BY_UPVOTED, 'gain_by_upvoted'),
+ (TYPE_REPUTATION_GAIN_BY_ANSWER_ACCEPTED, 'gain_by_answer_accepted'),
+ (TYPE_REPUTATION_GAIN_BY_ACCEPTING_ANSWER, 'gain_by_accepting_answer'),
+ (TYPE_REPUTATION_GAIN_BY_DOWNVOTE_CANCELED, 'gain_by_downvote_canceled'),
+ (TYPE_REPUTATION_GAIN_BY_CANCELING_DOWNVOTE, 'gain_by_canceling_downvote'),
+ (TYPE_REPUTATION_LOST_BY_CANCELLING_ACCEPTED_ANSWER, 'lose_by_canceling_accepted_answer'),
+ (TYPE_REPUTATION_LOST_BY_ACCEPTED_ANSWER_CANCELED, 'lose_by_accepted_answer_cancled'),
+ (TYPE_REPUTATION_LOST_BY_DOWNVOTED, 'lose_by_downvoted'),
+ (TYPE_REPUTATION_LOST_BY_FLAGGED, 'lose_by_flagged'),
+ (TYPE_REPUTATION_LOST_BY_DOWNVOTING, 'lose_by_downvoting'),
+ (TYPE_REPUTATION_LOST_BY_FLAGGED_3_TIMES, 'lose_by_flagged_lastrevision_3_times'),
+ (TYPE_REPUTATION_LOST_BY_FLAGGED_5_TIMES, 'lose_by_flagged_lastrevision_5_times'),
+ (TYPE_REPUTATION_LOST_BY_UPVOTE_CANCELED, 'lose_by_upvote_canceled'),