<commit_before>require 'formula'

class Gsl114 < Formula
  homepage 'https://www.gnu.org/software/gsl/'
  url 'http://ftpmirror.gnu.org/gsl/gsl-1.14.tar.gz'
  mirror 'https://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz'
  sha1 'e1a600e4fe359692e6f0e28b7e12a96681efbe52'

  option :universal

  def install
    ENV.universal_binary if build.universal?

    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make" # "make" and "make install" _must_ be done separately
    system "make install"
  end
end<commit_msg>gsl114: add test<commit_after>class Gsl114 < Formula
  homepage "https://www.gnu.org/software/gsl/"
  url "http://ftpmirror.gnu.org/gsl/gsl-1.14.tar.gz"
  mirror "https://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz"
  sha256 "3d4a47afd9a1e7c73b97791b4180d8cc4d5f0e5db6027fe06437f1f3f957fafb"

  option :universal

  def install
    ENV.universal_binary if build.universal?

    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make" # "make" and "make install" *must* be done separately
    system "make", "install"
  end

  test do
    system bin/"gsl-config", "--prefix", "--cflags", "--version"
  end
end
{'fraction_non_alphanumeric': 0.15156646909398813, 'fraction_numerical': 0.07366638441998306, 'mean_word_length': 3.746987951807229, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '2031361', 'n_tokens_mistral': 509, 'n_tokens_neox': 449, 'n_words': 85}