<commit_before>defmodule MultisetTest do
  use ExUnit.Case
  doctest Multiset

  test "using reduce" do
    list = [1, 2, 2, 3, 4, 4, 4]

    sum = list
    |> Multiset.new
    |> Enum.reduce(0, fn {_value, multiplicity}, result -> result + multiplicity end)

    assert sum == Enum.count(list)
  end<commit_msg>Set async: true for tests<commit_after>defmodule MultisetTest do
  use ExUnit.Case, async: true
  doctest Multiset

  test "using reduce" do
    list = [1, 2, 2, 3, 4, 4, 4]

    sum = list
    |> Multiset.new
    |> Enum.reduce(0, fn {_value, multiplicity}, result -> result + multiplicity end)

    assert sum == Enum.count(list)
  end
{'fraction_non_alphanumeric': 0.11864406779661017, 'fraction_numerical': 0.02465331278890601, 'mean_word_length': 3.088050314465409, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6018941', 'n_tokens_mistral': 250, 'n_tokens_neox': 217, 'n_words': 73}