<commit_before># -*- coding: utf-8 -*-
import re
import os,sys
import subprocess
import platform;
import logging

if __name__ == '__main__':
    project_dir = os.path.abspath(os.path.dirname(__file__))
    try:
        os.chdir(project_dir)
    except Exception, e:
        raise e       
    
    try:
        os.system('git pull git@github.com:upsea/midProjects')        
        print 'pull oked.'
    except Exception, error:
        print error
        
        <commit_msg>mids upsea,xpower all reconstructed,data manager tuned for py3 and py2.<commit_after># -*- coding: utf-8 -*-
import re
import os,sys
import subprocess
import platform;
import logbook  
logbook.StderrHandler().push_application()
logger = logbook.Logger('push info ----')

if __name__ == '__main__':
    project_dir = os.path.abspath(os.path.dirname(__file__))
    try:
        os.chdir(project_dir)
    except:
        raise e       
    
    try:
        os.system('git pull git@github.com:upsea/midProjects')        
        logger.info( 'pull oked.')
    except:
        logger.info( e )
        
        
{'fraction_non_alphanumeric': 0.11141804788213629, 'fraction_numerical': 0.003683241252302026, 'mean_word_length': 2.283987915407855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5028776', 'n_tokens_mistral': 347, 'n_tokens_neox': 342, 'n_words': 83}