<commit_before>"""
Replaces functions called in test.run() with versions decorated with '@time_this(main_timer)'

This calls a cumulative timer that is ran for each of the functions below,
raw calculation time can be printed by calling 'print(main_timer)' at the end of the testing script
"""


from taxcalc.calculate import *
from taxcalc.puf import *
from timer_utils import cumulative_timer, time_this


main_timer = cumulative_timer("All Fuctions, no CSV calls, no concat calls")
<commit_msg>add relative import<commit_after>"""
Replaces functions called in test.run() with versions decorated with '@time_this(main_timer)'

This calls a cumulative timer that is ran for each of the functions below,
raw calculation time can be printed by calling 'print(main_timer)' at the end of the testing script
"""


from taxcalc.calculate import *
from taxcalc.puf import *
from .timer_utils import cumulative_timer, time_this


main_timer = cumulative_timer("All Fuctions, no CSV calls, no concat calls")

{'fraction_non_alphanumeric': 0.06906906906906907, 'fraction_numerical': 0.0, 'mean_word_length': 5.666666666666667, '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': '3067864', 'n_tokens_mistral': 278, 'n_tokens_neox': 263, 'n_words': 124}