<commit_before>import sys, time
from imp_parser import *
from imp_lexer import *
from imp_vcgen import *


from argparse import *


def find_proc(ast,name):
	if proc(ast) and ast.name==name:
		return ast
	elif compound(ast):
		y=find_proc(ast.first,name)
		x=find_proc(ast.second,name)
		if x:
			return x
		return y
	else:
		return None


def start(text):
	print "-----------------------------"
	print "Time/s|\tTask"
	print "-----------------------------"

	init = time.time()
	lex_result = imp_lex(text)<commit_msg>import z3<commit_after>import sys, time
from imp_parser import *
from imp_lexer import *
from imp_vcgen import *


from argparse import *

sys.path.append(".")
import z3



def find_proc(ast,name):
	if proc(ast) and ast.name==name:
		return ast
	elif compound(ast):
		y=find_proc(ast.first,name)
		x=find_proc(ast.second,name)
		if x:
			return x
		return y
	else:
		return None


def start(text):
	print "-----------------------------"
	print "Time/s|\tTask"
	print "-----------------------------"

	init = time.time()
	lex_result = imp_lex(text)
{'fraction_non_alphanumeric': 0.2131455399061033, 'fraction_numerical': 0.0018779342723004694, 'mean_word_length': 2.5065789473684212, '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': '1593257', 'n_tokens_mistral': 391, 'n_tokens_neox': 364, 'n_words': 95}