<commit_before>class Squares
  def initialize(number)
    @number = number
  end

  def square_of_sum()
    (1..@number).reduce(:+)**2
  end

  def sum_of_squares()
    55
  end
end<commit_msg>Solutaion to sum of squares<commit_after>class Squares
  def initialize(number)
    @number = number
  end

  def square_of_sum()
    (1..@number).reduce(:+)**2
  end

  def sum_of_squares()
    array = (1..@number).to_a

    sqr = []
    array.each do |i|
      sqr.push(i **2)
    end

    sqr.reduce(:+)
  end
end
{'fraction_non_alphanumeric': 0.13555992141453832, 'fraction_numerical': 0.015717092337917484, 'mean_word_length': 2.7226277372262775, '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': '4934176', 'n_tokens_mistral': 208, 'n_tokens_neox': 193, 'n_words': 44}