<commit_before>cask "oracle-jdk-javadoc" do
  version "17.0.2,8,dfd4a8d0985749f896bed50d7138ee7f"
  sha256 "d25b34eb17053bf23a7a4a82ac2ab7a85b5d53a1109d6561e302761e23f33895"

  url "https://download.oracle.com/otn_software/java/jdk/#{version.csv.first}+#{version.csv.second}/#{version.csv.third}/jdk-#{version.csv.first}_doc-all.zip",
      cookies: {
        "oraclelicense" => "accept-securebackup-cookie",
      }
  name "Oracle Java Standard Edition Development Kit Documentation"
  desc "Documentation for the Oracle JDK"
  homepage "https://www.oracle.com/java/technologies/downloads/"

  livecheck do
    url "https://www.oracle.com/java/technologies/javase-jdk#{version.major}-doc-downloads.html"<commit_msg>Update oracle-jdk-javadoc from 17.0.2 to 18 (#121674)<commit_after>cask "oracle-jdk-javadoc" do
  version "18,36,43f95e8614114aeaa8e8a5fcf20a682d"
  sha256 "f832e9233b07a10f5878094142dfab8501e43fafb920e4e6ef772ad3787fb249"

  url "https://download.oracle.com/otn_software/java/jdk/#{version.csv.first}+#{version.csv.second}/#{version.csv.third}/jdk-#{version.csv.first}_doc-all.zip",
      cookies: {
        "oraclelicense" => "accept-securebackup-cookie",
      }
  name "Oracle Java Standard Edition Development Kit Documentation"
  desc "Documentation for the Oracle JDK"
  homepage "https://www.oracle.com/java/technologies/downloads/"

  livecheck do
    url "https://www.oracle.com/java/technologies/javase-jdk#{version.major}-doc-downloads.html"
{'fraction_non_alphanumeric': 0.13682777399591559, 'fraction_numerical': 0.10211027910142954, 'mean_word_length': 4.856573705179283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2198664', 'n_tokens_mistral': 643, 'n_tokens_neox': 551, 'n_words': 69}