docs: public static <T> ImmutableMap<T, Double> asMapKeepingHigestScore(
        final Iterable<Scored<T>> scoredItems) {
      final Map<T, Double> ret = Maps.newHashMap();
  
      for (final Scored<T> scoredItem : scoredItems) {
        final Double curScore = ret.get(scoredItem.item());
        if (curScore != null) {
          if (scoredItem.score() > curScore) {
            ret.put(scoredItem.item(), scoredItem.score());
          }
        } else {
          ret.put(scoredItem.item(), scoredItem.score());
        }
      }
  
      return ImmutableMap.copyOf(ret);
    }