<commit_before>#!/bin/bash
# -- QSUB options
# When a single command in the array job is sent to a compute node,
# its task number is stored in the variable SGE_TASK_ID, so we can
# use the value of that variable to create subdirs or log names
# that depend on the jobID number
#
#$ -cwd
#$ -o /epp/scratch/nedm/mb325/logs
#$ -e /epp/scratch/nedm/mb325/logs
#$ -S /bin/bash
#$ -q short.q

#
# -- Fetch arguments from command line
# -- $# stores the number of comman line arguments passed to shell script
# -- Arguments accessed by $1, $2, $3...
if [ "$#" -ne 2 ] ; then
   echo "Incorrect number of command line arguments: $@ passed to submit_job.sh"
   exit 1
else
   export CONFIG_FILE="$1"<commit_msg>Check in submit_job to only execute on feynman<commit_after>#!/bin/bash
# -- QSUB options
# When a single command in the array job is sent to a compute node,
# its task number is stored in the variable SGE_TASK_ID, so we can
# use the value of that variable to create subdirs or log names
# that depend on the jobID number
#
#$ -cwd
#$ -o /epp/scratch/nedm/mb325/logs
#$ -e /epp/scratch/nedm/mb325/logs
#$ -S /bin/bash
#$ -q short.q

#
# -- Before running anything, ensure that we are on Feynman
if [[ "uname -n" != "feynman" ]] ; then
   echo "Not on Feynman system!"
   exit 1
fi
#
# -- Fetch arguments from command line
# -- $# stores the number of comman line arguments passed to shell script
# -- Arguments accessed by $1, $2, $3...
if [ "$#" -ne 2 ] ; then
   echo "Incorrect number of command line arguments: $@ passed to submit_job.sh"
   exit 1
else
   export CONFIG_FILE="$1"
{'fraction_non_alphanumeric': 0.1170547514159849, 'fraction_numerical': 0.015733165512901194, 'mean_word_length': 3.251336898395722, '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': '731065', 'n_tokens_mistral': 562, 'n_tokens_neox': 536, 'n_words': 222}