<jupyter_start><jupyter_text>TelephoneWrite a program that randomly mutates some given text which may be given on the command line<jupyter_code>.\telephone.ps1 'The quick brown fox jumps over the lazy dog.'<jupyter_output><empty_output><jupyter_text>Or from a file<jupyter_code>.\telephone.ps1 ../inputFiles/fox.txt<jupyter_output><empty_output><jupyter_text>The program should accept a `-m` or `--mutations` that is a floating point number between 0 and 1 that represents a percentage of mutations to introduce<jupyter_code>.\telephone.ps1 -m .5 ../inputFiles/fox.txt<jupyter_output><empty_output><jupyter_text>It should also accept a `-s` or `-seed` argument for the random seed to ensure reproducible results<jupyter_code>.\telephone.ps1 -s 2 ../inputFiles/fox.txt<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10037641154328733, 'fraction_numerical': 0.010037641154328732, 'mean_word_length': 6.061946902654867, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '112804', 'license': 'MIT', 'n_tokens_mistral': 272, 'n_tokens_neox': 259, 'n_words': 77, 'path': '10_telephone/telephone.ipynb', 'repo_name': 'ctmcisco/Tiny-PowerShell-Projects', 'size': '797'}