<commit_before>class Glassfish < Formula
  desc "Java EE application server"
  homepage "https://glassfish.org/"
  url "https://download.eclipse.org/ee4j/glassfish/glassfish-6.1.0.zip"
  mirror "https://github.com/eclipse-ee4j/glassfish/releases/download/6.1.0/glassfish-6.1.0.zip"
  sha256 "2df29d6f1a0338fe56eec71e4556fdc23c5dc80d1893452b9c903c455750321b"
  license "EPL-2.0"

  livecheck do
    url "https://projects.eclipse.org/projects/ee4j.glassfish/downloads"
    regex(/href=.*?glassfish[._-]v?(\d+(?:\.\d+)+)\.zip/i)
  end

  depends_on "openjdk@11"

  conflicts_with "payara", because: "both install the same scripts"

  def install<commit_msg>glassfish: add 6.1.0 bottle.<commit_after>class Glassfish < Formula
  desc "Java EE application server"
  homepage "https://glassfish.org/"
  url "https://download.eclipse.org/ee4j/glassfish/glassfish-6.1.0.zip"
  mirror "https://github.com/eclipse-ee4j/glassfish/releases/download/6.1.0/glassfish-6.1.0.zip"
  sha256 "2df29d6f1a0338fe56eec71e4556fdc23c5dc80d1893452b9c903c455750321b"
  license "EPL-2.0"

  livecheck do
    url "https://projects.eclipse.org/projects/ee4j.glassfish/downloads"
    regex(/href=.*?glassfish[._-]v?(\d+(?:\.\d+)+)\.zip/i)
  end

  bottle do
    sha256 cellar: :any_skip_relocation, all: "ba10a388a3e36861aa07093603df08f5351cef76947a46e2e16b088e740e67ff"
  end

  depends_on "openjdk@11"

  conflicts_with "payara", because: "both install the same scripts"

  def install
{'fraction_non_alphanumeric': 0.14432989690721648, 'fraction_numerical': 0.11752577319587629, 'mean_word_length': 4.432835820895522, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2929622', 'n_tokens_mistral': 673, 'n_tokens_neox': 592, 'n_words': 82}