<commit_before>#!/bin/bash

set -ev

# echo ${TRAVIS_EVENT_TYPE};
#    + returns 'api' when manually triggering build
#    + returns 'push' when pushing to remote branch
#    + returns 'cron' when called by the travis cron job trigger

if [ "${TRAVIS_EVENT_TYPE}" = "push" ]; then
        npm test;
        echo "running selenium headless browser tests";
        pip install selenium && pip install sauceclient
        python tests/seleniumPythonTest/t2.py;
        
    else      
        npm test;
fi
<commit_msg>Correct minor mistake.<commit_after>#!/bin/bash

set -ev

# echo ${TRAVIS_EVENT_TYPE};
#    + returns 'api' when manually triggering build
#    + returns 'push' when pushing to remote branch
#    + returns 'cron' when called by the travis cron job trigger

if [ "${TRAVIS_EVENT_TYPE}" = "push" ]; then
        npm test;
        echo "running selenium headless browser tests";
        pip install selenium && pip install sauceclient
        python tests/seleniumPythonTest/run_all_tests.py;
        
    else      
        npm test;
fi

{'fraction_non_alphanumeric': 0.09047619047619047, 'fraction_numerical': 0.0009523809523809524, 'mean_word_length': 2.7007042253521125, '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': '1259460', 'n_tokens_mistral': 327, 'n_tokens_neox': 301, 'n_words': 106}