<commit_before>cask 'anylogic' do
  version '8.2.4'
  sha256 '3e4f006154de15b5701a4b88a3607f689d35bf15628be120a25e2984d3eba9eb'

  url "https://www.anylogic.com/files/anylogic-ple-#{version}.dmg"
  name 'AnyLogic'
  homepage 'https://www.anylogic.com/'

  pkg 'Install AnyLogic.pkg'

  uninstall pkgutil: 'com.anylogic.AnyLogic'

  zap trash: [
               '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.anylogic.anylogic.sfl*',
               '~/Library/Caches/com.anylogic.AnyLogic',
             ]

  caveats do
    depends_on_java '8'

    <<~EOS<commit_msg>Update anylogic to 8.3.3 (#59397)<commit_after>cask 'anylogic' do
  version '8.3.3'
  sha256 'b4c6e54912cef5882bb7a194fe166c61bb1259fa2bf5cb4d827300a0a7df0296'

  url "https://www.anylogic.com/files/anylogic-ple-#{version}.dmg"
  appcast 'https://www.anylogic.com/files/changes-history.txt'
  name 'AnyLogic'
  homepage 'https://www.anylogic.com/'

  pkg 'Install AnyLogic.pkg'

  uninstall pkgutil: 'com.anylogic.AnyLogic'

  zap trash: [
               '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.anylogic.anylogic.sfl*',
               '~/Library/Caches/com.anylogic.AnyLogic',
             ]

  caveats do
    depends_on_java '8'

    <<~EOS
{'fraction_non_alphanumeric': 0.1291759465478842, 'fraction_numerical': 0.07646622123236822, 'mean_word_length': 3.448844884488449, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 5, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '62560', 'n_tokens_mistral': 599, 'n_tokens_neox': 528, 'n_words': 63}