<commit_before>class Cmark < Formula
  desc "Strongly specified, highly compatible implementation of Markdown"
  homepage "http://commonmark.org"
  url "https://github.com/jgm/cmark/archive/0.26.1.tar.gz"
  sha256 "b50615a97f9c19e353d65f3bdbd6898ed1443a6f49e38f0aa888d5b58867f5d6"

  bottle do
    cellar :any
    sha256 "f74ef1e2939171993a67d17cd08d27a6293aa27c93b65ab1af5e110015426013" => :el_capitan
    sha256 "6fa78722a84775b2ff9d2698d6715bf3ec048ed81dbe9326661ee9f5dfa00abe" => :yosemite
    sha256 "2a032145606f1c0b20ab7bebc5ad61235c1ce1ca1db3ea084d7671b4e6698498" => :mavericks
  end

  depends_on "cmake" => :build
  depends_on :python3 => :build

  def install
    mkdir "build" do
      system "cmake", "..", *std_cmake_args
      system "make"
      system "make", "test"
      system "make", "install"
    end
  end

  test do<commit_msg>cmark: update 0.26.1 bottle.<commit_after>class Cmark < Formula
  desc "Strongly specified, highly compatible implementation of Markdown"
  homepage "http://commonmark.org"
  url "https://github.com/jgm/cmark/archive/0.26.1.tar.gz"
  sha256 "b50615a97f9c19e353d65f3bdbd6898ed1443a6f49e38f0aa888d5b58867f5d6"

  bottle do
    cellar :any
    sha256 "5df622e01450936300ed1d69eded3bd6ecd3b5bab4b57c7c8ee87822b41fa28d" => :el_capitan
    sha256 "ed3b5eb6d3a5c55bb3c1c75848a8439db6a30de7322db0c12075e218aaef25cb" => :yosemite
    sha256 "4797178f1c1360fc53a115d6760b5d677707204ae588fa848ce869d58ae35bf4" => :mavericks
  end

  depends_on "cmake" => :build
  depends_on :python3 => :build

  def install
    mkdir "build" do
      system "cmake", "..", *std_cmake_args
      system "make"
      system "make", "test"
      system "make", "install"
    end
  end

  test do
{'fraction_non_alphanumeric': 0.09202096680256261, 'fraction_numerical': 0.20966802562609202, 'mean_word_length': 4.4888178913738015, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '6225386', 'n_tokens_mistral': 917, 'n_tokens_neox': 736, 'n_words': 116}