<commit_before>require "formula"

class Compute < Formula
  homepage "http://agordon.github.io/compute/"
  head "https://github.com/agordon/compute.git"
  url "https://github.com/agordon/compute/releases/download/v1.0.3/compute-1.0.3.tar.gz"
  sha1 "701096fd061536a621b2b02cbad91662c1a12d78"

  if build.head?
    depends_on :autoconf => :build
    depends_on :automake => :build
    depends_on :gettext => :build
  end

  def install
    # Remove unrecognized options if warned by configure
    system "./configure", "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "check"
    system "make", "install"
  end

  test do
    system "true"
  end
end
<commit_msg>compute: upgrade to version 1.0.4<commit_after>require "formula"

class Compute < Formula
  homepage "http://agordon.github.io/compute/"
  head "https://github.com/agordon/compute.git"
  url "https://s3.amazonaws.com/agordon/compute/src/compute-1.0.4.tar.gz"
  sha1 "058c36814d071f8334e74c5d01edab94941e8368"

  if build.head?
    depends_on :autoconf => :build
    depends_on :automake => :build
    depends_on :gettext => :build
  end

  def install
    # Remove unrecognized options if warned by configure
    system "./configure", "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "check"
    system "make", "install"
  end

  test do
    system "true"
  end
end

{'fraction_non_alphanumeric': 0.12974465148378192, 'fraction_numerical': 0.049689440993788817, 'mean_word_length': 2.9617486338797816, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1584034', 'n_tokens_mistral': 534, 'n_tokens_neox': 497, 'n_words': 110}