<commit_before>class Phonecode
  Operators = ["Safaricom","Airtel","Yu","Orange"]
  Safaricom_prefixes = [0720,0721,0722,0723,0724,0725,0710]
  Airtel_prefixes = [0730,0731,0732,0733,0734,0735,0746]

  def add_safaricom_prefix(prefix)
    Safaricom_prefixes.push(prefix)
  end

  def add_airtel_prefix(prefix)
    Airtel_prefixes.push(prefix)
  end

end
<commit_msg>refactor methods,introduce new carrier classes<commit_after>module Knykode
  require_relative 'parser'

  class Phonecode
    def operators
      ['Safaricom','Airtel','Yu','Orange','Telkom']
    end

    class Safaricom
      def prefixes
        [0720,0721,0722,0723,0724,0725,0710]
      end
    end

    class Airtel
      def prefixes
        [0730,0731,0732,0733,0734,0735,0746]
      end
    end

    class Yu
      def prefixes

      end
    end

    class Orange
      def prefixes

      end
    end

    class Telkom
      def areacode

      end
    end
  end
end

{'fraction_non_alphanumeric': 0.088016967126193, 'fraction_numerical': 0.11876988335100742, 'mean_word_length': 2.91701244813278, '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': '2065804', 'n_tokens_mistral': 430, 'n_tokens_neox': 359, 'n_words': 65}