<commit_before>class GrinWallet < Formula
  desc "Official wallet for the cryptocurrency Grin"
  homepage "https://grin.mw"
  url "https://github.com/mimblewimble/grin-wallet/archive/v3.0.0.tar.gz"
  sha256 "81681c042cc3d62f695087df4160748aef3a63d6919bcca8103bbbd8a51ef14c"

  bottle do
    cellar :any_skip_relocation
    sha256 "ac32e41a85ffacf929820c3970c04ce4d168dfda8896e2bf2552657d9b557c39" => :catalina
    sha256 "ed83fb73f593f056bfce91b2bde5652950153dccc5ceb7a497e8621b618988ce" => :mojave
    sha256 "b15137f4a5f3aef44d5f7440fa430dd724715e7684164a82e36f2599c7b43f67" => :high_sierra
  end

  depends_on "rust" => :build

  def install
    system "cargo", "install", "--locked", "--root", prefix, "--path", "."
  end

  test do
    system "yes | #{bin}/grin-wallet init"
    assert_predicate testpath/".grin/main/wallet_data/wallet.seed", :exist?
  end<commit_msg>grin-wallet 3.1.0<commit_after>class GrinWallet < Formula
  desc "Official wallet for the cryptocurrency Grin"
  homepage "https://grin.mw"
  url "https://github.com/mimblewimble/grin-wallet/archive/v3.1.0.tar.gz"
  sha256 "acbcb5b052007bbd8d6028cf409379d94bf5ed5e451f903f97c677a67f2986db"

  bottle do
    cellar :any_skip_relocation
    sha256 "ac32e41a85ffacf929820c3970c04ce4d168dfda8896e2bf2552657d9b557c39" => :catalina
    sha256 "ed83fb73f593f056bfce91b2bde5652950153dccc5ceb7a497e8621b618988ce" => :mojave
    sha256 "b15137f4a5f3aef44d5f7440fa430dd724715e7684164a82e36f2599c7b43f67" => :high_sierra
  end

  depends_on "rust" => :build

  def install
    system "cargo", "install", "--locked", "--root", prefix, "--path", "."
  end

  test do
    system "yes | #{bin}/grin-wallet init"
    assert_predicate testpath/".grin/main/wallet_data/wallet.seed", :exist?
  end
{'fraction_non_alphanumeric': 0.10914285714285714, 'fraction_numerical': 0.20342857142857143, 'mean_word_length': 5.017182130584192, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5286927', 'n_tokens_mistral': 943, 'n_tokens_neox': 755, 'n_words': 106}