<commit_before>class MongoCDriver < Formula
  desc "C driver for MongoDB"
  homepage "https://github.com/mongodb/mongo-c-driver"
  url "https://github.com/mongodb/mongo-c-driver/releases/download/1.5.0/mongo-c-driver-1.5.0.tar.gz"
  sha256 "b9b7514052fe7ec40786d8fc22247890c97d2b322aa38c851bba986654164bd6"

  bottle do
    cellar :any
    sha256 "5efcb632391b92a4c757657109ad33ff2f64229b71e372e6cc0cb009ecc0c983" => :sierra
    sha256 "3a3ee2219d057fc2bf811d206c4ea45d7c761c9d7ded6841d643a2f5660efeda" => :el_capitan
    sha256 "4ea7dddaf58fb7d3f3fe3b43a8bb8dba71fb9e11687db887d6ceb4f3b24ccb86" => :yosemite
  end

  head do
    url "https://github.com/mongodb/mongo-c-driver.git"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "pkg-config" => :build

  def install
    system "./autogen.sh" if build.head?

    args = %W[
      --disable-debug
      --disable-dependency-tracking
      --disable-silent-rules<commit_msg>mongo-c-driver 1.5.1<commit_after>class MongoCDriver < Formula
  desc "C driver for MongoDB"
  homepage "https://github.com/mongodb/mongo-c-driver"
  url "https://github.com/mongodb/mongo-c-driver/releases/download/1.5.1/mongo-c-driver-1.5.1.tar.gz"
  sha256 "4c6052f4103bb98c2d6f3689975cff97a8b3aa192a9f5885348a1434e2cd56cc"

  bottle do
    cellar :any
    sha256 "5efcb632391b92a4c757657109ad33ff2f64229b71e372e6cc0cb009ecc0c983" => :sierra
    sha256 "3a3ee2219d057fc2bf811d206c4ea45d7c761c9d7ded6841d643a2f5660efeda" => :el_capitan
    sha256 "4ea7dddaf58fb7d3f3fe3b43a8bb8dba71fb9e11687db887d6ceb4f3b24ccb86" => :yosemite
  end

  head do
    url "https://github.com/mongodb/mongo-c-driver.git"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "pkg-config" => :build

  def install
    system "./autogen.sh" if build.head?

    args = %W[
      --disable-debug
      --disable-dependency-tracking
      --disable-silent-rules
{'fraction_non_alphanumeric': 0.1113873694679264, 'fraction_numerical': 0.16956737941322725, 'mean_word_length': 4.0049751243781095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 6, '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': '1519128', 'n_tokens_mistral': 1047, 'n_tokens_neox': 878, 'n_words': 112}