<commit_before>cask 'lyx' do
  version '2.2.3'
  sha256 '845766b6e5deda4e5147211fea0e24d3e24dd3cceff014ed1269c942ef9e7883'

  url "ftp://ftp.lyx.org/pub/lyx/bin/#{version}/LyX-#{version}+qt5-x86_64-cocoa.dmg"
  appcast 'https://www.lyx.org/misc/rss/lyx_news_feed.xml',
          checkpoint: '30ba8c1a0446a8071ce2b5ef85cf7933fcf9081097dc566393b3280e67d28df4'
  name 'LyX'
  homepage 'https://www.lyx.org/'
  gpg "#{url}.sig", key_id: '<KEY>'

  app 'LyX.app'

  zap trash: [
               "~/Library/Application Support/LyX-#{version.major_minor}",
               "~/Library/Preferences/org.lyx.LyX-#{version.major_minor}.plist",<commit_msg>Update lyx to 2.3.0 (#45181)<commit_after>cask 'lyx' do
  version '2.3.0'
  sha256 '45a8da0cd9ccdc4f3764864048c890e9d234ef559a5a4db89cce93bbaaee46da'

  url "ftp://ftp.lyx.org/pub/lyx/bin/#{version}/LyX-#{version}+qt5-x86_64-cocoa.dmg"
  appcast 'https://www.lyx.org/misc/rss/lyx_news_feed.xml',
          checkpoint: '995f3ebc635d68a5a578f20fe5a7e4ecc6159838771391f34b5f691e39357c5f'
  name 'LyX'
  homepage 'https://www.lyx.org/'
  gpg "#{url}.sig", key_id: '<KEY>'

  app 'LyX.app'

  zap trash: [
               "~/Library/Application Support/LyX-#{version.major_minor}",
               "~/Library/Preferences/org.lyx.LyX-#{version.major_minor}.plist",
{'fraction_non_alphanumeric': 0.16268311488049345, 'fraction_numerical': 0.14417887432536622, 'mean_word_length': 3.7896678966789668, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '6557241', 'n_tokens_mistral': 697, 'n_tokens_neox': 586, 'n_words': 59}