<commit_before>class Spaceship < Formula
  desc "Zsh prompt for Astronauts"
  homepage "https://spaceship-prompt.sh"
  url "https://github.com/spaceship-prompt/spaceship-prompt/archive/v3.16.4.tar.gz"
  sha256 "b2844fb24e2cc24de8a296b61088a04df274ae65a2e797583dc18586bff6ebe9"
  license "MIT"
  head "https://github.com/spaceship-prompt/spaceship-prompt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "c2f1db22f7840b01bfda94950c7445236ddcf64a5888f2148e5f3a32379d61d1"
  end

  depends_on "zsh" => :test

  def install
    libexec.install "spaceship.zsh", "lib", "sections"
    zsh_function.install_symlink libexec/"spaceship.zsh" => "prompt_spaceship_setup"
  end

  test do
    ENV["SPACESHIP_CHAR_SYMBOL"] = "🍺"<commit_msg>spaceship: update 3.16.4 bottle.<commit_after>class Spaceship < Formula
  desc "Zsh prompt for Astronauts"
  homepage "https://spaceship-prompt.sh"
  url "https://github.com/spaceship-prompt/spaceship-prompt/archive/v3.16.4.tar.gz"
  sha256 "b2844fb24e2cc24de8a296b61088a04df274ae65a2e797583dc18586bff6ebe9"
  license "MIT"
  head "https://github.com/spaceship-prompt/spaceship-prompt.git", branch: "master"

  bottle do
    sha256 cellar: :any_skip_relocation, all: "214f18be70c70e7377f2cac56d55825b571edfa4637848f764c81793ea65e235"
  end

  depends_on "zsh" => :test

  def install
    libexec.install "spaceship.zsh", "lib", "sections"
    zsh_function.install_symlink libexec/"spaceship.zsh" => "prompt_spaceship_setup"
  end

  test do
    ENV["SPACESHIP_CHAR_SYMBOL"] = "🍺"
{'fraction_non_alphanumeric': 0.11435997400909681, 'fraction_numerical': 0.1221572449642625, 'mean_word_length': 5.135458167330677, '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': '4697738', 'n_tokens_mistral': 753, 'n_tokens_neox': 618, 'n_words': 92}