<commit_before>class Fn < Formula
  desc "Command-line tool for the fn project"
  homepage "https://fnproject.github.io"
  url "https://github.com/fnproject/cli/archive/0.4.75.tar.gz"
  sha256 "d25ef5efdbaa6d61ce5b772f72bc4f8448cb502f88910941b0ab906ef0f6ff1d"

  bottle do
    cellar :any_skip_relocation
    sha256 "eb1663df94270eee208afb03bd70f68d0f42a06a2fa030ee514fda508dd6f4b7" => :high_sierra
    sha256 "a1bd0912645815cf49ba34cf37e2774f2aaa4765114a65012304b52226e83267" => :sierra
    sha256 "d131d989c6c52d399b6d206c6f84e16ee19f5015dd80c92a4bcc909c20ab79ef" => :el_capitan
  end

  depends_on "dep" => :build
  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    dir = buildpath/"src/github.com/fnproject/cli"
    dir.install Dir["*"]
    cd dir do
      system "dep", "ensure"
      system "go", "build", "-o", "#{bin}/fn"
      prefix.install_metafiles
    end
  end

  test do
    require "socket"<commit_msg>fn 0.4.77<commit_after>class Fn < Formula
  desc "Command-line tool for the fn project"
  homepage "https://fnproject.github.io"
  url "https://github.com/fnproject/cli/archive/0.4.77.tar.gz"
  sha256 "0ef3ae9104fe597e67d5e67406bdda07711d50f6c10ef611c755c95be85e55cd"

  bottle do
    cellar :any_skip_relocation
    sha256 "eb1663df94270eee208afb03bd70f68d0f42a06a2fa030ee514fda508dd6f4b7" => :high_sierra
    sha256 "a1bd0912645815cf49ba34cf37e2774f2aaa4765114a65012304b52226e83267" => :sierra
    sha256 "d131d989c6c52d399b6d206c6f84e16ee19f5015dd80c92a4bcc909c20ab79ef" => :el_capitan
  end

  depends_on "dep" => :build
  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    dir = buildpath/"src/github.com/fnproject/cli"
    dir.install Dir["*"]
    cd dir do
      system "dep", "ensure"
      system "go", "build", "-o", "#{bin}/fn"
      prefix.install_metafiles
    end
  end

  test do
    require "socket"
{'fraction_non_alphanumeric': 0.10626992561105207, 'fraction_numerical': 0.18809776833156217, 'mean_word_length': 4.230555555555555, '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': '2521044', 'n_tokens_mistral': 983, 'n_tokens_neox': 795, 'n_words': 124}