<commit_before>cask 'sage' do
  version '8.9,10.14.6'
  sha256 '48dfbd697eaadb77913f8a57e01444e45826bdfeabf5e27ba1bc215c4cbd1764'

  # mirrors.mit.edu/sage/osx/intel was verified as official when first introduced to the cask
  url "https://mirrors.mit.edu/sage/osx/intel/sage-#{version.before_comma}-OSX_#{version.after_comma}-x86_64.app.dmg"
  appcast 'https://mirrors.mit.edu/sage/osx/intel/index.html'
  name 'Sage'
  homepage 'https://www.sagemath.org/'

  depends_on macos: '>= :high_sierra'

  app "SageMath-#{version.before_comma}.app"
  binary "#{appdir}/SageMath-#{version.before_comma}.app/Contents/Resources/sage/sage"

  uninstall quit: 'org.sagemath.Sage'

  zap trash: [
               '~/.sage',
               '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.sagemath.sage.sfl*',
               '~/Library/Logs/sage.log',
               '~/Library/Preferences/org.sagemath.Sage.plist',
             ]
end<commit_msg>Update sage from 8.9,10.14.6 to 9.0,10.15.2 (#75118)<commit_after>cask 'sage' do
  version '9.0,10.15.2'
  sha256 '79a2a150c1fe10b4b4b4c436fe2eaf27460a902670b0121529f7ccd3500b55d9'

  # mirrors.mit.edu/sage/osx/intel was verified as official when first introduced to the cask
  url "https://mirrors.mit.edu/sage/osx/intel/sage-#{version.before_comma}-OSX_#{version.after_comma}-x86_64.app.dmg"
  appcast 'https://mirrors.mit.edu/sage/osx/intel/index.html'
  name 'Sage'
  homepage 'https://www.sagemath.org/'

  depends_on macos: '>= :high_sierra'

  app "SageMath-#{version.before_comma}.app"
  binary "#{appdir}/SageMath-#{version.before_comma}.app/Contents/Resources/sage/sage"

  uninstall quit: 'org.sagemath.Sage'

  zap trash: [
               '~/.sage',
               '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.sagemath.sage.sfl*',
               '~/Library/Logs/sage.log',
               '~/Library/Preferences/org.sagemath.Sage.plist',
             ]
end
{'fraction_non_alphanumeric': 0.14805705853418594, 'fraction_numerical': 0.06099360550909985, 'mean_word_length': 3.4121475054229933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '4757438', 'n_tokens_mistral': 870, 'n_tokens_neox': 793, 'n_words': 93}