<commit_before>class TaskwarriorTui < Formula
  desc "Terminal user interface for taskwarrior"
  homepage "https://github.com/kdheepak/taskwarrior-tui"
  url "https://github.com/kdheepak/taskwarrior-tui/archive/v0.8.0.tar.gz"
  sha256 "15a2195dde970f369b5b1e346a087c72581142525765baeffe8d54b95824bae0"
  license "MIT"
  head "https://github.com/kdheepak/taskwarrior-tui.git"

  livecheck do
    url "https://github.com/kdheepak/taskwarrior-tui/releases/latest"
    regex(%r{href=.*?/tag/v?(\d+(?:\.\d+)+)["' >]}i)
  end

  bottle do
    cellar :any_skip_relocation
    sha256 "c3047698ed389e728e40ec9a018fe1cb7c5091d335a493a0e96c219fde522ac3" => :catalina
    sha256 "90794ef148cce47adb989df1e991a9dfa0eb9d70ba4bde55c47d616b55967a19" => :mojave
    sha256 "f3967c8cb4d440d321214537fda2bd03035929d4e6df7c06126d7997bfb42145" => :high_sierra
  end

  depends_on "rust" => :build
  depends_on "task"

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/taskwarrior-tui --version")
    assert_match "The argument '--config <FILE>' requires a value but none was supplied",
      shell_output("#{bin}/taskwarrior-tui --config 2>&1", 1)
  end
end
<commit_msg>taskwarrior-tui 0.8.7<commit_after>class TaskwarriorTui < Formula
  desc "Terminal user interface for taskwarrior"
  homepage "https://github.com/kdheepak/taskwarrior-tui"
  url "https://github.com/kdheepak/taskwarrior-tui/archive/v0.8.7.tar.gz"
  sha256 "bc556de927c883efa6c377f29e602028b8960a62e5f1ba4f4a7403a83ad5b4c8"
  license "MIT"
  head "https://github.com/kdheepak/taskwarrior-tui.git"

  livecheck do
    url "https://github.com/kdheepak/taskwarrior-tui/releases/latest"
    regex(%r{href=.*?/tag/v?(\d+(?:\.\d+)+)["' >]}i)
  end

  bottle do
    cellar :any_skip_relocation
    sha256 "c3047698ed389e728e40ec9a018fe1cb7c5091d335a493a0e96c219fde522ac3" => :catalina
    sha256 "90794ef148cce47adb989df1e991a9dfa0eb9d70ba4bde55c47d616b55967a19" => :mojave
    sha256 "f3967c8cb4d440d321214537fda2bd03035929d4e6df7c06126d7997bfb42145" => :high_sierra
  end

  depends_on "rust" => :build
  depends_on "task"

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    assert_match version.to_s, shell_output("#{bin}/taskwarrior-tui --version")
    assert_match "The argument '--config <FILE>' requires a value but none was supplied",
      shell_output("#{bin}/taskwarrior-tui --config 2>&1", 1)
  end
end

{'fraction_non_alphanumeric': 0.12368207623682076, 'fraction_numerical': 0.14841849148418493, 'mean_word_length': 4.77751756440281, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 8, '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': '5078282', 'n_tokens_mistral': 1248, 'n_tokens_neox': 1048, 'n_words': 153}