<commit_before># -*- coding: utf-8 -*-

import csv
import os
import sys
import re
import arcpy

# enable local imports; allow importing both this directory and one above
local_path = os.path.dirname(__file__)
for path in [local_path, os.path.join(local_path, '..')]:
    full_path = os.path.abspath(path)
    sys.path.insert(0, os.path.abspath(path))

import utils
import config
<commit_msg>add utils from scripts as well.<commit_after># -*- coding: utf-8 -*-

import csv
import os
import sys
import re
import arcpy

# enable local imports; allow importing both this directory and one above
local_path = os.path.dirname(__file__)
for path in [local_path, os.path.join(local_path, '..')]:
    full_path = os.path.abspath(path)
    sys.path.insert(0, os.path.abspath(path))

import utils
import config
# import utilities from our invidivual scripts as well.
from scripts import utils

{'fraction_non_alphanumeric': 0.10770975056689343, 'fraction_numerical': 0.0045351473922902496, 'mean_word_length': 4.287425149700598, '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': '634863', 'n_tokens_mistral': 286, 'n_tokens_neox': 284, 'n_words': 95}