<commit_before>require "language/node"

class Cdk8s < Formula
  desc "Define k8s native apps and abstractions using object-oriented programming"
  homepage "https://cdk8s.io/"
  url "https://registry.npmjs.org/cdk8s-cli/-/cdk8s-cli-2.0.58.tgz"
  sha256 "f2fc9874d945a99556f027cc5721ca6118caaea2b2b76255a2b164983c74e629"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "87e493e8715fd65a27b113f2d7613382f3bd523bb74814172988f6504d757c8e"
  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<commit_msg>cdk8s 2.0.59<commit_after>require "language/node"

class Cdk8s < Formula
  desc "Define k8s native apps and abstractions using object-oriented programming"
  homepage "https://cdk8s.io/"
  url "https://registry.npmjs.org/cdk8s-cli/-/cdk8s-cli-2.0.59.tgz"
  sha256 "f2fc46cb8949aea61f2e5e85ca1f6ca67fc63d81d3e80922d979ac313c0d2564"
  license "Apache-2.0"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "87e493e8715fd65a27b113f2d7613382f3bd523bb74814172988f6504d757c8e"
  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
{'fraction_non_alphanumeric': 0.10884353741496598, 'fraction_numerical': 0.1617535903250189, 'mean_word_length': 4.963963963963964, 'pattern_counts': {'":': 0, '<': 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': '1017832', 'n_tokens_mistral': 673, 'n_tokens_neox': 556, 'n_words': 88}