<commit_before>class Scala < Formula
  desc "JVM-based programming language"
  homepage "https://www.scala-lang.org/"
  url "https://downloads.lightbend.com/scala/2.13.7/scala-2.13.7.tgz"
  mirror "https://www.scala-lang.org/files/archive/scala-2.13.7.tgz"
  mirror "https://downloads.typesafe.com/scala/2.13.7/scala-2.13.7.tgz"
  sha256 "14ef16008786bc7b37135b284be624507701f651396d16fd8a48a35a4bcea94e"
  license "Apache-2.0"

  livecheck do
    url "https://www.scala-lang.org/files/archive/"
    regex(/href=.*?scala[._-]v?(\d+(?:\.\d+)+)(?:[._-]final)?\.t/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, all: "1fe2aea3424b7485a189895d56f5fa85b21a535a9375c045e2461bacc2a05fff"
  end

  depends_on "openjdk"

  def install
    # Replace `/usr/local` references for uniform bottles
    inreplace Dir["man/man1/scala{,c}.1"], "/usr/local", HOMEBREW_PREFIX
    rm_f Dir["bin/*.bat"]
    doc.install Dir["doc/*"]
    share.install "man"
    libexec.install "bin", "lib"
    bin.install Dir["#{libexec}/bin/*"]
    bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env

    # Set up an IntelliJ compatible symlink farm in 'idea'
    idea = prefix/"idea"
    idea.install_symlink libexec/"src", libexec/"lib"
    idea.install_symlink doc => "doc"<commit_msg>scala: update 2.13.7 bottle.<commit_after>class Scala < Formula
  desc "JVM-based programming language"
  homepage "https://www.scala-lang.org/"
  url "https://downloads.lightbend.com/scala/2.13.7/scala-2.13.7.tgz"
  mirror "https://www.scala-lang.org/files/archive/scala-2.13.7.tgz"
  mirror "https://downloads.typesafe.com/scala/2.13.7/scala-2.13.7.tgz"
  sha256 "14ef16008786bc7b37135b284be624507701f651396d16fd8a48a35a4bcea94e"
  license "Apache-2.0"

  livecheck do
    url "https://www.scala-lang.org/files/archive/"
    regex(/href=.*?scala[._-]v?(\d+(?:\.\d+)+)(?:[._-]final)?\.t/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, all: "127dd5552b8f5c905ce261fa5c2a0fb893f1b1b9cb9d19f6e22d1b52004e05ff"
  end

  depends_on "openjdk"

  def install
    # Replace `/usr/local` references for uniform bottles
    inreplace Dir["man/man1/scala{,c}.1"], "/usr/local", HOMEBREW_PREFIX
    rm_f Dir["bin/*.bat"]
    doc.install Dir["doc/*"]
    share.install "man"
    libexec.install "bin", "lib"
    bin.install Dir["#{libexec}/bin/*"]
    bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env

    # Set up an IntelliJ compatible symlink farm in 'idea'
    idea = prefix/"idea"
    idea.install_symlink libexec/"src", libexec/"lib"
    idea.install_symlink doc => "doc"
{'fraction_non_alphanumeric': 0.16098121885779992, 'fraction_numerical': 0.08815638175546187, 'mean_word_length': 3.8603351955307263, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2706995', 'n_tokens_mistral': 1179, 'n_tokens_neox': 1042, 'n_words': 158}