<commit_before>import time
import unittest

from helpers import Stopwatch


class TestStopwatch(unittest.TestCase):
    def test_basic(self):
        s = Stopwatch()<commit_msg>Make test runnable.<commit_after>import sys
import time
import unittest
sys.path.append('..')
from opt_tools.helpers import Stopwatch


class TestStopwatch(unittest.TestCase):
    def test_basic(self):
        s = Stopwatch()
{'fraction_non_alphanumeric': 0.08955223880597014, 'fraction_numerical': 0.0, 'mean_word_length': 4.676056338028169, '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': '3712269', 'n_tokens_mistral': 121, 'n_tokens_neox': 119, 'n_words': 32}