<commit_before>cask "apifox" do
  arch arm: "-macOS-arm64"

  version "2.1.38"
  sha256 arm:   "0635614006525dd4181db759425bd5f1fd636be2d27553a14b7a954aa6fa3363",
         intel: "8561a3c0c2687f6888670930a1dca7c8542c6c1d0ff20ed9c09dda6e517f3509"

  url "https://cdn.apifox.cn/download/#{version}/Apifox#{arch}-#{version}.dmg"
  name "Apifox"
  desc "Platform for API documentation, debugging, Mock and testing"
  homepage "https://www.apifox.cn/"

  livecheck do
    url "https://cdn.apifox.cn/download/mac/latest-mac.yml?noCache=#{Time.new.to_i * 2}"
    strategy :electron_builder
  end

  auto_updates true

  app "Apifox.app"

  zap trash: [
    "~/Library/Application Support/apifox",
    "~/Library/Preferences/cn.apifox.app.plist",
    "~/Library/Saved Application State/cn.apifox.app.savedState",
  ]
end<commit_msg>apifox 2.1.39<commit_after>cask "apifox" do
  arch arm: "-macOS-arm64"

  version "2.1.39"
  sha256 arm:   "b2164c2fd10494a933800a979c84a10a2ed5ec68cc82fefeed8498eebe4e1792",
         intel: "2c59e93f98943592dcb7313b77a8dd31a113e8f1cf1c2a44951618a63062d275"

  url "https://cdn.apifox.cn/download/#{version}/Apifox#{arch}-#{version}.dmg"
  name "Apifox"
  desc "Platform for API documentation, debugging, Mock and testing"
  homepage "https://www.apifox.cn/"

  livecheck do
    url "https://cdn.apifox.cn/download/mac/latest-mac.yml?noCache=#{Time.new.to_i * 2}"
    strategy :electron_builder
  end

  auto_updates true

  app "Apifox.app"

  zap trash: [
    "~/Library/Application Support/apifox",
    "~/Library/Preferences/cn.apifox.app.plist",
    "~/Library/Saved Application State/cn.apifox.app.savedState",
  ]
end
{'fraction_non_alphanumeric': 0.13470873786407767, 'fraction_numerical': 0.11771844660194175, 'mean_word_length': 4.12111801242236, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '1494518', 'n_tokens_mistral': 795, 'n_tokens_neox': 679, 'n_words': 98}