<commit_before>#! /usr/bin/env python

import os
import sys
from glob import glob
from optparse import OptionParser
from difflib import unified_diff

def test1(in_file):
    w = Writer()
    w.write("Testing the file: %s" % in_file)
    r = os.system('js -f py-builtins.js -f %s' % in_file)
    w.check(r)

def test2(in_file):
    w = Writer()
    w.write("Testing the file: %s" % in_file)
    r = os.system("python %s" % (in_file))
    w.check(r)
<commit_msg>Add "." into PYTHONPATH<commit_after>#! /usr/bin/env python

import os
import sys
from glob import glob
from optparse import OptionParser
from difflib import unified_diff

def test1(in_file):
    w = Writer()
    w.write("Testing the file: %s" % in_file)
    r = os.system('js -f py-builtins.js -f %s' % in_file)
    w.check(r)

def test2(in_file):
    w = Writer()
    w.write("Testing the file: %s" % in_file)
    r = os.system("PYTHONPATH=.:$PYTHONPATH python %s" % (in_file))
    w.check(r)

{'fraction_non_alphanumeric': 0.14136125654450263, 'fraction_numerical': 0.004188481675392671, 'mean_word_length': 3.365296803652968, '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': '4957655', 'n_tokens_mistral': 372, 'n_tokens_neox': 368, 'n_words': 103}