<commit_before>import os,re,sys

try:
	suffix=sys.argv[1]
except IndexError:
	suffix='so'

incexpr=re.compile('^\s*[%#]include "(\S+)"',re.MULTILINE)
deps=dict();
deps['carrays.i']=[]
deps['cpointer.i']=[]
deps['exception.i']=[]
deps['lib/Library_doxygen.i']=[]
deps['features/Features_doxygen.i']=[]
deps['classifier/Classifier_doxygen.i']=[]
deps['structure/Structure_doxygen.i']=[]
deps['regression/Regression_doxygen.i']=[]
deps['kernel/Kernel_doxygen.i']=[]
deps['preproc/PreProc_doxygen.i']=[]
deps['distributions/Distribution_doxygen.i']=[]
deps['classifier/Classifier_doxygen.i']=[]
deps['distance/Distance_doxygen.i']=[]

initial_deps=deps.copy()

def get_deps(f):
	global deps
	global fdep
	try:
		for d in deps[f]:
			if d not in fdep:
				fdep+=[d]
				get_deps(d)
				cppfile=d[:-1]+'cpp'

				if cppfile not in fdep and deps.has_key(cppfile):
					fdep+=[cppfile]
					get_deps(cppfile)<commit_msg>add void deps to clustering/CLustering_doxygen.i<commit_after>import os,re,sys

try:
	suffix=sys.argv[1]
except IndexError:
	suffix='so'

incexpr=re.compile('^\s*[%#]include "(\S+)"',re.MULTILINE)
deps=dict();
deps['carrays.i']=[]
deps['cpointer.i']=[]
deps['exception.i']=[]
deps['lib/Library_doxygen.i']=[]
deps['features/Features_doxygen.i']=[]
deps['classifier/Classifier_doxygen.i']=[]
deps['structure/Structure_doxygen.i']=[]
deps['regression/Regression_doxygen.i']=[]
deps['kernel/Kernel_doxygen.i']=[]
deps['preproc/PreProc_doxygen.i']=[]
deps['distributions/Distribution_doxygen.i']=[]
deps['classifier/Classifier_doxygen.i']=[]
deps['clustering/Clustering_doxygen.i']=[]
deps['distance/Distance_doxygen.i']=[]

initial_deps=deps.copy()

def get_deps(f):
	global deps
	global fdep
	try:
		for d in deps[f]:
			if d not in fdep:
				fdep+=[d]
				get_deps(d)
				cppfile=d[:-1]+'cpp'

				if cppfile not in fdep and deps.has_key(cppfile):
					fdep+=[cppfile]
					get_deps(cppfile)
{'fraction_non_alphanumeric': 0.20452155625657203, 'fraction_numerical': 0.002103049421661409, 'mean_word_length': 6.43359375, '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': '6065545', 'n_tokens_mistral': 898, 'n_tokens_neox': 811, 'n_words': 108}