<commit_before>#!/usr/bin/python

import sys
import subprocess

def apidocs():
    subprocess.call(["epydoc","--config","epydoc.config"])
    
if __name__ == "__main__":
    args = sys.argv[1:]
    if args[0] == "apidocs":
        apidocs()
    else:
        print "_ apidocs"<commit_msg>Adds unit tests task to build.py<commit_after>#!/usr/bin/python

import sys
import subprocess

def apidoc():
    subprocess.call(["epydoc","--config","epydoc.config"])
    
def test():
    subprocess.call(["python","-m","bob.tests.bob"])
    
if __name__ == "__main__":
    args = sys.argv[1:]
    if args[0] == "apidoc":
        apidocs()
    elif args[0] == "test":
        test()
    else:
        print "_ apidoc"
{'fraction_non_alphanumeric': 0.18014184397163122, 'fraction_numerical': 0.0070921985815602835, 'mean_word_length': 2.922222222222222, 'pattern_counts': {'":': 5, '<': 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': '6995146', 'n_tokens_mistral': 268, 'n_tokens_neox': 254, 'n_words': 51}