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

#Check arguments
if [[ "${#}" -ge 1 ]]
then
	echo "Usage: $0"
	exit 2
fi

#Source commands library
. ../../common-libs/commands-lib.sh

#Number of last lines to select, default: 15
typeset -ir selectedLines="${1:-15}"

#make a reference file based on the most common command
test -f "${sourceFile}" ; echo $? > "${refTargetFile}"

#Test all commands
testCommands "${selectedLines}"<commit_msg>Minor fix<commit_after>#!/usr/bin/env bash

#Check arguments
if [[ "${#}" -ge 1 ]]
then
	echo "Usage: $0"
	exit 2
fi

#Source commands library
. ../../common-libs/commands-lib.sh

#make a reference file based on the most common command
test -f "${sourceFile}" ; echo $? > "${refTargetFile}"

#Test all commands
testCommands "${selectedLines}"
{'fraction_non_alphanumeric': 0.16601815823605706, 'fraction_numerical': 0.014267185473411154, 'mean_word_length': 4.216216216216216, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5930108', 'n_tokens_mistral': 265, 'n_tokens_neox': 251, 'n_words': 87}