<commit_before>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php53Stats < AbstractPhp53Extension
  init
  homepage "https://pecl.php.net/package/stats"
  url "https://pecl.php.net/get/stats-1.0.3.tgz"
  sha256 "e032e02052acf2013f0578da823d60b0b2a89eb5e1dd1379cf0a65c090dffdfc"
  head "https://svn.php.net/repository/pecl/stats/trunk/"

  bottle do
    cellar :any_skip_relocation
    sha256 "2f3885553e11684662a57dfa197f8dbdc8942ec2dbb5214fc2824c8fa16be158" => :mavericks
  end

  def install
    Dir.chdir "stats-#{version}" unless build.head?
<commit_msg>php53-stats: update 1.0.3 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php53Stats < AbstractPhp53Extension
  init
  homepage "https://pecl.php.net/package/stats"
  url "https://pecl.php.net/get/stats-1.0.3.tgz"
  sha256 "e032e02052acf2013f0578da823d60b0b2a89eb5e1dd1379cf0a65c090dffdfc"
  head "https://svn.php.net/repository/pecl/stats/trunk/"

  bottle do
    cellar :any_skip_relocation
    revision 1
    sha256 "d7acc1aea8e0b3f953aeb905ed3323a038795e39310bda8b928b4d9e05829ac0" => :el_capitan
    sha256 "55431563f5d1e3fcd52a6f36da00dcf14d8b33ab5887378f8e6a764752362fbf" => :yosemite
    sha256 "fdb914fac34f22106e4c0d2722826a66c7403f75d7557ded8594da2a06df8e0d" => :mavericks
  end

  def install
    Dir.chdir "stats-#{version}" unless build.head?

{'fraction_non_alphanumeric': 0.11016346837242359, 'fraction_numerical': 0.19331911869225302, 'mean_word_length': 5.121739130434783, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3356213', 'n_tokens_mistral': 740, 'n_tokens_neox': 613, 'n_words': 69}