def _mock_random_weighted_choice(items, weight_attribute='weight'):  # pylint: disable=unused-argument
  """Mock random_weighted_choice."""
  # Always select the first element rather than a random one for the sake of
  # determinism.
  return items[0]