<commit_before>rightscale_marker :begin

ruby_block "start cf" do
  block do
    system "/opt/jrun4/bin/jrun start cfusion > /tmp/cf.log 2>&1 "
  end
end

until File.exists?('/tmp/cf.log') && open('/tmp/cf.log') { |f| f.grep(/Server cfusion ready/) }
  x += 1
  sleep(1)
  if x == 1000
    break
  end
end

rightscale_marker :end<commit_msg>initialize variables<commit_after>rightscale_marker :begin

ruby_block "start cf" do
  block do
    system "/opt/jrun4/bin/jrun start cfusion > /tmp/cf.log 2>&1 "
  end
end

x = 0
until File.exists?('/tmp/cf.log') && open('/tmp/cf.log') { |f| f.grep(/Server cfusion ready/) }
  x += 1
  sleep(1)
  if x == 1000
    break
  end
end

rightscale_marker :end
{'fraction_non_alphanumeric': 0.1510791366906475, 'fraction_numerical': 0.027338129496402876, 'mean_word_length': 3.2181818181818183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1196910', 'n_tokens_mistral': 285, 'n_tokens_neox': 269, 'n_words': 70}