<s> from brabeion import badges <EOL> from brabeion . base import Badge as BadgeBase , BadgeAwarded <EOL> from lib . brabeion_utils import BadgeDetail <EOL> from annoying . functions import get_config <EOL> class LabRatBadge ( BadgeBase ) : <EOL> slug = '<STR_LIT>' <EOL> levels = [ <EOL> BadgeDetail ( "<STR_LIT>" , "<STR_LIT>" , <NUM_LIT:200> ) , <EOL> ] <EOL> events = [ <EOL> '<STR_LIT>' , <EOL> ] <EOL> multiple = False <EOL> def award ( self , ** state ) : <EOL> if get_config ( '<STR_LIT>' , False ) : <EOL> return BadgeAwarded ( level = <NUM_LIT:1> ) <EOL> badges . register ( LabRatBadge ) </s>
