<commit_before>cask "yandex" do
  arch arm: "&arch=arm64"

  version "22.7.3"
  sha256 :no_check

  url "https://browser.yandex.ru/download/?os=mac#{arch}&full=1",
      user_agent: :fake
  name "Yandex.Browser"
  desc "Web browser"
  homepage "https://browser.yandex.ru/"

  livecheck do
    url :url
    strategy :header_match do |headers|
      match = headers["location"].match(/(\d+)_(\d+)_(\d+)/i)
      next if match.blank?

      "#{match[1]}.#{match[2]}.#{match[3]}"
    end
  end

  auto_updates true

  app "Yandex.app"
end
<commit_msg>yandex 22.7.5<commit_after>cask "yandex" do
  arch arm: "&arch=arm64"

  version "22.7.5"
  sha256 :no_check

  url "https://browser.yandex.ru/download/?os=mac#{arch}&full=1",
      user_agent: :fake
  name "Yandex.Browser"
  desc "Web browser"
  homepage "https://browser.yandex.ru/"

  livecheck do
    url :url
    strategy :header_match do |headers|
      match = headers["location"].match(/(\d+)_(\d+)_(\d+)/i)
      next if match.blank?

      "#{match[1]}.#{match[2]}.#{match[3]}"
    end
  end

  auto_updates true

  app "Yandex.app"
end

{'fraction_non_alphanumeric': 0.17915904936014626, 'fraction_numerical': 0.027422303473491772, 'mean_word_length': 3.1165413533834587, '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': '6223841', 'n_tokens_mistral': 456, 'n_tokens_neox': 441, 'n_words': 85}