<commit_before>cask "logseq" do
  version "0.1.6"

  if Hardware::CPU.intel?
    sha256 "87d04713c306a6baa8230333b07105765349766d75eb15eeb9384aa42467e7ef"
    url "https://github.com/logseq/logseq/releases/download/#{version}/logseq-darwin-x64-#{version}.dmg"
  else
    sha256 "c6443e410a278301a24143e0ba51e859679f62dbede11bacf0caa361bbc79fbd"
    url "https://github.com/logseq/logseq/releases/download/#{version}/logseq-darwin-arm64-#{version}.dmg"
  end

  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>Update logseq from 0.1.6 to 0.1.7 (#107186)<commit_after>cask "logseq" do
  version "0.1.7"

  if Hardware::CPU.intel?
    sha256 "16de8fbee6414b326902f504d2bf6c4672d41e340ac97d762f5fc64777fbc755"
    url "https://github.com/logseq/logseq/releases/download/#{version}/logseq-darwin-x64-#{version}.dmg"
  else
    sha256 "5b93edabcbef89aff3a160fde2bb941b15079c2db3c3883340c3fda0097ab379"
    url "https://github.com/logseq/logseq/releases/download/#{version}/logseq-darwin-arm64-#{version}.dmg"
  end

  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.12695924764890282, 'fraction_numerical': 0.10292580982236155, 'mean_word_length': 4.1897018970189706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3657809', 'n_tokens_mistral': 859, 'n_tokens_neox': 732, 'n_words': 107}