<commit_before>cask "hbuilderx" do
  version "3.1.4.20210305"
  sha256 "eb1ef0d331824e8d9021ecd38e607933d3806aa2505431d1d86d9c4cba797729"

  url "https://download1.dcloud.net.cn/download/HBuilderX.#{version}.dmg",
      verified: "download1.dcloud.net.cn/"
  appcast "https://update.dcloud.net.cn/hbuilderx/changelog/#{version}.html"
  name "HBuilderX"
  desc "HTML editor"
  homepage "https://www.dcloud.io/hbuilderx.html"

  app "HBuilderX.app"
end<commit_msg>hbuilderx: update version, add livecheck (#108234)<commit_after>cask "hbuilderx" do
  version "3.1.18.20210609"
  sha256 "c85921dfced7e45248da2a32a7f209667a3df307f97578e0e4983ebaa81ba70a"

  url "https://download1.dcloud.net.cn/download/HBuilderX.#{version}.dmg",
      verified: "download1.dcloud.net.cn/"
  name "HBuilderX"
  desc "HTML editor"
  homepage "https://www.dcloud.io/hbuilderx.html"

  livecheck do
    url "https://download1.dcloud.net.cn/hbuilderx/release.json"
    strategy :page_match do |page|
      JSON.parse(page)["version"]
    end
  end

  app "HBuilderX.app"
end
{'fraction_non_alphanumeric': 0.1363203050524309, 'fraction_numerical': 0.11630123927550047, 'mean_word_length': 4.46875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '5855698', 'n_tokens_mistral': 492, 'n_tokens_neox': 433, 'n_words': 59}