<commit_before>class Points2grid < Formula
  homepage "https://github.com/CRREL/points2grid"
  url "https://github.com/CRREL/points2grid/archive/1.3.0.tar.gz"
  sha256 "87acdfd336fac20d2c2a22926b045c7f3f0fc925769a87393aff28b8c351c62b"
  revision 1

  bottle do
    cellar :any
    revision 1
    sha1 "6e0f817d0a1c5fa15d88115df5ab2ffd65f86eb3" => :yosemite
    sha1 "d02a43cb757016963afcca41c7fd610ad420f846" => :mavericks
    sha1 "e89c8c18c41162ce30078bd93cd80509d471047f" => :mountain_lion
  end

  depends_on "cmake" => :build
  depends_on "boost"
  depends_on "gdal"

  def install
    args = std_cmake_args + ["-DWITH_GDAL=ON"]
    libexec.install "example.las"
    system "cmake", ".", *args
    system "make", "install"
  end

  test do
    mktemp do
      system bin/"points2grid",<commit_msg>points2grid: update 1.3.0_1 bottle.<commit_after>class Points2grid < Formula
  homepage "https://github.com/CRREL/points2grid"
  url "https://github.com/CRREL/points2grid/archive/1.3.0.tar.gz"
  sha256 "87acdfd336fac20d2c2a22926b045c7f3f0fc925769a87393aff28b8c351c62b"
  revision 1

  bottle do
    cellar :any
    sha256 "6e840a87ecf89f094ba9a5d6b6ba04be42c82a0b2a8946d199f4d75ea1e8fecd" => :yosemite
    sha256 "65a1c03a002aef1c5ec7a921494b519bad37dfbadfebf42a6e4a1bc6a902fa27" => :mavericks
  end

  depends_on "cmake" => :build
  depends_on "boost"
  depends_on "gdal"

  def install
    args = std_cmake_args + ["-DWITH_GDAL=ON"]
    libexec.install "example.las"
    system "cmake", ".", *args
    system "make", "install"
  end

  test do
    mktemp do
      system bin/"points2grid",
{'fraction_non_alphanumeric': 0.10232266164469554, 'fraction_numerical': 0.16195856873822975, 'mean_word_length': 4.226229508196721, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '3356215', 'n_tokens_mistral': 810, 'n_tokens_neox': 694, 'n_words': 105}