<commit_before>#!/bin/bash
set -e

sudo /opt/scripts/container/containerinit.sh

# setup ros environment
source "/opt/ros/$ROS_DISTRO/setup.bash"

# start supervisor
sudo /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf

if [[ -d "/data" ]]; then
  cd /data
fi

# start CMD
exec "$@"
<commit_msg>hot fix for ros python path environment<commit_after>#!/bin/bash
set -e

sudo /opt/scripts/container/containerinit.sh

# setup ros environment
# FIXME: we should't set the ros path environment to here, because the ROS bad convention for python2 and python3
# source "/opt/ros/$ROS_DISTRO/setup.bash"

# start supervisor
sudo /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf

if [[ -d "/data" ]]; then
  cd /data
fi

# start CMD
exec "$@"

{'fraction_non_alphanumeric': 0.13219895287958114, 'fraction_numerical': 0.002617801047120419, 'mean_word_length': 3.8417721518987342, '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': '4261399', 'n_tokens_mistral': 288, 'n_tokens_neox': 266, 'n_words': 77}