<commit_before>#!/bin/sh

cat <<EOF
=========================================================================
this script creates a working directory for the EffectiveTTV production
output is in setup.log
=========================================================================
EOF

(
set -e
set -o xtrace

export SCRAM_ARCH=slc6_amd64_gcc491
scramv1 project CMSSW_7_4_7
cd CMSSW_7_4_7/src
set +o xtrace
eval $(scramv1 runtime -sh)
set -o xtrace
git cms-init > /dev/null

git clone <EMAIL>:annawoodard/EffectiveTTVProduction.git EffectiveTTVProduction/EffectiveTTVProduction

scram b -j 32
) > setup.log


cat <<EOF
=========================================================================
output is in setup.log
=========================================================================
EOF<commit_msg>Make sure user has `tempdir` installed<commit_after>#!/bin/sh

cat <<EOF
=========================================================================
this script creates a working directory for EffectiveTTV production
output is in setup.log
=========================================================================
EOF

(
set -e
set -o xtrace

export SCRAM_ARCH=slc6_amd64_gcc491
scramv1 project CMSSW_7_4_7
cd CMSSW_7_4_7/src
set +o xtrace
eval $(scramv1 runtime -sh)
set -o xtrace
git cms-init > /dev/null

git clone <EMAIL>:annawoodard/EffectiveTTVProduction.git EffectiveTTVProduction/EffectiveTTVProduction

scram b -j 32

pip install --user tempdir
) > setup.log

cat <<EOF
=========================================================================
output is in setup.log
=========================================================================
EOF
{'fraction_non_alphanumeric': 0.4014510278113664, 'fraction_numerical': 0.019347037484885126, 'mean_word_length': 7.664921465968586, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 9, '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': '5636432', 'n_tokens_mistral': 476, 'n_tokens_neox': 421, 'n_words': 125}