def baseline_from_counters(counters)
      baseline = {}
      uid_groups = counters.group_by { |x| x.uid }
      uid_groups.each do |uid, counts|
        baseline[uid] = score_counts(counts)
      end
      baseline
    end
def baseline_from_counters(counters)
      baseline = {}
      uid_groups = counters.group_by { |x| x.uid }
      uid_groups.each do |uid, counts|
        baseline[uid] = score_counts(counts)
      end
      baseline
    end
Calculates the baseline from counters