<commit_before>#!/bin/bash

#Menu system for launching appropriate scripts based on user choice
source qm.variables

#Fix to automatically export ports on Mac OS. 
os=$(uname)
if [ "$os" = "Darwin" ]; then
	touch .qm_export_ports
fi

docker run -it --rm -v $(pwd)/$line:/${PWD##*/} -w /${PWD##*/} $dockerImage lib/menu.sh

if [ -f .nodename ]; then
	nodename=$(cat .nodename)
	rm -f .nodename
	cd $nodename	
	sudo ./start.sh	
fi
<commit_msg>Remove sudo as now all scripts are running in docker<commit_after>#!/bin/bash

#Menu system for launching appropriate scripts based on user choice
source qm.variables

#Fix to automatically export ports on Mac OS. 
os=$(uname)
if [ "$os" = "Darwin" ]; then
	touch .qm_export_ports
fi

docker run -it --rm -v $(pwd)/$line:/${PWD##*/} -w /${PWD##*/} $dockerImage lib/menu.sh

if [ -f .nodename ]; then
	nodename=$(cat .nodename)
	rm -f .nodename
	cd $nodename	
	./start.sh	
fi

{'fraction_non_alphanumeric': 0.15502183406113537, 'fraction_numerical': 0.0, 'mean_word_length': 3.608040201005025, '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': '1282004', 'n_tokens_mistral': 350, 'n_tokens_neox': 334, 'n_words': 114}