<commit_before>cask "portfolioperformance" do
  version "0.50.1"
  sha256 "0759495690665e76444b313ebfa326b7751b0dfd76c303ad0691f41fdeb0e30a"

  url "https://github.com/buchen/portfolio/releases/download/#{version}/PortfolioPerformance-#{version}.dmg",
      verified: "github.com/buchen/portfolio/"
  appcast "https://github.com/buchen/portfolio/releases.atom"
  name "Portfolio Performance"
  desc "Calculate the overall performance of an investment portfolio"
  homepage "https://www.portfolio-performance.info/en/"

  auto_updates true

  app "PortfolioPerformance.app"
end<commit_msg>portfolioperformance: add livecheck (#98152)<commit_after>cask "portfolioperformance" do
  version "0.50.1"
  sha256 "0759495690665e76444b313ebfa326b7751b0dfd76c303ad0691f41fdeb0e30a"

  url "https://github.com/buchen/portfolio/releases/download/#{version}/PortfolioPerformance-#{version}.dmg",
      verified: "github.com/buchen/portfolio/"
  name "Portfolio Performance"
  desc "Calculate the overall performance of an investment portfolio"
  homepage "https://www.portfolio-performance.info/en/"

  livecheck do
    url :url
    strategy :git
    regex(/^(\d+(?:\.\d+)*)$/)
  end

  auto_updates true

  app "PortfolioPerformance.app"
end
{'fraction_non_alphanumeric': 0.11960943856794141, 'fraction_numerical': 0.0854353132628153, 'mean_word_length': 5.029411764705882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, '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': '4712374', 'n_tokens_mistral': 502, 'n_tokens_neox': 428, 'n_words': 72}