<commit_before>#!/usr/bin/env bash
PYVERSION=`python -c 'import sys; print("{0.major:d}.{0.minor:d}".format(sys.version_info))'`

TARGET_SP="$VIRTUAL_ENV/lib/python$PYVERSION/site-packages"
SOURCE_PREFIX=$(cat $VIRTUAL_ENV/lib/python$PYVERSION/orig-prefix.txt)
SOURCE_SP="$SOURCE_PREFIX/lib/python$PYVERSION/site-packages"

if ! find $TARGET_SP -name "_tkinter.*"; then
    echo "Found _tkinter"
    echo $(find $TARGET_SP -name "_tkinter.*")
else
    SOURCE=$(find $SOURCE_SP -name "_tkinter.*")
    echo "Found source $SOURCE"
    ln -s $SOURCE $TARGET_SP/`basename $SOURCE`
fi<commit_msg>Better tkinter fixing<commit_after>#!/usr/bin/env bash
PYVERSION=`python -c 'import sys; print("{0.major:d}.{0.minor:d}".format(sys.version_info))'`

TARGET_SP="$VIRTUAL_ENV/lib/python$PYVERSION/site-packages"
SOURCE_PREFIX=$(cat $VIRTUAL_ENV/lib/python$PYVERSION/orig-prefix.txt)
SOURCE_SP="$SOURCE_PREFIX/lib/python$PYVERSION/site-packages"

if ! find $TARGET_SP -name "_tkinter.*"; then
    echo "Found _tkinter"
    echo $(find $TARGET_SP -name "_tkinter.*")
else
    SOURCE=$(find $SOURCE_SP -name "_tkinter.*")
    echo "Found source:"
    echo "$SOURCE"
    ln -s $SOURCE $TARGET_SP/`basename $SOURCE`
    echo $(find $TARGET_SP -name "_tkinter.*")
fi
{'fraction_non_alphanumeric': 0.16973578863090472, 'fraction_numerical': 0.0032025620496397116, 'mean_word_length': 5.157635467980295, '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': '7414877', 'n_tokens_mistral': 466, 'n_tokens_neox': 448, 'n_words': 87}