<commit_before>#!/bin/bash
# 2a97bb32990944fbbb7b55058835b601

THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
HNANME=$(hostname)

bconf="$THIS_DIR/base-config"
hconf="$THIS_DIR/$HNANME-config"

if [[ -f "$hconf" ]]; then
    cat "$bconf" > "$THIS_DIR/config"
    echo "" >> "$THIS_DIR/config"
    echo "#################" >> "$THIS_DIR/config"
    echo "# Include $hconf" >> "$THIS_DIR/config"
    echo "#################" >> "$THIS_DIR/config"
    echo "" >> "$THIS_DIR/config"
    cat "$hconf" >> "$THIS_DIR/config"
else
    cat "$bconf" > "$THIS_DIR/config"
fi<commit_msg>Add support for a 'temp-config' file with i3 genconfig.<commit_after>#!/bin/bash
# 2a97bb32990944fbbb7b55058835b601

THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
HNANME=$(hostname)

bconf="$THIS_DIR/base-config"
hconf="$THIS_DIR/$HNANME-config"
tconf="$THIS_DIR/temp-config"

if [[ -f "$hconf" ]]; then
    cat "$bconf" > "$THIS_DIR/config"
    echo "" >> "$THIS_DIR/config"
    echo "#################" >> "$THIS_DIR/config"
    echo "# Include $hconf" >> "$THIS_DIR/config"
    echo "#################" >> "$THIS_DIR/config"
    echo "" >> "$THIS_DIR/config"
    cat "$hconf" >> "$THIS_DIR/config"
else
    cat "$bconf" > "$THIS_DIR/config"
fi

if [[ -f $tconf ]]; then
    cat "$tconf" >> "$THIS_DIR/config"
fi
{'fraction_non_alphanumeric': 0.2549317147192716, 'fraction_numerical': 0.03717754172989378, 'mean_word_length': 4.405737704918033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 33, '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': '4796275', 'n_tokens_mistral': 572, 'n_tokens_neox': 511, 'n_words': 90}