<commit_before>cask "logseq" do
  arch = Hardware::CPU.intel? ? "x64" : "arm64"

  version "0.6.9"

  if Hardware::CPU.intel?
    sha256 "815af1bb303f89772efa132d55d8cc37bd7109f85fae20d5d8af290ae291ccfd"
  else
    sha256 "51a9d4b1370ec33fa59492b1e337235eca319f351e9b69b1dfb819561f0cd906"
  end

  url "https://github.com/logseq/logseq/releases/download/#{version}/logseq-darwin-#{arch}-#{version}.dmg"
  name "Logseq"
  desc "Privacy-first, open-source platform for knowledge sharing and management"
  homepage "https://github.com/logseq/logseq"

  livecheck do
    url :url
    strategy :github_latest
  end

  auto_updates true

  app "Logseq.app"

  zap trash: [
    "~/Library/Application Support/Logseq",
    "~/Library/Logs/Logseq",
    "~/Library/Preferences/com.electron.logseq.plist",
    "~/Library/Saved Application State/com.electron.logseq.savedState",
  ]
end
<commit_msg>logseq 0.7.0<commit_after>cask "logseq" do
  arch = Hardware::CPU.intel? ? "x64" : "arm64"

  version "0.7.0"

  if Hardware::CPU.intel?
    sha256 "a8a9b69a6eb9ebd47fc5e0d6d5da0fb700896e3eefd4f3829a420e1de5dc211e"
  else
    sha256 "3a8e66cb1ca41cc949903f0961128ce2e1709de71c442b15ae2b6c7b2aca0cc7"
  end

  url "https://github.com/logseq/logseq/releases/download/#{version}/logseq-darwin-#{arch}-#{version}.dmg"
  name "Logseq"
  desc "Privacy-first, open-source platform for knowledge sharing and management"
  homepage "https://github.com/logseq/logseq"

  livecheck do
    url :url
    strategy :github_latest
  end

  auto_updates true

  app "Logseq.app"

  zap trash: [
    "~/Library/Application Support/Logseq",
    "~/Library/Logs/Logseq",
    "~/Library/Preferences/com.electron.logseq.plist",
    "~/Library/Saved Application State/com.electron.logseq.savedState",
  ]
end

{'fraction_non_alphanumeric': 0.12521150592216582, 'fraction_numerical': 0.10039481105470953, 'mean_word_length': 4.156976744186046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '455114', 'n_tokens_mistral': 805, 'n_tokens_neox': 701, 'n_words': 107}