<commit_before>require 'formula'

class GnuUnits < Formula
  url 'http://ftpmirror.gnu.org/units/units-1.88.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/units/units-1.88.tar.gz'
  homepage 'http://www.gnu.org/software/units/'
  md5 '9b2ee6e7e0e9c62741944cf33fc8a656'

  def options
    [['--default-names', "Do NOT prepend 'g' to the binary; will override system utils."]]
  end

  def install
    args = ["--prefix=#{prefix}"]
    args << "--program-prefix=g" unless ARGV.include? '--default-names'

    system "./configure", *args
    system "make install"
  end
end<commit_msg>gnu-units 2.00<commit_after>require 'formula'

class GnuUnits < Formula
  homepage 'http://www.gnu.org/software/units/'
  url 'http://ftpmirror.gnu.org/units/units-2.00.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/units/units-2.00.tar.gz'
  sha1 '6da9ea78ff0dc21bc43cf1809c530e61d9394ce0'

  def options
    [['--default-names', "Do NOT prepend 'g' to the binary; will override system utils."]]
  end

  def install
    args = ["--prefix=#{prefix}"]
    args << "--program-prefix=g" unless ARGV.include? '--default-names'

    system "./configure", *args
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.16523235800344235, 'fraction_numerical': 0.05163511187607573, 'mean_word_length': 3.4053030303030303, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4597759', 'n_tokens_mistral': 466, 'n_tokens_neox': 433, 'n_words': 90}