<commit_before># Now send results by github

VERSION_DIR=$1
VERSION_NAME=$2
BRANCH_NAME="experiment-reports"

git show-ref --verify refs/heads/$BRANCH_NAME
if [ $? != 0 ]; then
  git branch $BRANCH_NAME
fi

git checkout $BRANCH_NAME

# Just in case the branch already exists and someone updates it
git pull origin $BRANCH_NAME

git add $VERSION_DIR
git commit -m "Experiment report $VERSION_NAME"

if [ "$SEND_RESULT_WITH_GIT_PUSH" = "true" ];
	git push origin $BRANCH_NAME
fi

# Get back to the last branch
git checkout @{-1}<commit_msg>Update send-results-git.sh<commit_after># Now send results by github

VERSION_DIR=$1
VERSION_NAME=$2
BRANCH_NAME="experiment-reports"

git show-ref --verify refs/heads/$BRANCH_NAME
if [ $? != 0 ]; then
  git branch $BRANCH_NAME
fi

git checkout $BRANCH_NAME

# Just in case the branch already exists and someone updates it
git pull origin $BRANCH_NAME

git add $VERSION_DIR
git commit -m "Experiment report $VERSION_NAME"

if [ "$SEND_RESULT_WITH_GIT_PUSH" = "true" ]; then
	git push origin $BRANCH_NAME
fi

# Get back to the last branch
git checkout @{-1}
{'fraction_non_alphanumeric': 0.0923217550274223, 'fraction_numerical': 0.007312614259597806, 'mean_word_length': 4.887096774193548, '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': '3200634', 'n_tokens_mistral': 391, 'n_tokens_neox': 379, 'n_words': 129}