<commit_before>cask "youdaonote" do
  version "3.6.3"
  sha256 :no_check

  url "https://download.ydstatic.com/notewebsite/downloads/YoudaoNote.dmg",
      verified: "download.ydstatic.com/notewebsite/downloads/"
  name "YoudaoNote"
  name "有道云笔记"
  desc "Multi-platform note application"
  homepage "https://note.youdao.com/"

  livecheck do
    url "https://note.youdao.com/update/updateConfig.json"
    strategy :page_match do |page|
      JSON.parse(page)["macNote"]["version"]
    end
  end

  app "YoudaoNote.app"

  zap trash: [
    "~/Library/Caches/com.crashlytics.data/com.youdao.YoudaoDict",
    "~/Library/Caches/com.youdao.YoudaoDict",
    "~/Library/Caches/io.fabric.sdk.mac.data/com.youdao.YoudaoDict",
    "~/Library/Containers/com.youdao.note.YoudaoNoteMac",
    "~/Library/Saved Application State/com.youdao.YoudaoDict.savedState",
    "~/Library/com.youdao.YoudaoDict",
  ]
end<commit_msg>Update youdaonote from 3.6.3 to 7.0.10 (#121934)<commit_after>cask "youdaonote" do
  version "7.0.10"
  sha256 "505de6377dd8f7af881c837779de16b9af34b80534c223fac16e5b7e126ab028"

  url "https://artifact.lx.netease.com/download/ynote-electron/%E6%9C%89%E9%81%93%E4%BA%91%E7%AC%94%E8%AE%B0-#{version}.zip",
      user_agent: :fake,
      verified:   "https://artifact.lx.netease.com/download/ynote-electron/"
  name "youdaonote"
  name "有道云笔记"
  desc "Multi-platform note application"
  homepage "https://note.youdao.com/"

  livecheck do
    url "https://artifact.lx.netease.com/download/ynote-electron/latest-mac.yml"
    strategy :electron_builder
  end

  app "有道云笔记.app"

  zap trash: [
    "~/Library/Containers/com.youdao.note.YoudaoNoteMac",
    "~/Library/Saved Application State/com.youdao.YoudaoDict.savedState",
  ]
end
{'fraction_non_alphanumeric': 0.15025906735751296, 'fraction_numerical': 0.04835924006908463, 'mean_word_length': 3.9375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1831478', 'n_tokens_mistral': 742, 'n_tokens_neox': 707, 'n_words': 89}