<commit_before>cask "go-server" do
  version "21.2.0-12498"
  sha256 "8bbb12117a2c6ebede5d49e675cfb64fc637fefc64050f5971e6d0e84a418142"

  url "https://download.gocd.io/binaries/#{version}/osx/go-server-#{version}-osx.zip",
      verified: "download.gocd.io/binaries/"
  name "Go Server"
  name "GoCD Server"
  desc "Server for the Go Continuous Delivery platform"
  homepage "https://www.gocd.org/"

  livecheck do
    url "https://download.gocd.org/releases.json"
    strategy :page_match
    regex(/go-server-(\d+(?:\.\d+)*-\d+)-osx\.zip/i)
  end

  binary "go-server-#{version.split("-").first}/bin/go-server"
end<commit_msg>Update go-server from 21.2.0 to 21.3.0 (#114324)<commit_after>cask "go-server" do
  version "21.3.0,13067"
  sha256 "0bc49fe570e2eca6fcfdc091ebb5d422a7d7dc2fb5d155bddf0257727f296a55"

  url "https://download.gocd.io/binaries/#{version.before_comma}-#{version.after_comma}/osx/go-server-#{version.before_comma}-#{version.after_comma}-osx.zip",
      verified: "download.gocd.io/binaries/"
  name "Go Server"
  name "GoCD Server"
  desc "Server for the Go Continuous Delivery platform"
  homepage "https://www.gocd.org/"

  livecheck do
    url "https://download.gocd.org/releases.json"
    strategy :page_match
    regex(/go[._-]server[._-]v?(\d+(?:\.\d+)+)[._-](\d+)[._-]osx\.zip/i)
    strategy :page_match do |page, regex|
      page.scan(regex).map { |match| "#{match[0]},#{match[1]}" }
    end
  end

  binary "go-server-#{version.before_comma}/bin/go-server"
end
{'fraction_non_alphanumeric': 0.1804812834224599, 'fraction_numerical': 0.0748663101604278, 'mean_word_length': 3.892156862745098, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '871470', 'n_tokens_mistral': 678, 'n_tokens_neox': 615, 'n_words': 90}