def get_ratio_served(solution):
  """Returns the ratio of users that have been assigned a video representation.
  """
  nserved = 0
  for u in solution["users"]:
    if "mos" in u:
      nserved += 1
  return nserved/len(solution["users"])