<commit_before>class GitBranchless < Formula
  desc "High-velocity, monorepo-scale workflow for Git"
  homepage "https://github.com/arxanas/git-branchless"
  url "https://github.com/arxanas/git-branchless/archive/refs/tags/v0.3.7.tar.gz"
  sha256 "d23341766c0f81fc5e0768a399139738d472bcdd315c62b2b5ac9ac857d0d501"
  license "GPL-2.0-only"
  head "https://github.com/arxanas/git-branchless.git", branch: "master"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "f02ca20ad8e2ae17f3c9d70a97ab93512b7c456d3c3a731d800001513205600b"
    sha256 cellar: :any,                 arm64_big_sur:  "29f7389c6a175326fc9edb033c688e9bda35d3936311bee5524923522d544d46"
    sha256 cellar: :any,                 monterey:       "27d7843209fa4a91ba769190879239d47019f70099ef409e30ab536e0402b560"
    sha256 cellar: :any,                 big_sur:        "69d0dfd0467f1764c402b20f75bdf86f2cd328b3a82370078e7ff34c674dc5cc"
    sha256 cellar: :any,                 catalina:       "a88c1c8649d4010106050bf21d8824ff26343cc4eae87905218b41a1b5052be6"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "4427f6afba2a7fb7b220545829e95973f7e969dd9d2d5d0cca39fead8250f19a"
  end

  depends_on "rust" => :build
  depends_on "openssl@1.1"

  uses_from_macos "zlib"

  on_linux do
    depends_on "pkg-config" => :build
  end

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    system "git", "init"<commit_msg>git-branchless 0.3.8<commit_after>class GitBranchless < Formula
  desc "High-velocity, monorepo-scale workflow for Git"
  homepage "https://github.com/arxanas/git-branchless"
  url "https://github.com/arxanas/git-branchless/archive/refs/tags/v0.3.8.tar.gz"
  sha256 "9046d5b93c8bc959b7d8ab5238d3656c7e5463e2b68951300a1feb86aa533276"
  license "GPL-2.0-only"
  head "https://github.com/arxanas/git-branchless.git", branch: "master"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "f02ca20ad8e2ae17f3c9d70a97ab93512b7c456d3c3a731d800001513205600b"
    sha256 cellar: :any,                 arm64_big_sur:  "29f7389c6a175326fc9edb033c688e9bda35d3936311bee5524923522d544d46"
    sha256 cellar: :any,                 monterey:       "27d7843209fa4a91ba769190879239d47019f70099ef409e30ab536e0402b560"
    sha256 cellar: :any,                 big_sur:        "69d0dfd0467f1764c402b20f75bdf86f2cd328b3a82370078e7ff34c674dc5cc"
    sha256 cellar: :any,                 catalina:       "a88c1c8649d4010106050bf21d8824ff26343cc4eae87905218b41a1b5052be6"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "4427f6afba2a7fb7b220545829e95973f7e969dd9d2d5d0cca39fead8250f19a"
  end

  depends_on "rust" => :build
  depends_on "openssl@1.1"

  uses_from_macos "zlib"

  on_linux do
    depends_on "pkg-config" => :build
  end

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    system "git", "init"
{'fraction_non_alphanumeric': 0.08527671423599026, 'fraction_numerical': 0.23738252697528717, 'mean_word_length': 3.8960817717206133, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '3916989', 'n_tokens_mistral': 1591, 'n_tokens_neox': 1232, 'n_words': 158}