<commit_before>#!/bin/sh

/opt/opscode/bin/wait-for-rabbit

cd /opt/opscode/embedded/service/opscode-expander

exec 2>&1
exec /opt/opscode/embedded/bin/chpst -P -U <%= node['private_chef']['user']['username'] %> -u <%= node['private_chef']['user']['username'] %> /opt/opscode/embedded/bin/bundle exec /opt/opscode/embedded/service/opscode-expander/bin/opscode-expander-cluster -n <%= node['private_chef']['opscode-expander']['nodes'] %> -c <%= File.join(node["private_chef"]['opscode-expander']['dir'], "etc", "expander.rb") %><commit_msg>[expander] Set HOME in expander's runsv script<commit_after>#!/bin/sh

/opt/opscode/bin/wait-for-rabbit

cd /opt/opscode/embedded/service/opscode-expander
export HOME=/opt/opscode/embedded/service/opscode-expander

exec 2>&1
exec /opt/opscode/embedded/bin/chpst -P -U <%= node['private_chef']['user']['username'] %> -u <%= node['private_chef']['user']['username'] %> /opt/opscode/embedded/bin/bundle exec /opt/opscode/embedded/service/opscode-expander/bin/opscode-expander-cluster -n <%= node['private_chef']['opscode-expander']['nodes'] %> -c <%= File.join(node["private_chef"]['opscode-expander']['dir'], "etc", "expander.rb") %>
{'fraction_non_alphanumeric': 0.22393162393162394, 'fraction_numerical': 0.003418803418803419, 'mean_word_length': 6.096969696969697, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '835613', 'n_tokens_mistral': 471, 'n_tokens_neox': 427, 'n_words': 52}