#NEWLINE# def increment_participant_count( self , experiment , alternative_name , participant_identifier ) : #NEWLINE# #INDENT# counter_key = ( PARTICIPANT_KEY % ( alternative_name . name , alternative_name ) ) #NEWLINE# self . counters . increment ( counter_key , participant_identifier ) #NEWLINE# logger . info ( json . dumps ( { #NEWLINE# #INDENT# 'type' : 'participant_add' , #NEWLINE# 'experiment' : experiment . name , #NEWLINE# 'alternative' : alternative_name , #NEWLINE# 'participant' : participant_identifier , #NEWLINE# #UNINDENT# } ) )