<commit_before>cask "reaper" do
  version "6.17.0,6.17"

  if MacOS.version <= :mojave
    sha256 "dff7839871a244f4d3343dd4f5386faace7a56f42df427df4d4995063a77f568"

    url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.after_comma.no_dots}_x86_64.dmg"
  else
    sha256 "baaff9741d6982086aa2ec301014b11c8f4883c3bcfd3766016faad7b3bdb3f7"

    url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.after_comma.no_dots}_x86_64_catalina.dmg"
  end

  appcast "https://www.cockos.com/reaper/latestversion/?p=osx_64",
          must_contain: version.after_comma
  name "REAPER"
  desc "Digital audio production application"
  homepage "https://www.reaper.fm/"

  app "REAPER64.app"
  app "ReaMote64.app"

  zap trash: [
    "~/Library/Application Support/REAPER",
    "~/Library/Saved Application State/com.cockos.reaper.savedState",
    "~/Library/Saved Application State/com.cockos.reaperhosti386.savedState",<commit_msg>Update reaper from 6.17.0,6.17 to 6.18.0,6.18 (#94034)<commit_after>cask "reaper" do
  version "6.18.0,6.18"

  if MacOS.version <= :mojave
    sha256 "dff7839871a244f4d3343dd4f5386faace7a56f42df427df4d4995063a77f568"

    url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.after_comma.no_dots}_x86_64.dmg"
  else
    sha256 "a89222a082dbd3a5e49b67606d54c535956acb1af3b0380cd266c90d620b3998"

    url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.after_comma.no_dots}_x86_64_catalina.dmg"
  end

  appcast "https://www.cockos.com/reaper/latestversion/?p=osx_64",
          must_contain: version.after_comma
  name "REAPER"
  desc "Digital audio production application"
  homepage "https://www.reaper.fm/"

  app "REAPER64.app"
  app "ReaMote64.app"

  zap trash: [
    "~/Library/Application Support/REAPER",
    "~/Library/Saved Application State/com.cockos.reaper.savedState",
    "~/Library/Saved Application State/com.cockos.reaperhosti386.savedState",
{'fraction_non_alphanumeric': 0.13240597630087583, 'fraction_numerical': 0.12416280267903143, 'mean_word_length': 4.501416430594901, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 8, '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': '1494559', 'n_tokens_mistral': 939, 'n_tokens_neox': 796, 'n_words': 95}