<commit_before>function ostore-fix-pip-dependencies
    gpip install \
         beautifulsoup4 \
         django==1.4.13 \
         freezegun \
         globo_foto \
         globocore \
         menu_designer \
         pymongo\<3 \
         widgetssi \
         --upgrade
end

function ostore-kill-test-server
    ps ax | grep 8000 | grep python | awk '{print $1}' | xargs kill
end

function ostore-kill-test-server-2
    ps ax | grep 8002 | grep python | awk '{print $1}' | xargs kill
end

function ostore-run-test-server -d 'make -n clean_pycs run_test_server'
    ostore-kill-test-server
    clean-pycs
    set -l PYTHONPATH "$PYTHONPATH:."
    python -u tests/testproject/manage.py runserver 0.0.0.0:8000 \
        --settings=testproject.settings_IGNOREME
end

function ostore-run-test-server-2 -d 'make -n clean_pycs run_test_server 2'
    ostore-kill-test-server-2
    clean-pycs
    set -l PYTHONPATH "$PYTHONPATH:."
    python -u tests/testproject/manage.py runserver 0.0.0.0:8002 \
        --settings=testproject.settings_IGNOREME
end

function ostore-run-event -d 'Run an event'
    if test (count $argv) -lt 2
        echo "Just too bad, you supplied a wrong number of arguments!"
        echo "Usage: ostore-run-event <uuid> <event>"
        echo "Example: ostore-run-event techtudo/ayrton accelerate"<commit_msg>refact(Helpers.ostore): add a fix dependencies that use pip 1.5<commit_after>function ostore-fix-pip-dependencies
    gpip install \
         beautifulsoup4 \
         django==1.4.13 \
         freezegun \
         globo_foto \
         globocore \
         menu_designer \
         pymongo\<3 \
         widgetssi \
         --upgrade
end

function ostore-fix-pip15-dependencies
    gpip15 install \
           beautifulsoup4 \
           django==1.4.13 \
           freezegun \
           globo_foto \
           globocore \
           menu_designer \
           pymongo\<3 \
           widgetssi \
           --upgrade
end

function ostore-kill-test-server
    ps ax | grep 8000 | grep python | awk '{print $1}' | xargs kill
end

function ostore-kill-test-server-2
    ps ax | grep 8002 | grep python | awk '{print $1}' | xargs kill
end

function ostore-run-test-server -d 'make -n clean_pycs run_test_server'
    ostore-kill-test-server
    clean-pycs
    set -l PYTHONPATH "$PYTHONPATH:."
    python -u tests/testproject/manage.py runserver 0.0.0.0:8000 \
        --settings=testproject.settings_IGNOREME
end

function ostore-run-test-server-2 -d 'make -n clean_pycs run_test_server 2'
    ostore-kill-test-server-2
    clean-pycs
    set -l PYTHONPATH "$PYTHONPATH:."
    python -u tests/testproject/manage.py runserver 0.0.0.0:8002 \
        --settings=testproject.settings_IGNOREME
end

function ostore-run-event -d 'Run an event'
    if test (count $argv) -lt 2
        echo "Just too bad, you supplied a wrong number of arguments!"
        echo "Usage: ostore-run-event <uuid> <event>"
        echo "Example: ostore-run-event techtudo/ayrton accelerate"
{'fraction_non_alphanumeric': 0.10066889632107023, 'fraction_numerical': 0.028762541806020066, 'mean_word_length': 2.2195909580193756, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '84551', 'n_tokens_mistral': 1069, 'n_tokens_neox': 1005, 'n_words': 253}