<commit_before>#!/bin/bash
#====================================================================================================
#
# Does a 'npm install' on every active repo.
#
# Author: <NAME> (small mod by <NAME>)
#
#====================================================================================================

CHIPPER_BIN=`dirname "${BASH_SOURCE[0]}"`
WORKING_DIR=${CHIPPER_BIN}/../..
cd ${WORKING_DIR}

for repo in `cat chipper/data/active-repos | xargs | tr -d '\r'`
do
  if [ -d "$repo" ]; then
    echo $repo
    cd $repo
    npm install
    cd ..
  fi
done<commit_msg>Only npm install on runnables<commit_after>#!/bin/bash
#====================================================================================================
#
# Does a 'npm install' on every active repo.
#
# Author: <NAME> (small mod by <NAME>)
#
#====================================================================================================

CHIPPER_BIN=`dirname "${BASH_SOURCE[0]}"`
WORKING_DIR=${CHIPPER_BIN}/../..
cd ${WORKING_DIR}

for repo in `cat chipper/data/active-runnables | xargs | tr -d '\r'`
do
  if [ -d "$repo" ]; then
    echo $repo
    cd $repo
    npm install
    cd ..
  fi
done
{'fraction_non_alphanumeric': 0.45210084033613446, 'fraction_numerical': 0.0016806722689075631, 'mean_word_length': 5.2356020942408374, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5248875', 'n_tokens_mistral': 355, 'n_tokens_neox': 326, 'n_words': 89}