def _get_prob(simdata, score_thr, score_table):
  """Computes mean and bounds of the probability of a score above a threshold.

  Args:
    simdata: SimData object.
    score_thr: Score threshold at which to evaluate the probability.
    score_table: 2-element tuple containing (table, score).

  Returns:
    A tuple (mean, lower_bound, upper bound).
  """
  scoredata = simdata.get_score_data(score_table[0], score_table[1],
                                     verbose=False)
  probdata = scoredata.prob_above(score_thr)
  return (probdata.mean, probdata.bounds[0], probdata.bounds[1])