<commit_before>require "formula"

class Homer < Formula
  homepage "https://github.com/bfontaine/homer"
  url "https://github.com/bfontaine/homer/archive/0.1.3.tar.gz"
  sha1 "74f61ec863d1305e4e808fa97000d74a14bd3843"

  def install
    ENV['PREFIX'] = prefix
    system "make", "install"
  end

  test do
    system "#{bin}/homer -O mylog touch a_file"
    system "[ -f mylog ]"
    system "[ -f a_file ]"
  end
end<commit_msg>homer: modernize<commit_after>class Homer < Formula
  homepage "https://github.com/bfontaine/homer"
  url "https://github.com/bfontaine/homer/archive/0.1.3.tar.gz"
  sha1 "74f61ec863d1305e4e808fa97000d74a14bd3843"

  def install
    system "make", "PREFIX=#{prefix}", "install"
  end

  test do
    system "#{bin}/homer", "-O", "mylog", "touch", "a_file"
    assert File.exist? "mylog"
    assert File.exist? "a_file"
  end
end
{'fraction_non_alphanumeric': 0.14619883040935672, 'fraction_numerical': 0.07485380116959064, 'mean_word_length': 3.6775956284153004, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '5583175', 'n_tokens_mistral': 374, 'n_tokens_neox': 335, 'n_words': 67}