<commit_before>'''
Main script to run LIVV.  This script records some user data, sets up the test 
suite, runs the tests, and generates a website based on the results of the tests.

Created on Dec 3, 2014

@author: bzq
'''


###############################################################################
#                                  Imports                                    #
###############################################################################

# Don't try to import these if we are not calling livv.py directly
if __name__ == '__main__':
    import livv_bin.VV_machines as machines
    import livv_bin.VV_dependencies as dependencies
    import livv_website.VV_website as web
    from livv_bin.VV_test import AbstractTest
    from livv_bin.VV_test import GenericTest
    from livv_bin.VV_dome import Dome
    from livv_bin.VV_ismip import Ismip
    from livv_bin.VV_gis import Gis
    from livv_bin.VV_shelf import Shelf
    
    print("------------------------------------------------------------------------------")
    print("  Land Ice Verification & Validation (LIVV)")
    print("------------------------------------------------------------------------------")
    
    # Run the dependency checker
    dependencies.check()
    
    # A dictionary describing which module will be called for each test
    # Each of these modules can be found in livv_bin
    testDict = { "dome" : Dome,
                 "ismip" : Ismip,
                 "gis" : Gis,
                 "shelf" : Shelf
               }
import os
import time
import getpass
import platform
import socket

from optparse import OptionParser
import jinja2<commit_msg>Switching the order of the imports and dependency checks to work correctly.<commit_after>'''
Main script to run LIVV.  This script records some user data, sets up the test 
suite, runs the tests, and generates a website based on the results of the tests.

Created on Dec 3, 2014

@author: bzq
'''


###############################################################################
#                                  Imports                                    #
###############################################################################

# Don't try to import these if we are not calling livv.py directly
if __name__ == '__main__':    
    print("------------------------------------------------------------------------------")
    print("  Land Ice Verification & Validation (LIVV)")
    print("------------------------------------------------------------------------------")
    
    # Run the dependency checker
    import livv_bin.VV_dependencies as dependencies
    dependencies.check()
    
    import livv_bin.VV_machines as machines
    import livv_website.VV_website as web
    from livv_bin.VV_test import AbstractTest
    from livv_bin.VV_test import GenericTest
    from livv_bin.VV_dome import Dome
    from livv_bin.VV_ismip import Ismip
    from livv_bin.VV_gis import Gis
    from livv_bin.VV_shelf import Shelf
    

    
    # A dictionary describing which module will be called for each test
    # Each of these modules can be found in livv_bin
    testDict = { "dome" : Dome,
                 "ismip" : Ismip,
                 "gis" : Gis,
                 "shelf" : Shelf
               }
import os
import time
import getpass
import platform
import socket

from optparse import OptionParser
import jinja2
{'fraction_non_alphanumeric': 0.2303370786516854, 'fraction_numerical': 0.0035481963335304554, 'mean_word_length': 1.9597550306211724, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1227135', 'n_tokens_mistral': 879, 'n_tokens_neox': 821, 'n_words': 306}