<commit_before>class Bear < Formula
  desc "Generate compilation database for clang tooling"
  homepage "https://github.com/rizsotto/Bear"
  url "https://github.com/rizsotto/Bear/archive/3.0.19.tar.gz"
  sha256 "2fcfe2c6e029182cfc54ed26b3505c0ef12b0f43df03fb587f335afdc2ca9431"
  license "GPL-3.0-or-later"
  head "https://github.com/rizsotto/Bear.git", branch: "master"

  bottle do
    sha256 arm64_monterey: "77e608020eb342f5a53a268cb90fe8c957937da64ff4e9b792a3925c5945f730"
    sha256 arm64_big_sur:  "3b6549dcc5b7003ccf097b576cfd08c6f7b03ca72e6f0d143e2819961e1ec5fb"
    sha256 monterey:       "5ed0d27f619a2e5bd3bc92349d232e30a21c09832fdc16235d57fe1ccaf55dd3"
    sha256 big_sur:        "4bc969951fb96b6b2deacd51145a5f9a471a2e8d54907b4496534c9dcfad9271"
    sha256 catalina:       "485e6502bad2d8eb11b580d24dd1fc3d3fad51310573547bb8fdb1ea77a8b853"
    sha256 x86_64_linux:   "8dedda456716ff819414d86fc6e1c46aee9689303ad84f0ed94cdbd762d43c8c"
  end

  depends_on "cmake" => :build
  depends_on "pkg-config" => :build
  depends_on "fmt"
  depends_on "grpc"
  depends_on "nlohmann-json"
  depends_on "spdlog"

  uses_from_macos "llvm" => :test

  on_macos do
    depends_on "llvm" if DevelopmentTools.clang_build_version <= 1100
  end

  on_linux do
    depends_on "gcc"
  end

  fails_with gcc: "5" # needs C++17<commit_msg>bear: update 3.0.19 bottle.<commit_after>class Bear < Formula
  desc "Generate compilation database for clang tooling"
  homepage "https://github.com/rizsotto/Bear"
  url "https://github.com/rizsotto/Bear/archive/3.0.19.tar.gz"
  sha256 "2fcfe2c6e029182cfc54ed26b3505c0ef12b0f43df03fb587f335afdc2ca9431"
  license "GPL-3.0-or-later"
  head "https://github.com/rizsotto/Bear.git", branch: "master"

  bottle do
    sha256 arm64_monterey: "49e7ef8728cbcf56029eccd40d779a2dec5b2b3a761156395206eef8e000329a"
    sha256 arm64_big_sur:  "093dadc469fda4609d00bcab619e2795c59d144c334e751a7e551b9f7e7464e2"
    sha256 monterey:       "6c76a1a1dfc3005709aa291e675c42565e7ac0ec98223de877a058dc0582e058"
    sha256 big_sur:        "6e2c1bf921808ea9bbb4291b9545b5a4a1a6fd888bb8fb622540055dcb24bfb1"
    sha256 catalina:       "e4f97abc509ea93158e59fcdd507db5142b6fd699a5d2071302c83904fb3444b"
    sha256 x86_64_linux:   "561f5c6110e42442b06b6af92ed6c7d50c77e74cfbd5f8e83248224a4ab8e763"
  end

  depends_on "cmake" => :build
  depends_on "pkg-config" => :build
  depends_on "fmt"
  depends_on "grpc"
  depends_on "nlohmann-json"
  depends_on "spdlog"

  uses_from_macos "llvm" => :test

  on_macos do
    depends_on "llvm" if DevelopmentTools.clang_build_version <= 1100
  end

  on_linux do
    depends_on "gcc"
  end

  fails_with gcc: "5" # needs C++17
{'fraction_non_alphanumeric': 0.08014981273408239, 'fraction_numerical': 0.2393258426966292, 'mean_word_length': 5.197215777262181, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '6133899', 'n_tokens_mistral': 1544, 'n_tokens_neox': 1235, 'n_words': 158}