<commit_before>#!/bin/bash
set -xeuo pipefail

PROFILE=docker
TAG=1.7.1
TEX=sample.tex

while [[ $# -gt 0 ]]
do
  key=$1
  case $key in
    -p|--profile)
    PROFILE=$2
    shift # past argument
    shift # past value
    ;;
    --tag)
    TAG=$2
    shift # past argument
    shift # past value
    ;;
    --tex)
    TEX=$2
    shift # past argument
    shift # past value
    ;;
    *) # unknown option
    shift # past argument
    ;;
  esac
done

# Run test
nextflow run . -profile ${PROFILE} --tag ${tag} --tex ${TEX}
<commit_msg>fix variable TAG<commit_after>#!/bin/bash
set -xeuo pipefail

PROFILE=docker
TAG=1.7.1
TEX=sample.tex

while [[ $# -gt 0 ]]
do
  key=$1
  case $key in
    -p|--profile)
    PROFILE=$2
    shift # past argument
    shift # past value
    ;;
    --tag)
    TAG=$2
    shift # past argument
    shift # past value
    ;;
    --tex)
    TEX=$2
    shift # past argument
    shift # past value
    ;;
    *) # unknown option
    shift # past argument
    ;;
  esac
done

# Run test
nextflow run . -profile ${PROFILE} --tag ${TAG} --tex ${TEX}

{'fraction_non_alphanumeric': 0.13979496738117428, 'fraction_numerical': 0.014911463187325256, 'mean_word_length': 2.0424929178470257, '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': '3047824', 'n_tokens_mistral': 410, 'n_tokens_neox': 390, 'n_words': 114}