<commit_before>require "language/node"

class Whistle < Formula
  desc "HTTP, HTTP2, HTTPS, Websocket debugging proxy"
  homepage "https://github.com/avwo/whistle"
  url "https://registry.npmjs.org/whistle/-/whistle-2.8.1.tgz"
  sha256 "a96683ba0b5983d705c90588db5f923d428c54f059f5349713f0600337df2596"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "23dd1704b4c0826c4f26fd0b7dfa41972ab5d1b12d8505552846581e3d37a0d0"
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    (testpath/"package.json").write('{"name": "test"}')
    system bin/"whistle", "start"
    system bin/"whistle", "stop"
  end
end<commit_msg>whistle: update 2.8.1 bottle.<commit_after>require "language/node"

class Whistle < Formula
  desc "HTTP, HTTP2, HTTPS, Websocket debugging proxy"
  homepage "https://github.com/avwo/whistle"
  url "https://registry.npmjs.org/whistle/-/whistle-2.8.1.tgz"
  sha256 "a96683ba0b5983d705c90588db5f923d428c54f059f5349713f0600337df2596"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "2dac8b96e3fd77533dfcb4d9ec11846b978fc844e6a04d9ddf85e8b7f7b586eb"
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    (testpath/"package.json").write('{"name": "test"}')
    system bin/"whistle", "start"
    system bin/"whistle", "stop"
  end
end
{'fraction_non_alphanumeric': 0.13093709884467267, 'fraction_numerical': 0.12644415917843388, 'mean_word_length': 4.795539033457249, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 3, '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': '4395121', 'n_tokens_mistral': 748, 'n_tokens_neox': 624, 'n_words': 104}