<commit_before>require 'rubygems'
require 'lib/rouster'


app = Rouster.new(:name => 'app')
ppm = Rouster.new(:name => 'ppm', :verbosity => 4, :vagrantfile => '../piab/Vagrantfile')

# passthrough boxes do not need to specify a name
lpt = Rouster.new(:passthrough => 'local', :verbosity => 4)
#rpt = Rouster.new(:passthrough => 'remote', :verbosity => 4, :sshkey => '~/.ssh/id_dsa')

workers = [app, ppm, lpt]

workers.each do |w|

  p '%s config: ' % w.name
  p 'passthrough: %s' % w.passthrough
  p 'sshkey:      %s' % w.sshkey
  p 'wagrantfile: %s' % w.vagrantfile

  w.up()

  p '%s status: %s' % w, w.status()
  p '%s available via ssh: %s' % w, w.available_via_ssh?()
<commit_msg>moving passthrough testing out of scope for MVP<commit_after>require 'rubygems'
require 'lib/rouster'


app = Rouster.new(:name => 'app')
ppm = Rouster.new(:name => 'ppm', :verbosity => 4, :vagrantfile => '../piab/Vagrantfile')

# passthrough boxes do not need to specify a name
#lpt = Rouster.new(:passthrough => 'local', :verbosity => 4)
#rpt = Rouster.new(:passthrough => 'remote', :verbosity => 4, :sshkey => '~/.ssh/id_dsa')

workers = [app, ppm]

workers.each do |w|

  p '%s config: ' % w.name
  p 'passthrough: %s' % w.passthrough
  p 'sshkey:      %s' % w.sshkey
  p 'wagrantfile: %s' % w.vagrantfile

  w.up()

  p '%s status: %s' % w, w.status()
  p '%s available via ssh: %s' % w, w.available_via_ssh?()

{'fraction_non_alphanumeric': 0.19115549215406563, 'fraction_numerical': 0.0042796005706134095, 'mean_word_length': 3.821305841924399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '6664005', 'n_tokens_mistral': 605, 'n_tokens_neox': 570, 'n_words': 152}