<commit_before>cask "miniconda" do
  arch = Hardware::CPU.intel? ? "x86_64" : "arm64"
  version "py39_4.11.0"

  if Hardware::CPU.intel?
    sha256 "7717253055e7c09339cd3d0815a0b1986b9138dcfcb8ec33b9733df32dd40eaa"
  else
    sha256 "7d3d6e695e62651a2473425b84762b1c1b819a97a2c4419b2b60ae94cab8381b"
  end

  url "https://repo.anaconda.com/miniconda/Miniconda3-#{version}-MacOSX-#{arch}.sh",
      verified: "repo.anaconda.com/miniconda/"
  name "Continuum Analytics Miniconda"
  desc "Minimal installer for conda"
  homepage "https://conda.io/miniconda.html"

  # This regex restricts matching to a specific Python version. This will need
  # to be updated when the prefix changes in the latest version at the top of:
  # https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-#{arch}.sh
  livecheck do
    url "https://repo.anaconda.com/miniconda/"
    if Hardware::CPU.intel?
      regex(/>\s*Miniconda3-(py39[._-]\d+(?:\.\d+)+)-MacOSX-#{arch}\.sh\s*</i)
    else
      regex(/>\s*Miniconda3-(py38[._-]\d+(?:\.\d+)+)-MacOSX-#{arch}\.sh\s*</i)
    end
  end

  auto_updates true
  conflicts_with cask: "miniforge"
  container type: :naked

  installer script: {<commit_msg>Update miniconda from py39_4.11.0 to py39_4.12.0 (#123864)<commit_after>cask "miniconda" do
  arch = Hardware::CPU.intel? ? "x86_64" : "arm64"
  version "py39_4.12.0"

  if Hardware::CPU.intel?
    sha256 "007bae6f18dc7b6f2ca6209b5a0c9bd2f283154152f82becf787aac709a51633"
  else
    sha256 "c788378ba4bfe75bd1cdebe127b0bce89a0c4dc44310b24d9e7fb2b730206586"
  end

  url "https://repo.anaconda.com/miniconda/Miniconda3-#{version}-MacOSX-#{arch}.sh",
      verified: "repo.anaconda.com/miniconda/"
  name "Continuum Analytics Miniconda"
  desc "Minimal installer for conda"
  homepage "https://conda.io/miniconda.html"

  # This regex restricts matching to a specific Python version. This will need
  # to be updated when the prefix changes in the latest version at the top of:
  # https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-#{arch}.sh
  livecheck do
    url "https://repo.anaconda.com/miniconda/"
    if Hardware::CPU.intel?
      regex(/>\s*Miniconda3-(py39[._-]\d+(?:\.\d+)+)-MacOSX-#{arch}\.sh\s*</i)
    else
      regex(/>\s*Miniconda3-(py38[._-]\d+(?:\.\d+)+)-MacOSX-#{arch}\.sh\s*</i)
    end
  end

  auto_updates true
  conflicts_with cask: "miniforge"
  container type: :naked

  installer script: {
{'fraction_non_alphanumeric': 0.1491483174075613, 'fraction_numerical': 0.09597008724553385, 'mean_word_length': 3.8843813387423936, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1023046', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1001, 'n_words': 168}