<commit_before>class Igv < Formula
  desc "Interactive Genomics Viewer"
  homepage "https://www.broadinstitute.org/software/igv"
  url "https://data.broadinstitute.org/igv/projects/downloads/2.4/IGV_2.4.8.zip"
  sha256 "18acc8410085308b169c4442274848ed7e285196c8bfd0b43100005996a644b1"

  bottle :unneeded

  depends_on :java => "1.8+"

  def install
    inreplace "igv.sh", /^prefix=.*/, "prefix=#{libexec}"
    libexec.install "igv.sh", Dir["*.jar"]
    libexec.install_symlink "igv.sh" => "igv"
  end

  test do
    (testpath/"script").write "exit"
    assert_match "Version", `#{libexec}/igv -b script`
  end
end<commit_msg>igv: install the executable in bin (#23781)<commit_after>class Igv < Formula
  desc "Interactive Genomics Viewer"
  homepage "https://www.broadinstitute.org/software/igv"
  url "https://data.broadinstitute.org/igv/projects/downloads/2.4/IGV_2.4.8.zip"
  sha256 "18acc8410085308b169c4442274848ed7e285196c8bfd0b43100005996a644b1"
  revision 1

  bottle :unneeded

  depends_on :java => "1.8+"

  def install
    inreplace "igv.sh", /^prefix=.*/, "prefix=#{libexec}"
    libexec.install "igv.sh", Dir["*.jar"]
    bin.install_symlink libexec/"igv.sh" => "igv"
  end

  test do
    (testpath/"script").write "exit"
    assert_match "Version", `#{bin}/igv -b script`
  end
end
{'fraction_non_alphanumeric': 0.15011547344110854, 'fraction_numerical': 0.09545804464973057, 'mean_word_length': 4.118110236220472, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7506405', 'n_tokens_mistral': 590, 'n_tokens_neox': 513, 'n_words': 91}