def _get_hostnames_in_bucket(hist_data, bucket):
 return [hostname for (hostname, pass_rate) in hist_data if (bucket[0] <= pass_rate < bucket[1])]

def _get_hostnames_in_bucket ( hist_data , bucket ) : return [ hostname for ( hostname , pass_rate ) in hist_data if ( bucket [ 0 ] <= pass_rate < bucket [ 1 ] ) ]
get all the hostnames that constitute a particular bucket in the histogram .