<commit_before>import numpy as np
import nose.tools as nt
import constraints as C; reload(C)
import matplotlib.pyplot as plt
import statsmodels.api as sm 
from scipy.stats import chi, ncx2, chi2

from rpy2.robjects.packages import importr
import rpy2.robjects as ro
from rpy2.robjects.numpy2ri import numpy2ri
ro.conversion.py2ri = numpy2ri
ro.numpy2ri.activate()
<commit_msg>unnecessary imports<commit_after>import numpy as np
import selection.constraints as C
import matplotlib.pyplot as plt
import statsmodels.api as sm 
from scipy.stats import chi

from rpy2.robjects.packages import importr
import rpy2.robjects as ro
from rpy2.robjects.numpy2ri import numpy2ri
ro.conversion.py2ri = numpy2ri
ro.numpy2ri.activate()

{'fraction_non_alphanumeric': 0.059639389736477116, 'fraction_numerical': 0.024965325936199722, 'mean_word_length': 5.504504504504505, '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': '6595131', 'n_tokens_mistral': 253, 'n_tokens_neox': 250, 'n_words': 78}