<commit_before>gem 'minitest'
require 'minitest/autorun'
require 'minitest/pride'

class AllTest < Minitest::Test

  def test_all_zeros
    numbers = [0, 0, 0, 0, 0, 0, 0]
    all_zeros = numbers.all? do |number|
      number.zero?
    end
    assert all_zeros
  end

  def test_not_all_zeros
    numbers = [0, 0, 0, 0, 1, 0, 0, 0]
    all_zeros = numbers.all? do |number|
      # Your code goes here
    end
    refute all_zeros
  end

  def test_all_gone
    skip
    words = ["gone", "gone", "gone", "gone", "gone", "gone", "gone"]
    # Your code goes here
    assert all_gone
  end

  def test_not_all_gone
    skip
    words = ["gone", "gone", "gone", "gone", "gone", "there", "gone", "gone"]
    # Your code goes here
    refute all_gone
  end

  def test_all_empty
    skip
    strings = ["", "", "", "", "", "", ""]
    # Your code goes here
    assert all_empty
  end

  def test_not_all_empty
    skip
    strings = ["", "", "", "full", "", "", ""]
    # Your code goes here
    refute all_empty
  end

  def test_not_all_uppercase
    skip
    words = ["DOUGHNUT", "CASH", "MAIN", "bOWl", "SMACK", "SAND"]
    # Your code goes here
    refute all_caps
  end

  def test_all_lies
    skip
    lies = [false, false, false, false]
    # Your code goes here
    assert all_lies
  end

  def test_all_multiples_of_7
    skip
    numbers = [42, 14, 35, 49, 28, 56, 21, 7]
    # Your code goes here
    assert all_multiples_of_7
  end

  def test_not_all_3_digits_long
    skip
    numbers = [981, 831, 509, 332, 892, 8999, 110]
    # Your code goes here
    refute all_3_digits
  end

  def test_all_4_letter_words
    skip
    words = ["love", "hate", "fire", "bird", "call"]
    # Your code goes here
    assert all_4_letters
  end

end<commit_msg>banging em out<commit_after>gem 'minitest'
require 'minitest/autorun'
require 'minitest/pride'
require 'pry'

class AllTest < Minitest::Test

  def test_all_zeros
    numbers = [0, 0, 0, 0, 0, 0, 0]
    all_zeros = numbers.all? do |number|
      number.zero?
    end
    assert all_zeros
  end

  def test_not_all_zeros
    numbers = [0, 0, 0, 0, 1, 0, 0, 0]
    all_zeros = numbers.all? do |number|
      number.zero?
    end
    refute all_zeros
  end

  def test_all_gone
    words = ["gone", "gone", "gone", "gone", "gone", "gone", "gone"]
    all_gone = words.all? do |word|
      word == "gone"
    end
    assert all_gone
  end

  def test_not_all_gone
    words = ["gone", "gone", "gone", "gone", "gone", "there", "gone", "gone"]
    all_gone = words.all? do |word|
      word == "gone"
    end
    refute all_gone
  end

  def test_all_empty
    strings = ["", "", "", "", "", "", ""]
    all_empty = strings.all? do |string|
      string == ""
    end
    assert all_empty
  end

  def test_not_all_empty
    strings = ["", "", "", "full", "", "", ""]
    all_empty = strings.all? do |string|
      string == ""
    end
    refute all_empty
  end

  def test_not_all_uppercase
    words = ["DOUGHNUT", "CASH", "MAIN", "bOWl", "SMACK", "SAND"]
    all_caps = words.all? do |word|
      if word.upcase == true
      end
    end
    refute all_caps
  end

  def test_all_lies
    lies = [false, false, false, false]
    all_lies = lies.all? do |lie|
      lie = true if lie == false
    end
    assert all_lies
  end

  def test_all_multiples_of_7
    numbers = [42, 14, 35, 49, 28, 56, 21, 7]
    all_multiples_of_7 = numbers.all? do |num|
      num = true if num % 7 == 0
    end
  assert all_multiples_of_7
  end

  def test_not_all_3_digits_long
    numbers = [981, 831, 509, 332, 892, 8999, 110]
    all_3_digits = numbers.all? do |num|
      num = true if num.to_s.length == 3
    end
    refute all_3_digits
  end

  def test_all_4_letter_words
    words = ["love", "hate", "fire", "bird", "call"]
    all_4_letters = words.all? do |word|
      word = true if word.length == 4
    end
    assert all_4_letters
  end

end

{'fraction_non_alphanumeric': 0.12798766383962992, 'fraction_numerical': 0.03161141094834233, 'mean_word_length': 2.580496780128795, 'pattern_counts': {'":': 0, '<': 5, '<?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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3267407', 'n_tokens_mistral': 1623, 'n_tokens_neox': 1458, 'n_words': 425}