<commit_before>class AmmoniteRepl < Formula
  desc "Ammonite is a cleanroom re-implementation of the Scala REPL"
  homepage "https://lihaoyi.github.io/Ammonite/#Ammonite-REPL"
  url "https://git.io/vVfy5", :using => :nounzip
  sha256 "ef410dc843391c6b3199f2552a24f5fe3f3c79a7558d813089c8dce8b4ab97b6"
  version "0.5.7"

  bottle :unneeded

  depends_on :java => "1.7+"

  def install
    bin.install "vVfy5" => "amm"
  end

  test do
    ENV.java_cache
    assert_equal "hello world!", shell_output("#{bin}/amm -c 'print(\"hello world!\")'")
  end
end<commit_msg>ammonite-repl: audit fixes<commit_after>class AmmoniteRepl < Formula
  desc "Ammonite is a cleanroom re-implementation of the Scala REPL"
  homepage "https://lihaoyi.github.io/Ammonite/#Ammonite-REPL"
  url "https://git.io/vVfy5", :using => :nounzip
  version "0.5.7"
  sha256 "ef410dc843391c6b3199f2552a24f5fe3f3c79a7558d813089c8dce8b4ab97b6"

  bottle :unneeded

  depends_on :java => "1.7+"

  def install
    bin.install "vVfy5" => "amm"
  end

  test do
    ENV.java_cache
    assert_equal "hello world!", shell_output("#{bin}/amm -c 'print(\"hello world!\")'")
  end
end
{'fraction_non_alphanumeric': 0.13169446883230904, 'fraction_numerical': 0.08955223880597014, 'mean_word_length': 4.181818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1968750', 'n_tokens_mistral': 524, 'n_tokens_neox': 476, 'n_words': 93}