<commit_before>class ResistorColorDuo

  def self.value(colors)
    number = "#{ColorValues[colors[0]]}" + "#{ColorValues[colors[1]]}[0]"
    number.to_i
  end

  def self.ones_column
    ColorValues[colors[0]]
  end

  def self.tens_column
    ColorValues[colors[1]]
  end

  ColorValues = {
    # "black" => 0,
    "brown" => 10,
    "blue" => 6,
    "grey" => 8,
    "yellow" => 4,
    "violet" => 7,
    "orange" => 3,
    "green" => 5
   }

end
<commit_msg>Clean up<commit_after>class ResistorColorDuo

  def self.value(colors)
    number = "#{ColorValues[colors[0]]}" + "#{ColorValues[colors[1]]}"
    number.to_i
  end

  ColorValues = {
    # "black" => 0,
    "brown" => 10,
    "blue" => 6,
    "grey" => 8,
    "yellow" => 4,
    "violet" => 7,
    "orange" => 3,
    "green" => 5
   }

end

{'fraction_non_alphanumeric': 0.18952618453865336, 'fraction_numerical': 0.03117206982543641, 'mean_word_length': 2.65, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '3008682', 'n_tokens_mistral': 352, 'n_tokens_neox': 316, 'n_words': 63}