<commit_before>cask 'sourcetree-beta' do
  version '2.4b3'
  sha256 'f7f49dcda50ea623973a116cd67772086fd305b63d759729105f05961be0d2a6'

  # atlassian.com was verified as official when first introduced to the cask
  url "https://downloads.atlassian.com/software/sourcetree/SourceTree_#{version}.zip"
  appcast 'https://www.sourcetreeapp.com/update/SparkleAppcastBeta.xml',
          checkpoint: 'cf503db12b62d7a45422d76a1e978b6699a40821cd203092fc26985941b126fd'
  name 'Atlassian SourceTree'
  homepage 'https://www.sourcetreeapp.com/'
  license :gratis

  auto_updates true
  depends_on macos: '>= 10.10'

  app 'SourceTree Beta.app'
  binary "#{appdir}/SourceTree Beta.app/Contents/Resources/stree"

  postflight do
    suppress_move_to_applications
  end

  uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2',
            quit:      'com.torusknot.SourceTreeNotMAS'

  zap delete: [
                '~/Library/Application Support/SourceTree',
                '~/Library/Caches/com.torusknot.SourceTreeNotMAS',
                '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist',
                '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist',
                '~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState',
              ]
<commit_msg>updated sourcetree-beta (2.4b4) (#2442)<commit_after>cask 'sourcetree-beta' do
  version '2.4b4'
  sha256 '5f519985b8afa059786c96de14ea825b3b6df5c17e3093b5f8cf3bcc03e2a6bd'

  # atlassian.com was verified as official when first introduced to the cask
  url "https://downloads.atlassian.com/software/sourcetree/SourceTree_#{version}.zip"
  appcast 'https://www.sourcetreeapp.com/update/SparkleAppcastBeta.xml',
          checkpoint: '0bba41a2d7156a2d7ad6fef7ea4eb18c4702cec78980f4d470817bf860acfa12'
  name 'Atlassian SourceTree'
  homepage 'https://www.sourcetreeapp.com/'
  license :gratis

  auto_updates true
  depends_on macos: '>= 10.10'

  app 'SourceTree Beta.app'
  binary "#{appdir}/SourceTree Beta.app/Contents/Resources/stree"

  postflight do
    suppress_move_to_applications
  end

  uninstall launchctl: 'com.atlassian.SourceTreePrivilegedHelper2',
            quit:      'com.torusknot.SourceTreeNotMAS'

  zap delete: [
                '~/Library/Application Support/SourceTree',
                '~/Library/Caches/com.torusknot.SourceTreeNotMAS',
                '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist',
                '~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist',
                '~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState',
              ]

{'fraction_non_alphanumeric': 0.10149812734082397, 'fraction_numerical': 0.07153558052434457, 'mean_word_length': 3.5736301369863015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2848587', 'n_tokens_mistral': 1078, 'n_tokens_neox': 947, 'n_words': 125}