<commit_before>require "formula"

class Elasticsearch < Formula
  homepage "http://www.elasticsearch.org"
  url "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.0.tar.gz"
  sha1 "728913722bc94dad4cb5e759a362f09dc19ed6fe"

  depends_on :java => "1.7"

  head do
    url "https://github.com/elasticsearch/elasticsearch.git"
    depends_on "maven"
  end

  def cluster_name
    "elasticsearch_#{ENV['USER']}"
  end

  def install
    if build.head?
      # Build the package from source
      system "mvn clean package -DskipTests"<commit_msg>elasticsearch 1.4.1<commit_after>require "formula"

class Elasticsearch < Formula
  homepage "http://www.elasticsearch.org"
  url "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.1.tar.gz"
  sha1 "d2ddd4bb206d1aae5a5dae88649ca2b7ce2c235b"

  depends_on :java => "1.7"

  head do
    url "https://github.com/elasticsearch/elasticsearch.git"
    depends_on "maven"
  end

  def cluster_name
    "elasticsearch_#{ENV['USER']}"
  end

  def install
    if build.head?
      # Build the package from source
      system "mvn clean package -DskipTests"
{'fraction_non_alphanumeric': 0.109375, 'fraction_numerical': 0.050347222222222224, 'mean_word_length': 3.8445378151260505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4788840', 'n_tokens_mistral': 411, 'n_tokens_neox': 402, 'n_words': 78}