<commit_before>#!/bin/bash

ECR_REPOSITORY_URI=
GIT_COMMIT=

docker run -d                                    \
  --env=thetrain.transactions=/transactions      \
  --env=thetrain.website=/content                \
  --env=DP_COLOURED_LOGGING=true                 \
  --env=DP_LOGGING_FORMAT=json                   \
  --name=the-train                               \
  --net=website                                  \
  --restart=always                               \
  --volume=/var/babbage/publishing:/transactions \
  --volume=/var/babbage/site:/content            \
  --volume=/var/babbage/tmp:/tmp                 \
  $ECR_REPOSITORY_URI/the-train:$GIT_COMMIT
<commit_msg>remove coloured logging for prod<commit_after>#!/bin/bash

ECR_REPOSITORY_URI=
GIT_COMMIT=

docker run -d                                    \
  --env=thetrain.transactions=/transactions      \
  --env=thetrain.website=/content                \
  --env=DP_COLOURED_LOGGING=false                \
  --env=DP_LOGGING_FORMAT=json                   \
  --name=the-train                               \
  --net=website                                  \
  --restart=always                               \
  --volume=/var/babbage/publishing:/transactions \
  --volume=/var/babbage/site:/content            \
  --volume=/var/babbage/tmp:/tmp                 \
  $ECR_REPOSITORY_URI/the-train:$GIT_COMMIT

{'fraction_non_alphanumeric': 0.11636363636363636, 'fraction_numerical': 0.0, 'mean_word_length': 1.1772151898734178, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '354222', 'n_tokens_mistral': 455, 'n_tokens_neox': 414, 'n_words': 38}