<commit_before># Copyright 2015 Apcera Inc. All rights reserved.

require 'json'
require 'fileutils'

class VagrantHelper
    VMWARE_BOX = "continuum_trial_vagrant_vmware_1433969548"
    VMWARE_CHECKSUM256 = "5ff5c7be8f3265b7dd412fe08b4e07db1f1d5dbd7178d819b33f8d4c567bb902"
    VIRTUALBOX_BOX = "continuum_trial_vagrant_virtualbox_1433969548"
    VIRTUALBOX_CHECKSUM256 = "787cd6c0c5113893451d92dac0e00e99adb049f0f085c1936588531ad4178dc9"

  def initialize
    find_provider
    validate
  end

  def validate
    validate_config
  end

  def validate_config
    config = File.join(File.dirname(__FILE__), 'continuum-setup.conf')
    unless File.file?(config)
      $stderr.puts %^Please copy continuum-setup.conf.template to continuum-setup.conf and update the value of cluster domain prefix name.^
      exit(1)
    end <commit_msg>Bump up version to 427a<commit_after># Copyright 2015 Apcera Inc. All rights reserved.

require 'json'
require 'fileutils'

class VagrantHelper
    VMWARE_BOX = "continuum_trial_vagrant_vmware_1435607430"
    VMWARE_CHECKSUM256 = "350b41c7f4dbbd94e74e651e05f75b9cae6688b6f2fbb822ef1906a4d738e93e"
    VIRTUALBOX_BOX = "continuum_trial_vagrant_virtualbox_1435607430"
    VIRTUALBOX_CHECKSUM256 = "7aaf83724c07785a099ebf608de3710b4a5512f8efb8e24f82d09e4d7b46567c"

  def initialize
    find_provider
    validate
  end

  def validate
    validate_config
  end

  def validate_config
    config = File.join(File.dirname(__FILE__), 'continuum-setup.conf')
    unless File.file?(config)
      $stderr.puts %^Please copy continuum-setup.conf.template to continuum-setup.conf and update the value of cluster domain prefix name.^
      exit(1)
    end 
{'fraction_non_alphanumeric': 0.060714285714285714, 'fraction_numerical': 0.13392857142857142, 'mean_word_length': 4.857142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3712374', 'n_tokens_mistral': 757, 'n_tokens_neox': 624, 'n_words': 114}