<commit_before>cask "visual-studio-code" do
  version "1.58.1"

  if Hardware::CPU.intel?
    sha256 "9a9d230a165cc500d073d091b77ad5f28e0308e61058e08934e5b6c994b26713"
    url "https://update.code.visualstudio.com/#{version}/darwin/stable"
  else
    sha256 "0bfef03947958ebd66aaec7b43ac0963005ebea6c36d561fe8b2bddc741318b0"
    url "https://update.code.visualstudio.com/#{version}/darwin-arm64/stable"
  end

  name "Microsoft Visual Studio Code"
  name "VS Code"
  desc "Open-source code editor"
  homepage "https://code.visualstudio.com/"

  livecheck do
    url "https://update.code.visualstudio.com/api/update/darwin-universal/stable/VERSION"
    strategy :page_match
    regex(/"productVersion"\s*:\s*"(\d+(:?\.\d+)*)"/)<commit_msg>Update visual-studio-code from 1.58.1 to 1.58.2 (#108490)<commit_after>cask "visual-studio-code" do
  version "1.58.2"

  if Hardware::CPU.intel?
    sha256 "a69fa37ffb49f14111872bd63919c9b72e4b7651d34d9acf358a3c15120acb3c"
    url "https://update.code.visualstudio.com/#{version}/darwin/stable"
  else
    sha256 "c0c3a7d670deafdfe2cfa713c5a00bc53cd68343b9b7a676e82e82e3fb940ff2"
    url "https://update.code.visualstudio.com/#{version}/darwin-arm64/stable"
  end

  name "Microsoft Visual Studio Code"
  name "VS Code"
  desc "Open-source code editor"
  homepage "https://code.visualstudio.com/"

  livecheck do
    url "https://update.code.visualstudio.com/api/update/darwin-universal/stable/VERSION"
    strategy :page_match
    regex(/"productVersion"\s*:\s*"(\d+(:?\.\d+)*)"/)
{'fraction_non_alphanumeric': 0.14276315789473684, 'fraction_numerical': 0.12763157894736843, 'mean_word_length': 4.451612903225806, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3486357', 'n_tokens_mistral': 726, 'n_tokens_neox': 611, 'n_words': 81}