<commit_before>#!/bin/bash
# Run script within the directory
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"

# Delete old autoexecs
rm *.cfg -f

# Create preset autoexec combos and names
declare -a names=("no-preset" "midquality" "comp" "compquality" "maxperformance" "stripped" "maxquality" "highquality" "igpu")
declare -a combos=("" "presets/medium" "presets/medium-low" "presets/medium-high" "presets/low" "presets/very-low" "presets/ultra" "presets/high" "presets/low addons/badgpu")

# Create autoexecs from combos
for ((i=0; i<${#names[*]}; i++));
do
    cat "../../config/mastercomfig/cfg/comfig.cfg" >> "mastercomfig-${names[i]}.cfg"
    for component in ${combos[i]}
    do
        cat "../../config/cfg/$component.cfg" >> "mastercomfig-${names[i]}.cfg"
    done
    dos2unix "mastercomfig-${names[i]}.cfg"
done

printf "\n"
<commit_msg>Fix autoexec names<commit_after>#!/bin/bash
# Run script within the directory
BINDIR=$(dirname "$(readlink -fn "$0")")
cd "$BINDIR"

# Delete old autoexecs
rm *.cfg -f

# Create preset autoexec combos and names
declare -a names=("no-preset" "default" "comp" "compquality" "maxperformance" "stripped" "maxquality" "highquality" "igpu")
declare -a combos=("" "presets/high" "presets/medium-low" "presets/medium" "presets/low" "presets/very-low" "presets/ultra" "presets/high" "presets/low addons/badgpu")

# Create autoexecs from combos
for ((i=0; i<${#names[*]}; i++));
do
    cat "../../config/mastercomfig/cfg/comfig.cfg" >> "mastercomfig-${names[i]}.cfg"
    for component in ${combos[i]}
    do
        cat "../../config/cfg/$component.cfg" >> "mastercomfig-${names[i]}.cfg"
    done
    dos2unix "mastercomfig-${names[i]}.cfg"
done

printf "\n"

{'fraction_non_alphanumeric': 0.1967116852613036, 'fraction_numerical': 0.0035231943628890195, 'mean_word_length': 4.3924050632911396, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5075733', 'n_tokens_mistral': 637, 'n_tokens_neox': 628, 'n_words': 148}