<commit_before>class RtAudio < Formula
  desc "API for realtime audio input/output"
  homepage "https://www.music.mcgill.ca/~gary/rtaudio/"
  url "https://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.1.0.tar.gz"
  sha256 "ff138b2b6ed2b700b04b406be718df213052d4c952190280cf4e2fab4b61fe09"
  license "MIT"
  head "https://github.com/thestk/rtaudio.git"

  bottle do
    sha256 cellar: :any, catalina:    "3bd5402da0ae1e25e31f77ca84c15ea33b5ef038d82831d25702b5a481c884d2"
    sha256 cellar: :any, mojave:      "4db658b2cf66faf2c51ae7176ba7b755c6deb9b65c73051495e11ba0801ef1e8"
    sha256 cellar: :any, high_sierra: "d6e1587636446e2e54fb58faf871a71b82e62c8873ba15ec3edf3dc180483738"
    sha256 cellar: :any, sierra:      "05b1394b494ab9b9bdf49add3935835503e9ac487993dd13d6c22a8ccb911133"
  end

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
    doc.install Dir["doc/*"]
    pkgshare.install "tests"
  end

  test do
    system ENV.cxx, "-I#{include}/rtaudio", "-L#{lib}", "-lrtaudio",
           pkgshare/"tests/testall.cpp", "-o", "test"
    system "./test"
  end<commit_msg>rt-audio: fix shim pollution<commit_after>class RtAudio < Formula
  desc "API for realtime audio input/output"
  homepage "https://www.music.mcgill.ca/~gary/rtaudio/"
  url "https://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.1.0.tar.gz"
  sha256 "ff138b2b6ed2b700b04b406be718df213052d4c952190280cf4e2fab4b61fe09"
  license "MIT"
  revision 1
  head "https://github.com/thestk/rtaudio.git"

  bottle do
    sha256 cellar: :any, catalina:    "3bd5402da0ae1e25e31f77ca84c15ea33b5ef038d82831d25702b5a481c884d2"
    sha256 cellar: :any, mojave:      "4db658b2cf66faf2c51ae7176ba7b755c6deb9b65c73051495e11ba0801ef1e8"
    sha256 cellar: :any, high_sierra: "d6e1587636446e2e54fb58faf871a71b82e62c8873ba15ec3edf3dc180483738"
    sha256 cellar: :any, sierra:      "05b1394b494ab9b9bdf49add3935835503e9ac487993dd13d6c22a8ccb911133"
  end

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
    doc.install %w[doc/release.txt doc/html doc/images]
    (pkgshare/"tests").install "tests/testall.cpp"
  end

  test do
    system ENV.cxx, "-I#{include}/rtaudio", "-L#{lib}", "-lrtaudio",
           pkgshare/"tests/testall.cpp", "-o", "test"
    system "./test"
  end
{'fraction_non_alphanumeric': 0.12447817836812144, 'fraction_numerical': 0.1681214421252372, 'mean_word_length': 3.300163132137031, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, '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': '4396815', 'n_tokens_mistral': 1302, 'n_tokens_neox': 1072, 'n_words': 148}