<commit_before>require 'hardware'

module Homebrew extend self
  def __config
    puts config_s
  end

  def llvm
    @llvm ||= MacOS.llvm_build_version
  end

  def gcc_42
    @gcc_42 ||= MacOS.gcc_42_build_version
  end

  def gcc_40
    @gcc_40 ||= MacOS.gcc_40_build_version
  end

  def clang
    @clang ||= MacOS.clang_version
  end

  def clang_build
    @clang_build ||= MacOS.clang_build_version
  end

  def describe_xcode
    @describe_xcode ||= begin
      default_prefix = case MacOS.version
        when 10.5, 10.6 then '/Developer'
        else '/Applications/Xcode.app/Contents/Developer'
        end

      guess = '(guessed)' unless MacOS.xcode_installed?
      prefix = "=> #{MacOS.xcode_prefix}" unless MacOS.xcode_prefix.to_s == default_prefix

      [MacOS.xcode_version, guess, prefix].compact.join(' ')
    end<commit_msg>config: omit Xcode path for CLT-only systems<commit_after>require 'hardware'

module Homebrew extend self
  def __config
    puts config_s
  end

  def llvm
    @llvm ||= MacOS.llvm_build_version
  end

  def gcc_42
    @gcc_42 ||= MacOS.gcc_42_build_version
  end

  def gcc_40
    @gcc_40 ||= MacOS.gcc_40_build_version
  end

  def clang
    @clang ||= MacOS.clang_version
  end

  def clang_build
    @clang_build ||= MacOS.clang_build_version
  end

  def describe_xcode
    @describe_xcode ||= begin
      default_prefix = case MacOS.version
        when 10.5, 10.6 then '/Developer'
        else '/Applications/Xcode.app/Contents/Developer'
        end

      guess = '(guessed)' unless MacOS.xcode_installed?
      prefix = if MacOS.xcode_installed?
        "=> #{MacOS.xcode_prefix}" unless MacOS.xcode_prefix.to_s == default_prefix
      end

      [MacOS.xcode_version, guess, prefix].compact.join(' ')
    end
{'fraction_non_alphanumeric': 0.09281267685342388, 'fraction_numerical': 0.02037351443123939, 'mean_word_length': 2.9464285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '796219', 'n_tokens_mistral': 674, 'n_tokens_neox': 613, 'n_words': 136}