<commit_before>#!/bin/bash
#
# This script was automatically generated.
# Task ID: {{{ taskId }}}
#

# load system-wide profile.d
if [[ -d /etc/profile.d ]]; then
  for i in /etc/profile.d/*.sh; do
    source $i >/dev/null 2>&1
    echo "Sourced $i"
  done
else
  echo "No /etc/profile.d to source"
fi

# load env vars
if [[ -f deploy.env ]]; then
  source deploy.env
  echo "Sourced deploy-specific environment variables"<commit_msg>expose task id as MESOS_TASK_ID env var in runner script<commit_after>#!/bin/bash
#
# This script was automatically generated.
# Task ID: {{{ taskId }}}
#

export MESOS_TASK_ID={{{bashEscaped taskId}}}  # I can't believe Mesos doesn't expose this.

# load system-wide profile.d
if [[ -d /etc/profile.d ]]; then
  for i in /etc/profile.d/*.sh; do
    source $i >/dev/null 2>&1
    echo "Sourced $i"
  done
else
  echo "No /etc/profile.d to source"
fi

# load env vars
if [[ -f deploy.env ]]; then
  source deploy.env
  echo "Sourced deploy-specific environment variables"
{'fraction_non_alphanumeric': 0.13844621513944222, 'fraction_numerical': 0.00398406374501992, 'mean_word_length': 3.331896551724138, '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': '671350', 'n_tokens_mistral': 372, 'n_tokens_neox': 358, 'n_words': 118}