<commit_before>if !System.get_env("EXERCISM_TEST_EXAMPLES") do
  Code.load_file("scrabble.exs")
end

ExUnit.start
ExUnit.configure exclude: :pending, trace: true

defmodule ScrabbleScoreTest do
  use ExUnit.Case

  # @tag :pending
  test "empty word scores zero" do
    assert Scrabble.score("") == 0
  end

  @tag :pending
  test "whitespace scores zero" do
    assert Scrabble.score(" \t\n") == 0
  end

  @tag :pending
  test "scores very short word" do
    assert Scrabble.score("a") == 1
  end

  @tag :pending
  test "scores other very short word" do
    assert Scrabble.score("f") == 4
  end

  @tag :pending
  test "simple word scores the number of letters" do
    assert Scrabble.score("street") == 6
  end

  @tag :pending
  test "complicated word scores more" do
    assert Scrabble.score("quirky") == 22
  end

  @tag :pending
  test "scores are case insensitive" do
    assert Scrabble.score("MULTIBILLIONAIRE") == 20
  end

  @tag :pending
  test "convenient scoring" do
    assert Scrabble.score("alacrity") == 13
  end
end<commit_msg>scrabble-score: replace 'multibillionaire' with 'oxyphenbutazone'<commit_after>if !System.get_env("EXERCISM_TEST_EXAMPLES") do
  Code.load_file("scrabble.exs")
end

ExUnit.start
ExUnit.configure exclude: :pending, trace: true

defmodule ScrabbleScoreTest do
  use ExUnit.Case

  # @tag :pending
  test "empty word scores zero" do
    assert Scrabble.score("") == 0
  end

  @tag :pending
  test "whitespace scores zero" do
    assert Scrabble.score(" \t\n") == 0
  end

  @tag :pending
  test "scores very short word" do
    assert Scrabble.score("a") == 1
  end

  @tag :pending
  test "scores other very short word" do
    assert Scrabble.score("f") == 4
  end

  @tag :pending
  test "simple word scores the number of letters" do
    assert Scrabble.score("street") == 6
  end

  @tag :pending
  test "complicated word scores more" do
    assert Scrabble.score("quirky") == 22
  end

  @tag :pending
  test "scores are case insensitive" do
    assert Scrabble.score("OXYPHENBUTAZONE") == 41
  end

  @tag :pending
  test "convenient scoring" do
    assert Scrabble.score("alacrity") == 13
  end
end
{'fraction_non_alphanumeric': 0.10785681078568107, 'fraction_numerical': 0.010227801022780102, 'mean_word_length': 3.559322033898305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1554965', 'n_tokens_mistral': 789, 'n_tokens_neox': 738, 'n_words': 233}