<commit_before>class Compiler < Struct.new(:name, :version, :priority)
  # This is exposed under the `build` name for compatibility, since
  # `fails_with` continues to use `build` in the public API.
  # `build` indicates the build number of an Apple compiler.
  # This is preferred over version numbers since there are often
  # significant differences within the same version,
  # e.g. GCC 4.2 build 5553 vs 5666.
  # Non-Apple compilers don't have build numbers.
  alias_method :build, :version

  # The major version for non-Apple compilers. Used to indicate a compiler
  # series; for instance, if the version is 4.8.2, it would return "4.8".
  def major_version
    version.match(/(\d\.\d)/)[0] if name.is_a? String
  end
end
<commit_msg>Remove unused method alias<commit_after>class Compiler < Struct.new(:name, :version, :priority)
  # The major version for non-Apple compilers. Used to indicate a compiler
  # series; for instance, if the version is 4.8.2, it would return "4.8".
  def major_version
    version.match(/(\d\.\d)/)[0] if name.is_a? String
  end
end

{'fraction_non_alphanumeric': 0.1015843429636533, 'fraction_numerical': 0.02050326188257223, 'mean_word_length': 3.710526315789474, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '96567', 'n_tokens_mistral': 341, 'n_tokens_neox': 325, 'n_words': 135}