<jupyter_start><jupyter_text>**If the code below does not work, there is the exact same code in the last cell of the file at the following address:****/lr_for_the_masses/lr_mlr/lr.py****That code does work more stably than this version**<jupyter_code>#pip install coverage
!coverage run unittest_lr_lab4.py
!coverage report
!coverage html<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.08967391304347826, 'fraction_numerical': 0.002717391304347826, 'mean_word_length': 7.021739130434782, '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': '436889', 'license': 'MIT', 'n_tokens_mistral': 123, 'n_tokens_neox': 120, 'n_words': 41, 'path': '.ipynb_checkpoints/coverage_lr-checkpoint.ipynb', 'repo_name': 'samuel-velez/533_lab_4_KatheVelez', 'size': '368'}