<commit_before>#!/bin/bash 

set -x

if [[ $@ == *"gunicorn"* || $@ == *"runserver"* ]]; then
    if [ -f ${DJANGO_ROOT}/${PROJECT_NAME}/manage.py ]; then
        /usr/bin/wait_on_postgres.py 
        if [ "$?" == "0" ]; then
            /usr/bin/manage_django.sh migrate --fake-initial --noinput           
        fi
    fi
fi

exec "$@"<commit_msg>adding no-migration option to entrypoint<commit_after>#!/bin/bash 

set -x

if [[ $@ == *"gunicorn"* || $@ == *"runserver"* ]]; then
    if [ -f ${DJANGO_ROOT}/${PROJECT_NAME}/manage.py ]; then
        /usr/bin/wait_on_postgres.py 
        if [ "$?" == "0" && "$1" != "--no-migration" ]; then
            /usr/bin/manage_django.sh migrate --fake-initial --noinput           
        fi
    fi
fi

exec "$@"
{'fraction_non_alphanumeric': 0.2073976221928666, 'fraction_numerical': 0.003963011889035667, 'mean_word_length': 2.093877551020408, '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': '190381', 'n_tokens_mistral': 294, 'n_tokens_neox': 269, 'n_words': 52}