<commit_before>#!/bin/bash

runheader=$(which run_header.sh)
if [[ $runheader == "" ]] || [ $(cat $runheader | grep "run_header.sh Version 1." | wc -l) == 0 ]; then
        echo "Could not find run_header.sh (version 1.x); make sure that the benchmark scripts directory is in your PATH"
        exit 1
fi
source $runheader

# run instances
if [[ $all -eq 1 ]]; then
	# run all instances using the benchmark script run insts
	$bmscripts/runinsts.sh "instances/inst_*.hex" "$mydir/run.sh" "$mydir" "$to" "" "" "$req" # $mydir/myagg.sh
else
	# run single instance
	confstr=";--heuristics=monolithic;--transunitlearning --ngminimization=always;--transunitlearning --transunitlearningpud --ngminimization=always"

	$bmscripts/runconfigs.sh "dlvhex2 --plugindir=../../testsuite --silent post.hex --verbose=8 CONF INST" "$confstr" "$instance" "$to" "$bmscripts/gstimeoutputbuilder.sh"
fi<commit_msg>fix run.sh<commit_after>#!/bin/bash

runheader=$(which run_header.sh)
if [[ $runheader == "" ]] || [ $(cat $runheader | grep "run_header.sh Version 1." | wc -l) == 0 ]; then
        echo "Could not find run_header.sh (version 1.x); make sure that the benchmark scripts directory is in your PATH"
        exit 1
fi
source $runheader

# run instances
if [[ $all -eq 1 ]]; then
	# run all instances using the benchmark script run insts
	$bmscripts/runinsts.sh "instances/inst_*.hex" "$mydir/run.sh" "$mydir" "$to" "" "" "$req" # $mydir/myagg.sh
else
	# run single instance
	confstr=";--heuristics=monolithic;--transunitlearning --ngminimization=always;--transunitlearning --transunitlearningpud --ngminimization=always"

	$bmscripts/runconfigs.sh "dlvhex2 --plugindir=../../testsuite --silent productionportfolio.hex --verbose=8 CONF INST" "$confstr" "$instance" "$to" "$bmscripts/gstimeoutputbuilder.sh"
fi
{'fraction_non_alphanumeric': 0.15868596881959912, 'fraction_numerical': 0.0077951002227171495, 'mean_word_length': 4.269794721407624, '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': '7371503', 'n_tokens_mistral': 634, 'n_tokens_neox': 613, 'n_words': 164}