<commit_before>#lang typed/racket/base
(require/typed file/md5
               [md5 ((U Bytes Input-Port) -> Bytes)])
(provide md5)<commit_msg>Fixed file/md5's conversion for TR according to the documentation.<commit_after>#lang typed/racket/base
(require/typed file/md5
               [md5 (case->
                      ((U Bytes String Input-Port) -> Bytes)
                      ((U Bytes String Input-Port) Boolean -> Bytes))])
(provide md5)
{'fraction_non_alphanumeric': 0.12612612612612611, 'fraction_numerical': 0.015765765765765764, 'mean_word_length': 2.3969465648854964, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3630325', 'n_tokens_mistral': 140, 'n_tokens_neox': 133, 'n_words': 37}