<commit_before>require 'formula'

class Fits <Formula
  url 'http://fits.googlecode.com/files/fits-0.4.2.zip'
  homepage 'http://code.google.com/p/fits/'
  md5 'd5a2aba74c701d7c91e6f69bcb72a8f2'

  def install
    inreplace 'fits.sh' do |s|
      s.gsub!  "FITS_HOME=`echo \"$0\" | sed 's,/[^/]*$,,'`", "FITS_HOME=#{prefix}"
      s.gsub! "${FITS_HOME}/lib", libexec
    end

    prefix.install %w{ COPYING COPYING.LESSER tools xml }
    prefix.install Dir['*.txt']
    libexec.install Dir['lib/*']
    bin.install 'fits.sh' => 'fits'
  end
end
<commit_msg>Update formula: fits<commit_after>require 'formula'

class Fits <Formula
  url 'http://fits.googlecode.com/files/fits-0.4.3.zip'
  homepage 'http://code.google.com/p/fits/'
  md5 '24d1c71def27500b2edf68b1a40f6f84'

  def install
    inreplace 'fits.sh' do |s|
      s.gsub!  "FITS_HOME=`echo \"$0\" | sed 's,/[^/]*$,,'`", "FITS_HOME=#{prefix}"
      s.gsub! "${FITS_HOME}/lib", libexec
    end

    prefix.install %w{ COPYING COPYING.LESSER tools xml }
    prefix.install Dir['*.txt']
    libexec.install Dir['lib/*']
    bin.install 'fits.sh' => 'fits'
  end
end

{'fraction_non_alphanumeric': 0.1864406779661017, 'fraction_numerical': 0.04103479036574487, 'mean_word_length': 3.332046332046332, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6682421', 'n_tokens_mistral': 496, 'n_tokens_neox': 459, 'n_words': 86}