<commit_before>require "formula"

class Ponysay < Formula
  homepage "http://erkin.co/ponysay/"
  url "https://github.com/erkin/ponysay/archive/3.0.2.tar.gz"
  sha1 "e152b4ffea3dff8d2ca18ab597344e9b50ab78e6"

  bottle do
    sha1 "b84b8b2c6376c9f0dd6cc404dc3089702c14da38" => :mavericks
    sha1 "f4c871b6a3c8d1afcb2c36f83df7237f4c825e9b" => :mountain_lion
    sha1 "ad4531eef91d6dd525d9d38909e11f106b78cfe2" => :lion
  end

  depends_on :python3
  depends_on "coreutils"

  def install
    system "./setup.py",
           "--freedom=partial",
           "--prefix=#{prefix}",
           "--cache-dir=#{prefix}/var/cache",
           "--sysconf-dir=#{prefix}/etc",
           "install"
  end
end<commit_msg>ponysay: test added<commit_after>class Ponysay < Formula
  homepage "http://erkin.co/ponysay/"
  url "https://github.com/erkin/ponysay/archive/3.0.2.tar.gz"
  sha1 "e152b4ffea3dff8d2ca18ab597344e9b50ab78e6"

  bottle do
    sha1 "b84b8b2c6376c9f0dd6cc404dc3089702c14da38" => :mavericks
    sha1 "f4c871b6a3c8d1afcb2c36f83df7237f4c825e9b" => :mountain_lion
    sha1 "ad4531eef91d6dd525d9d38909e11f106b78cfe2" => :lion
  end

  depends_on :python3
  depends_on "coreutils"

  def install
    system "./setup.py",
           "--freedom=partial",
           "--prefix=#{prefix}",
           "--cache-dir=#{prefix}/var/cache",
           "--sysconf-dir=#{prefix}/etc",
           "install"
  end

  test do
    system "#{bin}/ponysay", "-A"
  end
end
{'fraction_non_alphanumeric': 0.1356749311294766, 'fraction_numerical': 0.13774104683195593, 'mean_word_length': 3.163323782234957, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '4694312', 'n_tokens_mistral': 705, 'n_tokens_neox': 624, 'n_words': 81}