<commit_before>class Geph2 < Formula
  desc "Modular Internet censorship circumvention system"
  homepage "https://geph.io"
  url "https://github.com/geph-official/geph2/archive/v0.22.0.tar.gz"
  sha256 "07c621dffc4253805b54c1b93dfc94a4ace84cc3157311c5b99047623d637d7e"
  license "GPL-3.0"

  bottle do
    cellar :any_skip_relocation
    sha256 "17e96110a9640a444117efe01baae83a724d21508d6d8462e983019eeeba0f2c" => :catalina
    sha256 "08c896df1e47ab01f442662752031a10a73f6aba82c7e3ed0528b4b7561db2ab" => :mojave
    sha256 "08c896df1e47ab01f442662752031a10a73f6aba82c7e3ed0528b4b7561db2ab" => :high_sierra
  end

  depends_on "go" => :build

  def install
    bin_path = buildpath/"src/github.com/geph-official/geph2"
    bin_path.install Dir["*"]
    cd bin_path/"cmd/geph-client" do
      ENV["CGO_ENABLED"] = "0"
      system "go", "build", "-o",
       bin/"geph-client", "-v", "-trimpath"
    end
  end

  test do
    assert_match "-username", shell_output("#{bin}/geph-client -h 2>&1", 2)
  end
end
<commit_msg>geph2 0.22.2<commit_after>class Geph2 < Formula
  desc "Modular Internet censorship circumvention system"
  homepage "https://geph.io"
  url "https://github.com/geph-official/geph2/archive/v0.22.2.tar.gz"
  sha256 "dd1ccd9c5aac06b46d57b9ba7aab00b6f42b3ec8fde85d00f09e2e474e7c1dc1"
  license "GPL-3.0"

  bottle do
    cellar :any_skip_relocation
    sha256 "17e96110a9640a444117efe01baae83a724d21508d6d8462e983019eeeba0f2c" => :catalina
    sha256 "08c896df1e47ab01f442662752031a10a73f6aba82c7e3ed0528b4b7561db2ab" => :mojave
    sha256 "08c896df1e47ab01f442662752031a10a73f6aba82c7e3ed0528b4b7561db2ab" => :high_sierra
  end

  depends_on "go" => :build

  def install
    bin_path = buildpath/"src/github.com/geph-official/geph2"
    bin_path.install Dir["*"]
    cd bin_path/"cmd/geph-client" do
      ENV["CGO_ENABLED"] = "0"
      system "go", "build", "-o",
       bin/"geph-client", "-v", "-trimpath"
    end
  end

  test do
    assert_match "-username", shell_output("#{bin}/geph-client -h 2>&1", 2)
  end
end

{'fraction_non_alphanumeric': 0.1186856302108877, 'fraction_numerical': 0.1844041196665032, 'mean_word_length': 4.3125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '6838520', 'n_tokens_mistral': 1081, 'n_tokens_neox': 900, 'n_words': 129}