<commit_before>cask "bluej" do
  version "5.0.2a"
  sha256 "0561e8df9af64f89020d02236923f4177380090d691d516d0570a5f51acc7bf2"

  url "https://www.bluej.org/download/files/BlueJ-mac-#{version.no_dots}.zip"
  name "BlueJ"
  desc "Java Development Environment designed for begginers"
  homepage "https://www.bluej.org/"

  livecheck do
    url "https://www.bluej.org"
    strategy :page_match do |page|
      match = page.match(%r{href=.*?/BlueJ-mac-(\d+)(\d+)(\d+)(a)?\.zip}i)
      next if match.blank?

      "#{match[1]}.#{match[2]}.#{match[3]}" unless match[4]
      "#{match[1]}.#{match[2]}.#{match[3]}#{match[4]}"
    end
  end

  app "BlueJ #{version}/BlueJ.app"

  zap trash: "~/Library/Preferences/org.bluej"
end
<commit_msg>Update bluej from 5.0.2a to 5.0.3 (#121092)<commit_after>cask "bluej" do
  version "5.0.3"
  sha256 "54a6cb9c2013529c3526d42b797004d6e9330d67eb05bde82da2db74606c4ab5"

  url "https://www.bluej.org/download/files/BlueJ-mac-#{version.no_dots}.zip"
  name "BlueJ"
  desc "Java Development Environment designed for begginers"
  homepage "https://www.bluej.org/"

  livecheck do
    url "https://www.bluej.org"
    strategy :page_match do |page|
      match = page.match(%r{href=.*?/BlueJ-mac-(\d+)(\d+)(\d+)(a)?\.zip}i)
      next if match.blank?

      "#{match[1]}.#{match[2]}.#{match[3]}" unless match[4]
      "#{match[1]}.#{match[2]}.#{match[3]}#{match[4]}"
    end
  end

  app "BlueJ #{version}/BlueJ.app"

  zap trash: "~/Library/Preferences/org.bluej"
end

{'fraction_non_alphanumeric': 0.19624916275954454, 'fraction_numerical': 0.08573342263898191, 'mean_word_length': 3.7731629392971247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6046053', 'n_tokens_mistral': 689, 'n_tokens_neox': 634, 'n_words': 98}