<commit_before>#!/usr/bin/env bash

set -e -o pipefail

cd `dirname $0`
export NODE_PATH=$NODE_PATH:$(pwd)/dist/all:$(pwd)/dist/tools
$(npm bin)/tsc -p tools
node dist/tools/tsc-watch/ node watch
# node dist/tools/tsc-watch/ browser watch
# node dist/tools/tsc-watch/ tools watch<commit_msg>chore: have test.sh take platform argument<commit_after>#!/usr/bin/env bash

set -e -o pipefail

if [ $# -eq 0 ]
  then
    echo "Angular test runner. (No platform specified)"
    echo
    echo "./test.sh [node|browser|tools]"
    echo
else
  cd `dirname $0`
  export NODE_PATH=$NODE_PATH:$(pwd)/dist/all:$(pwd)/dist/tools
  $(npm bin)/tsc -p tools
  node dist/tools/tsc-watch/ $1 watch
fi


{'fraction_non_alphanumeric': 0.15249266862170088, 'fraction_numerical': 0.005865102639296188, 'mean_word_length': 3.5838926174496644, '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': '577186', 'n_tokens_mistral': 267, 'n_tokens_neox': 257, 'n_words': 68}