<commit_before>#!/bin/bash
DT_AGENT_NAME=${TOMCAT_DT_AGENT_NAME:-"tomcat-agent"}
DT_AGENT_PATH="-agentpath:\${DTAGENT_ENV_LIB64}=name=${TOMCAT_DT_AGENT_NAME},collector=\${DTCOLLECTOR_ENV_HOST_NAME}"

echo "Starting Apache Tomcat - Example"
docker run -ti \
  --name tomcat-example \
  --volumes-from dtagent \
  --link dtcollector \
  --link dtagent \
  --publish-all \
  tomcat \
  sh -c "CATALINA_OPTS=${DT_AGENT_PATH} catalina.sh run"<commit_msg>Fix runtime flags.<commit_after>#!/bin/bash
DT_AGENT_NAME=${TOMCAT_DT_AGENT_NAME:-"tomcat-agent"}
DT_AGENT_PATH="-agentpath:\${DTAGENT_ENV_LIB64}=name=${TOMCAT_DT_AGENT_NAME},collector=\${DTCOLLECTOR_ENV_HOST_NAME}"

echo "Starting Apache Tomcat - Example"
docker run --rm \
  --name tomcat-example \
  --volumes-from dtagent \
  --link dtcollector \
  --link dtagent \
  --publish-all \
  tomcat \
  sh -c "CATALINA_OPTS=${DT_AGENT_PATH} catalina.sh run"
{'fraction_non_alphanumeric': 0.15265486725663716, 'fraction_numerical': 0.004424778761061947, 'mean_word_length': 4.552147239263804, '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': '5037054', 'n_tokens_mistral': 373, 'n_tokens_neox': 360, 'n_words': 53}