<commit_before>class Mftrace < Formula
  desc "Trace TeX bitmap font to PFA, PFB, or TTF font"
  homepage "https://lilypond.org/mftrace/"
  url "https://lilypond.org/downloads/sources/mftrace/mftrace-1.2.19.tar.gz"
  mirror "https://dl.bintray.com/homebrew/mirror/mftrace-1.2.19.tar.gz"
  sha256 "778126f4220aa31fc91fa8baafd26aaf8be9c5e8fed5c0e92a61de04d32bbdb5"
  license "GPL-2.0"
  revision 3

  bottle do
    cellar :any_skip_relocation
    sha256 "882a66ccd5a29f67e0fcefb320fd2e271b367c84c48710a4d979940ad8abc4a4" => :catalina
    sha256 "216a869a5dc6455c8853f7965993eb86d4c310dad2d2e8b343690de91d5d9621" => :mojave
    sha256 "487f07e5aec705b5503b97654dbafce5c4c01c94d733d0c51d241b595bc801cc" => :high_sierra
  end

  head do
    url "https://github.com/hanwen/mftrace.git"
    depends_on "autoconf" => :build
  end

  depends_on "fontforge"
  depends_on "potrace"
  depends_on "python@3.8"
  depends_on "t1utils"

  def install
    system "./autogen.sh" if build.head?
    system "./configure", "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/mftrace", "--version"
  end
end
<commit_msg>mftrace 1.2.20<commit_after>class Mftrace < Formula
  desc "Trace TeX bitmap font to PFA, PFB, or TTF font"
  homepage "https://lilypond.org/mftrace/"
  url "https://lilypond.org/downloads/sources/mftrace/mftrace-1.2.20.tar.gz"
  mirror "https://dl.bintray.com/homebrew/mirror/mftrace-1.2.20.tar.gz"
  sha256 "626b7a9945a768c086195ba392632a68d6af5ea24ef525dcd0a4a8b199ea5f6f"
  license "GPL-2.0"

  bottle do
    cellar :any_skip_relocation
    sha256 "882a66ccd5a29f67e0fcefb320fd2e271b367c84c48710a4d979940ad8abc4a4" => :catalina
    sha256 "216a869a5dc6455c8853f7965993eb86d4c310dad2d2e8b343690de91d5d9621" => :mojave
    sha256 "487f07e5aec705b5503b97654dbafce5c4c01c94d733d0c51d241b595bc801cc" => :high_sierra
  end

  head do
    url "https://github.com/hanwen/mftrace.git"
    depends_on "autoconf" => :build
  end

  depends_on "fontforge"
  depends_on "potrace"
  depends_on "python@3.8"
  depends_on "t1utils"

  # Fixed in https://github.com/hanwen/mftrace/pull/14
  resource "manpage" do
    url "https://github.com/hanwen/mftrace/raw/release/1.2.20/gf2pbm.1"
    sha256 "f2a7234cba5f59237e3cc1f67e395046b381a012456d4e6e9963673cf35d46fb"
  end

  def install
    buildpath.install resource("manpage") if build.stable?
    system "./autogen.sh" if build.head?
    system "./configure", "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/mftrace", "--version"
  end
end

{'fraction_non_alphanumeric': 0.11503729878288182, 'fraction_numerical': 0.16607773851590105, 'mean_word_length': 4.286307053941909, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3781115', 'n_tokens_mistral': 1317, 'n_tokens_neox': 1134, 'n_words': 166}