<commit_before>class Stockfish < Formula
  desc "Strong open-source chess engine"
  homepage "https://stockfishchess.org/"
  url "https://github.com/official-stockfish/Stockfish/archive/sf_12.tar.gz"
  sha256 "d1ec11d1cb8dfc5b33bcd6ec89ed0bafb3951cc1690851448a2696caa2022899"
  license "GPL-3.0-only"
  head "https://github.com/official-stockfish/Stockfish.git"

  livecheck do
    url :stable
    strategy :github_latest
    regex(%r{href=.*?/tag/(?:sf[._-])?v?(\d+(?:\.\d+)*)["' >]}i)
  end

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "551132d7e63e86d86bf857b89cd6067b1c0b6461c8c2a48b9adf4edf9285ec12"
    sha256 cellar: :any_skip_relocation, big_sur:       "80f4bffca9c15c8f2744876384f2a07d1184de36e67167b5730a9c7b32e11b9a"
    sha256 cellar: :any_skip_relocation, catalina:      "54594ab09c5f7176a52ca9b8e1a8d937420d89f8ee98b17322a82396f88e14c2"
    sha256 cellar: :any_skip_relocation, mojave:        "f0bf09f7f5b3a28debe09be7898bb6973524f13026d5c18eee6752450e778efe"
  end

  def install
    arch = Hardware::CPU.arm? ? "apple-silicon" : "x86-64-modern"

    system "make", "-C", "src", "build", "ARCH=#{arch}"
    bin.install "src/stockfish"
  end

  test do
    system "#{bin}/stockfish", "go", "depth", "20"
  end
end
<commit_msg>stockfish 13<commit_after>class Stockfish < Formula
  desc "Strong open-source chess engine"
  homepage "https://stockfishchess.org/"
  url "https://github.com/official-stockfish/Stockfish/archive/sf_13.tar.gz"
  sha256 "15d14721b3be17c597535bdbb44fb951a1ee948312d90fbf55fa0e52b8b81d62"
  license "GPL-3.0-only"
  head "https://github.com/official-stockfish/Stockfish.git"

  livecheck do
    url :stable
    strategy :github_latest
    regex(%r{href=.*?/tag/(?:sf[._-])?v?(\d+(?:\.\d+)*)["' >]}i)
  end

  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "551132d7e63e86d86bf857b89cd6067b1c0b6461c8c2a48b9adf4edf9285ec12"
    sha256 cellar: :any_skip_relocation, big_sur:       "80f4bffca9c15c8f2744876384f2a07d1184de36e67167b5730a9c7b32e11b9a"
    sha256 cellar: :any_skip_relocation, catalina:      "54594ab09c5f7176a52ca9b8e1a8d937420d89f8ee98b17322a82396f88e14c2"
    sha256 cellar: :any_skip_relocation, mojave:        "f0bf09f7f5b3a28debe09be7898bb6973524f13026d5c18eee6752450e778efe"
  end

  def install
    arch = Hardware::CPU.arm? ? "apple-silicon" : "x86-64-modern"

    system "make", "-C", "src", "build", "ARCH=#{arch}"
    bin.install "src/stockfish"
  end

  test do
    system "#{bin}/stockfish", "go", "depth", "20"
  end
end

{'fraction_non_alphanumeric': 0.12602739726027398, 'fraction_numerical': 0.18199608610567514, 'mean_word_length': 4.756756756756757, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '6112639', 'n_tokens_mistral': 1363, 'n_tokens_neox': 1119, 'n_words': 153}