<commit_before>require 'formula'

class Jython <Formula
  url "http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar",
    :using => :nounzip
  md5 '2ee978eff4306b23753b3fe9d7af5b37'
  homepage 'http://www.jython.org'
  head "http://downloads.sourceforge.net/project/jython/jython-dev/2.5.2b2/jython_installer-2.5.2b2.jar",
    :using => :nounzip

  def install
    system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec
    bin.mkpath
    ln_s libexec+'bin/jython', bin
  end
end<commit_msg>Update Jython HEAD to 2.5.2rc3<commit_after>require 'formula'

class Jython <Formula
  url "http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar",
    :using => :nounzip
  homepage 'http://www.jython.org'

  head "http://downloads.sourceforge.net/project/jython/jython-dev/2.5.2rc3/jython_installer-2.5.2rc3.jar",
    :using => :nounzip

  if ARGV.build_head?
    sha1 '547c424a119661ed1901079ff8f4e45af7d57b56'
  else
    md5 '2ee978eff4306b23753b3fe9d7af5b37'
  end

  def install
    system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec
    bin.mkpath
    ln_s libexec+'bin/jython', bin
  end
end
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.08444816053511706, 'mean_word_length': 3.8658536585365852, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2727006', 'n_tokens_mistral': 567, 'n_tokens_neox': 522, 'n_words': 73}