<commit_before>#!/usr/bin/python
import sys
import os
import subprocess
import glob

typ  = sys.argv[1]
com='../cmake.py '+ typ + ' '
path = os.path.abspath(os.path.dirname(__file__))
subprocess.call('rm -rf build', shell=True)
subprocess.call('mkdir build', shell=True)
os.chdir('build')

for dirname in glob.glob(path+'/*lib_hao'):
    subprocess.call('rm -rf *', shell=True)
    subprocess.call(com + dirname, shell=True )
    subprocess.call('make', shell=True )
    subprocess.call('make install', shell=True )
    print "\n\n"<commit_msg>Fix bug in install.py<commit_after>#!/usr/bin/python
import sys
import os
import subprocess
import glob

typ  = sys.argv[1]
com='../cmake.py '+ typ + ' '
path = os.path.abspath(os.path.dirname(__file__))
subprocess.call('rm -rf build', shell=True)
subprocess.call('mkdir build', shell=True)
os.chdir('build')

for dirname in glob.glob(path+'/*lib_hao_*'):
    subprocess.call('rm -rf *', shell=True)
    subprocess.call(com + dirname, shell=True )
    subprocess.call('make', shell=True )
    subprocess.call('make install', shell=True )
    print "\n\n"
{'fraction_non_alphanumeric': 0.17304189435336975, 'fraction_numerical': 0.0018214936247723133, 'mean_word_length': 4.467661691542289, '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': '6087241', 'n_tokens_mistral': 399, 'n_tokens_neox': 392, 'n_words': 82}