<commit_before>#!/usr/bin/bash

function usage ()
{
    echo "USAGE:"
    echo "recreate_srpm.sh ARCH SRPM"
}

TARGET_ARCH=$1
if [ x$TARGET_ARCH = "x" ]; then
    echo "Missing arch"
    usage
    exit 1
fi

SRPM=`realpath $2`
if [ $? -ne 0 ]; then
    echo "Missing SRPM"
    usage
    exit 2
fi

echo "Recreating $SRPM for $TARGET_ARCH"

mkdir -p $TARGET_ARCH
<commit_msg>Fix USAGE<commit_after>#!/usr/bin/bash

function usage ()
{
    echo "USAGE:"
    echo "recreate_srpm.sh <ARCH> <SRPM>"
}

TARGET_ARCH=$1
if [ x$TARGET_ARCH = "x" ]; then
    echo "Missing arch"
    usage
    exit 1
fi

SRPM=`realpath $2`
if [ $? -ne 0 ]; then
    echo "Missing SRPM"
    usage
    exit 2
fi

echo "Recreating $SRPM for $TARGET_ARCH"

mkdir -p $TARGET_ARCH

{'fraction_non_alphanumeric': 0.13101604278074866, 'fraction_numerical': 0.013368983957219251, 'mean_word_length': 2.942105263157895, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7272696', 'n_tokens_mistral': 313, 'n_tokens_neox': 298, 'n_words': 85}