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

# $./runjob.sh path/to/job
# example: ./runjob.sh testjob1
# ./runjob.sh --job=myliljob --hash=

for i in "$@"
do
case $i in
    -j=*|--job=*)
    JOB="${i#*=}"
    shift # past argument=value
    ;;
    -h=*|--hash=*)
    HASH="${i#*=}"
    shift # past argument=value
    ;;
    -r=*|--repo=*)
    REPO="${i#*=}"
    shift # past argument=value
    ;;
    *)
    ;;
esac
done
echo "JOB             = ${JOB}"
echo "HASH            = ${HASH}"
echo "REPO            = ${REPO}"

if [ -z ${JOB} ] || [ -z ${HASH} ] || [ -z ${REPO} ]
then
  echo 'important variables are not set'
  exit 1
else
  curl --user $JM_USER:$JM_PASS -d "job=${JOB}&hash=${HASH}&repo=${REPO}" -X POST 192.168.3.11:10600/jobs
fi

<commit_msg>fix merge conflict<commit_after>#!/usr/bin/env bash

# $./runjob.sh path/to/job
# example: ./runjob.sh testjob1
# ./runjob.sh --job=myliljob --hash=

for i in "$@"
do
case $i in
    -j=*|--job=*)
    JOB="${i#*=}"
    shift # past argument=value
    ;;
    -h=*|--hash=*)
    HASH="${i#*=}"
    shift # past argument=value
    ;;
    -r=*|--repo=*)
    REPO="${i#*=}"
    shift # past argument=value
    ;;
    *)
    ;;
esac
done
echo "JOB             = ${JOB}"
echo "HASH            = ${HASH}"
echo "REPO            = ${REPO}"

if [ -z ${JOB} ] || [ -z ${HASH} ] || [ -z ${REPO} ]
then
  echo 'important variables are not set'
  exit 1
else
  curl --user $JM_USER:$JM_PASS -d "job=${JOB}&hash=${HASH}&repo=${REPO}" -X POST 192.168.3.11/jobs
fi
{'fraction_non_alphanumeric': 0.23375753516409914, 'fraction_numerical': 0.01808439383791025, 'mean_word_length': 2.240780911062907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1424177', 'n_tokens_mistral': 659, 'n_tokens_neox': 611, 'n_words': 140}