<commit_before>#!/usr/bin/env ruby
#

require_relative('../rake/lib/helpers/build/ami')

unless ARGV.length == 1
  puts "usage: #{$0} </path/to/stemcell.tgz>"
  exit(1)
end

stemcell_tgz = File.expand_path(ARGV[0])
ami = Bosh::Helpers:Ami.new(stemcell_tgz)
ami.publish_light_stemcell(ami.publish)<commit_msg>Fix relative require<commit_after>#!/usr/bin/env ruby
#

require_relative('../rake/lib/helpers/ami')

unless ARGV.length == 1
  puts "usage: #{$0} </path/to/stemcell.tgz>"
  exit(1)
end

stemcell_tgz = File.expand_path(ARGV[0])
ami = Bosh::Helpers:Ami.new(stemcell_tgz)
ami.publish_light_stemcell(ami.publish)
{'fraction_non_alphanumeric': 0.1766612641815235, 'fraction_numerical': 0.012965964343598054, 'mean_word_length': 5.574468085106383, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1415015', 'n_tokens_mistral': 269, 'n_tokens_neox': 249, 'n_words': 35}