<commit_before>require 'formula'

class Tcping < Formula
  homepage 'http://www.linuxco.de/tcping/tcping.html'
  url 'http://www.linuxco.de/tcping/tcping-1.3.5.tar.gz'
  sha1 'ecc5fe7fb2f8e86a1fc2d09651310b26fa922c7b'

  def install
    system "make"
    bin.install 'tcping'
  end
end<commit_msg>tcping: modernize and add test<commit_after>class Tcping < Formula
  homepage "http://www.linuxco.de/tcping/tcping.html"
  url "http://www.linuxco.de/tcping/tcping-1.3.5.tar.gz"
  sha1 "ecc5fe7fb2f8e86a1fc2d09651310b26fa922c7b"

  def install
    system "make"
    bin.install "tcping"
  end

  test do
    system "#{bin}/tcping", "www.google.com", "80"
  end
end
{'fraction_non_alphanumeric': 0.1318181818181818, 'fraction_numerical': 0.08181818181818182, 'mean_word_length': 3.8248175182481754, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, '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': '2709257', 'n_tokens_mistral': 306, 'n_tokens_neox': 286, 'n_words': 46}