<commit_before>require 'formula'

class Fasta < Formula
  homepage 'http://faculty.virginia.edu/wrpearson/fasta/'
  url 'http://faculty.virginia.edu/wrpearson/fasta/CURRENT/fasta-36.3.5e.tar.gz'
  sha1 'a75cab8d7db3c79904293617a33bab10d95d342c'

  def install
    cd 'src' do
      system 'make', '-f', case RUBY_PLATFORM.downcase
        when /darwin/
          '../make/Makefile.os_x86_64'
        when /linux/
          '../make/Makefile.linux64_sse2'
        else
          raise "The system `#{`uname`.chomp}' is not supported."
      end
    end
    bin.install Dir['bin/*']
    doc.install Dir['doc/*']
  end

  test do
    system "#{bin}/fasta36"
  end
end
<commit_msg>fasta 36.3.6: Closes #274<commit_after>require 'formula'

class Fasta < Formula
  homepage 'http://faculty.virginia.edu/wrpearson/fasta/'
  url 'http://faculty.virginia.edu/wrpearson/fasta/fasta36/fasta-36.3.6.tar.gz'
  sha1 '7f5078135793d6d6cace0f7073368c2c5cab69b7'

  def install
    cd 'src' do
      system 'make', '-f', case RUBY_PLATFORM.downcase
        when /darwin/
          '../make/Makefile.os_x86_64'
        when /linux/
          '../make/Makefile.linux64_sse2'
        else
          raise "The system `#{`uname`.chomp}' is not supported."
      end
    end
    bin.install Dir['bin/*']
    doc.install Dir['doc/*']
  end

  test do
    system "#{bin}/fasta36"
  end
end

{'fraction_non_alphanumeric': 0.1391941391941392, 'fraction_numerical': 0.06446886446886448, 'mean_word_length': 2.4494949494949494, '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': '1802304', 'n_tokens_mistral': 576, 'n_tokens_neox': 531, 'n_words': 99}