<commit_before>cask "corretto17" do
  arch arm: "aarch64", intel: "x64"

  version "17.0.4.9.1"
  sha256 arm:   "d46bf6798a54c283cc4297dc86cb0173571b7dfc70b3609846911bb5ac3ffdb8",
         intel: "a91db130cbf99ab993d5d579a71ee7cd7c2682c2b6698d9353db1a5393b01f7f"

  url "https://corretto.aws/downloads/resources/#{version.sub(/-\d+/, "")}/amazon-corretto-#{version}-macosx-#{arch}.pkg"
  name "AWS Corretto JDK"
  desc "OpenJDK distribution from Amazon"
  homepage "https://corretto.aws/"

  livecheck do
    url "https://corretto.aws/downloads/latest/amazon-corretto-#{version.major}-#{arch}-macos-jdk.pkg"
    regex(%r{/amazon-corretto-(\d+(?:\.\d+)+)-macosx-#{arch}\.pkg}i)
    strategy :header_match
  end
<commit_msg>Update corretto17 from 17.0.4.9.1 to 17.0.5.8.1 (#14878)<commit_after>cask "corretto17" do
  arch arm: "aarch64", intel: "x64"

  version "1172.16.58.3.1"
  sha256 arm:   "1e0d967f7e030e710b03fa283d7b735fe515c2cae78206fd6530868fe5b97156",
         intel: "d523f0a7ae4232e7eeebed5608336cdfdc5c1780243a6353d3842f68a5a05a59"

  url "https://corretto.aws/downloads/resources/#{version.sub(/-\d+/, "")}/amazon-corretto-#{version}-macosx-#{arch}.pkg"
  name "AWS Corretto JDK"
  desc "OpenJDK distribution from Amazon"
  homepage "https://corretto.aws/"

  livecheck do
    url "https://corretto.aws/downloads/latest/amazon-corretto-#{version.major}-#{arch}-macos-jdk.pkg"
    regex(%r{/amazon-corretto-(\d+(?:\.\d+)+)-macosx-#{arch}\.pkg}i)
    strategy :header_match
  end

{'fraction_non_alphanumeric': 0.1710261569416499, 'fraction_numerical': 0.1441985244802146, 'mean_word_length': 4.425454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '5151949', 'n_tokens_mistral': 762, 'n_tokens_neox': 660, 'n_words': 80}