<commit_before>require 'formula'

class Riemann < Formula
  homepage 'http://aphyr.github.com/riemann/'
  url 'http://aphyr.com/riemann/riemann-0.1.0.tar.bz2'
  md5 '5b4d8f2d6a443ae2258b8c569e26ebc6'

  def shim_script
    <<-EOS.undent
      #!/bin/bash
      if [ -z "$1" ]
      then
        config="#{etc}/riemann.config"<commit_msg>riemann 0.1.2<commit_after>require 'formula'

class Riemann < Formula
  homepage 'http://aphyr.github.com/riemann/'
  url 'http://aphyr.com/riemann/riemann-0.1.2.tar.bz2'
  sha1 '8602692dce1d5e6ed6d5bff9357689d484ebc8eb'

  def shim_script
    <<-EOS.undent
      #!/bin/bash
      if [ -z "$1" ]
      then
        config="#{etc}/riemann.config"
{'fraction_non_alphanumeric': 0.15519765739385066, 'fraction_numerical': 0.08345534407027819, 'mean_word_length': 2.9310344827586206, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3452943', 'n_tokens_mistral': 326, 'n_tokens_neox': 293, 'n_words': 40}