<commit_before>class Ioke < Formula
  desc "Dynamic language targeted at virtual machines"
  homepage "https://ioke.org/"
  url "https://ioke.org/dist/ioke-P-ikj-0.4.0.tar.gz"
  sha256 "701d24d8a8d0901cde64f11c79605c21d43cafbfb2bdd86765b664df13daec7c"

  def install
    # Remove windows files
    rm_f Dir["bin/*.bat"]

    prefix.install_metafiles

    # Install jars in libexec to avoid conflicts
    libexec.install Dir["*"]

    # Point IOKE_HOME to libexec
    inreplace libexec/"bin/ioke" do |s|
      s.change_make_var! "IOKE_HOME", libexec
    end

    bin.install_symlink libexec/"bin/ioke",
                        libexec/"bin/ispec",
                        libexec/"bin/dokgen"
  end

  test do
    system "#{bin}/ioke", "-e", '"test" println'
  end
end<commit_msg>ioke: bottle unneeded<commit_after>class Ioke < Formula
  desc "Dynamic language targeted at virtual machines"
  homepage "https://ioke.org/"
  url "https://ioke.org/dist/ioke-P-ikj-0.4.0.tar.gz"
  sha256 "701d24d8a8d0901cde64f11c79605c21d43cafbfb2bdd86765b664df13daec7c"

  bottle :unneeded

  def install
    # Remove windows files
    rm_f Dir["bin/*.bat"]
    # Install jars in libexec to avoid conflicts
    libexec.install Dir["*"]

    # Point IOKE_HOME to libexec
    inreplace libexec/"bin/ioke" do |s|
      s.change_make_var! "IOKE_HOME", libexec
    end

    bin.install_symlink libexec/"bin/ioke",
                        libexec/"bin/ispec",
                        libexec/"bin/dokgen"
  end

  test do
    system "#{bin}/ioke", "-e", '"test" println'
  end
end
{'fraction_non_alphanumeric': 0.11382636655948553, 'fraction_numerical': 0.054019292604501605, 'mean_word_length': 2.704761904761905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '2796118', 'n_tokens_mistral': 621, 'n_tokens_neox': 567, 'n_words': 120}