<s> """<STR_LIT>""" <EOL> def compute_one_jaccard_distance ( arg ) : <EOL> """<STR_LIT>""" <EOL> distance = jaccard_distance ( set ( arg . tags_a ) , set ( arg . tags_b ) ) <EOL> return ( arg . shred_a_id , arg . shred_b_id , distance ) <EOL> def jaccard_distance ( tags_a , tags_b ) : <EOL> """<STR_LIT>""" <EOL> return <NUM_LIT:1> - len ( tags_a . intersection ( tags_b ) ) / len ( tags_a . union ( tags_b ) ) </s>
