<commit_before>require 'formula'

class Base64 < Formula
  homepage 'http://www.fourmilab.ch/webtools/base64/'
  url 'http://www.fourmilab.ch/webtools/base64/base64-1.5.tar.gz'
  sha1 '25b5ae71c2818c7a489065ca1637806cd5109524'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking"
    system "make"
    bin.install "base64"
    man1.install "base64.1"
  end

  test do
    path = testpath/"a.txt"
    path.write "hello"
    assert_equal "aGVsbG8=", shell_output("#{bin}/base64 #{path}").strip<commit_msg>base64: pass strict audit<commit_after>class Base64 < Formula
  homepage "http://www.fourmilab.ch/webtools/base64/"
  url "http://www.fourmilab.ch/webtools/base64/base64-1.5.tar.gz"
  sha256 "2416578ba7a7197bddd1ee578a6d8872707c831d2419bdc2c1b4317a7e3c8a2a"

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking"
    system "make"
    bin.install "base64"
    man1.install "base64.1"
  end

  test do
    path = testpath/"a.txt"
    path.write "hello"
    assert_equal "aGVsbG8=", shell_output("#{bin}/base64 #{path}").strip
{'fraction_non_alphanumeric': 0.14777878513145964, 'fraction_numerical': 0.1042611060743427, 'mean_word_length': 3.8634361233480177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7103004', 'n_tokens_mistral': 483, 'n_tokens_neox': 422, 'n_words': 68}