<jupyter_start><jupyter_text>\[\begin{aligned}d &= \sqrt{ a } + \sin{ \left( b \right) } + \pi + \sqrt{ a } + \sin{ \left( b \right) } + \pi + \sqrt{ a } + \sin{ \left( b \right) } + \pi \\&= \sqrt{ 3 } + \sin{ \left( 4 \right) } + 3.142 + \sqrt{ 3 } + \sin{ \left( 4 \right) } + 3.142 + \sqrt{ 3 } + \sin{ \left( 4 \right) } + 3.142 \\&= 12.351\\\end{aligned}\]<jupyter_code>from handcalcs.decorator import handcalc

@handcalc(jupyter_display = True)
def some_cal(a,b):
    d = sqrt(a) + sin(b) + pi + sqrt(a)  # this is d
    e = sin(b) + pi + sqrt(a) + sin(b) + pi # this e
    return locals()
some_cal(1,2)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2375, 'fraction_numerical': 0.0390625, 'mean_word_length': 2.7928994082840237, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '355327', 'license': 'MIT', 'n_tokens_mistral': 304, 'n_tokens_neox': 281, 'n_words': 70, 'path': 'Automatically_render_LATEX_equations_from_Python_Code.ipynb', 'repo_name': 'harunurrashid97/ML_research_work', 'size': '640'}